Page MenuHomeFreeBSD

revert 4GB workarounds for bge and aac
ClosedPublic

Authored by tychon on May 16 2019, 1:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 15, 9:41 PM
Unknown Object (File)
Sun, May 5, 5:57 AM
Unknown Object (File)
Thu, May 2, 8:10 PM
Unknown Object (File)
Thu, May 2, 7:56 PM
Unknown Object (File)
Thu, May 2, 7:56 PM
Unknown Object (File)
Thu, May 2, 4:05 PM
Unknown Object (File)
Wed, May 1, 12:03 AM
Unknown Object (File)
Sat, Apr 27, 1:21 AM
Subscribers

Details

Summary

After r346386, DMA transactions may again cross 4GB boundaries. I had intended to return the per-device workaround for devices known to have 64-bit issues. Apparently while I got the header file component I missed the salient change to bge in the shuffle. Also add the necessary workaround for aac.

This is a straightforward revert of r232766 and r232260 respectively.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/dev/aac/aac_pci.c
447 ↗(On Diff #57445)

aac uses BUS_SPACE_MAXSIZE_32BIT in other places.

sys/dev/aac/aac_pci.c
447 ↗(On Diff #57445)

Yeah, I see that but BUS_SPACE_MAXSIZE_32BIT (0xFFFFFFFF) isn't a power-of-2. Isn't that a requirement for alignment?

kib added inline comments.
sys/dev/aac/aac_pci.c
447 ↗(On Diff #57445)

I see.

This revision is now accepted and ready to land.May 16 2019, 8:26 PM
This revision was automatically updated to reflect the committed changes.