Re: [RESEND v13 17/25] cxl: Introduce cxl_pci_drv_bound() to check for bound driver
From: Gregory Price
Date: Thu Nov 06 2025 - 12:11:47 EST
On Wed, Nov 05, 2025 at 05:26:01PM -0500, Gregory Price wrote:
> On Wed, Nov 05, 2025 at 02:03:31PM -0500, Gregory Price wrote:
> > On Wed, Nov 05, 2025 at 12:51:04PM -0500, Gregory Price wrote:
> > >
> > > [ 2.697094] cxl_core 0000:0d:00.0: BAR 0 [mem 0xfe800000-0xfe80ffff 64bit]: not claimed; can't enable device
> > > [ 2.697098] cxl_core 0000:0d:00.0: probe with driver cxl_core failed with error -22
> > >
> > > Probe order issue when CXL drivers are built-in maybe?
> > >
> >
>
> moving it back but leaving the function seemed to work for me, i don't
> know what the implication of this is though (i.e. it's unclear to me
> why you moved it from point a to point b in the first place).
>
> (only tested this on QEMU)
also tested on Zen5 systems and others. Seems stable to me.
~Gregory