[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7da92773f7084c57814f7ef4d033bc53@intel.com>
Date: Mon, 27 Jun 2022 17:27:57 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: Borislav Petkov <bp@...en8.de>
CC: "x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"patches@...ts.linux.dev" <patches@...ts.linux.dev>,
Yazen Ghannam <yazen.ghannam@....com>
Subject: RE: [PATCH] RAS/CEC: Reduce default threshold to offline a page to
"2"
>> 1) Change threshold to "2".
>
> Kinda unconditional that... we haven't talked to other vendors even.
Existing default is 1023 ... which is not a good choice for anyone (except
perhaps ostriches that want to bury their heads in the sand an ignore marginal
DIMMs for as long as possible).
So changing the threshold to "2" would be an improvement in at least being right for
one vendor, instead of wrong for all.
If someone comes up with a different value for another CPU or DIMM vendor
combination ... would we have the RAS_CEC driver check boot_cpu_data.x86_vendor
and SMBIOS to set a different default?
>> 2) Do very smart platform dependent things
>
> If you mean AI, that probably won't happen in the kernel.
Agreed. You don't even need the "probably". This isn't kernel material.
Linux already had a hook in the GHES code to take an error record from
the platform and offline a page. So this "smart" code could be done
by BIOS or BMC just providing the resulting list of pages that should
be taken offline to Linux.
-Tony
Powered by blists - more mailing lists