From: Andrew Jones <ajones@ventanamicro.com>
To: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Conor Dooley <conor@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Andrea Parri <parri.andrea@gmail.com>,
Nathan Chancellor <nathan@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>, Will Deacon <will@kernel.org>,
Waiman Long <longman@redhat.com>,
Boqun Feng <boqun.feng@gmail.com>, Arnd Bergmann <arnd@arndb.de>,
Leonardo Bras <leobras@redhat.com>, Guo Ren <guoren@kernel.org>,
linux-doc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-arch@vger.kernel.org, Guo Ren <guoren@linux.alibaba.com>
Subject: Re: [PATCH v5 09/13] asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock
Date: Wed, 21 Aug 2024 16:28:30 +0200 [thread overview]
Message-ID: <20240821-e350a1485008ee3263fae985@orel> (raw)
In-Reply-To: <20240818063538.6651-10-alexghiti@rivosinc.com>
On Sun, Aug 18, 2024 at 08:35:34AM GMT, Alexandre Ghiti wrote:
> From: Guo Ren <guoren@linux.alibaba.com>
>
> The arch_spinlock_t of qspinlock has contained the atomic_t val, which
> satisfies the ticket-lock requirement. Thus, unify the arch_spinlock_t
> into qspinlock_types.h. This is the preparation for the next combo
> spinlock.
>
> Reviewed-by: Leonardo Bras <leobras@redhat.com>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Link: https://lore.kernel.org/linux-riscv/CAK8P3a2rnz9mQqhN6-e0CGUUv9rntRELFdxt_weiD7FxH7fkfQ@mail.gmail.com/
> Signed-off-by: Guo Ren <guoren@kernel.org>
> Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> ---
> include/asm-generic/spinlock.h | 14 +++++++-------
> include/asm-generic/spinlock_types.h | 12 ++----------
> 2 files changed, 9 insertions(+), 17 deletions(-)
>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
next prev parent reply other threads:[~2024-08-21 14:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-18 6:35 [PATCH v5 00/13] Zacas/Zabha support and qspinlocks Alexandre Ghiti
2024-08-18 6:35 ` [PATCH v5 01/13] riscv: Move cpufeature.h macros into their own header Alexandre Ghiti
2024-08-18 6:35 ` [PATCH v5 02/13] riscv: Do not fail to build on byte/halfword operations with Zawrs Alexandre Ghiti
2024-08-21 14:11 ` Andrew Jones
2024-08-18 6:35 ` [PATCH v5 03/13] riscv: Implement cmpxchg32/64() using Zacas Alexandre Ghiti
2024-08-18 6:35 ` [PATCH v5 04/13] dt-bindings: riscv: Add Zabha ISA extension description Alexandre Ghiti
2024-08-21 14:16 ` Andrew Jones
2024-08-18 6:35 ` [PATCH v5 05/13] riscv: Implement cmpxchg8/16() using Zabha Alexandre Ghiti
2024-08-18 6:35 ` [PATCH v5 06/13] riscv: Improve zacas fully-ordered cmpxchg() Alexandre Ghiti
2024-08-21 14:26 ` Andrew Jones
2024-08-18 6:35 ` [PATCH v5 07/13] riscv: Implement arch_cmpxchg128() using Zacas Alexandre Ghiti
2024-08-18 6:35 ` [PATCH v5 08/13] riscv: Implement xchg8/16() using Zabha Alexandre Ghiti
2024-08-18 6:35 ` [PATCH v5 09/13] asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock Alexandre Ghiti
2024-08-21 14:28 ` Andrew Jones [this message]
2024-08-18 6:35 ` [PATCH v5 10/13] asm-generic: ticket-lock: Add separate ticket-lock.h Alexandre Ghiti
2024-08-21 14:32 ` Andrew Jones
2024-08-18 6:35 ` [PATCH v5 11/13] riscv: Add ISA extension parsing for Ziccrse Alexandre Ghiti
2024-08-21 14:33 ` Andrew Jones
2024-08-18 6:35 ` [PATCH v5 12/13] dt-bindings: riscv: Add Ziccrse ISA extension description Alexandre Ghiti
2024-08-18 22:40 ` Conor Dooley
2024-08-21 14:35 ` Andrew Jones
2024-08-18 6:35 ` [PATCH v5 13/13] riscv: Add qspinlock support Alexandre Ghiti
2024-08-21 14:51 ` Andrew Jones
2024-08-28 8:16 ` Alexandre Ghiti
2024-08-28 9:06 ` Andrew Jones
2024-11-13 15:12 ` [PATCH v5 00/13] Zacas/Zabha support and qspinlocks patchwork-bot+linux-riscv
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=20240821-e350a1485008ee3263fae985@orel \
--to=ajones@ventanamicro.com \
--cc=alexghiti@rivosinc.com \
--cc=aou@eecs.berkeley.edu \
--cc=arnd@arndb.de \
--cc=boqun.feng@gmail.com \
--cc=conor@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=guoren@kernel.org \
--cc=guoren@linux.alibaba.com \
--cc=krzk+dt@kernel.org \
--cc=leobras@redhat.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=longman@redhat.com \
--cc=mingo@redhat.com \
--cc=nathan@kernel.org \
--cc=palmer@dabbelt.com \
--cc=parri.andrea@gmail.com \
--cc=paul.walmsley@sifive.com \
--cc=peterz@infradead.org \
--cc=robh@kernel.org \
--cc=will@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;
as well as URLs for NNTP newsgroup(s).