Message ID | 1483943091-1364-2-git-send-email-jintack@cs.columbia.edu (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6D9A660757 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Jan 2017 06:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DCC0280D0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Jan 2017 06:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 524B12815E; Mon, 9 Jan 2017 06:26:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DC259280D0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Jan 2017 06:26:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cQTPu-0003DS-Vp; Mon, 09 Jan 2017 06:26:50 +0000 Received: from outprodmail01.cc.columbia.edu ([128.59.72.39]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cQTP8-0001wA-9n for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2017 06:26:06 +0000 Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by outprodmail01.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v096PWWt017300 for <linux-arm-kernel@lists.infradead.org>; Mon, 9 Jan 2017 01:25:32 -0500 Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id A3ABE6D for <linux-arm-kernel@lists.infradead.org>; Mon, 9 Jan 2017 01:25:32 -0500 (EST) Received: from sendprodmail02.cc.columbia.edu (sendprodmail02.cc.columbia.edu [128.59.72.14]) by hazelnut (Postfix) with ESMTP id 77F7D6D for <linux-arm-kernel@lists.infradead.org>; Mon, 9 Jan 2017 01:25:32 -0500 (EST) Received: from mail-qt0-f197.google.com (mail-qt0-f197.google.com [209.85.216.197]) by sendprodmail02.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v096PWub041579 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <linux-arm-kernel@lists.infradead.org>; Mon, 9 Jan 2017 01:25:32 -0500 Received: by mail-qt0-f197.google.com with SMTP id a29so74184970qtb.6 for <linux-arm-kernel@lists.infradead.org>; Sun, 08 Jan 2017 22:25:32 -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; bh=6gqeSOQej9XH8EZMYKvHj8xoONyor8s2PyXgFC/82VQ=; b=Catu26LHbPJXFy4IYuq1k+8i2EVPG+thbFWI26LWLeA9NTkaPWTK2cCPyc0GXGLz2O vpDaMvXn336ZvHWE7rAFMjTWHsxpc8r8d6EmAJG3BMXPPYLjswr/TvOi/AtYu/JU0xVp s63U7+ypvKoU2x37uyti33AYjBwSR0GVpILmBx8CYtOMw+Nd+WPXQd3omMDxzMZZIVJH ufuOaTBEffHJq3xwuXn41+SMu0Ch7kZOi7LkURx4Cuw8Lrmy8Ncmwp6LfLHMWXAp44Zb o38jHzi+dcj9P0jIL/K8qYKviNtxVCl15XbRN3ChhBNa0AdWwqyKz97n+Y4IV/IC9D9p 1ONg== X-Gm-Message-State: AIkVDXKjRmZDSo9rCX/Qq2zyuJq13GZTCa/5Q19dLK0n0BACTXB5bZ7ppsaa9oibQ66CV7D5D94Cs7r8HqVIPhCC69e+MgpFELhfCGC7Z4q6O4OtHU5VsYA5opmvlotmvF94lcJnW5QKWpO10N5CxKzhZpL07wZ3mZ0uww== X-Received: by 10.237.34.167 with SMTP id p36mr79089860qtc.286.1483943132164; Sun, 08 Jan 2017 22:25:32 -0800 (PST) X-Received: by 10.237.34.167 with SMTP id p36mr79089850qtc.286.1483943132033; Sun, 08 Jan 2017 22:25:32 -0800 (PST) Received: from jintack.cs.columbia.edu ([2001:18d8:ffff:16:21a:4aff:feaa:f900]) by smtp.gmail.com with ESMTPSA id h3sm8623257qtc.6.2017.01.08.22.25.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Jan 2017 22:25:31 -0800 (PST) From: Jintack Lim <jintack@cs.columbia.edu> To: christoffer.dall@linaro.org, marc.zyngier@arm.com, pbonzini@redhat.com, rkrcmar@redhat.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, vladimir.murzin@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, james.morse@arm.com, lorenzo.pieralisi@arm.com, kevin.brodsky@arm.com, wcohen@redhat.com, shankerd@codeaurora.org, geoff@infradead.org, andre.przywara@arm.com, eric.auger@redhat.com, anna-maria@linutronix.de, shihwei@cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC 01/55] arm64: Add missing TCR hw defines Date: Mon, 9 Jan 2017 01:23:57 -0500 Message-Id: <1483943091-1364-2-git-send-email-jintack@cs.columbia.edu> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483943091-1364-1-git-send-email-jintack@cs.columbia.edu> References: <1483943091-1364-1-git-send-email-jintack@cs.columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.78 on 128.59.72.14 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170108_222602_750701_4C0CE7DB X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: jintack@cs.columbia.edu MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/include/asm/pgtable-hwdef.h b/arch/arm64/include/asm/pgtable-hwdef.h index eb0c2bd..d26cab7 100644 --- a/arch/arm64/include/asm/pgtable-hwdef.h +++ b/arch/arm64/include/asm/pgtable-hwdef.h @@ -272,9 +272,15 @@ #define TCR_TG1_4K (UL(2) << TCR_TG1_SHIFT) #define TCR_TG1_64K (UL(3) << TCR_TG1_SHIFT) +#define TCR_IPS_SHIFT 32 +#define TCR_IPS_MASK (UL(7) << TCR_IPS_SHIFT) + #define TCR_ASID16 (UL(1) << 36) #define TCR_TBI0 (UL(1) << 37) #define TCR_HA (UL(1) << 39) #define TCR_HD (UL(1) << 40) +#define TCR_EPD1 (UL(1) << 23) +#define TCR_EPD0 (UL(1) << 7) + #endif