Module Name: src Committed By: martin Date: Wed Dec 30 15:12:38 UTC 2020
Modified Files: src/sys/arch/arm/nvidia [netbsd-9]: tegra_ahcisata.c src/sys/dev/ata [netbsd-9]: satareg.h src/sys/dev/ic [netbsd-9]: ahcisata_core.c ahcisatavar.h Log Message: Pull up following revision(s) (requested by jmcneill in ticket #1167): sys/dev/ic/ahcisata_core.c: revision 1.84 sys/dev/ic/ahcisata_core.c: revision 1.85 sys/dev/ic/ahcisata_core.c: revision 1.88 sys/dev/ic/ahcisata_core.c: revision 1.89 sys/arch/arm/nvidia/tegra_ahcisata.c: revision 1.13 sys/dev/ic/ahcisatavar.h: revision 1.26 sys/dev/ic/ahcisata_core.c: revision 1.90 sys/dev/ic/ahcisata_core.c: revision 1.91 sys/dev/ic/ahcisata_core.c: revision 1.92 sys/dev/ata/satareg.h: revision 1.6 ahci_exec_fis: wait for the correct amount of time when AT_WAIT is set Retry clearing WDCTL_RST a few times before giving up. Makes SATA work in Solidrun Honeycomb LX2K. AHCI 1.3.1 specification says that it is good practice for system software to 'zero-out' the memory allocated and referenced by PxCLB and PxFB. ahci_intr: use ffs in the port bitmask instead of looping over all 32 bits AHCI 1.3.1 section 5.5.3 "Processing Completed Commands" says that we should clear PxIS before IS.IPS. Add G3 and DevSleep definitions. This changes the mask used by SControl_IPM_NONE from 0x3 to 0x7. Make sure to ack IS after PxIS when polling and when using multiple MSI-X messages. Remove the AHCI_QUIRK_SKIP_RESET quirk now that the underlying issue is fixed. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.4.1 src/sys/arch/arm/nvidia/tegra_ahcisata.c cvs rdiff -u -r1.5 -r1.5.94.1 src/sys/dev/ata/satareg.h cvs rdiff -u -r1.75.4.3 -r1.75.4.4 src/sys/dev/ic/ahcisata_core.c cvs rdiff -u -r1.22.4.1 -r1.22.4.2 src/sys/dev/ic/ahcisatavar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.