Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/pci
Module Name: src
Committed By: rin
Date: Mon May 23 13:53:37 UTC 2022
Modified Files:
src/sys/dev/pci: esm.c if_bwfm_pci.c if_ena.c if_iwi.c if_ixl.c if_sk.c
if_ti.c if_vge.c ubsec.c
src/sys/dev/pci/bktr: bktr_os.c
Log Message:
Audit unload/unmap v.s. free against DMA buffer for sys/dev/pci;
make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or
bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is
loaded or mapped, respectively.
This is mandatory for some archs. See, e.g.:
http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312
http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93
XXX XXX XXX
Compile test only (for amd64/ALL).
Thanks riastradh@ for double check.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/esm.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_bwfm_pci.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/pci/if_ena.c
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/pci/if_iwi.c
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/pci/if_ixl.c
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/pci/if_sk.c
cvs rdiff -u -r1.122 -r1.123 src/sys/dev/pci/if_ti.c
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/pci/if_vge.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pci/ubsec.c
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/pci/bktr/bktr_os.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index