Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Rolf Eike Beer <eike-kernel@sf-tec.de>
To: linux-parisc <linux-parisc@vger.kernel.org>,
	John David Anglin <dave.anglin@bell.net>
Cc: Helge Deller <deller@gmx.de>, Deller <deller@kernel.org>,
	James Bottomley <James.Bottomley@hansenpartnership.com>
Subject: Re: [PATCH] parisc: Fix mask used to select futex spinlock
Date: Tue, 21 Dec 2021 19:45:37 +0100	[thread overview]
Message-ID: <5778770.lOV4Wx5bFT@daneel.sf-tec.de> (raw)
In-Reply-To: <8186e8fe-1c64-c9fd-ca3c-f7514fb40428@bell.net>

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Am Dienstag, 21. Dezember 2021, 19:33:16 CET schrieb John David Anglin:
> Fix mask used to select futex spinlock.
> 
> The address bits used to select the futex spinlock need to match those used
> in the LWS code in syscall.S. The mask 0x3f8 only selects 7 bits.  It
> should select 8 bits.

This change looks like this should become a helper macro or something like 
that so the code will stay in sync. Can the mask be shared with the LWS code 
with a constant while at it so it will also include that?

Eike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2021-12-21 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 18:33 [PATCH] parisc: Fix mask used to select futex spinlock John David Anglin
2021-12-21 18:45 ` Rolf Eike Beer [this message]
2021-12-21 19:27   ` John David Anglin
2021-12-21 19:33     ` Helge Deller

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=5778770.lOV4Wx5bFT@daneel.sf-tec.de \
    --to=eike-kernel@sf-tec.de \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=dave.anglin@bell.net \
    --cc=deller@gmx.de \
    --cc=deller@kernel.org \
    --cc=linux-parisc@vger.kernel.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