Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4003275rwb; Sat, 10 Dec 2022 01:33:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6yf05Q3DrT/VgvyyXw+dIN9/SJ2bDU+VG4pho02bS8NoEj57djv4UbNxK4iwYRPOvtHxsk X-Received: by 2002:a17:906:8c9:b0:7c1:ad6:638a with SMTP id o9-20020a17090608c900b007c10ad6638amr7767561eje.17.1670664824172; Sat, 10 Dec 2022 01:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670664824; cv=none; d=google.com; s=arc-20160816; b=PP+5hWMqkJcDmGPjk3RkQSOxs6dTD9osDBVGa6MHRpbSVwKub3PC0Pt3MNMaVO0ZIW 6ty3cS2jU5kIGvR7q7zGWlZ2fhzPv8qY4DUJvQblnGkMp9+UhjrdHfxSkU9L33tcRqkx mPFSb5UFa6GL2dXNBrHSn8wjdhSeztwHxCMhwkKpRrhZ6MZKsSJoJ9U3UPu+ytYOW3bH PKK15JgssqMfVxvuZABTt+XSQnO/1gMYp2WCQCA1xQPf6W+a1m66a0u9+gbgRM6wCnvd G6471VBbq0hHUehX9tWXu4olVapk2a/EGk/MwsORGpyrlzGecMhyZV0ltlEnfySBNjIe s6OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=HN7CxBWESoHaP5nacY5EdnfkbAzc3AWDD9u0A3YrHlo=; b=cfnysD6bJGI+uXD8vKFMfCvoe9am6wfbWom0A1in7nlZfeJYe6wN/KvE2fvxTAju+W hD5RPRymfsj2DhXzab09opMusPYOw8u8tUlAs23Mu41vilCACf3GfJ9EwZykm+r0fGn9 awIG8tKSyJtGDH7cDl1pjm4x34E/DcD5gcbve8hGG4BFG45xKKcV4UBdXt6NxJLUtazl P9TvQOZ5Axi4gbXFsAqHB1VqycsLHhpa9hGM+g5YxkyNLOu+tiK0G5BipInpU739Z70a 4Ag2pL+nNWgefG6bxNIPKpZYDgM0z4rXNBF8txO1j+g2k3ntVum0G9CSX4RprrJCaOTB YZeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NVfD/EYy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds4-20020a170907724400b007c0d89354b6si2053548ejc.245.2022.12.10.01.33.25; Sat, 10 Dec 2022 01:33:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NVfD/EYy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbiLJJMg (ORCPT + 75 others); Sat, 10 Dec 2022 04:12:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbiLJJLg (ORCPT ); Sat, 10 Dec 2022 04:11:36 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9FD536C4C; Sat, 10 Dec 2022 01:07:33 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 35CC56023A; Sat, 10 Dec 2022 09:07:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6384EC433EF; Sat, 10 Dec 2022 09:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670663252; bh=NaFpxIBHcluX/faYQxP/qdXrH/73a3B6ENni/WCKJgM=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=NVfD/EYy+R1kCJB7/QK2PNnA70zrogehL0NBbqhZ97QhRjJCr5dHIZe/t6yDCvSja uJ553qfzFDaaPjuDO4ArWKXFSbtuDhKK08IKpr8+QW43lWeNABA9Zx3TlY9yEh/xMs HoFrWq0ALv5QFBPw45xSgL5sLbNFcnoBqRkxYv7iZiZ/qDLZCnbm7rTF0Bn1MaK/FS bh1Tsl1HmAGgq/EDWYjHtM+J8qgBfv1o9wZF59d9J7NO504xX+YVXadBQ90+/jTFpG AQNaBuaVflWPtrsZQlB9dGgs1siTbtvNMFtSkKx2GKKGwazKWV4Z3mfs6ZtYwqILA/ 3GK8KSTrTZamQ== Date: Sat, 10 Dec 2022 10:07:31 +0100 (CET) From: Jiri Kosina To: Benjamin Tissoires cc: Florent Revest , Jon Hunter , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , bpf@vger.kernel.org, netdev@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH HID for-next v3 0/5] HID: bpf: remove the need for ALLOW_ERROR_INJECTION and Kconfig fixes In-Reply-To: <20221206145936.922196-1-benjamin.tissoires@redhat.com> Message-ID: References: <20221206145936.922196-1-benjamin.tissoires@redhat.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Dec 2022, Benjamin Tissoires wrote: > Compared to v2, I followed the review from Alexei which cleaned up the > code a little bit. > > I also got a kbuild test bot complaining[3] so add a fix for that too. > > For reference, here is the previous cover letter: > > So this patch series aims at solving both [0] and [1]. > > The first one is bpf related and concerns the ALLOW_ERROR_INJECTION API. > It is considered as a hack to begin with, so introduce a proper kernel > API to declare when a BPF hook can have its return value changed. > > The second one is related to the fact that > DYNAMIC_FTRACE_WITH_DIRECT_CALLS is currently not enabled on arm64, and > that means that the current HID-BPF implementation doesn't work there > for now. > > The first patch actually touches the bpf core code, but it would be > easier if we could merge it through the hid tree in the for-6.2/hid-bpf > branch once we get the proper acks. For the series: Reviewed-by: Jiri Kosina Thanks, -- Jiri Kosina SUSE Labs