lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <03c83257-defd-4083-970b-9b803442e792@zohomail.com>
Date: Mon, 30 Jun 2025 12:56:48 +0800
From: Li Ming <ming.li@...omail.com>
To: Alison Schofield <alison.schofield@...el.com>
Cc: dave@...olabs.net, jonathan.cameron@...wei.com, dave.jiang@...el.com,
 vishal.l.verma@...el.com, ira.weiny@...el.com, dan.j.williams@...el.com,
 shiju.jose@...wei.com, linux-cxl@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] cxl/core: Add a helper function to check dpa
 availability

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]


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ