lkml.org 
[lkml]   [2021]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/4] x86/mm/64: Flush global TLB on boot and AP bringup
On Tue, Oct 26, 2021 at 11:55:44AM +0200, Borislav Petkov wrote:
> > + movq %cr4, %rcx
> > + movq %rcx, %rax
> > + xorq $X86_CR4_PGE, %rcx
> > + movq %rcx, %cr4
> > + movq %rax, %cr4

Also, I'm wondering if you could compact this even more by defining a
function toggling the PGE bit and calling it from everywhere, even from
asm.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2021-10-26 14:59    [W:0.057 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site