#
030b0c8c |
| 09-Dec-2023 |
Michael Neumann <mneumann@ntecs.de> |
busdma - Remove filter functionality
- Remove filtfunc and filtarg arguments from bus_dma_tag_create() and fix all callers. All callers use NULL today for both filterfunc and filterarg with one
busdma - Remove filter functionality
- Remove filtfunc and filtarg arguments from bus_dma_tag_create() and fix all callers. All callers use NULL today for both filterfunc and filterarg with one exception: if_jme.
- Remove filter functionality internally and parent tag tracking. Without filter functions, we do not need to keep track of tag ancestry. All inheritance of the parent tag's parameters occurs when creating the new child tag.
- rename run_filter() to addr_needs_bounce().
- FreeBSD keeps the filtfunc and filtarg arguments but requires them to be NULL.
- Drop filterfunc usage from if_jme.
In case of "JMC260 chip full mask revision 2", which has a hardware bug when it comes to DMA transfers crossing the 4 GB bounday, the parent buffer tag already limits DMA memory to 32bit address space. As such it should be safe to drop the filterfunc. The filterfunc was checking if the lower 32bits of the physical address used for DMA are all 0. In case of a 32bit address space, the only address where all lower 32-bits are all zero is 0 itself and I am here assuming that the physical address 0 is not used for DMA transfers!
Mainly obtained from: FreeBSD (commits 7cb028de, 900907f4, 1228b93b, 3933ff56)
show more ...
|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1 |
|
#
17975de1 |
| 08-Dec-2018 |
Sascha Wildner <saw@online.de> |
kernel: Use NULL for pointers in DRIVER_MODULE().
|
Revision tags: v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1 |
|
#
fd501800 |
| 24-Apr-2018 |
Sascha Wildner <saw@online.de> |
Add FreeBSD's mpr(4) driver for LSI Fusion-MPT 3/3.5 SAS controllers.
This commit also includes a userland utility for mps(4) and mpr(4) (mprutil(8) aka mpsutil(8)).
After porting bug fixing, testi
Add FreeBSD's mpr(4) driver for LSI Fusion-MPT 3/3.5 SAS controllers.
This commit also includes a userland utility for mps(4) and mpr(4) (mprutil(8) aka mpsutil(8)).
After porting bug fixing, testing shows that it seems to be stable, therefore I have added it to our X64_64_GENERIC as well.
Thanks to zrj for testing and to sephe for some porting clues.
Taken-from: FreeBSD
show more ...
|