linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Neuling <mikey@neuling.org>
Cc: mikey@neuling.org, linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: powerpc/powernv: Fix XSCOM address mangling for form 1 indirect
Date: Fri, 31 Mar 2017 23:33:57 +1100 (AEDT)	[thread overview]
Message-ID: <3vvgsd5YSDz9s03@ozlabs.org> (raw)
In-Reply-To: <1490319797.28113.46.camel@neuling.org>

On Fri, 2017-03-24 at 01:43:17 UTC, Michael Neuling wrote:
> POWER9 adds form 1 scoms. The form of the indirection is specified in
> the top nibble of the scom address.
> 
> Currently we do some (ugly) bit mangling so that we can fit a 64 bit
> scom address into the debugfs interface. The current code only shifts
> the top bit (indirect bit).
> 
> This patch changes it to shift the whole top nibble so that the form
> of the indirection is also shifted.
> 
> This patch is backwards compatible with older scoms.
> 
> (This change isn't required in the
> arch/powerpc/platformspowernv/opal-prd.c scom interface as it passes
> the whole 64bit scom address without any bit mangling)
> 
> Signed-off-by: Michael Neuling <mikey@neuling.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/517c27570cf38f182e7a688d50a9b9

cheers

      reply	other threads:[~2017-03-31 12:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-24  1:43 [PATCH] powerpc/powernv: Fix XSCOM address mangling for form 1 indirect Michael Neuling
2017-03-31 12:33 ` Michael Ellerman [this message]

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=3vvgsd5YSDz9s03@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mikey@neuling.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).