[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 00/16] x86/mtrr: fix handling with PAT but without MTRR
- To: Borislav Petkov <bp@xxxxxxxxx>
- From: Juergen Gross <jgross@xxxxxxxx>
- Date: Thu, 1 Jun 2023 15:10:59 +0200
- Cc: linux-kernel@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx, linux-hyperv@xxxxxxxxxxxxxxx, linux-doc@xxxxxxxxxxxxxxx, mikelley@xxxxxxxxxxxxx, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>, Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>, Wei Liu <wei.liu@xxxxxxxxxx>, Dexuan Cui <decui@xxxxxxxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Jonathan Corbet <corbet@xxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- Delivery-date: Thu, 01 Jun 2023 13:11:12 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 31.05.23 19:48, Borislav Petkov wrote:
On Wed, May 31, 2023 at 04:20:08PM +0200, Juergen Gross wrote:
One other note: why does mtrr_cleanup() think that using 8 instead of 6
variable MTRRs would be an "optimal setting"?
Maybe the more extensive debug output below would help answer that...
IMO it should replace the original setup only in case it is using _less_
MTRRs than before.
Right.
The attached patch will do that.
Juergen
Attachment:
v7-0001-x86-mtrr-Let-mtrr_cleanup-not-increase-number-of-.patch
Description: Text Data
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature
|