re(4): Teach this driver about Killer E2500V2 devices.
jab01701mid at mastodon.social pointed out that their Ethernet
wasn't supported and tested this fix.
This should be pulled up to netbsd-11.
bwfm: sdmmc: Replace watchdog TX hack with a proper fix.
When acknowledging interrupts, it's important to realize that the INTSTATUS
register is shared between the host and the dongle. Write back only status
bits that are meant for the host, otherwise the dongle can miss interrupts
which has the side effect sometimes of not releasing TX credits back to
the host.
bwfm at sdmmc stability improvements
Some stability improvements to the bwfm driver that help a lot on the
Nintendo Wii U and Pinebook Pro. Crashes, hangs, and stalls are gone.
- Periodically send a TX control frame, if we don't do this it seems
that firmware can stop giving back TX credits and we get stuck with
IFF_OACTIVE set. Do this from the if watchdog, and save 2 TX credits
for control frames only so data packets don't block the recovery path.
- In bwfm_sdio_stop, clear tx_count instead of resetting tx_seq and
tx_max_seq. This makes ifconfig bwfm0 down up work.
- bwfm_sdio_intr is called from the sdmmc task thread and the sdmmcchip
interrupt is acknowledged when it returns. Do work directly here
instead of queueing up another task to do it so we don't acknowledge
the interrupt first.
- Stop transmitting if there are RX frames pending.
- Explicitly initialize the flowctl and res0 fields of swhdr when
submitting a control or data frame.
- Update the TX max sequence number from the RX glom header too, in
case it has changed.
Import xz-5.8.5 (previous was xz-5.8.3)
Security issues
++++
GHSA-vhhh-g38j-pr8q: LZMA2 encoder data corruption
++++
In XZ Utils 5.8.4 and older, the LZMA2 encoder can corrupt data (data recovery
should usually be possible with a slightly modified decoder). With dictionary
sizes smaller than 64 KiB, triggering the bug might also result in invalid
memory reads.
The bug has been fixed in XZ Utils 5.8.5 and in the Git repository branches
v5.8, v5.6, v5.4, and v5.2.
The bug was reported by Vladimir Kukharenko (GenProof).
++++
GHSA-6237-3fq8-r2hg: x86 filter deadlock and data corruption
[33 lines not shown]
fix ISC_QP_ADD in the !LP64 case to update the in-memory value.
Patch provided by Showta Ishizaki in PR bin/59982.
Note that an equivalent fix was commited by christos@ to zone.c in rev 1.31
Tested on evbarm.
pmap: don't conditionally #define PMAP_KMPAGE as non-zero
Don't conditionally #define PMAP_KMPAGE as non-zero based on if
PMAP_ENABLE_PMAP_KMPAGE is defined. Instead always define PMAP_KMPAGE
with a value and provide a pmap_is_kmpage_p which will only ever
perform a test on platforms where PMAP_ENABLE_PMAP_KMPAGE is defined.
This allows moving the include of machine/pmap.h after the flags
definition which will be useful for future flags.
Save and restore the X register around mod/div functions.
Normal builds aren't affected because mod/div don't clobber
the X register on any architecture with MKSLJIT=yes by default.
Building tests with -finstrument-functions triggers the bug.
aarch64: better reporting of ID_AA64PFR0_EL1.GIC
GIC Meaning
0b0000 GIC CPU interface System registers not implemented.
0b0001 System register interface to versions 3.0 and 4.0 of the GIC CPU interface is supported.
0b0011 System register interface to version 4.1 of the GIC CPU interface is supported.