* [PATCH] cxl: Demote extended linear cache missing emissions
@ 2025-08-25 17:35 Dave Jiang
2025-08-25 19:31 ` dan.j.williams
0 siblings, 1 reply; 2+ messages in thread
From: Dave Jiang @ 2025-08-25 17:35 UTC (permalink / raw)
To: linux-cxl
Cc: dave, jonathan.cameron, alison.schofield, vishal.l.verma,
ira.weiny, dan.j.williams
Demote extended linear cache missing emissions to debug level as most
systems do not have this feature enabled and the complaint about missing
feature is spammy.
Suggeted-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
drivers/cxl/acpi.c | 6 +++---
drivers/cxl/core/region.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/cxl/acpi.c b/drivers/cxl/acpi.c
index 712624cba2b6..e56b3d96cdef 100644
--- a/drivers/cxl/acpi.c
+++ b/drivers/cxl/acpi.c
@@ -359,9 +359,9 @@ static int cxl_acpi_set_cache_size(struct cxl_root_decoder *cxlrd)
*/
size = size >> 1;
if (cache_size && size != cache_size) {
- dev_warn(&cxld->dev,
- "Extended Linear Cache size %pa != CXL size %pa. No Support!",
- &cache_size, &size);
+ dev_dbg(&cxld->dev,
+ "Extended Linear Cache size %pa != CXL size %pa. No Support!",
+ &cache_size, &size);
return -ENXIO;
}
diff --git a/drivers/cxl/core/region.c b/drivers/cxl/core/region.c
index 71cc42d05248..6d28ba2c2f29 100644
--- a/drivers/cxl/core/region.c
+++ b/drivers/cxl/core/region.c
@@ -3306,9 +3306,9 @@ static int cxl_extended_linear_cache_resize(struct cxl_region *cxlr,
return 0;
if (size != cache_size) {
- dev_warn(&cxlr->dev,
- "Extended Linear Cache size %pa != CXL size %pa. No Support!",
- &cache_size, &size);
+ dev_dbg(&cxlr->dev,
+ "Extended Linear Cache size %pa != CXL size %pa. No Support!",
+ &cache_size, &size);
return -ENXIO;
}
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
--
2.50.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cxl: Demote extended linear cache missing emissions
2025-08-25 17:35 [PATCH] cxl: Demote extended linear cache missing emissions Dave Jiang
@ 2025-08-25 19:31 ` dan.j.williams
0 siblings, 0 replies; 2+ messages in thread
From: dan.j.williams @ 2025-08-25 19:31 UTC (permalink / raw)
To: Dave Jiang, linux-cxl
Cc: dave, jonathan.cameron, alison.schofield, vishal.l.verma,
ira.weiny, dan.j.williams
Dave Jiang wrote:
> Demote extended linear cache missing emissions to debug level as most
> systems do not have this feature enabled and the complaint about missing
> feature is spammy.
>
> Suggeted-by: Dan Williams <dan.j.williams@intel.com>
> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> ---
> drivers/cxl/acpi.c | 6 +++---
> drivers/cxl/core/region.c | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/cxl/acpi.c b/drivers/cxl/acpi.c
> index 712624cba2b6..e56b3d96cdef 100644
> --- a/drivers/cxl/acpi.c
> +++ b/drivers/cxl/acpi.c
> @@ -359,9 +359,9 @@ static int cxl_acpi_set_cache_size(struct cxl_root_decoder *cxlrd)
> */
> size = size >> 1;
> if (cache_size && size != cache_size) {
> - dev_warn(&cxld->dev,
> - "Extended Linear Cache size %pa != CXL size %pa. No Support!",
> - &cache_size, &size);
> + dev_dbg(&cxld->dev,
> + "Extended Linear Cache size %pa != CXL size %pa. No Support!",
> + &cache_size, &size);
The log spam I was seeing was:
"cxl root0: Extended linear cache calculation failed rc:-2"
The concern is whether this mismatch should be reported or result in a
more violent fallback of disabling CXL regions altogether and fallback
to EFI_MEMORY_SP delineated dax devices. I think at any point where the
driver is confused by firmware the CXL subsystem should probably try to
fail safely into vanilla device-dax mode. This needs Smita's work, but
there is really nothing the user can do about a persistent boot warning
unless there is a chance they can get a fix from their BIOS vendor.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-25 19:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-25 17:35 [PATCH] cxl: Demote extended linear cache missing emissions Dave Jiang
2025-08-25 19:31 ` dan.j.williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).