]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Document how CR4.PCIDE restore works
authorAndy Lutomirski <luto@kernel.org>
Thu, 7 Sep 2017 02:54:54 +0000 (19:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Sep 2017 03:12:57 +0000 (20:12 -0700)
commit9d62edfa5a2bb8102228fcf4e41a7fe671f7ef34
treeb0a9e9d2d4a7062dc6f20c463109af14e56c9c7e
parent15706ec982a13bff9fbba3a279f0a3efcd316bef
x86/mm: Document how CR4.PCIDE restore works

While debugging a problem, I thought that using
cr4_set_bits_and_update_boot() to restore CR4.PCIDE would be
helpful.  It turns out to be counterproductive.

Add a comment documenting how this works.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/cpu/common.c