Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
we end up with an optimal clock frequency for SD and eMMC.
ok patrick@
|
|
|
|
tsleep(9)'s maximum timeout shrinks as HZ grows, so this ensures we do
not return early from longer timeouts on alpha or on custom kernels.
POSIX says you cannot return early unless a signal is delivered, so
this makes us more compliant with the standard.
While here, remove the 100 million second upper bound. It is an
artifact from itimerfix() and it serves no discernible purpose.
ok tedu@ visa@
|
|
GPLL like the Linux kernel does. Use NPLL for the CPU clock such that
adjusting the CPU frequency doesn't change the clock of other devices
anymore. Implement the last clocks that are used in the assigned-clocks
property of clock controller.
Don't enable the assigned-clocks processing yet as it results in a sub-optimal
clock for for the SD and eMMC controllers. This clock handling in dwmcc(4)
needs some further work before we can enable this.
|
|
Avoid a potential use of an unitilized variable to pick an operating point.
Remove an unused (but set) variable.
ok patrick@
|
|
already scheduled and whether we have to unref the device ourselves.
ok tedu@, ratchov@
|
|
each and every clock, use a data structure for each clock and generic code
that handles muxing and clock division based on that data structure.
This should reduce the amount of code and hopefully make the process of
adding clocks less error prone as it is easy to check the data structures
against the SoC documentation.
This approach will be used for the other Rockchip SoCs in the future as well.
|
|
floating point comparison is unordered. The setting should be skipped
only if an invalid operation exception is taken.
This fixes incorrect emulated compare behaviour with NaN values.
NaN issue on octeon reported by afresh1@; OK miod@
|
|
build dependency which is required because of that. Add various include
files and some prototypes and change some code so that clang does not issue
warnings anymore.
OK kettenis@ deraadt@
|
|
|
|
explicitly in SMALL_KERNEL kernel builds.
tweaks from jsg@ and tb@
ok deraadt@ kettenis@
|
|
bit more time after a warm reset.
|
|
|
|
them consistently.
|
|
|
|
since we now have the possibility to specify it in the attach args.
ok kettenis@
|
|
descriptors, which are used to encode 64k transfers since it's a
16-bit value in the descriptor, which means that we only support
a maximum segment size of 64k minus one. This fixes I/O errors
on i.MX machines.
ok kettenis@
|
|
controller can handle for DMA tranfers, since not all support 64k.
ok kettenis@
|
|
|
|
syzkaller as pool corruption panic. It is unclear which bug caused
what, but it should be better now.
- Check M_PKTHDR with assertion before accessing m_pkthdr.
- Do not access oh_length without m_pullup().
- After checking if there is space at the end of the mbuf, don't
overwrite the data at the beginning. Append the new content.
- Do not set m_len and m_pkthdr.len when it is unclear whether
the ofp_error header fits at all. Use m_makespace() to adjust
the mbuf.
Reported-by: syzbot+6efc0a9d5b700b54392e@syzkaller.appspotmail.com
test akoshibe@; OK claudio@
|
|
Thanks to jmc@ for improving the manual bits.
ok deraadt@ mpi@
|
|
ok anton
|
|
All rulesets reference their parent anchor, except for the special cased
main anchor containing the main ruleset, which's reference is always NULL
since initialization and never changes.
Replacing nullity tests with clearer equality checks makes the code less
ambigious and easier to understand.
OK sashan
|
|
them.
OK otto@ deraadt@
|
|
them especially if char and short arguments are used.
OK otto@ deraadt@
|
|
the for loop. Makes clang happier.
OK otto@, deraadt@
|
|
different trace modes.
ok mpi@
|
|
input and OK mpi@
|
|
rasops(9).
We only build rasops24 functions on amd64 (for EFI support in QEMU) and
on armv7 and arm64, and we can safely use the generic functions on those
platforms, like we do for all other color depths. No other platform uses
rasops24, Miod explains why here [1].
No performance regression observed when testing with QEMU in EFI mode.
[1] https://marc.info/?l=openbsd-ppc&m=118664346819989&w=2
OK kettenis@
|
|
ok mpi@ (to the concept)
|
|
someone else didn't win the race.
ok mpi@
|
|
input & OK mpi@
|
|
is now found via phy-handle instead of phy_id.
|
|
write the register address and then read the register data in one go.
ok kettenis@
|
|
protected properly and files without any x bit set were accidentaly considered
executable when checked with access(2).
Issues found and reported by deraadt, halex, reyk, tb
ok deraadt
|
|
on header fields that aren't initialized, which may trigger an assertion.
Check whether the control message doesn't exceed MLEN instead and turn the
check into a KASSERT as the driver should not generate control messages
that are larger.
with help form claudio@ (who points out that the driver should not use
MT_CONTROL here).
ok patrick@
|
|
point where we remap it.
ok deraadt@, mlarkin@
|
|
|
|
Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.
|
|
passed to ip_pcbopts could be a cluster and so the size check is all wrong.
found by Greg Steuck; OK bluhm@
Reported-by: syzbot+c2543ae6b6692a5843e3@syzkaller.appspotmail.com
eVS: ----------------------------------------------------------------------
|
|
of some complicated match to convert them to ticks.
OK visa@ bluhm@ kn@
|
|
OK visa@ bluhm@ kn@
|
|
define to IFNET_SLOWTIMO since it is no longer a hz divisor.
OK visa@ bluhm@ kn@
|
|
it isn't implemented, and is never called.
|
|
subleafs, so to get SEFF0EDX_ARCH_CAP we have to clear %ecx too.
While here, delete a redundant cpuid.01 invocation.
problem noted and testing by tedu@
ok mlarkin@ deraadt@
|
|
This makes `ncpusfound' independent of kernel boot parameters.
The kernel still needs the help of the firmware to spin up secondary
CPUs, so the `coremask' or `numcores' boot parameter is still needed
for multicore operation.
Tested on CN5020, CN6120, CN7130 and CN7360.
|