Re: [PATCH V2] AHCI: Workaround for ThunderX Errata#22536

From: Robert Richter
Date: Tue Feb 16 2016 - 09:43:00 EST


On 15.02.16 13:30:41, Tejun Heo wrote:
> On Sun, Feb 14, 2016 at 07:36:18PM -0800, Tirumalesh Chalamarla wrote:
> > There is no need for special Driver, AHCI is sufficient for ThunderX, the
> > file only contains this interrupt handler,
> > is it preferable if this interrupt handler in libahci.c with others, instead
> > of separate file?
>
> Yeap, just fold it in ahci.c with surrounding #ifdef guard.

Yes, please use #ifdef CONFIG_CAVIUM_ERRATUM_22536 ... and add a
kconfig entry for this to arch/arm64/Kconfig.

-Robert