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)
commit1c9fe4409ce3e9c78b1ed96ee8ed699d4f03bf33
treeb0a9e9d2d4a7062dc6f20c463109af14e56c9c7e
parent72c0098d92cedb11c7e0151e84918840a4e96b31
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