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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AACE9C19F4F for ; Wed, 8 May 2024 10:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A1JZ6b2W7hCWXX8yplMDMFv/4fUJlyHZ4LqCZoL2WZc=; b=MK6+h/E10KqFTV Tadxy6fusZ+F1yd/Xc7O101OaEnDKXrAh2MMVDYn176poM/tV+L2iERekYr/veLgx6o8mFjLcZJ3Q PtDRsJ6lOE1y4OnNI5D/5lvabCEuQP7/l6rtNBhxo3oekJO6hrRDrUSGU5U/l0qTTd2nvjVX7hqGS mjcxCNbpc31y5alxBojnJSDJYGPZI+/kEFr3T5gFpkxVD9YB/LwAbmytby1bw9KfVA6RrrULVZvq9 HjGLftYe5+zoyScfxxJekbcppereG8jYLgVREQoiISvvDObBk+DfSa7bORhdKYWcmTlFnU9pQ+5yt kwyp6JhKsjqdTq1kHHFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4eBD-0000000EtAl-1qYX; Wed, 08 May 2024 10:05:43 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4eBA-0000000Et67-177t for linux-arm-kernel@lists.infradead.org; Wed, 08 May 2024 10:05:41 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-41dc9f98e8dso3467575e9.1 for ; Wed, 08 May 2024 03:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715162734; x=1715767534; darn=lists.infradead.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=1pfrqMs/oV1OywiwI/fbear8P048VZ1F1GZommjWhxc=; b=MPQVgopAGOCTOYjhF24X2Nqc95loS3+IAym5ljGHH2VRDInVZGD+eHnIhofyB/lNsS HpPez5CiM+Did/j9uGsLdcM+TdYxs7m50u9su8wy10s4ZZ5YzNGK+24nUw75k3lVSlBM SqD6USbT5tDQEckfAvKvaYc8uuLa7C1P+uJGmxD00N7nkVbwNsXmetnS7sK0rywy1j1V OsKCDbZJckWPG9prkCc6MLOkofJ14rkL3bV8F70tWMI0rXr0lGQOTkv0r+rK+bmisQVt WNPdS312etq73DQDOmuuLDmwCw+g6p2lMFiknQAIJ86pTZjsL1QBK8NBMmmuS/kO6wWe fyvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715162734; x=1715767534; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1pfrqMs/oV1OywiwI/fbear8P048VZ1F1GZommjWhxc=; b=p6Nr+WB0jZJnO5pzya131nvIomtd/ls6d3KT0zi50ThqEAsGHFoM9FDVEfUsylAe1x q1OFum7KXeLLlsHK06teBv+IH7z+yAQeQjQiCMMIOyZLacaUszxuhJRADYhN1vRRLZX4 X3RpG2EscvaI7C+LkWbtEwgtfgkOsxiDFBZafPHQM203QthgATv6eQXWtYehYBJ66Xi+ bP0BaovTZUoJy0nvTeuDnDMIWFt9SPuu4KXGglTADW7lg998JdS+N49OCP6n5GiEhpc6 B2XVJXtYC2pLC7IZ/ZUQD6eAz07RGlVfw7evlQTn2MjJ1cLT8LpU82Y7Vgkb/DKvkRxn uXkA== X-Forwarded-Encrypted: i=1; AJvYcCX3setbt55INjxOFFEvyo5afH2PSkavFtgoRf8OEE9FZAhleg7R85Z/8xnMhMrTgtG9B+Yqe06krZXT6hw2+C3n9Xkz2kdQG51YMWtKcmRqt4Y7oVU= X-Gm-Message-State: AOJu0YwKxHKGSmUX930QscYrBu9IBmqvntX77HBEPnqHE9LubbnT42QE PCFAflAyX2UNu7wv6vIbucdlpplvCvS6Zq1nfQdprOdHjvqHr40W X-Google-Smtp-Source: AGHT+IHbPK8B0S9D/N+c2TUnl34+0ibw3s7SFJOpj8TxqMbt0pndiEbMnr8WkwO+xCns/doklbqPyA== X-Received: by 2002:a05:600c:35c3:b0:41b:4506:9fd with SMTP id 5b1f17b1804b1-41f71ad0be5mr20497925e9.6.1715162734173; Wed, 08 May 2024 03:05:34 -0700 (PDT) Received: from localhost (54-240-197-231.amazon.com. [54.240.197.231]) by smtp.gmail.com with ESMTPSA id z18-20020adff752000000b0034e19861891sm14923686wrp.33.2024.05.08.03.05.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2024 03:05:32 -0700 (PDT) From: Puranjay Mohan To: Maxwell Bland , "open list:BPF [GENERAL] (Safe Dynamic Programs and Tools)" Cc: Catalin Marinas , 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 Subject: Re: [PATCH bpf-next v3 0/3] Support kCFI + BPF on arm64 In-Reply-To: References: Date: Wed, 08 May 2024 10:05:30 +0000 Message-ID: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240508_030540_447625_10474029 X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Maxwell Bland writes: Hi Maxwell, > In preparation for the BPF summit, I took a look back on BPF-CFI patches > to check the status and found that there had been no updates for around > a month, so I went ahead and made the fixes suggested in v2. > > This patchset handles emitting proper CFI hashes during JIT, which > can cause some of the selftests to fail, and handles removing the > __nocfi tag from bpf_dispatch_*_func on ARM, meaning Clang CFI > checks will be generated: > > 0000000000fea1e8 : > paciasp > stp x29, x30, [sp, #-0x10]! > mov x29, sp > + ldur w16, [x2, #-0x4] > + movk w17, #0x1881 > + movk w17, #0xd942, lsl #16 > + cmp w16, w17 > + b.eq 0xffff8000810016a0 > + brk #0x8222 > blr x2 > ldp x29, x30, [sp], #0x10 > autiasp > ret > > Where ^+ indicates the additional assembly. > > Credit goes to Puranjay Mohan entirely for this, I just did some fixes, > hopefully that is OK. Thanks for taking this effort forward. checkpatch.pl complains about the patches like the following: ERROR: Missing Signed-off-by: line by nominal patch author 'Maxwell Bland ' So, you can change the authorship of the patch like: git commit --amend --author "Puranjay Mohan " similar for the patch by Mark: git commit --amend --author "Mark Rutland " Thanks, Puranjay _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel