Message ID | 20240214122845.2033971-52-ardb+git@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3534C48BC3 for <linux-arm-kernel@archiver.kernel.org>; Wed, 14 Feb 2024 12:30:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=uqUJdJ/AOfppBi0EPA9TmUclxb7tEUBIxFHeQ1oOVn8=; b=A8aAsWX9xk14TndfKyVqLEkdot EhoLnKitM7xvse+E6mNLzFoQ9Vbm7MBGhnQ8ZpBqnZhQHLDNdsHZBy56vvqJnCAU8CoxM9TyVpAi6 sxVvvcykQ7+1M8Pf6MJ7qmzcxEedibWS88a0TVFwRUpWe3StBGY1VS8A8h//ljfmG2WBrnBr/facB 04TCy4IQ1DjJOWfzJ0rnxybnk89MzYH/CJjcA0c+gBYUVa5PgKWXqTu0/uRoexFZqcluxjGX+eKx9 k1O4UiYy11QBT/gbh1k7jd3bl0t/YhiXWx00jJjnigqokadn7wx7Sijf7MyAUOdJ0YnUebd4YWZ8w bwY6xnIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raEPB-0000000Coap-2t9d; Wed, 14 Feb 2024 12:30:25 +0000 Received: from mail-yb1-xb4a.google.com ([2607:f8b0:4864:20::b4a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raEOk-0000000CoIR-3rgr for linux-arm-kernel@lists.infradead.org; Wed, 14 Feb 2024 12:30:00 +0000 Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-dc6b26845cdso9295015276.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 14 Feb 2024 04:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707913795; x=1708518595; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=oz98kvsb+bZg7S2DdRRRX0fkqMKpKmwxnSQc1WD65MI=; b=wzY+gtIkkvHEdlHd8FZ360i9PzDQ7orijv/xYBKzu3v/+yHS50NlwfxJKgcCcAfryg RnhZncdnUXEaJjacNibFNsy8s/8uduv8Icpw0F6HiRKnjE24jHuMeqD2kiETBTi6WruM +zmqipU/V3hY8KD3L1RKotCxehTXANLZPEgqI9wABzIniPStEr0+joQ3bOQz+Car2sQD ivOSzva2izH41tHDgO7QSM0xNGddsWwwbACaOIQTCtwbIDgIUDZ4Wyhhatv88uW5pk17 DjutNRaYc6yoHqaiRCWdRKLAHFxJcKrW73YMPQTLBAVAWI+YyvPILnUAB6vMHUao0KZ4 +ZbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707913795; x=1708518595; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oz98kvsb+bZg7S2DdRRRX0fkqMKpKmwxnSQc1WD65MI=; b=D1oJLlcodOPj/aBXgjb5Caroe0D+f1peAnt2TiqsS1MTsSXpSXIttx+l6iL08Fsev7 bq8s/aXIMnh/vN4XAB/33MTEYJcleVapf8QT+R70DT+bId/NxXh//EDdp1C7Ztpcv3Qd yTE2gHX7mvZdcOn33x7LFFcL6ZICcOd23ARgM474C3Pt+A9WbmjBnPlIXr93xppGiuS9 WKAnP2d6Uh1ST/EB5nUX8EZ0Gf0EAQKsiiKH27z0NbPCHO3CF1eR2wUJJ56qUbW+WqTD 9gHzt7jvVBgxjv0kQcdnkduZt4rHDsHoCAGGkB1TDbcsDAdlJRiWvmd5QcZYqAZGjP5Y 9RXw== X-Gm-Message-State: AOJu0YwM6Jg72GR60iLkFQzQ4M0KUC6qEyF8zGa/MIbCto6p6PuzUa6+ 6qi4tRbZAH/g9cJYllM/YIB3BG/YgjDBMnqF/XGkNeC14+l0GHJ/7d/6nhytiFv7othpluF7uIY /BQXh2DrsWMspFqhWarCa+MSfhnxUzR3MLWCRHi9VRPIkkCDjLLhAopNUW5Fj0ILuyt4k967JoY 9uN1UCm0tE+GRN3MsLvN0HOf+lJJfBjdzJLtdjCq52 X-Google-Smtp-Source: AGHT+IE9MPRp/KXEmft3TzxcvHGFVnkFocQCUrGgMY2Tj2F1Mvkg6abWQylA0Y5PrUHc45/wAWLMv1zr X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:6902:1007:b0:dc9:5ef8:2b2d with SMTP id w7-20020a056902100700b00dc95ef82b2dmr553929ybt.4.1707913794574; Wed, 14 Feb 2024 04:29:54 -0800 (PST) Date: Wed, 14 Feb 2024 13:28:53 +0100 In-Reply-To: <20240214122845.2033971-45-ardb+git@google.com> Mime-Version: 1.0 References: <20240214122845.2033971-45-ardb+git@google.com> X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-Developer-Signature: v=1; a=openpgp-sha256; l=1677; i=ardb@kernel.org; h=from:subject; bh=1Gq4KUOpyU86syaISafZ6nXlZoqyz3apMz9awYk9DKI=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIfXMJrY5xtnyE6z7/z3drb4+85bvBEnhcLGk8yoX/iTfT Ene8vJCRykLgxgHg6yYIovA7L/vdp6eKFXrPEsWZg4rE8gQBi5OAZiIcCbDP7P6eczc5o2fvkSl MqlKOk6L6/bYsu9703Ot6XfE9vu8F2L4K1J4yqfgjYzesxmVmWx/3py88v7kS4aSI/ZeiTKiBWk JLAA= X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog Message-ID: <20240214122845.2033971-52-ardb+git@google.com> Subject: [PATCH v8 07/43] arm64: Move feature overrides into the BSS section From: Ard Biesheuvel <ardb+git@google.com> To: linux-arm-kernel@lists.infradead.org Cc: Ard Biesheuvel <ardb@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Ryan Roberts <ryan.roberts@arm.com>, Anshuman Khandual <anshuman.khandual@arm.com>, Kees Cook <keescook@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240214_042959_018340_C45F65BB X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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> 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arm64: Add support for LPA2 and WXN at stage 1
|
expand
|
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 8d1a634a403e..a99ad79adee2 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -655,13 +655,13 @@ static const struct arm64_ftr_bits ftr_raz[] = { #define ARM64_FTR_REG(id, table) \ __ARM64_FTR_REG_OVERRIDE(#id, id, table, &no_override) -struct arm64_ftr_override __ro_after_init id_aa64mmfr1_override; -struct arm64_ftr_override __ro_after_init id_aa64pfr0_override; -struct arm64_ftr_override __ro_after_init id_aa64pfr1_override; -struct arm64_ftr_override __ro_after_init id_aa64zfr0_override; -struct arm64_ftr_override __ro_after_init id_aa64smfr0_override; -struct arm64_ftr_override __ro_after_init id_aa64isar1_override; -struct arm64_ftr_override __ro_after_init id_aa64isar2_override; +struct arm64_ftr_override id_aa64mmfr1_override; +struct arm64_ftr_override id_aa64pfr0_override; +struct arm64_ftr_override id_aa64pfr1_override; +struct arm64_ftr_override id_aa64zfr0_override; +struct arm64_ftr_override id_aa64smfr0_override; +struct arm64_ftr_override id_aa64isar1_override; +struct arm64_ftr_override id_aa64isar2_override; struct arm64_ftr_override arm64_sw_feature_override;