• Ingo Molnar's avatar
    Revert "x86/PAT: Fix Xorg regression on CPUs that don't support PAT" · c08d5174
    Ingo Molnar authored
    This reverts commit cbed27cd.
    
    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: default avatarBernhard Held <berny156@gmx.de>
    Reported-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Acked-by: default avatarAndy 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: default avatarIngo Molnar <mingo@kernel.org>
    c08d5174
pat.c 28.1 KB