]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86/PAT: Fix Xorg regression on CPUs that don't support PAT"
authorIngo Molnar <mingo@kernel.org>
Thu, 1 Jun 2017 13:52:23 +0000 (15:52 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 1 Jun 2017 13:52:23 +0000 (15:52 +0200)
commit0d4611117e719587f1796880b5a0c8077e3d222f
treec5cfabb9bf33ddd1336b4d5bb25385d9475cfd8b
parentda78734b5f8f8151834375db5dd92a1a14d88fe7
Revert "x86/PAT: Fix Xorg regression on CPUs that don't support PAT"

This reverts commit 22a124df68f368fc1dd07c0a6d8758e35e4d27c6.

As Andy Lutomirski observed:

 "I think this patch is bogus. pat_enabled() sure looks like it's
  supposed to return true if PAT is *enabled*, and these days PAT is
  'enabled' even if there's no HW PAT support."

Reported-by: Bernhard Held <berny156@gmx.de>
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Toshi Kani <toshi.kani@hp.com>
Cc: stable@vger.kernel.org # v4.2+
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/pat.c