From: Li Ming <ming.li@zohomail.com>
To: Alison Schofield <alison.schofield@intel.com>
Cc: dave@stgolabs.net, jonathan.cameron@huawei.com,
dave.jiang@intel.com, vishal.l.verma@intel.com,
ira.weiny@intel.com, dan.j.williams@intel.com,
shiju.jose@huawei.com, linux-cxl@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] cxl/core: Add a helper function to check dpa availability
Date: Mon, 30 Jun 2025 12:56:48 +0800 [thread overview]
Message-ID: <03c83257-defd-4083-970b-9b803442e792@zohomail.com> (raw)
In-Reply-To: <aGHrSVX7ce96nTmt@aschofie-mobl2.lan>
On 6/30/2025 9:41 AM, Alison Schofield wrote:
> On Sun, Jun 29, 2025 at 04:20:42PM +0800, Li Ming wrote:
>> In CXL subsystem, many pieces of code that need to check dpa
>> availability in case using wrong dpa. Add a helper function called
>> is_valid_dpa() for dpa availability checking.
> Does this have anything DPA special about it. Could it be done in
I think no special DPA here, my understanding is that all DPA should be included in cxlds->dpa_res.
> in a new helper like resource_contains_addr() for all to employ.
> In CXL, we'd use it in at least one more place, checking for HPA
> in a region resource.
That is a good idea, I will add it into include/linux/ioport.h
>
> -- Alison
>
Ming
[snip]
prev parent reply other threads:[~2025-06-30 4:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-29 8:20 [PATCH 1/2] cxl/edac: Fix wrong dpa checking for PPR operation Li Ming
2025-06-29 8:20 ` [PATCH 2/2] cxl/core: Add a helper function to check dpa availability Li Ming
2025-06-30 1:41 ` Alison Schofield
2025-06-30 4:56 ` Li Ming [this message]
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=03c83257-defd-4083-970b-9b803442e792@zohomail.com \
--to=ming.li@zohomail.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shiju.jose@huawei.com \
--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
all inboxes | Powered by JetHome®