From: Davidlohr Bueso <dave@stgolabs.net>
To: dan.j.williams@intel.com
Cc: dave.jiang@intel.com, alison.schofield@intel.com,
vishal.l.verma@intel.com, Jonathan.Cameron@huawei.com,
fan.ni@samsung.com, a.manzanares@samsung.com, dave@stgolabs.net,
linux-cxl@vger.kernel.org
Subject: [PATCH 0/3] cxl: Handle background commands
Date: Tue, 2 May 2023 10:18:38 -0700 [thread overview]
Message-ID: <20230502171841.21317-1-dave@stgolabs.net> (raw)
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
next reply other threads:[~2023-05-02 17:51 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 17:18 Davidlohr Bueso [this message]
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
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=20230502171841.21317-1-dave@stgolabs.net \
--to=dave@stgolabs.net \
--cc=Jonathan.Cameron@huawei.com \
--cc=a.manzanares@samsung.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=fan.ni@samsung.com \
--cc=linux-cxl@vger.kernel.org \
--cc=vishal.l.verma@intel.com \
/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