Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp417655pxu; Tue, 5 Jan 2021 15:04:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPHU2PG/B48BSuNV3M9vKa/P5+Ub+tvrL8lIndjWsg6atavUHXcMfrJGWx/ODjTdkgH35L X-Received: by 2002:a17:906:5e0f:: with SMTP id n15mr1095500eju.459.1609887896811; Tue, 05 Jan 2021 15:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609887896; cv=none; d=google.com; s=arc-20160816; b=oni91FOEkNmR2PSFULxqx2AqdjS0MnLgXtUvdgTVS2H1talStRkRuI00EVuKueLN71 H6PXs5mExfZh+RWvYQMhRDoACvuevmrQ+Fb1zWKNEYZRaBXuupVMYs0bbkiZvUp2TB7b kCbUVzCerr9wiizN6elYWVDm1j3ILFSwqcsqOWdQBBWL0IOx5EEApfjVRnNDpOjUIdSu 2HfbyEfGZY7VKiPhCNyZG5dMlGTGUIT2bcb8f2EmnaPywEVQeEecl05ek57xLaxOOlHl fUsaXmRJNyoQFWqR+bwUWN6H3pd2ZtYIqIwofkF+G4/zN2UPtBP0Tch8/P2B6HSX/utm BWrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from:sender:dkim-signature; bh=DJIWST9KinNPbLnh2UPAjV8WC1wtmvyxVwRAyl2BJww=; b=msA7B4aFspkYVlNdWgiXEXvaRUCIbETbRBG9jlPkZK9DyZqodC84esnT1deyke65Xc IIDapur1tYypakUcNTA6XZLUvOc8f40RsFR++Cmsq5HAbeRDmWnlkta6boE6awzkikvn v7XUTxWLGenbuDG3CB8pU35rimt6Xhd17E9J7z0uX+acFoWhnziX+bbHiatJWa1b/q5D XkR3WbgfsnHgeZMvGEoQe9MbWN0+ECfQIHTjuMk1wi2EspzOwU2yhvlzERx0PFmme/Xu ya+PkAQd3sUnDNf6KQPJVkT9tmiG4wFqAS/VwkYfMW8uuKwtHj79ogqOCTNcAnpneRh8 KWgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sanHFk+u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si228546ejc.710.2021.01.05.15.04.33; Tue, 05 Jan 2021 15:04:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sanHFk+u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727965AbhAEV3T (ORCPT + 99 others); Tue, 5 Jan 2021 16:29:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbhAEV3T (ORCPT ); Tue, 5 Jan 2021 16:29:19 -0500 Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 565F2C061574; Tue, 5 Jan 2021 13:28:39 -0800 (PST) Received: by mail-qk1-x735.google.com with SMTP id 186so862981qkj.3; Tue, 05 Jan 2021 13:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DJIWST9KinNPbLnh2UPAjV8WC1wtmvyxVwRAyl2BJww=; b=sanHFk+uTvDMG57iYABh3HT7B9zRIKEF/2fUBwEWBWsFSmwhWkUtmZxcvQIuo8z4S7 Ockj0axdFNytyXZvhNwk5/euFUetEitBRMgTriCuSVMofltmriC2TlL1GcgGmt8YR2XV vtMipNauuCZNhAs1XEZEgCFetLSM3ywYG7PoQfJM7xjilDjgtnI/uUgTv5mJirQhx2K2 pNzdBzVXA4qNX/VCq/EH1unS2EfkZgKDOCafrDK9JrgxPFckI+uuT7gqM3p8UI7jaZrC s39ma7dzY+rWHOiPpFQeTzLCvdUAIj4Aok/j7OTADmR9WTCLNq9Wrx4MezhYC5tkAm53 krPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=DJIWST9KinNPbLnh2UPAjV8WC1wtmvyxVwRAyl2BJww=; b=D74/JgAICiXPkDKBjpJr0TslfTDGGE+EVUz/yk+ciPBhMjyY0UVvaJUYMO7bzDZ2UG t/EA9318WUqtWLdQUOiMqEQeVxl83KQOiuD48i2TobG4BeeFONTbbRV7p29Aqry58D93 kUGCaeXjqx//3GWtQ6uk5k4GY+YFEklQxpssy++I/2IYONaXH1PvdKOiFW98WoFZNAeJ RqrmMVEVLGYrwKzZKHJAeAgdp6XjvHS0A9ajgJtS5XLJIbwcn3/jJe2eBpXPVzhSmMkb 3ZVLpPkIb8GNubExa+OEbpF+eEIN1IPXz1wrwOb05+VDZkbkD12BEzSZQo6MH4nAyt78 0BBQ== X-Gm-Message-State: AOAM531cEQ0KJ3WAWEn2cgVIW6xbZv91KjJNWsSGcJN6spkFL2d1U2Fj itSOUuDLtNAsJWIkO9wRbqY= X-Received: by 2002:a05:620a:804:: with SMTP id s4mr1585343qks.158.1609882118489; Tue, 05 Jan 2021 13:28:38 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id k7sm211427qtg.65.2021.01.05.13.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 13:28:37 -0800 (PST) Sender: Arvind Sankar From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Tue, 5 Jan 2021 16:28:36 -0500 To: Arvind Sankar Cc: Tom Lendacky , Dave Hansen , Andy Lutomirski , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 2/2] x86/mm: Remove duplicate definition of _PAGE_PAT_LARGE Message-ID: References: <13073a85-24c1-6efa-578b-54218d21f49d@amd.com> <20201111160946.147341-1-nivedita@alum.mit.edu> <20201111160946.147341-2-nivedita@alum.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201111160946.147341-2-nivedita@alum.mit.edu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 11:09:46AM -0500, Arvind Sankar wrote: > _PAGE_PAT_LARGE is already defined next to _PAGE_PAT. Remove the > duplicate. > > Signed-off-by: Arvind Sankar > Fixes: 4efb56649132 ("x86/mm: Tabulate the page table encoding definitions") > --- > arch/x86/include/asm/pgtable_types.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/x86/include/asm/pgtable_types.h b/arch/x86/include/asm/pgtable_types.h > index 394757ee030a..f24d7ef8fffa 100644 > --- a/arch/x86/include/asm/pgtable_types.h > +++ b/arch/x86/include/asm/pgtable_types.h > @@ -177,8 +177,6 @@ enum page_cache_mode { > #define __pgprot(x) ((pgprot_t) { (x) } ) > #define __pg(x) __pgprot(x) > > -#define _PAGE_PAT_LARGE (_AT(pteval_t, 1) << _PAGE_BIT_PAT_LARGE) > - > #define PAGE_NONE __pg( 0| 0| 0|___A| 0| 0| 0|___G) > #define PAGE_SHARED __pg(__PP|__RW|_USR|___A|__NX| 0| 0| 0) > #define PAGE_SHARED_EXEC __pg(__PP|__RW|_USR|___A| 0| 0| 0| 0) > -- > 2.26.2 > Ping