Re: [NDCTL PATCH] cxl: Add helper function to verify port is in memdev hierarchy

2025-07-03 Thread Alison Schofield
On Wed, Jun 18, 2025 at 03:50:33PM -0700, Dave Jiang wrote: > > > On 6/18/25 3:45 PM, Alison Schofield wrote: > > On Wed, Jun 18, 2025 at 02:58:13PM -0700, Dave Jiang wrote: > >> > >> > >> On 6/18/25 2:54 PM, Alison Schofield wrote: > >>> On Wed, Jun 18, 2025 at 01:41:17PM -0700, Dave Jiang wrote

Re: [NDCTL PATCH] cxl: Add helper function to verify port is in memdev hierarchy

2025-06-18 Thread Dave Jiang
On 6/18/25 3:45 PM, Alison Schofield wrote: > On Wed, Jun 18, 2025 at 02:58:13PM -0700, Dave Jiang wrote: >> >> >> On 6/18/25 2:54 PM, Alison Schofield wrote: >>> On Wed, Jun 18, 2025 at 01:41:17PM -0700, Dave Jiang wrote: 'cxl enable-port -m' uses cxl_port_get_dport_by_memdev() to find the

Re: [NDCTL PATCH] cxl: Add helper function to verify port is in memdev hierarchy

2025-06-18 Thread Alison Schofield
On Wed, Jun 18, 2025 at 02:58:13PM -0700, Dave Jiang wrote: > > > On 6/18/25 2:54 PM, Alison Schofield wrote: > > On Wed, Jun 18, 2025 at 01:41:17PM -0700, Dave Jiang wrote: > >> 'cxl enable-port -m' uses cxl_port_get_dport_by_memdev() to find the > >> memdevs that are associated with a port in o

Re: [NDCTL PATCH] cxl: Add helper function to verify port is in memdev hierarchy

2025-06-18 Thread Dave Jiang
On 6/18/25 2:54 PM, Alison Schofield wrote: > On Wed, Jun 18, 2025 at 01:41:17PM -0700, Dave Jiang wrote: >> 'cxl enable-port -m' uses cxl_port_get_dport_by_memdev() to find the >> memdevs that are associated with a port in order to enable those >> associated memdevs. When the kernel switch to d

Re: [NDCTL PATCH] cxl: Add helper function to verify port is in memdev hierarchy

2025-06-18 Thread Alison Schofield
On Wed, Jun 18, 2025 at 01:41:17PM -0700, Dave Jiang wrote: > 'cxl enable-port -m' uses cxl_port_get_dport_by_memdev() to find the > memdevs that are associated with a port in order to enable those > associated memdevs. When the kernel switch to delayed dport > initialization by enumerating the dpo

[NDCTL PATCH] cxl: Add helper function to verify port is in memdev hierarchy

2025-06-18 Thread Dave Jiang
'cxl enable-port -m' uses cxl_port_get_dport_by_memdev() to find the memdevs that are associated with a port in order to enable those associated memdevs. When the kernel switch to delayed dport initialization by enumerating the dports during memdev probe, the dports are no longer valid until the me