Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp751728rdb; Thu, 22 Feb 2024 20:36:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU1CRCBIJIr6upzIAJyyayOPeqP0WtItQP1z/MJDNSaPWTqt6M2d8G7ufKMvTgSB6Y+kfnFfk56xA9pHAayM2uiuD4gqWW6Ew40JGOVJw== X-Google-Smtp-Source: AGHT+IFwjlBymKfKe5Ail8xsRs+08kfbO6eZ9T8LlIgl/JxoxdAE5CiZTaJvrtNBWM6hZeSkiKWa X-Received: by 2002:a17:906:6d50:b0:a3f:63b4:6781 with SMTP id a16-20020a1709066d5000b00a3f63b46781mr460750ejt.44.1708663001981; Thu, 22 Feb 2024 20:36:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708663001; cv=pass; d=google.com; s=arc-20160816; b=Gd86ZYWNXKHoxqxNb7b7lL8dSBU0o4camFWB3mjfwERXhIa6jxDKMaHCWgRGMwkIFa uE07SpGE5ANLtTP2L9bew6kdl8VrFT7Q+A4CofjYdPUbkpHl1M3CIy7cpsywzUb6/CqJ 7atkKh5Hbvd+lJIqeSK6ne+EmkEjOH1CTofTMBDdtM6jA3L7301qMQpNQ9X1jD8BwIg4 +Hbgdi1HUA/HE8wLySZYkgCiYl/YCBpQDQR2pqi59SW+p5xxqvM3Wuj0DmNndk7hD5bE vs5rw2yw2JgtOD4FSps7dCx/ympziEA3o/3P+I0eKhYARxISESjmUM/5AEPZT2B+dZwH XREQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=7CNNVjx/BC4yoiUSxT5bMdMP1lk1PnDmjCfPqgyDLk0=; fh=JcnAC/Nj8HdCRBBXMQs6huHPk8vOPJWdkPnI8gv7XR4=; b=iRzBMpAdWhszbwjlprzMt7bbzWjYtcrbM5IW3RF/xuGa4WeUjTEnNAAbdqk7IrMREU DH9Kx4jsGAaP6/fvEqoy9WN8WHW37+NWzk3/DwJWrJOmTY17fLkVVJJN4L5k47IklVIy lbelTTf6K1bw7hfIOQK5Z/9K1uP4E0GXIenl2cnSvOwSBfS581FqyWmJyNoeLmCMECkT ifDGA6RaDlYTugGmP/PKgryUUEM1vQ/67AUL+MqBpNsDatMCjgN1B0DNYPRcjurhFPSK a6BWURrtnA8OdjKY4ZdNU9MHdhtnOyulO659zwcnZyTaXowIOpxneBBTGghgTbhpC2iL JwBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O9jKyKrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bo19-20020a170906d05300b00a3d3500611dsi5902968ejb.234.2024.02.22.20.36.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 20:36:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O9jKyKrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77760-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B12EA1F26FBF for ; Fri, 23 Feb 2024 04:30:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67CD11170E; Fri, 23 Feb 2024 04:30:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O9jKyKrN" 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 8B8B511198 for ; Fri, 23 Feb 2024 04:30:31 +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=1708662631; cv=none; b=g2dWqBhXq6H4qvmLaugbwk7oWLR9l7xIPZsVnUNgAP4hytImP8sWZ+rADnso2LPLn4Cp5Ugt+9Wtw0iFUtc1M5dOCrrbXH1F7bGlNgVl84vONUMbRJhD4J2G4qfXZZhguBCYH92ghlw0aQyoQVfNbYrIEqBN/rIaxFQWwdSpUt8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708662631; c=relaxed/simple; bh=a+Qn10BEQCsB42uL0fA+2chMWeK3dzruYaHmn+6Xb4Y=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=hbv4Sr2zPNz0028kTws7FXKU7I7tGQOFnTMUTJ6tcFcTOqgEqncRPLNhUQkgjt3ETHVALEeSW3U2GEIaAMVOhYS6dKMRgY3sV4c98ObrMC8hirue2GgBTCCWQakPCPk80SRpMN8sV+aWTH/9uTaOT0Ou6XynsloJT5ly5sx2X8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=O9jKyKrN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 2DF53C43399; Fri, 23 Feb 2024 04:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708662631; bh=a+Qn10BEQCsB42uL0fA+2chMWeK3dzruYaHmn+6Xb4Y=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=O9jKyKrNBYPQMl/i3z6bIP1hYXB1f2lLEVjJoSgE6gMedZwMZagumZRL6KNUNDpHR RG2e5z95RquAT4GoN6qMZSFtCXDAgLPtLDg+Vq6QGov1H6dSuoXJ8NkP7mpV6ZTvX6 RFpgnDSScGu3zGtFpMIAiEUuVdOUGxvLkSRogWolVEohQ+JLM1cUgTJ3htnk/BjVJ1 m8bdX4lgR6OqweHy8/l6xuFqEh0HKYMWaKMRocgWHXgmOch1iKtFiq2rrIbS5e8394 NwGQbo+hgdRo93sBZSXNvJLdPGHm5lBvfu27nAg5eH+LiPvzmXPVmo+For3I7jQNga Q5YsXuB5AxzBA== 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 124C5D84BB9; Fri, 23 Feb 2024 04:30:30 +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 v2] riscv: add CALLER_ADDRx support From: patchwork-bot+linux-riscv@kernel.org Message-Id: <170866263006.22939.204004953353760152.git-patchwork-notify@kernel.org> Date: Fri, 23 Feb 2024 04:30:30 +0000 References: <20240202015102.26251-1-zong.li@sifive.com> In-Reply-To: <20240202015102.26251-1-zong.li@sifive.com> To: Zong Li Cc: linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, alex@ghiti.fr, conor.dooley@microchip.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Fri, 2 Feb 2024 01:51:02 +0000 you wrote: > CALLER_ADDRx returns caller's address at specified level, they are used > for several tracers. These macros eventually use > __builtin_return_address(n) to get the caller's address if arch doesn't > define their own implementation. > > In RISC-V, __builtin_return_address(n) only works when n == 0, we need > to walk the stack frame to get the caller's address at specified level. > > [...] Here is the summary with links: - [v2] riscv: add CALLER_ADDRx support https://git.kernel.org/riscv/c/680341382da5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html