Message ID | 166984998110.2805382.13413879869123517058.stgit@djiang5-desk3.ch.intel.com |
---|---|
State | Superseded |
Headers | show |
Series | cxl: Introduce HDM decoder emulation from DVSEC range registers | expand |
diff --git a/drivers/cxl/core/pci.c b/drivers/cxl/core/pci.c index 009c11b43303..d92fb757e495 100644 --- a/drivers/cxl/core/pci.c +++ b/drivers/cxl/core/pci.c @@ -229,8 +229,6 @@ static int dvsec_range_allowed(struct device *dev, void *arg) cxld = to_cxl_decoder(dev); - if (!(cxld->flags & CXL_DECODER_F_LOCK)) - return 0; if (!(cxld->flags & CXL_DECODER_F_RAM)) return 0;
There is no reason that the CFMWS will always set the "Fixed Device Configuration" bit in the "Window Restrictions" field. Remove the CXL_DECODER_F_LOCK check. Signed-off-by: Dave Jiang <dave.jiang@intel.com> --- drivers/cxl/core/pci.c | 2 -- 1 file changed, 2 deletions(-)