From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Wed, 23 Sep 2015 19:40:05 +0100 Subject: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges. In-Reply-To: <1442966996-13419-1-git-send-email-ddaney.cavm@gmail.com> References: <1442966996-13419-1-git-send-email-ddaney.cavm@gmail.com> Message-ID: <20150923184005.GX7356@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 23, 2015 at 01:09:56AM +0100, David Daney wrote: > From: David Daney > > The Cavium ThunderX SoC needs a PCI quirk for its on-chip bridges. > Since it is arm64, create a new quirks.c file there to contain arm64 > related quirks. Add the ThunderX bridge quirk, gated by a new config > variable, so that it can be disabled for kernels that aren't expected > to be used on ThunderX. > > Signed-off-by: David Daney > --- > arch/arm64/Kconfig | 11 +++++++++++ > arch/arm64/kernel/Makefile | 2 +- > arch/arm64/kernel/quirks.c | 36 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 48 insertions(+), 1 deletion(-) > create mode 100644 arch/arm64/kernel/quirks.c Why does this have to live in the arch/arm64/ directory? The quirks have nothing to do with the architecture code. Will