Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231210

Re: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges.

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges.
Date 2015-09-23 10:00 +0200
Message-ID <qbN85-6jv-7@gated-at.bofh.it> (permalink)
References <qbFWV-4pS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 22 September 2015 17:09:56 David Daney wrote:
> From: David Daney <david.daney@cavium.com>
> 
> 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 <david.daney@cavium.com>
> ---
>  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
> 

Looks reasonable to me. Just one question: Is the same bridge used
on MIPS machines? If so, maybe it should be moved to drivers/pci/quirks.c
instead for better reuse.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges. David Daney <ddaney.cavm@gmail.com> - 2015-09-23 02:20 +0200
  Re: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges. Arnd Bergmann <arnd@arndb.de> - 2015-09-23 10:00 +0200
    Re: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges. David Daney <ddaney@caviumnetworks.com> - 2015-09-23 18:10 +0200
      Re: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges. Arnd Bergmann <arnd@arndb.de> - 2015-09-23 21:40 +0200
  Re: [PATCH] arm64/pci: Add quirks for Cavium Thunder PCI bridges. Will Deacon <will.deacon@arm.com> - 2015-09-23 20:50 +0200

csiph-web