Message ID | 167406536836.1455071.374208676614721474.stgit@djiang5-mobl3.local |
---|---|
State | Superseded |
Headers | show |
Series | cxl: Introduce HDM decoder emulation from DVSEC range registers | expand |
Dave Jiang wrote: > 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. This description says "what", but not "why". How about: "Remove the CXL_DECODER_F_LOCK check to be permissive of platform BIOSen that allow CXL.mem to be remapped."
diff --git a/drivers/cxl/core/pci.c b/drivers/cxl/core/pci.c index be59f7271f62..e1aadb411f2f 100644 --- a/drivers/cxl/core/pci.c +++ b/drivers/cxl/core/pci.c @@ -228,8 +228,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;