summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2025-04-10 09:05:45 +0800
committerDave Jiang <dave.jiang@intel.com>2025-04-28 08:48:30 -0700
commit89963d5e6906241f5f68fa0899e2895437c7fd4b (patch)
tree92c33e6ab4067f89c2f602dce8344fdc71d50913 /tools/perf/scripts/python/sctop.py
parentcdafa67c0270116b0f4cdbd00b6170eb9aa92edf (diff)
cxl/acpi: Verify CHBS length for CXL2.0
Per CXL Spec r3.1 Table 9-21, both CXL1.1 and CXL2.0 have defined their own length, verify it to avoid an invalid CHBS. Additionally, this patch also removes the redundant macro CXL_RCRB_SIZE, favoring the use of `ACPI_CEDT_CHBS_LENGTH_CXL11`, which offers clearer semantic meaning. [DJ: Code edited for readability suggested by djbw] Reviewed-by: Gregory Price <gourry@gourry.net> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://patch.msgid.link/20250410010545.99590-1-lizhijian@fujitsu.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions