mbox series

[v2,0/4] Fixes for hdm docoder initialization from DVSEC ranges

Message ID 20240809093442.646545-1-yanfei.xu@intel.com
Headers show
Series Fixes for hdm docoder initialization from DVSEC ranges | expand

Message

Yanfei Xu Aug. 9, 2024, 9:34 a.m. UTC
The first three patches are functional fixes, the fourth one is for adjustment
of code format.

v1:https://lore.kernel.org/linux-cxl/66b4db4ff3730_c144829418@dwillia2-xfh.jf.intel.com.notmuch/T/#t

v1->v2:
  separate one big patch into four.


Yanfei Xu (4):
  cxl/pci: Fix to record only non-zero ranges
  cxl/pci: Don't set up decoders for disallowed DVSEC ranges
  cxl/pci: Check Mem_info_valid bit for each applicable DVSEC range
  cxl/pci: Simplify the code logic of cxl_hdm_decode_init

 drivers/cxl/core/pci.c        | 114 ++++++++++++----------------------
 drivers/cxl/cxl.h             |   2 +-
 drivers/cxl/port.c            |   2 +-
 tools/testing/cxl/test/mock.c |   4 +-
 4 files changed, 42 insertions(+), 80 deletions(-)