mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
acpi: numa: Add support to enumerate and store extended linear address mode
Store the address mode as part of the cache attriutes. Export the mode attribute to sysfs as all other cache attributes. Link: https://lore.kernel.org/linux-cxl/668333b17e4b2_5639294fd@dwillia2-xfh.jf.intel.com.notmuch/ Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Li Ming <ming.li@zohomail.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/20250226162224.3633792-2-dave.jiang@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
This commit is contained in:
@@ -244,12 +244,14 @@ CACHE_ATTR(size, "%llu")
|
||||
CACHE_ATTR(line_size, "%u")
|
||||
CACHE_ATTR(indexing, "%u")
|
||||
CACHE_ATTR(write_policy, "%u")
|
||||
CACHE_ATTR(address_mode, "%#x")
|
||||
|
||||
static struct attribute *cache_attrs[] = {
|
||||
&dev_attr_indexing.attr,
|
||||
&dev_attr_size.attr,
|
||||
&dev_attr_line_size.attr,
|
||||
&dev_attr_write_policy.attr,
|
||||
&dev_attr_address_mode.attr,
|
||||
NULL,
|
||||
};
|
||||
ATTRIBUTE_GROUPS(cache);
|
||||
|
||||
Reference in New Issue
Block a user