Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/3] cxl: Handle background commands
@ 2023-05-02 17:18 Davidlohr Bueso
  2023-05-02 17:18 ` [PATCH 1/3] rcuwait: Support timeouts Davidlohr Bueso
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Davidlohr Bueso @ 2023-05-02 17:18 UTC (permalink / raw)
  To: dan.j.williams
  Cc: dave.jiang, alison.schofield, vishal.l.verma, Jonathan.Cameron,
	fan.ni, a.manzanares, dave, linux-cxl

Hi,

This decouples the general synchronous approach series to bg commands
from the sanitation changes[0], and is sent as a stand alone series with
the following changes:

o Introduced patch 1 which gives us the correct semantics to wait/wake without
  using queued wait flavors.

o Replaced global waitqueue with per-device wait. (Dave)

o The current tear down is left as is simply because kicking the wait doesn't
  necessarily mean that there is no further waits left (->poll_count), so it
  really doesn't gain us much -- if this is ever an actual issue it could be
  revisited.

o Removed bogus bg return code check at the end of __cxl_pci_mbox_send_cmd (Ming).

o Small cosmetic updates + picked up Dave's review for patch 2.

Currently there are no users, but it is expected that firmware update and scan
media be the first two to use it.

Applies against 'next' from cxl.git.

[0] https://lore.kernel.org/linux-cxl/20230421092321.12741-1-dave@stgolabs.net/

Thanks!

Davidlohr Bueso (3):
  rcuwait: Support timeouts
  cxl/pci: Allocate irq vectors earlier in pci probe
  cxl/mbox: Add background cmd handling machinery

 drivers/cxl/core/mbox.c |   3 +-
 drivers/cxl/cxl.h       |   7 +++
 drivers/cxl/cxlmem.h    |   7 +++
 drivers/cxl/pci.c       | 110 ++++++++++++++++++++++++++++++++++++++--
 include/linux/rcuwait.h |  23 +++++++--
 5 files changed, 142 insertions(+), 8 deletions(-)

--
2.40.1


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

end of thread, other threads:[~2023-05-22 22:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-02 17:18 [PATCH 0/3] cxl: Handle background commands Davidlohr Bueso
2023-05-02 17:18 ` [PATCH 1/3] rcuwait: Support timeouts Davidlohr Bueso
2023-05-19 21:38   ` Dan Williams
2023-05-19 22:55     ` Davidlohr Bueso
2023-05-20 11:03       ` Peter Zijlstra
2023-05-02 17:18 ` [PATCH 2/3] cxl/pci: Allocate irq vectors earlier in pci probe Davidlohr Bueso
2023-05-15 10:08   ` Jonathan Cameron
2023-05-02 17:18 ` [PATCH 3/3] cxl/mbox: Add background cmd handling machinery Davidlohr Bueso
2023-05-02 17:55   ` Davidlohr Bueso
2023-05-03 14:57   ` [PATCH v2] " Davidlohr Bueso
2023-05-15 10:30     ` Jonathan Cameron
2023-05-15 15:40       ` Davidlohr Bueso
2023-05-15 16:19         ` Jonathan Cameron
2023-05-16  7:58     ` Li, Ming
2023-05-16 17:02       ` Davidlohr Bueso
2023-05-19 23:13     ` Dan Williams
2023-05-22 16:58       ` Davidlohr Bueso
2023-05-22 18:19         ` Dan Williams
2023-05-22 18:57           ` Davidlohr Bueso
2023-05-22 20:16             ` Dan Williams
2023-05-22 20:28               ` Davidlohr Bueso
2023-05-22 21:21                 ` Dan Williams
2023-05-22 21:26                   ` Davidlohr Bueso
2023-05-22 22:48                     ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox