Page MenuHomeFreeBSD

ahci: Check if bus is cache-coherent

Authored by manu on May 2 2019, 4:29 PM.



We do this for FDT systems but not for ACPI ones.
Check the presence of the _CCA attribute.

Sponsored by: Ampere Computing, LLC

Test Plan

Tested on Ampere eMAG, ~x2 for read speed ~x1.7 for writes.
Tested also on my SoftIron Overdrive 1000, it now give the same perf as when I boot it with FDT

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

manu created this revision.May 2 2019, 4:29 PM
andrew added a reviewer: mav.May 2 2019, 4:33 PM
emaste added a subscriber: emaste.May 2 2019, 4:37 PM


andrew accepted this revision.May 9 2019, 11:49 AM
This revision is now accepted and ready to land.May 9 2019, 11:49 AM
This revision was automatically updated to reflect the committed changes.