Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp24933rwi; Wed, 26 Oct 2022 19:49:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5pUJwQBGIs15Ch9c+CSw/xHe7bdXfyTT5efj53eqbNi54t3lDcfZi9nuC1DgRs8g8l5ZKs X-Received: by 2002:a17:907:760b:b0:78d:9d67:83b9 with SMTP id jx11-20020a170907760b00b0078d9d6783b9mr39126833ejc.568.1666838985013; Wed, 26 Oct 2022 19:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666838985; cv=none; d=google.com; s=arc-20160816; b=WmuLc20z0JiltSxOdsxEiIcJoqWaLkEPgRt7e8WxVldjOMinTY/s5j5pd8b8XdoWpW 05whu0m3DVk9L7p9IkzzVX7WqaeeXBsLu/X9WPshO9Wtz/pp5v0pepGnxjhH75TgEVO9 E5lWjezWcVDkCFt+Zmpn0MZ9VF91XeQ02DkHP8nEXkN1r2RaUpzZiqVAqYl3SGX4HX4T hWtaUmX4l/6rZNomvZ1/POWRGplSmLJiW9Mu1+lJAZwsvpMclbpdwBcSGydLa9AWhqwv ClvWlrHucjatZyLOYyQ+kC19HpmgumSRV6H/vHOn6bMCCGKCMzlqEwfJH1KP4KuzHZmq jVKg== 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 :message-id:date:subject:cc:to:from; bh=gT9jjFX7SWwOD7N0EL+NmtPdSn2qASRj7Et+ZL2kruE=; b=dV3S2NSgJGwx0h9R3KafOJ0L1beVJ72DzfpIBdWsbCS7XR/+4ihz1DhXQ8ku4o/smY nMJVxdSCPlAGiIN/413fTC/RAlEUiJCrAwcIumarfsGGsjf5+TiQ62+OP0xMrVEQpAw/ rPPO0qGsoxq9uipmu/paq+7mR+yzZBvFjyjnC+XLc+lgWVnuVCB7v9GlMsBVLLLdpCUK jbF3683dpjwlZjEIo/s2DlHCaREVkpRjsWRhHXouLbuT4vhUsTElXw3J9WtXMsFReR2H Iw3FMg8Jtq72M/sbg6nabmrqBy8HMkv0Rtx8fUNHaDr/oXojhlRHY/eQpYq2S18i/LBR UDhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r17-20020a05640251d100b0045c31d9643bsi515913edd.2.2022.10.26.19.48.57; Wed, 26 Oct 2022 19:49:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233672AbiJ0Cjk (ORCPT + 99 others); Wed, 26 Oct 2022 22:39:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233554AbiJ0Cji (ORCPT ); Wed, 26 Oct 2022 22:39:38 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 237ADB3F; Wed, 26 Oct 2022 19:39:29 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9E2B623A; Wed, 26 Oct 2022 19:39:35 -0700 (PDT) Received: from a077893.blr.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BC7363F792; Wed, 26 Oct 2022 19:39:25 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org Cc: Anshuman Khandual , Suzuki K Poulose , James Morse , Jonathan Corbet , Mark Rutland , linux-doc@vger.kernel.org Subject: [PATCH 0/2] arm64: errata: Workaround Cortex-A715 errata #2645198 Date: Thu, 27 Oct 2022 08:09:13 +0530 Message-Id: <20221027023915.1318100-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds Cortex-A715 partnumber and workarounds the errata #2645198 which gets triggered when an userspace page mapping permission changes from executable to non-executable, corrupting both ESR_EL1/FAR_EL1 registers when an instruction abort is taken. This series applies on v6.1-rc1. The errata description can be found here. https://developer.arm.com/documentation/SDEN2148827/1000/?lang=en Cc: Catalin Marinas Cc: Will Deacon Cc: Suzuki K Poulose Cc: James Morse Cc: Jonathan Corbet Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-doc@vger.kernel.org Anshuman Khandual (2): arm64: Add Cortex-715 CPU part definition arm64: errata: Workaround possible Cortex-A715 [ESR|FAR]_ELx corruption Documentation/arm64/silicon-errata.rst | 2 ++ arch/arm64/Kconfig | 16 +++++++++++ arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/include/asm/hugetlb.h | 9 +++++++ arch/arm64/include/asm/pgtable.h | 24 +++++++++++++++++ arch/arm64/kernel/cpu_errata.c | 7 +++++ arch/arm64/mm/hugetlbpage.c | 37 ++++++++++++++++++++++++++ arch/arm64/tools/cpucaps | 1 + 8 files changed, 98 insertions(+) -- 2.25.1