Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2089012rbb; Tue, 27 Feb 2024 10:12:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVb9Nf0ihFWWdkRMssi0F7Ask5UATucQjyKPEXENfJBLRvo73+Z9DN8HvIqAZi0othi6QpRG3uGAukHaa1kNQ5i9NctGCHMn0d8tNtFWw== X-Google-Smtp-Source: AGHT+IGuTvr92D2kiAm4f+jLX0quH+lzvXiCZ9cDjfNWldti0CV/gFuVPORmLhNVEWj457yZZkES X-Received: by 2002:a67:ff89:0:b0:471:2478:71fd with SMTP id v9-20020a67ff89000000b00471247871fdmr5917196vsq.33.1709057528673; Tue, 27 Feb 2024 10:12:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709057528; cv=pass; d=google.com; s=arc-20160816; b=WeA9g/+nf4LaH2SZ74IWXYhxugv2t8HANCqYNdW/LyuOzRgEXskFJJ+NoEbp4qdsT4 Sl4MR/dTWNtZ5hnVsjHMs3rxnr1CDI83LojZjsxb2gSGjEH0CnAmVIhrxCDdfQm3daRi C17UAovw35n3jdKWqpAE76IoCTkOJH0GKlXJ727uM0u+WR2yfsCuz1f7QP22P25vXFvY BsX7vnHY2uwT1XnWLfNfjZXnJ3ET7CLSvfR9Z5PhQ3owe96BJI+fMWjd2UZm/9NtY/0h xxocqBREHzH8U8vSoeNziJfgBewEm2hOxh+aUIpmVijuRlE/VTwitvDUrTX+2e//KB0v MceQ== 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=LpfjOzeqUDRA4RxV+xeQ2x9Vg0igxWLBnqFEQ+3rEuU=; fh=5B/uBngt9A7baDu4yfW8sRlzv/BvQtdiRYpV7zc+RT8=; b=S0n3RYfl/0Q5Fz5qGrsQgPQmnSTfxii7pzO7881Jq4iVPqOgopvgfwzf0Rn8MRf8Dd SgsI4eKv8zr+3DEJ68ThYFpQPDwCrn0mHwuXp8PjbHtNRXr50IaXdjSgb5pEgpO7W44w 99oADp+T6ea1rF+7FMbQHu0dFW/wZTSlWmW44PNG49a54g8lqmyzXAQUVazk/d1YHW++ vpETBXGtNOaYI451B3wpc7eGfb/YHdp2fdNsiCzTUYmmpvPYLHo4EqoE4KybQ+Un1Y1r 2dYwfkRKTSnvNxohO/8T51pU1X1C7fXx2itTDS2Ymzs9DTci7Mtz+HV5Zi1PFMooW8Yv LA2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-83799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83799-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 h6-20020a056102208600b004702ad1a448si1028155vsr.378.2024.02.27.10.12.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 10:12:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83799-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-83799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83799-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 129671C23B20 for ; Tue, 27 Feb 2024 18:10:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEAB51482FC; Tue, 27 Feb 2024 18:10:16 +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 5DAFB1E871; Tue, 27 Feb 2024 18:10:16 +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=1709057416; cv=none; b=nN8UtlW48r3s9sotOS7On70K5pjUHeRySr9QDGKbw7zvwj4tUSvb7uEj89E/+pMPQcxVB67Ow28dG9K9b1elPLV063P8IkutMM1hV2qZy4Nuw7D3cWlbOwmVQuaRzONDpS9gPskGL6ZxzmMD3Vd49diqm1Oe+Qw0eAsdFeQy5Tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709057416; c=relaxed/simple; bh=oxoovjm8DFlq/qUX1bqpmY8P2EMYW/EIAHGa3CR5EeA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JA6/IngZtRkucwVObBTe3hYacFORbG9Fdm9MZa0+Yf3edyY82mFDJSy6ffz8V0xvSx0sP5PVU0+6kS0LQ6Wkxy/4GXC3zH16bh1pYWq7vVmcAuo8cnUWL1lu2ItU3ljdmzTSU6FalmGDdIugHE8fF74czTjofZSwzPp7cNoVHc8= 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 74751C433C7; Tue, 27 Feb 2024 18:10:12 +0000 (UTC) Date: Tue, 27 Feb 2024 18:10:10 +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 Tue, Feb 27, 2024 at 06:01:56PM +0000, Catalin Marinas wrote: > 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. Actually, it depends on patches in bpf-next AFAICT (it doesn't apply cleanly on top of vanilla -rc3). So please take the patches through the bpf tree. Thanks. -- Catalin