]> Gentwo Git Trees - linux/.git/commit
cxl/region: Add support to indicate region has extended linear cache
authorDave Jiang <dave.jiang@intel.com>
Wed, 22 Oct 2025 20:30:52 +0000 (13:30 -0700)
committerDave Jiang <dave.jiang@intel.com>
Mon, 3 Nov 2025 16:29:00 +0000 (09:29 -0700)
commitd6602e25819dea2c239972e98e09ba5db4aebd22
tree1ed30d787c74a92615efe0a9db644b4a64abfed6
parentf0c5d3bc2830f04a72087f45d15807943eabfa10
cxl/region: Add support to indicate region has extended linear cache

Add a region sysfs attribute to show the size of the extended linear
cache if there is any. The attribute is invisible when the cache
size is 0, which indicates it does not exist.

Moved the cxl_region_visible() location in order to pick up the
new sysfs attribute definition.

[ dj: Fixed spelling errors noted by Benjamin ]

Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Ben Cheatham <benjamin.cheatham@amd.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20251022203052.4078527-1-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Documentation/ABI/testing/sysfs-bus-cxl
drivers/cxl/core/region.c