Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2082003rbb; Tue, 27 Feb 2024 10:02:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzq4MFIyfMzpNPiEmhrYE+nN/EqcbbsgwZMhhLAwMA7jQWnfpa6tdkJWMqdijFmIVc9i2qgn1cPowZMPx3HSZGhRo4tNgxmSlgMuS8XA== X-Google-Smtp-Source: AGHT+IE56Ngz9XBOZRGD+UYfjgrWlN8APLh/kHWtZeU2hLferGkXumJEjKY3pkZLSM7SowPWhPeq X-Received: by 2002:ac8:4e87:0:b0:42e:8523:6c58 with SMTP id 7-20020ac84e87000000b0042e85236c58mr8199499qtp.18.1709056930700; Tue, 27 Feb 2024 10:02:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709056930; cv=pass; d=google.com; s=arc-20160816; b=MHx1tw3hh3WLoMv5KLM32LEqSRNJIA8SiKDdh//G7pwrpeDwzvP05Nd8V/k4+VfSrm jfpVBSKooBAPs2NvBY/L5h28AVB6EQqHR/v+x0ctikYY6Fabm3enr7Nugy5c8OM4swG7 yqF7iqBNFf5KrN/Ig6154Bi5eDqTrnQy1Z2RcsinLJDUcU2c4e/pm9iwjZtrjbi+xYAH 9U64qYqZ4h8DbP4EggXp+cL1P5R4uGirpGHvFpHP66dQfMoyGOdGOmKe9xuWZ0ATPeG2 YqjTxdHnOqZ4yNGv0ejPBs5fyAfgP0G2jbSm8L+F7+y59tXRSOktliZi20Wir9pPfGvX h9Qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=V6mDNZQMo91F7WRIvNXVK39/PBtwjJwH0JzsLb1JM4E=; fh=5B/uBngt9A7baDu4yfW8sRlzv/BvQtdiRYpV7zc+RT8=; b=cU5vEwumkLISrEc4cdR07ZiXiTd8bd6JEMDQEvT/mJfQfrhJVGAZ6eD0gU4p9YU6sd RxT879RSouZM7w5AB4VoLJxgMgJ5mbe05XqwIV+SRP6pJBN4KNJvzu83ethxOYJ33Z2Z h3qYgevybB44STNShzbrDM9AruID+Cff2P0Wudxpwju7YK6w+cvI/VH42Q0F6Ak3iSp7 R6JkgJ70+B08tSV492nPd6JcaXXyrq6PIdcdMiDJfmNcgmnxdVdseO+6w1kqP3j+VWDY xAcZTC9BEutusPzDW86b5ytXP1oyxLFpXEEyfjyIVPzuhD9ULOXCSy/V3TkTClfFYCUy EsVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-83792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h21-20020ac846d5000000b0042e12acefdesi7591776qto.757.2024.02.27.10.02.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 10:02:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-83792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 6ED9F1C23807 for ; Tue, 27 Feb 2024 18:02:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9759314534F; Tue, 27 Feb 2024 18:02:03 +0000 (UTC) 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 E06114E1DC; Tue, 27 Feb 2024 18:02:02 +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=1709056922; cv=none; b=jkJd6KtwUkgGKtRwXdd+Gh7UH6NzVAi+x2TvdggDmaYP9ir+7Wt9c6629poPxdHJyDyXPjJxufn1dz0Tqc3utU7xQ4ETJrfAF8w8FdQY6eyIjg0ZDroHs/eOVP6Tgm1CG1w3gHJHqPLwcmoQQXdo+MPlrfuqRN09g2pX3z+32zo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709056922; c=relaxed/simple; bh=gUaJw7navpSvwR7rIR3frdEMxjbCPmRD2IOryPdpKMg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HX2TFqbtpuaAm7qnMF1c9Ia85T+N9xlVS/d3JXSKR6b6MMSHs2baTlHLykwDotsoqT9ctX6q0mVGQXQ4EbhXE9aPaUOzVTqGkfLqT6yC3Db+uaTgW3+O1rhcQTvOitxkch0kK/oNJCnBDaC/JoL0QlnAAEmBtdkJSbGbpWKqzKo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2202BC433F1; Tue, 27 Feb 2024 18:01:58 +0000 (UTC) Date: Tue, 27 Feb 2024 18:01:56 +0000 From: Catalin Marinas To: Alexei Starovoitov Cc: Puranjay Mohan , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Zi Shen Lim , Will Deacon , bpf , linux-arm-kernel , LKML , Kumar Kartikeya Dwivedi Subject: Re: [PATCH bpf-next v3 1/2] arm64: stacktrace: Implement arch_bpf_stack_walk() for the BPF JIT Message-ID: References: <20240201125225.72796-1-puranjay12@gmail.com> <20240201125225.72796-2-puranjay12@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Feb 22, 2024 at 06:04:35PM -0800, Alexei Starovoitov wrote: > On Thu, Feb 22, 2024 at 11:28 AM Catalin Marinas > wrote: > > On Thu, Feb 01, 2024 at 12:52:24PM +0000, Puranjay Mohan wrote: > > > This will be used by bpf_throw() to unwind till the program marked as > > > exception boundary and run the callback with the stack of the main > > > program. > > > > > > This is required for supporting BPF exceptions on ARM64. > > > > > > Signed-off-by: Puranjay Mohan > > > --- > > > arch/arm64/kernel/stacktrace.c | 26 ++++++++++++++++++++++++++ > > > 1 file changed, 26 insertions(+) [...] > > I guess you want this to be merged via the bpf tree? > > We typically take bpf jit patches through bpf-next, since > we do cross arch jits refactoring from time to time, > but nothing like this is pending for this merge window, > so if you want it to go through arm64 tree that's fine with us. I don't have any preference. I can add it on top of the other arm64 patches if there are no dependencies on it from your side. -- Catalin