Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1119818rwb; Thu, 1 Dec 2022 12:40:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf4FEXxk2N7U7kLDPL+lzNWtk7RVpj38PVuXJI9AVHP1yIPri5NzgkGsL9IAptoL5+OPuKB6 X-Received: by 2002:a17:903:300c:b0:17f:9538:e1f4 with SMTP id o12-20020a170903300c00b0017f9538e1f4mr60707780pla.89.1669927206074; Thu, 01 Dec 2022 12:40:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669927206; cv=none; d=google.com; s=arc-20160816; b=lV15LC/YgoJW5OE2PMqsKXOxMue2jlRoMyFWB2ht+aGLgZg/fWqrAk7eFabiNakIQF UsKAPekEQnXxwEfyqnNS9EZNYMOsoAmOJoWL3AEaOYQJcV8QmTWCNhnJHk+IUjs8eQRX 9J1d5cEu8YgW6pzZVXGwefYaNBoxCsqa3fdi1tB/8IGnejSfvl2GYyIvZf5WeNxWyf0d MMvGM8dzwjP+5QJt8P3oMI74lv6mQBrc4KbmR7ssmZQdjnoHIb7x5Y0vaA4vfDofh96F 4j9XgKCDu/mopC5a0wi2g/GcuJJgXG+TyiYwr4ZoaAq5zU20RwV0lIHSIxIy7M0QFLXt 5vYw== 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=DFmEua49TPr4WpG/TaEq4YFsL7StWQhw/YVG5nllV1A=; b=Ea84vtzWtZkv85kbVevAytAcCyPb9NHN+R4NNhzWqE/Y+HSJyqQn1P/nyqxVf+yCT4 Xv5wvzjBIZMbRSyLeL33ZjER0MNmZvOfbLLqQqo4kKqcs5WkVN2GPh9GNAZ7ko1zApuH 7x8bJoQ40v4GtJLEre0tYxLEC3gFQ5aFMbUFyUsA60KnFaOxApvN0rPzNMSJN0/bjZeJ WzXGpK3BxYXeJdywSLVZeoOMd7XD3FprZa1SToVdFckUirs5VGhPmQu31VaQmOiFDU7M CXX50zL+vw2Ac0pnBIgfA4k78eAtH3Ae5md6GXKoz8bG46CiwPmRvguJYzjkD1A2AUsA Ebuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RwVxCn7V; 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 s1-20020a170902ea0100b00189b92d9935si650470plg.2.2022.12.01.12.39.56; Thu, 01 Dec 2022 12:40:06 -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=RwVxCn7V; 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 S230440AbiLAUKW (ORCPT + 81 others); Thu, 1 Dec 2022 15:10:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbiLAUKU (ORCPT ); Thu, 1 Dec 2022 15:10:20 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EE928C692 for ; Thu, 1 Dec 2022 12:10:20 -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 CE00BB82025 for ; Thu, 1 Dec 2022 20:10:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 93BCBC433D7; Thu, 1 Dec 2022 20:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669925417; bh=66gIZp8QuckhxbGJe3SHqvbaAaSZGcddv1qT3Ntjfgc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=RwVxCn7ViuR1CpOVf8tT3B7ZY+mBob1+3oOGzSLAB0TXI/q6XKS6iEWR/C0+5/aVM PCL6ViSFQ9A607B0yyxFazctlJOP+iK4VaiVP5Rv0bi7ade1Jv3ZNGWSizyIVf7BZU wFk9lr3sDEIZ21tqWvNmBTX9nuTijq4o+cg4ejqgywot+dsCRFHoVx/NwBV+Q5dj8n 8UWszWLhy/vDUuwb9ulG89WpKKovAOwdfOzwaz1KD/ajwkQyMMu2HgAxRYDDunfT8t xQemEoI16BHu2An+y/mVxs2S8nA01Xv/xYI2zcsK+tq3Z73k/p2WuPu+Kc/E/YwZqq 0WFfcZaWhqMrA== 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 72C2FE52537; Thu, 1 Dec 2022 20:10:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v4] riscv: fix race when vmap stack overflow From: patchwork-bot+linux-riscv@kernel.org Message-Id: <166992541746.24789.931668146499412553.git-patchwork-notify@kernel.org> Date: Thu, 01 Dec 2022 20:10:17 +0000 References: <20221130022442.18358-1-palmer@rivosinc.com> In-Reply-To: <20221130022442.18358-1-palmer@rivosinc.com> To: Palmer Dabbelt Cc: linux-riscv@lists.infradead.org, jszhang@kernel.org, guoren@kernel.org, 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 patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Tue, 29 Nov 2022 18:24:43 -0800 you wrote: > From: Jisheng Zhang > > Currently, when detecting vmap stack overflow, riscv firstly switches > to the so called shadow stack, then use this shadow stack to call the > get_overflow_stack() to get the overflow stack. However, there's > a race here if two or more harts use the same shadow stack at the same > time. > > [...] Here is the summary with links: - [v4] riscv: fix race when vmap stack overflow https://git.kernel.org/riscv/c/7e1864332fbc You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html