Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752011AbeAPLje (ORCPT + 1 other); Tue, 16 Jan 2018 06:39:34 -0500 Received: from foss.arm.com ([217.140.101.70]:53346 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbeAPLjd (ORCPT ); Tue, 16 Jan 2018 06:39:33 -0500 From: Punit Agrawal To: Catalin Marinas Cc: , , Will Deacon , , Subject: Re: [RFC 1/4] arm64: Correct type for PUD macros References: <20180110190729.18383-1-punit.agrawal@arm.com> <20180110190729.18383-2-punit.agrawal@arm.com> <20180116111740.tn6qy7yjs2d5ltx6@armageddon.cambridge.arm.com> Date: Tue, 16 Jan 2018 11:39:30 +0000 In-Reply-To: <20180116111740.tn6qy7yjs2d5ltx6@armageddon.cambridge.arm.com> (Catalin Marinas's message of "Tue, 16 Jan 2018 11:17:40 +0000") Message-ID: <878tcyowwd.fsf@e105922-lin.cambridge.arm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Catalin Marinas writes: > On Wed, Jan 10, 2018 at 07:07:26PM +0000, Punit Agrawal wrote: >> The PUD macros (PUD_TABLE_BIT, PUD_TYPE_MASK, PUD_TYPE_SECT) use the >> pgdval_t even when pudval_t is available. Even though the underlying >> type for both (u64) is the same it is confusing and may lead to issues >> in the future. >> >> Fix this by using pudval_t to define the PUD_* macros. >> >> Fixes: 084bd29810a56 ("ARM64: mm: HugeTLB support.") >> Fixes: 206a2a73a62d3 ("arm64: mm: Create gigabyte kernel logical mappings where possible") >> Signed-off-by: Punit Agrawal >> Cc: Catalin Marinas >> Cc: Will Deacon > > I queued this patch. I'll leave the KVM bits to Marc/Christoffer. Thanks for picking up the fix. Punit