created | 2021-10-12T22:19:16Z |
---|---|
begin | 2021-09-11T00:00:00Z |
end | 2021-09-12T00:00:00Z |
path | src/sys |
commits | 5 |
date | 2021-09-11T17:28:04Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_iwx.c | log | diff | annotate |
message |
Fix a bug in iwx(4) Tx done interrupt processing. Clear the byte-count for the correct frame while taking frames off the ring. This should fix some 'fatal firmware errors' seen under load, and prevent memory corruption: The device could access an mbuf we have freed, but which is still marked as used in the byte count table and which still has a DMA address in its Tx descriptor. Problem observed by mlarkin with NFS while testing my patch for Tx aggregation support. |
date | 2021-09-11T17:28:44Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_iwx.c | log | diff | annotate |
message |
Zero out iwx(4) Tx descriptors of frames which are done. This will hopefully prevent the device from ever writing to the former DMA address of a buffer which has been taken off the Tx ring. As far as I understand, the Linux driver unmaps (parts of) Tx descriptors that are done. We use a static DMA mapping for the entire descriptor array, so unmapping is not an option for us. Tested by several as part of my Tx aggregation support patch. |
date | 2021-09-11T18:08:32Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/i386/i386/pmap.c | log | diff | annotate |
src/sys/arch/i386/i386/pmapae.c | log | diff | annotate | |
message |
Change the scope of the locking in pmap_extract() to prevent a race between walking the page tables and another thread calling pmap_remove() that ends up removing a page table page. tested by sthen@ ok deraadt@, mpi@ |
date | 2021-09-11T22:42:12Z | |||
---|---|---|---|---|
author | mglocker | |||
files | src/sys/dev/fdt/sdhc_fdt.c | log | diff | annotate |
src/sys/dev/sdmmc/sdhc.c | log | diff | annotate | |
src/sys/dev/sdmmc/sdhcvar.h | log | diff | annotate | |
message |
Don't set the highspeed bit on bcm2835-sdhci sdhc(4) controllers. Same approach as on Linux and NetBSD. This fixes bwfm(4) Wi-Fi on the Raspberry Pi 3 Model B Plus. help and ok kettenis@ |
date | 2021-09-11T23:22:38Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/dev/acpi/tpm.c | log | diff | annotate |
message |
Identify TPM2.0 devices and perform the 2.0-specific "suspend" command (researched by mlarkin). With this, and the latest BIOS which added S3, the lenovo x1r9 and x1nano can resume. ok kettenis mlarkin |