Re: [PATCH v12 6/8] cxl/mem: Configure dynamic capacity interrupts

Jonathan Cameron <[email protected]> Tue, 4 Aug 2026 01:13:26 +0100
Newsgroups org.kernel.vger.linux-cxl,dev.linux.lists.nvdimm,org.kernel.vger.linux-kernel
Message-ID <20260804011326.73a2b4df@jic23-huawei>
On Fri, 31 Jul 2026 01:48:11 -0700
Anisa Su <[email protected]> wrote:

> From: Ira Weiny <[email protected]>
> 
> Dynamic Capacity Devices (DCD) support extent change notifications
> through the event log mechanism.  The interrupt mailbox commands were
> extended in CXL 3.1 to support these notifications.  Firmware can't
> configure DCD events to be FW controlled but can retain control of
> memory events.
> 
> Configure DCD event log interrupts on devices supporting dynamic
> capacity.  Disable DCD if interrupts are not supported.
> 
> Care is taken to preserve the interrupt policy set by the FW if FW first
> has been selected by the BIOS.
> 
> Based on an original patch by Navneet Singh.
> 
> Signed-off-by: Ira Weiny <[email protected]>
> Signed-off-by: Anisa Su <[email protected]>
> Tested-by: Wonjae Lee <[email protected]>
> Tested-by: Junhee Park <[email protected]>
> Tested-by: Heesoo Kim <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>