]> 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)
commit497ae2b0b318b46aeb2a87a5b95d54ddc5783abb
treeb0a9e9d2d4a7062dc6f20c463109af14e56c9c7e
parent61b4fe59f7f4db51e5e2e8ca1ca7b11166a317b6
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