All of lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: remove a redundancy in sysreg.h
Date: Tue, 20 Jun 2017 15:05:39 +0100	[thread overview]
Message-ID: <20170620140539.GD21131@arm.com> (raw)
In-Reply-To: <6d18962d-5557-1d57-95da-2ae1c437440b@arm.com>

On Tue, Jun 20, 2017 at 02:54:15PM +0100, Marc Zyngier wrote:
> On 20/06/17 14:30, Stefan Traby wrote:
> > This is really trivial; there is a dup
> > (1 << 16) in the code
> > 
> > Signed-off-by: Stefan Traby <stefan@hello-penguin.com>
> > ---
> >  arch/arm64/include/asm/sysreg.h | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
> > index 2d3e155b185f..580965129fea 100644
> > --- a/arch/arm64/include/asm/sysreg.h
> > +++ b/arch/arm64/include/asm/sysreg.h
> > @@ -139,8 +139,8 @@
> >  #define SCTLR_ELx_M	1
> >  
> >  #define SCTLR_EL2_RES1	((1 << 4)  | (1 << 5)  | (1 << 11) | (1 << 16) | \
> > -			 (1 << 16) | (1 << 18) | (1 << 22) | (1 << 23) | \
> > -			 (1 << 28) | (1 << 29))
> > +			 (1 << 18) | (1 << 22) | (1 << 23) | (1 << 28) | \
> > +			 (1 << 29))
> >  
> >  #define SCTLR_ELx_FLAGS	(SCTLR_ELx_M | SCTLR_ELx_A | SCTLR_ELx_C | \
> >  			 SCTLR_ELx_SA | SCTLR_ELx_I)
> > 
> 
> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
> 
> Catalin, Will: do you want to get that through arm64? Alternatively, I
> get stash it in the KVM tree.

I can pick it up.

Will

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will.deacon@arm.com>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: Stefan Traby <stefan@hello-penguin.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: remove a redundancy in sysreg.h
Date: Tue, 20 Jun 2017 15:05:39 +0100	[thread overview]
Message-ID: <20170620140539.GD21131@arm.com> (raw)
In-Reply-To: <6d18962d-5557-1d57-95da-2ae1c437440b@arm.com>

On Tue, Jun 20, 2017 at 02:54:15PM +0100, Marc Zyngier wrote:
> On 20/06/17 14:30, Stefan Traby wrote:
> > This is really trivial; there is a dup
> > (1 << 16) in the code
> > 
> > Signed-off-by: Stefan Traby <stefan@hello-penguin.com>
> > ---
> >  arch/arm64/include/asm/sysreg.h | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
> > index 2d3e155b185f..580965129fea 100644
> > --- a/arch/arm64/include/asm/sysreg.h
> > +++ b/arch/arm64/include/asm/sysreg.h
> > @@ -139,8 +139,8 @@
> >  #define SCTLR_ELx_M	1
> >  
> >  #define SCTLR_EL2_RES1	((1 << 4)  | (1 << 5)  | (1 << 11) | (1 << 16) | \
> > -			 (1 << 16) | (1 << 18) | (1 << 22) | (1 << 23) | \
> > -			 (1 << 28) | (1 << 29))
> > +			 (1 << 18) | (1 << 22) | (1 << 23) | (1 << 28) | \
> > +			 (1 << 29))
> >  
> >  #define SCTLR_ELx_FLAGS	(SCTLR_ELx_M | SCTLR_ELx_A | SCTLR_ELx_C | \
> >  			 SCTLR_ELx_SA | SCTLR_ELx_I)
> > 
> 
> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
> 
> Catalin, Will: do you want to get that through arm64? Alternatively, I
> get stash it in the KVM tree.

I can pick it up.

Will

  reply	other threads:[~2017-06-20 14:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 13:30 [PATCH] arm64: remove a redundancy in sysreg.h Stefan Traby
2017-06-20 13:30 ` Stefan Traby
2017-06-20 13:54 ` Marc Zyngier
2017-06-20 13:54   ` Marc Zyngier
2017-06-20 14:05   ` Will Deacon [this message]
2017-06-20 14:05     ` Will Deacon
2017-06-20 15:43     ` Will Deacon
2017-06-20 15:43       ` Will Deacon
2017-06-20 16:01       ` Marc Zyngier
2017-06-20 16:01         ` Marc Zyngier

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=20170620140539.GD21131@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.