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: <694099c96f509_1cee1003b@dwillia2-mobl4.notmuch>
Date: Mon, 15 Dec 2025 15:29:13 -0800
From: <dan.j.williams@...el.com>
To: Alejandro Lucero Palau <alucerop@....com>, Dan Williams
	<dan.j.williams@...el.com>, <dave.jiang@...el.com>
CC: <linux-cxl@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
	<Smita.KoralahalliChannabasappa@....com>, <alison.schofield@...el.com>,
	<terry.bowman@....com>, <alejandro.lucero-palau@....com>,
	<linux-pci@...r.kernel.org>, <Jonathan.Cameron@...wei.com>, Shiju Jose
	<shiju.jose@...wei.com>
Subject: Re: [PATCH 0/6] cxl: Initialization reworks in support Soft Reserve
 Recovery and Accelerator Memory

Alejandro Lucero Palau wrote:
[..]
> > Dan Williams (6):
> >    cxl/mem: Fix devm_cxl_memdev_edac_release() confusion
> >    cxl/mem: Arrange for always-synchronous memdev attach
> >    cxl/port: Arrange for always synchronous endpoint attach
> >    cxl/mem: Convert devm_cxl_add_memdev() to scope-based-cleanup
> >    cxl/mem: Drop @host argument to devm_cxl_add_memdev()
> >    cxl/mem: Introduce a memdev creation ->probe() operation
> >
> >   drivers/cxl/Kconfig          |   2 +-
> >   drivers/cxl/cxl.h            |   2 +
> >   drivers/cxl/cxlmem.h         |  17 ++++--
> >   drivers/cxl/core/edac.c      |  64 ++++++++++++---------
> >   drivers/cxl/core/memdev.c    | 104 ++++++++++++++++++++++++-----------
> >   drivers/cxl/mem.c            |  69 +++++++++--------------
> >   drivers/cxl/pci.c            |   2 +-
> >   drivers/cxl/port.c           |  40 ++++++++++++++
> >   tools/testing/cxl/test/mem.c |   2 +-
> >   9 files changed, 192 insertions(+), 110 deletions(-)
> >
> >
> > base-commit: ea5514e300568cbe8f19431c3e424d4791db8291
> 
> 
> I have tested this series with Type2 and it works as expected:
> 
> 
> 1) type2 fails to be installed if cxl_mem not loaded.
> 
> 2) cxl_mem, cxl_port and cxl_core not removable as type2 driver 
> installed depends on them.
> 
> 3) cxl_acpi is still possible to remove ...
> 
> 
> FWIW:
> 
> 
> Tested-by: Alejandro Lucero <alucerop@....com>

Thanks.

Do note that module removability does not affect the unbind path. So you
can still do all the same "remove" violence via:

"echo $device > /sys/bus/cxl/driver/$driver/unbind"

...as would be caused by:

"modprobe -r $driver"

...i.e. nothing blocks unbind even if the module is pinned.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ