Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp470454lqp; Tue, 11 Jun 2024 09:31:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTTuo+F+UNoei7rOQrjwxP79Jh4OYg4dWkXPRFDdbmBM0K0CL4RjDCZCdVOP49+5eZ8PXKs4MD7Tri0Uw2nJiu0+st6f+tTADw8DpbSg== X-Google-Smtp-Source: AGHT+IEkzwDgSJy48UhqXdrcscvAowOqhKPdBPeof0b2/YfrAAIL9G9f5Xj8iNN8eWXOp4tZuwgW X-Received: by 2002:a05:6214:4b02:b0:6b0:622b:32d7 with SMTP id 6a1803df08f44-6b0622b3426mr149187066d6.9.1718123502448; Tue, 11 Jun 2024 09:31:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718123502; cv=pass; d=google.com; s=arc-20160816; b=WKPPb5Xnhm6zb77Ju2uVjVF/uGqy7/MnPfyv0hi4nc9NKVXGT+s//ljY960DcEiaBk 9fKr/hIq7J5zpIqaVRh2AUQnA6qShWhkOxvqyocYDDaDUKwwesQOb7yXMCVF0XE0x604 XtX7BQRZTtwakK2QskGybqDap/uChVtaEsq9KTKHX6Z5sSNZjnf8P/NFneJ/pvkLvwbl +dX4yFYdUqyi0dShu0CPgf0+5IdbtMp0845kqzOuprLOk/Bps5txxPJdGiear7h9OieI NGDQUsuCLWmpj0ReNKoAjRfpbVhFaq9nJegNPutwGdNizipu5RSmWFhyH9yP7hdVfNGD 1FeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=HInYCM/0VLeHSvxC0u2tA7Tsx7g2Sh9y0O31810jf/U=; fh=cGlwgTpm/i7GFQa8890swmbrKTJ6eaxaWjGSOemwGcU=; b=BYQC+fwn9fHJbDq22YyAKf7B1PsPOyVVIiV+tgO3yos95aZV0baMB0jhGosgbgSqvR k+JF7Iptbfdm4pVIbJ+CtpVbFUT4SOLU0m8EHU7TD7YaCxYy4ePAvvEMAUrl75Rx091F nWJPftIwmqFscXmYu2eycbrdzS/ofHUquS1/xctDfGPKARwbKw6zH18cB1VEJ5S51l/A whdLtjbhIoVbJB9uzg2nvvTohM/8icU6oPD2BxDpq1+5u9BbPnKNECy8I0N7S2IzGLjs fNZ7hbWXYjFNRpG0P+URFLSrRX7671YL74HLZ6M+YjixCMXOv36UZ0uLwhm3R9bGBtO+ mMpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210252-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210252-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. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f9ae113si134834366d6.361.2024.06.11.09.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:31:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210252-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-210252-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210252-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 309A01C22382 for ; Tue, 11 Jun 2024 16:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 611F14C634; Tue, 11 Jun 2024 16:30:35 +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 D0FD43839D; Tue, 11 Jun 2024 16:30:34 +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=1718123434; cv=none; b=sMIRmh+aXPVbsqigzU1Fqt3pnry5G/kr+b37cF97C6mwLRGWVX5U+uUkMYhLiykt0MeMK44Bbd8zcK6tlglB4C+zJ/18c3+VBf1m6ahhNYQWkD19LJz0gshASy7IRkeDvBy8+FoPeMvNGmuXALXRecBPzDAuRqIlPKAzEmywMsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718123434; c=relaxed/simple; bh=5cpAqCueMiul15O4cnq2Z/clOXb3h3yGx7cGR9jOKg8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=acnjW9bJ8WDWDdd+6PFuYPehxnpgfP8dqtAoc2Q53Ksj3K1TfjtcnPIoHE0NK1/qXmMCB+hWw1O6Tl6yw6xBL7QSwfczKNhZuT5Ds2/EsDSkdGCAdZ42tu8puzKdGCXel9Go0/yEdfk8jd3LfVjVnbTEENCaLAVtC/nPk41S5UU= 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 74A34C2BD10; Tue, 11 Jun 2024 16:30:30 +0000 (UTC) Date: Tue, 11 Jun 2024 17:30:28 +0100 From: Catalin Marinas To: Maxwell Bland Cc: "open list:BPF [GENERAL] (Safe Dynamic Programs and Tools)" , Will Deacon , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Zi Shen Lim , Mark Rutland , Suzuki K Poulose , Mark Brown , linux-arm-kernel@lists.infradead.org, open list , Josh Poimboeuf , Puranjay Mohan Subject: Re: [PATCH bpf-next v5 1/3] cfi: add C CFI type macro Message-ID: References: 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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jun 10, 2024 at 01:06:33PM -0500, Maxwell Bland wrote: > From: Mark Rutland > > Currently x86 and riscv open-code 4 instances of the same logic to > define a u32 variable with the KCFI typeid of a given function. > > Replace the duplicate logic with a common macro. > > Signed-off-by: Mark Rutland This patch is missing your signed-off-by (the same with the second patch). Since you are submitting it, you should also add yours in addition to the author's s-o-b. -- Catalin