Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp474140pxb; Wed, 11 Nov 2020 08:14:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7jqsDct3TZ9HVuIiq2NAb0xDvUXgLCrapndAh4H3nzRevMJN26BZflXn4W9u+/mh9N6Gf X-Received: by 2002:a50:f392:: with SMTP id g18mr181153edm.140.1605111278955; Wed, 11 Nov 2020 08:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605111278; cv=none; d=google.com; s=arc-20160816; b=iiMpWDT1zVbVG/cy+TXjFvSzfI7d1VJGn3h6YarYOf57eZrzArY8gimU2NEpUUQvKl E3h1cW/yg1g6PVkGFH6cXBUHDror0J5Etc/UIuXimZ1uHHJVFzROm6/tFyuLdQGmS3yM cKJ+5Y+XvjDYdATOxbrmXR1fj7jretQXjUPiT+S2Cx7oxWQGV+cK8QTI+vMz2SYy/rCb 61yozIgjL+rRLs2sNQ4pEQwA0wBYfB6udRQpei2o4dyRhaSx1Ao/YGyMS9jb/skfDJFW iMz/XNMLUucmIspUzggP2T9DwKrr+A6vfsuCntB+geR3Bay5NKfnU9EsFmn6T5rdI2zy PAXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YEt4hO6ja7OgZNFgw4N5lZTUfdc+bwEp6rbyTVEdUZw=; b=cdFVVpQald1ILbbO7ADpXHN8Cynh6sqn3CXx1TsHtAVt3Wrp6xylsCSZymkPsJHHbC tdwLdhewfyTYctwVpddEn8Y32lZ1KcYlFHDL54cOzAXSBbrxG/dOa/LoqyJIw8vCvrGS amV9bmpc1814udfvJRiaFROwn3mJI8fLiD/JYnklfy92Nt8ro4yA+1RIXYQxpIafVWe7 IkLrnnG7Yv/B/hKZ2o8/MYoYzPRI+7X7Fbo+gUml2aw7JOv+kR1TCtJoa6oToeb9/hxW /hkFrt63hcqUNa9GfNH8kSAcxgix/9eurzFw4tnsHrDR+KAiJFCutbncoXIfzeAqLd7i nwQw== ARC-Authentication-Results: i=1; mx.google.com; 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 q11si1530981ejb.550.2020.11.11.08.14.14; Wed, 11 Nov 2020 08:14:38 -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; 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 S1727125AbgKKQJ4 (ORCPT + 99 others); Wed, 11 Nov 2020 11:09:56 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:33036 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726973AbgKKQJu (ORCPT ); Wed, 11 Nov 2020 11:09:50 -0500 Received: by mail-qv1-f67.google.com with SMTP id ec16so1144745qvb.0; Wed, 11 Nov 2020 08:09:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YEt4hO6ja7OgZNFgw4N5lZTUfdc+bwEp6rbyTVEdUZw=; b=Im3GgbfWgXQ0+dAodGYY8JHAdgrROhBXOee4FPw9rInQB18wV2N1MzFOjz22POZTWx QP7ItLbvTDYSmeh+FA0KcaY52dc376aQzgxO9SgL0lqfdIbv69nOCa48AZvgXPL5zmSO mheLTwAGpVad8NtfF+pH4YcMXlmH0/4O9Ci6xSISzbDjNWO+OTpjNsWGcrZcHbdte6nq czzsanqKxh4Zz1aEu6BlssZpt4kc3cPhJ45iis4bXN4isKfiQbF/j4ZmYAJhdIVDkHFI af3cIpRCDMP23rXomy3Oog31ey0ab7E7+wmhQ2PYszK0ZnKn5MCk6ky18VyMjPfsB+xK v3Uw== X-Gm-Message-State: AOAM530rggfYmbgZwYTK5/QRBozD1l+m4CzUgeOnrONmtkGNh/HoqN/r jg7uBYd0BcpyzsyCAxJz0VQ= X-Received: by 2002:a0c:9e6b:: with SMTP id z43mr25223536qve.51.1605110989321; Wed, 11 Nov 2020 08:09:49 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id d82sm2459710qkc.14.2020.11.11.08.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 08:09:48 -0800 (PST) From: Arvind Sankar To: Tom Lendacky , Dave Hansen , Andy Lutomirski , Peter Zijlstra Cc: x86@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 2/2] x86/mm: Remove duplicate definition of _PAGE_PAT_LARGE Date: Wed, 11 Nov 2020 11:09:46 -0500 Message-Id: <20201111160946.147341-2-nivedita@alum.mit.edu> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201111160946.147341-1-nivedita@alum.mit.edu> References: <13073a85-24c1-6efa-578b-54218d21f49d@amd.com> <20201111160946.147341-1-nivedita@alum.mit.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org _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