Re: ATA failure regression

From: tj@xxxxxxxxxx
Date: Thu Sep 29 2016 - 07:33:30 EST


(cc'ing Dan, hi!)

On Thu, Sep 29, 2016 at 08:25:58AM -0300, Henrique de Moraes Holschuh wrote:
> Actually, according to Shah's post from the 26th to this thread,
> everything works just fine even with the IOMMU enabled, as long as the
> system is configured to NOT auto-shutdown unused SATA ports.
> That seems to give some extra avenues at fixing/working around the
> issue, maybe?

Hmm... it could be that the multiple msix routing gets screwed when
the bios disables unoccupied ports. Dan, can you please look into
this? Shah is seeing ahci failing during boot on an AMD platform with
msi enabled. If disabling of unoccupied ports is turned off in bios,
the problem goes away. Maybe we're mapping the irqs incorrectly in
such cases?