Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1212802

Re: [PATCH v3 3/10] x86/asm: Fix pud/pmd interfaces to handle large PAT bit

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/10] x86/asm: Fix pud/pmd interfaces to handle large PAT bit
Date 2015-08-25 10:20 +0200
Message-ID <q1hCz-P0-43@gated-at.bofh.it> (permalink)
References <pUeJr-5l3-7@gated-at.bofh.it> <pUeJs-5l3-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 5 Aug 2015, Toshi Kani wrote:

> 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 pfn and flags for all cases.
> 
> Fix pud/pmd interfaces to handle pfn and flags properly by using
> P?D_PAGE_MASK when PUD/PMD mappings are used, i.e. PSE bit is set.

Can you please split that into a patch introducing and describing the
new mask helper functions and a second one making use of it?

Thanks,

	tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 3/10] x86/asm: Fix pud/pmd interfaces to handle large  PAT bit Thomas Gleixner <tglx@linutronix.de> - 2015-08-25 10:20 +0200
  Re: [PATCH v3 3/10] x86/asm: Fix pud/pmd interfaces to handle large  PAT bit Toshi Kani <toshi.kani@hp.com> - 2015-08-25 16:20 +0200

csiph-web