Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3199398rwb; Fri, 9 Dec 2022 11:11:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bVloSnuXPOStWK7U3Qpas1ekptJF0qfa4RpB1i+NrepYZNYRe0hFiCPMEh+4xMf0phHLk X-Received: by 2002:a17:906:4c94:b0:7b5:860d:7039 with SMTP id q20-20020a1709064c9400b007b5860d7039mr6332229eju.10.1670613106888; Fri, 09 Dec 2022 11:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670613106; cv=none; d=google.com; s=arc-20160816; b=YLCXKOlBTcE71R79HO+pABZIh5cit2/SAfnHnys55FmdxwsE5Caxze3omfh2p6iYhx mow6amG5Qm+jsNdNYnO6yXSm7+WbpnK+LmRUxSrxP7lsKN57S2q+05p+M99ZnbPJqnuw xMuzDXIlBW2nDN4MQ88T0wMe57TJ89g1y9YV1l10bgRGgiLEPS9XmM6TapEOfu3M5CKd 1M9TjRGxZ149BfqXGbmST/4RfJG0y6hmea8CPr27YXItplPTundglMDfqHnlAHU3fsE8 K3EpPHW4oDKHElPvRo5KcFKXZFnpnHvETrz025DCziRFDgwe3OniM2zUx88Utv/a7IPm GAuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=qs5l9tvqkRlRjPFBYur0/wVDgra/VusLJdZRU9/vXOU=; b=Z0v69VhC6ZlMahIUs96yJty8UNrSoO4iXKLLRIJ9s6hjJpx+lF/XQqCSzPaziV3bJN 2gCOPgbrVohUcbcD+eXyTdxCgm+YE0MMv+5ekd627l/KScn+IjSiVimltK2aFr9muuCk bjMcZpwBq0ix9LEkQVTf+NWEbaeEBqzr/tIPks04ZFzT1opZNP2+H2H3ZxreKEGtdLJc C9FxpCuAzzccy06WIAhm0F1foKt7nKY7NaVClMCCGvgeRk0bhfh5BauXUHcCanASARts nkPH773t8X2jDRBtYe/RulTlCvrEmxJC2piJaCabGFib26d1L14ckUQF1Iaxk2XY0ET+ yNig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IQWboPdj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc34-20020a1709071c2200b0078db5170767si517234ejc.18.2022.12.09.11.11.27; Fri, 09 Dec 2022 11:11:46 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IQWboPdj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230096AbiLITAV (ORCPT + 74 others); Fri, 9 Dec 2022 14:00:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbiLITAT (ORCPT ); Fri, 9 Dec 2022 14:00:19 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDF851572F for ; Fri, 9 Dec 2022 11:00:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9C63DB828E7 for ; Fri, 9 Dec 2022 19:00:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5F573C433D2; Fri, 9 Dec 2022 19:00:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670612416; bh=HhzObmealiumgLE/hiuztZWY02q27ALbHNUmhYu2rz4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=IQWboPdjYV6eaUeyNme4FGwk/Agx0y+09lvz1u2bxhEZGhmJRMM/GTiUvmsGsf4sC HXuxRXdwY4vXdWjyUDkxVyPNQJ+deqkqUWRvjPnv4/JPlCZg5aadvzuzGaa/cttvQx 0PmKJ540LHLLYiksmrpCfc0FDkvsdzHmHMYweUdiRQlX5yuyB7HQk9dmuaT7jaw06L Ge43ziueva9jR4jIbpUtNIMwAvs2lcQVn1RRznGH3EQHx1WJWGSpjIHG/8310mFpJO OftjQotEFD5TtlT2WiSn27LiAWPKjs/dCgesrIHXLVpvkqRItQWdG0sevKPRmWUndc Ao/XT3y4zn8Ew== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 43F30E1B4D8; Fri, 9 Dec 2022 19:00:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 1/2] riscv: Fix crash during early errata patching From: patchwork-bot+linux-riscv@kernel.org Message-Id: <167061241627.2369.16766839910285576298.git-patchwork-notify@kernel.org> Date: Fri, 09 Dec 2022 19:00:16 +0000 References: <20221126060920.65009-1-samuel@sholland.org> In-Reply-To: <20221126060920.65009-1-samuel@sholland.org> To: Samuel Holland Cc: linux-riscv@lists.infradead.org, palmer@dabbelt.com, heiko@sntech.de, aou@eecs.berkeley.edu, alexandre.ghiti@canonical.com, paul.walmsley@sifive.com, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Sat, 26 Nov 2022 00:09:19 -0600 you wrote: > The patch function for the T-Head PBMT errata calls __pa_symbol() before > relocation. This crashes when CONFIG_DEBUG_VIRTUAL is enabled, because > __pa_symbol() forwards to __phys_addr_symbol(), and __phys_addr_symbol() > checks against the absolute kernel start/end address. > > Fix this by checking against the kernel map instead of a symbol address. > > [...] Here is the summary with links: - [v2,1/2] riscv: Fix crash during early errata patching https://git.kernel.org/riscv/c/61b2f0bdaa3c - [v2,2/2] riscv: Move cast inside kernel_mapping_[pv]a_to_[vp]a https://git.kernel.org/riscv/c/583286e2072e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html