Page MenuHomeFreeBSD

Add support for AHCI on ARMADA38X
ClosedPublic

Authored by mw_semihalf.com on Jan 17 2017, 4:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 9:37 AM
Unknown Object (File)
Oct 18 2024, 7:40 AM
Unknown Object (File)
Oct 14 2024, 9:18 AM
Unknown Object (File)
Sep 17 2024, 1:36 AM
Unknown Object (File)
Sep 11 2024, 8:36 PM
Unknown Object (File)
Sep 9 2024, 1:18 AM
Unknown Object (File)
Sep 8 2024, 8:49 PM
Unknown Object (File)
Sep 7 2024, 6:06 PM

Details

Summary

This file provides support for AHCI controllers on Marvell Armada38x SoC.

Diff Detail

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

Event Timeline

mw_semihalf.com retitled this revision from to Add support for AHCI on ARMADA38X.
mw_semihalf.com updated this object.
mw_semihalf.com edited the test plan for this revision. (Show Details)
mw_semihalf.com added reviewers: ian, imp, zbb, fabient.
mw_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
mw_semihalf.com added a subscriber: ARM.
zbb requested changes to this revision.Jan 17 2017, 7:03 PM
zbb edited edge metadata.
zbb added inline comments.
sys/dev/ahci/ahci_mv_fdt.c
106 ↗(On Diff #24126)

According to my other comment for the change in AHCI, please change this code to quirk in generic AHCI.

131 ↗(On Diff #24126)

Just double checked generic AHCI driver and it releases r_mem resource on failure. As we discussed, this should be present here only if AHCI does not release this resource and it appears it does.
Please remove release resource after ahci_attach() here and chage back device_detach to generic AHCI detach.
Sorry for confusion.

171 ↗(On Diff #24126)

Please add ofwbus as well.

This revision now requires changes to proceed.Jan 17 2017, 7:03 PM
mw_semihalf.com edited edge metadata.
mw_semihalf.com removed rS FreeBSD src repository - subversion as the repository for this revision.
  • Squash adding ahci to sys/arm/mv/files.mv to this commit.
  • Enable in ARMADA38X config.
  • Add DRIVER_MODULE for ofwbus.
  • Fix releasing resources.
  • Use quirk for soft reset delay.
zbb edited edge metadata.
This revision is now accepted and ready to land.Jan 23 2017, 11:21 AM
This revision was automatically updated to reflect the committed changes.