[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z4WAV_xvz2ltbo4H@gourry-fedora-PF4VCD3F>
Date: Mon, 13 Jan 2025 16:06:31 -0500
From: Gregory Price <gourry@...rry.net>
To: Ira Weiny <ira.weiny@...el.com>
Cc: linux-mm@...ck.org, linux-acpi@...r.kernel.org, kernel-team@...a.com,
x86@...nel.org, linux-kernel@...r.kernel.org,
dave.hansen@...ux.intel.com, luto@...nel.org, peterz@...radead.org,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, hpa@...or.com,
rafael@...nel.org, lenb@...nel.org, david@...hat.com,
osalvador@...e.de, gregkh@...uxfoundation.org,
akpm@...ux-foundation.org, dan.j.williams@...el.com,
Jonathan.Cameron@...wei.com, alison.schofield@...el.com,
rrichter@....com, rppt@...nel.org, bfaccini@...dia.com,
haibo1.xu@...el.com, dave.jiang@...el.com,
Fan Ni <fan.ni@...sung.com>
Subject: Re: [RESEND v7 3/3] acpi,srat: give memory block size advice based
on CFMWS alignment
On Mon, Jan 13, 2025 at 02:59:22PM -0600, Ira Weiny wrote:
> Gregory Price wrote:
> > + /* Align memblock size to CFMW regions if possible */
> > + align = 1UL << __ffs(start | end);
> > + if (align >= SZ_256M) {
> > + if (memory_block_advise_max_size(align) < 0)
> > + pr_warn("CFMWS: memblock size advise failed\n");
>
> I wonder if it would be good to print the return value here so the user
> knows why this failed?
>
As someone who is often annoyed by this exact pattern, I am apparently
just as guilty at producing it *facepalm*
I'll pick this up and push it tomorrow.
> But either way.
>
> Reviewed-by: Ira Weiny <ira.weiny@...el.com>
>
> > + } else {
> > + pr_err("CFMWS: [BIOS BUG] base/size alignment violates spec\n");
> > + }
> > +
> > /*
> > * The SRAT may have already described NUMA details for all,
> > * or a portion of, this CFMWS HPA range. Extend the memblks
> > --
> > 2.47.1
> >
> >
>
>
Powered by blists - more mailing lists