openrisc.lists.librecores.org archive mirror
 help / color / mirror / Atom feed
* [OpenRISC] [PATCH v4 0/7] Generic Ticket Spinlocks
@ 2022-04-30 15:36 Palmer Dabbelt
  2022-04-30 15:36 ` [OpenRISC] [PATCH v4 1/7] asm-generic: ticket-lock: New generic ticket-based spinlock Palmer Dabbelt
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Palmer Dabbelt @ 2022-04-30 15:36 UTC (permalink / raw)
  To: openrisc

Comments on the v3 looked pretty straight-forward, essentially just that
RCsc issue I'd missed from the v2 and some cleanups.  A part of the
discussion some additional possible cleanups came up related to the
qrwlock headers, but I hadn't looked at those yet and I had already
handled everything else.  This went on the back burner, but given that
LoongArch appears to want to use it for their new port I think it's best
to just run with this and defer the other cleanups until later.

I've placed the whole patch set at palmer/tspinlock-v4, and also tagged
the asm-generic bits as generic-ticket-spinlocks-v4.  Ideally I'd like
to take that, along with the RISC-V patches, into my tree as there's
some RISC-V specific testing before things land in linux-next.  This
passes all my testing, but I'll hold off until merging things anywhere
else to make sure everyone has time to look.  There's no rush on my end
for this one, but I don't want to block LoongArch so I'll try to stay a
bit more on top of this one.

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.



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-05-06 14:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30 15:36 [OpenRISC] [PATCH v4 0/7] Generic Ticket Spinlocks Palmer Dabbelt
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 1/7] asm-generic: ticket-lock: New generic ticket-based spinlock Palmer Dabbelt
2022-05-04 11:57   ` Heiko =?unknown-8bit?q?St=C3=BCbner?=
2022-05-05  3:30     ` Guo Ren
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 2/7] asm-generic: qspinlock: Indicate the use of mixed-size atomics Palmer Dabbelt
2022-05-04 12:02   ` Heiko =?unknown-8bit?q?St=C3=BCbner?=
2022-05-05 11:05     ` Arnd Bergmann
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 3/7] asm-generic: qrwlock: Document the spinlock fairness requirements Palmer Dabbelt
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 4/7] openrisc: Move to ticket-spinlock Palmer Dabbelt
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 5/7] RISC-V: Move to generic spinlocks Palmer Dabbelt
2022-05-04 12:02   ` Heiko =?unknown-8bit?q?St=C3=BCbner?=
2022-05-05  3:21     ` Guo Ren
2022-05-05 13:00   ` Conor.Dooley
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 6/7] RISC-V: Move to queued RW locks Palmer Dabbelt
2022-05-04 12:03   ` Heiko =?unknown-8bit?q?St=C3=BCbner?=
2022-05-05  3:20     ` Guo Ren
2022-05-05 13:00   ` Conor.Dooley
2022-04-30 15:36 ` [OpenRISC] [PATCH v4 7/7] csky: Move to generic ticket-spinlock Palmer Dabbelt
2022-05-05 11:09 ` [PATCH v4 0/7] Generic Ticket Spinlocks Arnd Bergmann
2022-05-06 14:34   ` Palmer Dabbelt

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).