]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cxl/acpi: Remove cxl_acpi_set_cache_size()
authorLi Ming <ming.li@zohomail.com>
Fri, 9 Jan 2026 15:40:42 +0000 (23:40 +0800)
committerDave Jiang <dave.jiang@intel.com>
Thu, 22 Jan 2026 23:58:13 +0000 (16:58 -0700)
commit99698e70148fbce4410799570adac8456204fa37
tree22021dac8a4262f2184617b8700c830598bcb4ef
parente5b1887619403c2da25a5899cad3e1ab34e7717f
cxl/acpi: Remove cxl_acpi_set_cache_size()

cxl_acpi_set_cache_size() returns an error only when the size of the
cache range is not matched with the CXL address range. Almost all
implementation of setting cache size is in cxl_acpi_set_cache_size(),
cxl_setup_extended_linear_size() does nothing except printing a warning
in above error case, but cxl_acpi_set_cache_size() also prints a warning
at the same time. So can consolidates these two functions into one, keep
the function name as cxl_setup_extended_linear_size().

Signed-off-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260109154042.331296-1-ming.li@zohomail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/acpi.c