Page MenuHomeFreeBSD

ahci: Check if bus is cache-coherent
ClosedPublic

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

Details

Summary

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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

Excellent!

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.