Message ID | 20201104232218.198800-3-konrad.dybcio@somainline.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=3g0P=EL=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54018C00A89 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 04:39:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B75722083B for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 04:39:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NsIksaGa"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HRD3jzq8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B75722083B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HwJCDb5WmWCaXWZHjqDjEv6OOHezIu5wO9hGGD3+llE=; b=NsIksaGacxoQP0D0pGPjoZRl/ VKnDvlpt8g0HC/3CyjfESFBOapP7TgUZnrum+G4TCmMFDqz6hJKk5IcIyXN6XJ7oIDkGbYpY1CM0c z/oD8oFOVzPgVA7/ML2HtpV1wppcgSGSD5I6LmPubpHD2CadGWmPUJ76kE5GC9M3UlnlkCJuQ8YB6 yVURHdvYH8SfrZQF8S1i1e3Ijr06FJ22eADAg40GPYXA6WMVnb3mFy9JK3RMOAVvf6powFVgs00r1 mX3iAgxDDfBLHES0F7PHuunVIe6JlfWQfLe+IExxPt9Q19agUj4YTZJsRpmrgQC5DWZhmXkpRCEqL jvB3FKFAQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaX3R-0004f0-HV; Thu, 05 Nov 2020 04:39:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaW4t-000145-IX for linux-arm-kernel@merlin.infradead.org; Thu, 05 Nov 2020 03:36:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=lRkyPikOIezl8N1Wyx7WM6CTHGSXWpHUI6pjkMKMLFU=; b=HRD3jzq8+Yg9W2O/8MaiBkTeHk mFM88p/WjqMhUfwtPJem8iMK/AsUdgxrSbgy8JoVu+uyTcKUAcBXy/8476utpD2pY0CoNxwCWyPfP vUsTsKn4+bajn06ME/Gbo3AYpIiI5MagmOV1CKOm8pCNuIdcpIT7VFQ6QwCdu6I+uzE+cQ7XumPOk 0xjAQTqC8W20V57iSbjMd1NnpurcIGKR8OXIPGGLO4OK5qORyglK2blO76S+gZLJKjl9z9z1qhF/u 6ZlSFE9tO30Jqn1F1P9OvdPoteV1rMQGkOg2y3b+4vOSIjrKBus00vrXJ5Lw30whvnZzuziPLzDjp 2HgT4wnA==; Received: from m-r2.th.seeweb.it ([5.144.164.171]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaS71-0004Z9-1h for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 23:22:45 +0000 Received: from localhost.localdomain (abag227.neoplus.adsl.tpnet.pl [83.6.170.227]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id F388C4025F; Thu, 5 Nov 2020 00:22:33 +0100 (CET) From: Konrad Dybcio <konrad.dybcio@somainline.org> To: phone-devel@vger.kernel.org Subject: [PATCH 2/4] arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist Date: Thu, 5 Nov 2020 00:22:11 +0100 Message-Id: <20201104232218.198800-3-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201104232218.198800-1-konrad.dybcio@somainline.org> References: <20201104232218.198800-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201104_232243_268027_428C35AA X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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: Catalin Marinas <catalin.marinas@arm.com>, Konrad Dybcio <konrad.dybcio@somainline.org>, angelogioacchino.delregno@somainline.org, Amit Daniel Kachhap <amit.kachhap@arm.com>, marijn.suijten@somainline.org, Vincenzo Frascino <vincenzo.frascino@arm.com>, Will Deacon <will@kernel.org>, Rob Herring <robh@kernel.org>, Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>, Marc Zyngier <maz@kernel.org>, Anshuman Khandual <anshuman.khandual@arm.com>, Steven Price <steven.price@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Kristina Martsenko <kristina.martsenko@arm.com>, Stephen Boyd <swboyd@chromium.org>, Mark Brown <broonie@kernel.org>, martin.botka@somainline.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ionela Voinescu <ionela.voinescu@arm.com>, Andrew Scull <ascull@google.com> 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 |
Add KRYO2XX Errata / mitigations data
|
expand
|
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index dcc165b3fc04..6f36c4f62f69 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -1337,6 +1337,8 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry, MIDR_ALL_VERSIONS(MIDR_CORTEX_A73), MIDR_ALL_VERSIONS(MIDR_HISI_TSV110), MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL), + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_GOLD), + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER), MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER), MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER), { /* sentinel */ }
QCOM KRYO2XX gold (big) silver (LITTLE) CPU cores are based on Cortex-A73 and Cortex-A53 respectively and are meltdown safe, hence add them to kpti_safe_list[]. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- arch/arm64/kernel/cpufeature.c | 2 ++ 1 file changed, 2 insertions(+)