Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755850AbbHYOR6 (ORCPT ); Tue, 25 Aug 2015 10:17:58 -0400 Received: from g9t5009.houston.hp.com ([15.240.92.67]:41018 "EHLO g9t5009.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751316AbbHYOR5 (ORCPT ); Tue, 25 Aug 2015 10:17:57 -0400 Message-ID: <1440512146.14237.15.camel@hp.com> Subject: Re: [PATCH v3 3/10] x86/asm: Fix pud/pmd interfaces to handle large PAT bit From: Toshi Kani To: Thomas Gleixner Cc: hpa@zytor.com, mingo@redhat.com, akpm@linux-foundation.org, bp@alien8.de, linux-mm@kvack.org, linux-kernel@vger.kernel.org, x86@kernel.org, jgross@suse.com, konrad.wilk@oracle.com, elliott@hp.com Date: Tue, 25 Aug 2015 08:15:46 -0600 In-Reply-To: References: <1438811013-30983-1-git-send-email-toshi.kani@hp.com> <1438811013-30983-4-git-send-email-toshi.kani@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 (3.16.4-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 23 On Tue, 2015-08-25 at 10:16 +0200, Thomas Gleixner wrote: > 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? Will do. I will send out v4 patchset today with this update (and the patch 01 update). Thanks, -Toshi -- 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/