[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1436461431-27305-1-git-send-email-toshi.kani@hp.com>
Date: Thu, 9 Jul 2015 11:03:49 -0600
From: Toshi Kani <toshi.kani@...com>
To: hpa@...or.com, tglx@...utronix.de, mingo@...hat.com
Cc: akpm@...ux-foundation.org, bp@...en8.de, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, x86@...nel.org, jgross@...e.com,
konrad.wilk@...cle.com, elliott@...com
Subject: [PATCH 0/2] x86, mm: Fix PAT bit handling of large pages
The PAT bit gets relocated to bit 12 when PUD and PMD mappings are
used. This bit 12, however, is not covered by PTE_FLAGS_MASK, which
is corrently used for masking the flag bits for all cases.
Patch 1/2 fixes pud_flags() and pmd_flags() to handle the PAT bit
when PUD and PMD mappings are used.
Patch 2/2 fixes /sys/kernel/debug/kernel_page_tables to show the
PAT bit properly.
Note, the PAT bit is first enabled in 4.2-rc1 with WT mappings.
---
Toshi Kani (2):
1/2 x86: Fix pXd_flags() to handle _PAGE_PAT_LARGE
2/2 x86, mm: Fix page table dump to show PAT bit
---
arch/x86/include/asm/pgtable_types.h | 16 ++++++++++++---
arch/x86/mm/dump_pagetables.c | 39 +++++++++++++++++++-----------------
2 files changed, 34 insertions(+), 21 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists