From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 279F0FA3741 for ; Mon, 24 Oct 2022 16:51:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235135AbiJXQvT (ORCPT ); Mon, 24 Oct 2022 12:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233181AbiJXQuY (ORCPT ); Mon, 24 Oct 2022 12:50:24 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93F9917054; Mon, 24 Oct 2022 08:33:53 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E9F103200312; Mon, 24 Oct 2022 11:28:13 -0400 (EDT) Received: from imap49 ([10.202.2.99]) by compute5.internal (MEProxy); Mon, 24 Oct 2022 11:28:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lmb.io; h=cc:cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1666625293; x=1666711693; bh=q4fzVob94O +Bj0fcl99z5CvnsJigYyvI50uZH9qLdLQ=; b=gE9VoD+k5nuto7UW3tGPkjrh4Z LBPp1sOCTOR+PMEVTN+amj0Su9uWbyFg0HFn9tIAW3xLKYs8AEudtbc2AYpGqt0/ s8s9HscR0DrTrK+WxzsBanU6MytNxDou9BHdX0I6T5XmCVO0COy87EiJ3S7vsRmb Pz9g+IB1TmftSsh+UmIXDaV407JKYzlBW9AMbsrpzvBjotlNkzknPbBSF427ZXCT NvAe537LeJ3Wo3AZ+xKqKeYLtoED4anUUs09Dq81AWsAylnHVpZAz+74ngmd3x8S ChGRohwpIMi/Xg1PLFvPQgFOyT+7FQfRjy6f/iQl8mEYQjff90eMb2enM7zw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1666625293; x=1666711693; bh=q4fzVob94O+Bj0fcl99z5CvnsJig YyvI50uZH9qLdLQ=; b=VKNjPbUVy84sNof68wyF5lA3rZWmQB8RTY+iy4R4T/ct gui83QOxvC/onSgZiaOds17v5HqyMqarCGkeSmbobWeaK+QH76r5ZUol9LxjKCKR Btdw7m7Tv1DeZ7EXWSpr2+/ngXDwf2KHLHn97VbYhjt3hACLuXEsj56IDzOfRpmD YvzDfC66h1TobFQB7xxauJE6YwKTNhW23hu7cr0TsosqfovH+SIocaZfqT0bWjrM NDdRx2h9nwrcDcZt1WZGsPX05tOQO4QfXOz7Ru5ybqXy21zAEunW7066nJ3kGSft yuS7eXi1mvRdZQTrr0IMNjhZOHhxrlaSu8b25bUtgA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtgedgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfnfho rhgvnhiiuceurghuvghrfdcuoehoshhssehlmhgsrdhioheqnecuggftrfgrthhtvghrnh epffdugfeggfeiheefieehffetgeektddvtdffheekffeiueeiuddvffeljedvheevnecu ffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepohhssheslhhmsgdrihho X-ME-Proxy: Feedback-ID: icd3146c6:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 09BEC15A0087; Mon, 24 Oct 2022 11:28:12 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1047-g9e4af4ada4-fm-20221005.001-g9e4af4ad Mime-Version: 1.0 Message-Id: <6c859203-68a4-4dd9-bd7c-e93c65c686f2@app.fastmail.com> In-Reply-To: <20221018122708.823792-1-jolsa@kernel.org> References: <20221018122708.823792-1-jolsa@kernel.org> Date: Mon, 24 Oct 2022 16:26:21 +0100 From: "Lorenz Bauer" To: "Jiri Olsa" , "Alexei Starovoitov" , "Daniel Borkmann" , "Andrii Nakryiko" , "Peter Zijlstra" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , "Andy Lutomirski" Cc: "Akihiro HARAI" , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, "Martin KaFai Lau" , "Song Liu" , "Yonghong Song" , "John Fastabend" , "KP Singh" , "Stanislav Fomichev" , "Hao Luo" Subject: Re: [PATCH] x86: Include asm/ptrace.h in syscall_wrapper header Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Tue, 18 Oct 2022, at 13:27, Jiri Olsa wrote: > From: Jiri Olsa > > With just the forward declaration of the 'struct pt_regs' in > syscall_wrapper.h, the syscall stub functions: > > __[x64|ia32]_sys_*(struct pt_regs *regs) I think arm64 has a similar problem: https://elixir.bootlin.com/linux/v6.1-rc2/source/arch/arm64/include/asm/syscall_wrapper.h#L11 Best Lorenz