linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: linuxppc-dev@ozlabs.org
Subject: [PATCH 3/3] powerpc/pseries: Disable IBMEBUS on little endian builds
Date: Tue, 15 Nov 2016 14:47:44 +1100	[thread overview]
Message-ID: <1479181664-6699-3-git-send-email-mpe@ellerman.id.au> (raw)
In-Reply-To: <1479181664-6699-1-git-send-email-mpe@ellerman.id.au>

The IBMEBUS code supports the GX bus found on Power7 and earlier CPUs.
On Power8 it has been replaced, and so we have no need for it.

We don't actually have a config symbol for Power8 vs Power7 etc., but
we only support booting little endian on Power8 or later, so use that as
a reasonable approximation.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/platforms/pseries/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig
index fbf2e4477f88..e1c280a95d58 100644
--- a/arch/powerpc/platforms/pseries/Kconfig
+++ b/arch/powerpc/platforms/pseries/Kconfig
@@ -134,7 +134,7 @@ config IBMVIO
 	default y
 
 config IBMEBUS
-	depends on PPC_PSERIES
+	depends on PPC_PSERIES && !CPU_LITTLE_ENDIAN
 	bool "Support for GX bus based adapters"
 	help
 	  Bus device driver for GX bus based adapters.
-- 
2.7.4

  parent reply	other threads:[~2016-11-15  3:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15  3:47 [PATCH 1/3] powerpc/pseries: Move vio.c into platforms pseries Michael Ellerman
2016-11-15  3:47 ` [PATCH 2/3] powerpc/pseries: Move ibmebus.c " Michael Ellerman
2016-11-15  3:47 ` Michael Ellerman [this message]
2016-11-22  0:34 ` [1/3] powerpc/pseries: Move vio.c " Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479181664-6699-3-git-send-email-mpe@ellerman.id.au \
    --to=mpe@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).