From: Mike Travis <mike.travis@hpe.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Andrew Morton <akpm@linux-foundation.org>,
Dimitri Sivanich <dimitri.sivanich@hpe.com>,
Russ Anderson <russ.anderson@hpe.com>,
Andrew Banman <andrew.banman@hpe.com>, <jgross@suse.com>,
<dan.j.williams@intel.com>, <kirill.shutemov@linux.intel.com>,
<x86@kernel.org>, <linux-kernel@vger.kernel.org>,
<stable@vger.kernel.org>
Subject: Re: [PATCH 0/3] x86/platform/UV: Update Memory Block Size Setting
Date: Tue, 15 May 2018 09:08:10 -0700 [thread overview]
Message-ID: <6a67bfcd-c80f-b0bd-aeb3-3c8d27d45e88@hpe.com> (raw)
In-Reply-To: <20180511064837.GB23231@dhcp22.suse.cz>
[re-including everyone for any other comments about these patches...]
On 5/10/2018 11:48 PM, Michal Hocko wrote:
> On Thu 10-05-18 18:18:32, mike.travis@hpe.com wrote:
>>
>> Update support for the UV kernel to accommodate Intel BIOS changes in
>> NVDIMM alignment, which caused UV BIOS to align the memory boundaries
>> on different blocks than the previous UV standard of 2GB.
>
> Please elaborate (much) more. What is the actual problem and how is the
> patchset addressing it.
>
On 5/15/2018 1:55 AM, Michal Hocko wrote:
> On Fri 11-05-18 08:08:14, Mike Travis wrote:
> [...]
>> If you think I need this more detailed explanation in the patch
descriptions
>> themselves, I'll add it.
>
> Yes we definitely want this information along with a high level
> description of how this got fixed. Incomplete memblocks need to be
> handled gracefully (especially when blocks are 2GB in size).
>
> Thanks!
>
Hi Michal,
I will add more info but this patch does not address anything about
incomplete memblocks. They have existed in 2GB mem block size form
since 2009 (v2.6) with the first UV1 system release. I am not changing
any of that handling.
The fixing part was to adapt to what Intel BIOS was using as a different
boundary to align the PMEM NVDIMMs. This is explained in both patch 1
and patch 2:
"Add a new function to "adjust" the current fixed UV memory block size
of 2GB so it can be changed to a different physical boundary. This is
out of necessity so UV BIOS can accommodate Intel BIOS changes for
NVDIMM's, which can align these new PMEM modules at other than 2GB
boundaries."
"Add a call to the new function to "adjust" the current fixed UV memory
block size of 2GB so it can be changed to a different physical boundary.
This accommodates changes in the Intel BIOS, and therefore UV BIOS,
which now can align boundaries different than the previous UV standard
of 2GB. It also flags any UV Mem boundaries that cause a change in the
mem block size boundary."
I can't explain why the Intel BIOS changed the boundaries, it probably
has something to do with accommodating other areas of the NVDIMMs
physical address space. This caused a boundary alignment to be less
than 2GB which UV had been using. From one of the UV BIOS engineers I
found out that Intel really only guarantees a 64MB boundary (which is
actually less than the current Linux minimum of 128MB.) Our own UVHUB
requirements dictated that 2GB was an acceptable boundary up until now.
So let me know how much more info is needed on how I need to explain
_this_ change.
Thanks,
Mike
next prev parent reply other threads:[~2018-05-15 16:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-10 23:18 [PATCH 0/3] x86/platform/UV: Update Memory Block Size Setting mike.travis
2018-05-10 23:18 ` [PATCH 1/3] x86/platform/UV: Add adjustable set memory block size function mike.travis
2018-05-11 5:24 ` Greg KH
2018-05-10 23:18 ` [PATCH 2/3] x86/platform/UV: Use new " mike.travis
2018-05-11 5:24 ` Greg KH
2018-05-10 23:18 ` [PATCH 3/3] x86/platform/UV: Add kernel parameter to set memory block size mike.travis
2018-05-11 5:24 ` Greg KH
2018-05-11 5:24 ` [PATCH 0/3] x86/platform/UV: Update Memory Block Size Setting Greg KH
2018-05-11 6:48 ` Michal Hocko
2018-05-15 16:08 ` Mike Travis [this message]
2018-05-16 11:09 ` Michal Hocko
-- strict thread matches above, loose matches on Subject: below --
2018-05-24 20:17 mike.travis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6a67bfcd-c80f-b0bd-aeb3-3c8d27d45e88@hpe.com \
--to=mike.travis@hpe.com \
--cc=akpm@linux-foundation.org \
--cc=andrew.banman@hpe.com \
--cc=dan.j.williams@intel.com \
--cc=dimitri.sivanich@hpe.com \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@kernel.org \
--cc=mingo@redhat.com \
--cc=russ.anderson@hpe.com \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox