Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp231773rdb; Thu, 25 Jan 2024 13:30:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZwNh8LCejljZrQ1kAsX00A9B0QpMwqPp+UaU770iAwuhk4yS0PydyNGF5G3YWdG8JgYIc X-Received: by 2002:a05:6102:9a:b0:46b:14e2:1ead with SMTP id t26-20020a056102009a00b0046b14e21eadmr378814vsp.22.1706218255004; Thu, 25 Jan 2024 13:30:55 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v18-20020ab02912000000b007d2dac39683si1645479uap.161.2024.01.25.13.30.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 13:30:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=fEmX87PL; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-39316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A13121C235FF for ; Thu, 25 Jan 2024 21:30:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D93F13AA4F; Thu, 25 Jan 2024 21:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fEmX87PL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACFBA13A248 for ; Thu, 25 Jan 2024 21:30:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706218229; cv=none; b=VsKlJNjrp+Nxp886s8L/tSxk8UBNll7uxmFyd6+D03TBmcn/95uR8lnB2JpGEBRqxONuLBldMAEMQEa8vBe76OY3lvQ3TgFRJVdAc7SLozDmXrl5vMhbGuskg8N68I+SlJ1LjO8sjFKVKEZmqgD/TCHohw8XiszPmMO8xr8m+mo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706218229; c=relaxed/simple; bh=+MxR9NaWaOppxz1CebUGCA3UGwUCCpm+2/tjFMQvNwY=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=UBVWAd96GS0ytDsNg4NvzNgFW71m/LDoQBFUw96YF+FR4PSfYBul0URzJ1PIxwchOoWASngg1Q/8MMd1E3oTbgbQoEkf2HjqW+m90jjhnwB4HNX8dVmNtQAKYsELj+yfx7ljnsYbsGT4fGi3ecjm/9Wa3QvIzNslMfDI3xvHWPQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fEmX87PL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 4E8EDC43394; Thu, 25 Jan 2024 21:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706218229; bh=+MxR9NaWaOppxz1CebUGCA3UGwUCCpm+2/tjFMQvNwY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=fEmX87PLzrdwWTQWwpSjg37S+uSvU5viqmA3eY4LAPTBEKTn8Vy5Xm6i+fPIO1+Uh 698K8Ka5acpgEBwfIC7w2+8OWBKMWs1J2ck0ocGIMrQDiA73js8KC1HeezbpNt7q9W u7gN1weUog8LWrOEfMzYUYWvJFT2tKV3WxwK9lYofwX9hCpwXpjzPaSXEKuYEsKbcm zM5beLowdfluCqT2cPW34KIBG4e2OAih7VZarzFfBh/ZKt+NC0mKRGjxDUwGkKBgo4 AO4wsAGtx9tP1nuVXiK9Zo4lTwmSmUf/GcXZGrrcNd4H/t9sX9zd3qTOrOVC0TO9LS dfyXIqSe5s+kg== 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 36D8ED8C966; Thu, 25 Jan 2024 21:30:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: blacklist assembly symbols for kprobe From: patchwork-bot+linux-riscv@kernel.org Message-Id: <170621822922.6239.4505416696182414411.git-patchwork-notify@kernel.org> Date: Thu, 25 Jan 2024 21:30:29 +0000 References: <20231004131009.409193-1-cleger@rivosinc.com> In-Reply-To: <20231004131009.409193-1-cleger@rivosinc.com> To: =?utf-8?b?Q2zDqW1lbnQgTMOpZ2VyIDxjbGVnZXJAcml2b3NpbmMuY29tPg==?=@codeaurora.org Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Wed, 4 Oct 2023 15:10:09 +0200 you wrote: > Adding kprobes on some assembly functions (mainly exception handling) > will result in crashes (either recursive trap or panic). To avoid such > errors, add ASM_NOKPROBE() macro which allow adding specific symbols > into the __kprobe_blacklist section and use to blacklist the following > symbols that showed to be problematic: > - handle_exception() > - ret_from_exception() > - handle_kernel_stack_overflow() > > [...] Here is the summary with links: - riscv: blacklist assembly symbols for kprobe https://git.kernel.org/riscv/c/5014396af9bb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html