Align xfin (PIO input) routine with sys/dev/ic/wd33c93.c.
Prevents infinite loops if device answer is shorter than
requested as seen with a scsi2sata bridge.
Fix a very brief race which could cause page states to be corrupted.
Observed under heavy physio load from an 8-way parallel dump|restore
workload used in filesystem testing - manifested as intents being
scribbled over while the interlock was momentarily not held
in uvmpdpol_selectvictim. I've attempted to apply the same fix to
clockpro, which looks like it needs it too, but clockpro was on fire
when I got there and I didn't put it out (still does not compile).
riscv: Fix bus_space_{alloc,free,mmap} macros
The macros bus_space_alloc, bus_space_free, and bus_space_mmap were
incorrectly passing the bus space cookie as their first parameter.
This patch updates these macros to pass the entire bus space tag pointer
instead as per other macros.
risc-v: fix assemble opcode helper macros
- remove *_SUBI variants as these instructions don't exist and the
assembler doesn't help. *_ADDI should be used.
- use 'iw' instead of 'wi' to match real instructions.
Add information for sensors on V215/V245.
Add patches for incorrect values on SB2500-S dbcool and V215/V245 adt7462sm.
Update the gpio settings for the additional timeout property in pcagpio and
pcf8574.
Thanks to Ken Wellsch for testing and investigating sensors on his V215.
Split out the logic for handling indicators, alerts and timeouts, rather
than having special values in the properties.
Set envsys critical state for alerts when the sensor value isn't the default.
Add comments to explain the logic.
netbsd32_ptrace: Need to pre-allocate dbregs before read/write.
Followup for:
PR kern/60658: netbsd32_process_read_dbregs() needs the same fix as
native amd64 process_read_dbregs()
Check if RTC is disabled only in virtualized environments.
On a real PC, bits 0-5 may be used for the date alarm function,
causing RTC failure to attach and
a "WARNING: no TOD clock present" warning in the boot log.
Verified no regression on QEMU/MICROVM by imil@
PR kern/60672