Generic Ticket Spinlocks
From: | Palmer Dabbelt <palmer-AT-rivosinc.com> | |
To: | Arnd Bergmann <arnd-AT-arndb.de> | |
Subject: | [PATCH v5 0/7] Generic Ticket Spinlocks | |
Date: | Mon, 09 May 2022 15:29:49 -0700 | |
Message-ID: | <20220509222956.2886-1-palmer@rivosinc.com> | |
Cc: | guoren-AT-kernel.org, peterz-AT-infradead.org, mingo-AT-redhat.com, Will Deacon <will-AT-kernel.org>, longman-AT-redhat.com, boqun.feng-AT-gmail.com, jonas-AT-southpole.se, stefan.kristiansson-AT-saunalahti.fi, shorne-AT-gmail.com, Paul Walmsley <paul.walmsley-AT-sifive.com>, Palmer Dabbelt <palmer-AT-dabbelt.com>, aou-AT-eecs.berkeley.edu, Arnd Bergmann <arnd-AT-arndb.de>, macro-AT-orcam.me.uk, Greg KH <gregkh-AT-linuxfoundation.org>, sudipm.mukherjee-AT-gmail.com, jszhang-AT-kernel.org, linux-csky-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, openrisc-AT-lists.librecores.org, linux-riscv-AT-lists.infradead.org, linux-arch-AT-vger.kernel.org, linux-riscv-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org | |
Archive-link: | Article |
The changes since v5 have been very minor, just some tags and a few wording changes to the qspinlock comment. There's also a PR for Arnd's tree, assuming that lands I'll take the RISC-V bits into my tree and assuming the csky and openrisc folks don't say anything I'll take those too (though now that we're got a multi-tree merge going that doesn't matter so much, but I said I'd take them so I'm going to default to that as everyone else may have tuned out). Changes since v4 <20220430153626.30660-1-palmer@rivosinc.com>: * Some wording cleanups for the qspinlock comment. * Collected reviewed/tested tags. Changes since v3 <20220414220214.24556-1-palmer@rivosinc.com>: * Added a smp_mb() in the lock slow-path, to make sure that is RCsc. * Fixed the header guards. Changes since v2 <20220319035457.2214979-1-guoren@kernel.org>: * Picked up Peter's SOBs, which were posted on the v1. * Re-ordered the first two patches, as they * Re-worded the RISC-V qrwlock patch, as it was a bit mushy. I also added a blurb in the qrwlock's top comment about this dependency. * Picked up Stafford's fix for big-endian systems, which I have not tested as I don't have one (at least easily availiable, I think the BE MIPS systems are still in that pile in my garage). * Call the generic version <asm-genenic/spinlock{_types}.h>, as there's really no utility to the version that only errors out. Changes since v1 <20220316232600.20419-1-palmer@rivosinc.com>: * Follow Arnd suggestion to make the patch series more generic. * Add csky in the series. * Combine RISC-V's two patches into one. * Modify openrisc's patch to suit the new generic version.