Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4033670rwb; Sat, 10 Dec 2022 02:11:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SA45U4WHFjjtv2O42R6kmWOxsi4Mljfps8kGvr4p2wOS/wKgNgO66OVlIoG7rDBk+1Hl8 X-Received: by 2002:a17:902:f112:b0:189:e545:7234 with SMTP id e18-20020a170902f11200b00189e5457234mr8120035plb.40.1670667074744; Sat, 10 Dec 2022 02:11:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670667074; cv=none; d=google.com; s=arc-20160816; b=p0h12Dl16FgeYu9I+98c4+dPrAHMdZTVbbGsCi1YuBDPuzA3u/IFpWVPl7D6ZdIF4w jqZKg8eMpVDi+G3g5QATGhZ1EiSXgU3tOejpmlJJx+dkJILu6rV1A8MZ3gnDo/5CocWz UFKHE0yY2M423IZ1ox/z63ihYKauXOQVFKc0Tn0FzTd0QfYjWrqyTo1nH3gr+uHQ5tmf whc1izp8UqrVHKUZZgzuHd/DA8iE9SHGfDgteGXus1JxlOFH++WcljnpcfEc3d4KBfF5 CYXXa/4ODQOhSGvn/YMIpRhsSmoT0hkK5orHGnaiELXJzuhd/sg4scmgzliiZXus1CHz QT/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sEgMOXB1URkPfrDg7A7bvT1ZlUj5a168oU8az7r9NzI=; b=SIbelJli49xhe6LP9rRv3I4WB41bSCuS/1DAJcCS7cBUC0qGXhEcv1MzaA7HijFXSJ Qk/1QTbeWuw47KajIWGjxp7T8CxoYd7elg/PNSO6+L8KUNbaHOogva+w06nDMfskmmLA PpPISUh4dbYK+vmmU4mslLa2l4tpj5YPnLCeEC8vy+30W9JUlc/IUwstSc8kXJZnhxfd CW+Fj92u3IdJbYV4iK85BRnM8xxImR/2hKJp8ciZ/HcUzcEZf5ucjfXsVrq57c4NiS9/ NHnTV0VMnV0GP6swv+FwB3jqDw31EeYWFLKm4fJdLs7w4m/UBigguf0oOm8VW6P6gTkk VF3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O+yszZq9; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11-20020a65584b000000b0047873dedf41si4021461pgr.415.2022.12.10.02.11.05; Sat, 10 Dec 2022 02:11:14 -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=@redhat.com header.s=mimecast20190719 header.b=O+yszZq9; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229475AbiLJJpX (ORCPT + 74 others); Sat, 10 Dec 2022 04:45:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbiLJJpJ (ORCPT ); Sat, 10 Dec 2022 04:45:09 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29C9118E29 for ; Sat, 10 Dec 2022 01:44:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670665441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sEgMOXB1URkPfrDg7A7bvT1ZlUj5a168oU8az7r9NzI=; b=O+yszZq9jAlc0XmJKdbTAiQ2LvncE4l+XX/EVa6YCgqFfj8ZORek1VZS0ixjbgzle5cURH eCtieHWvSl/Co0D4g1Xl5UcpQ44jkdyhQcTAfvWXewOAWPWebYGDkzn2OcUuwz2Izeo4MI sCEV+uwR4HW+eqzcFCfm/Pxrh4nz78g= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-623-qNB5BWAiNJumEZZrR4d26Q-1; Sat, 10 Dec 2022 04:43:59 -0500 X-MC-Unique: qNB5BWAiNJumEZZrR4d26Q-1 Received: by mail-il1-f197.google.com with SMTP id a13-20020a056e0208ad00b003034c36b8b5so1555285ilt.9 for ; Sat, 10 Dec 2022 01:43:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sEgMOXB1URkPfrDg7A7bvT1ZlUj5a168oU8az7r9NzI=; b=npvAdWoBeAIcTwnHcH+mvCN+JlGyXEsucT2g1df0kaXBgLfe3KQivot1mj8cqsbqgn iqCAUHhxD26J8WEF+oZA7m/ysXfQ2mRUCFYx13eq4BfseKqY2uOytOtcCzVlp4OxNGP2 JGfIA5bl25aADcZvCPyoTDloRSsikiI7Gsb3uJLzywGcu/mdCIERfj0tKkSOjPAdt0HR m6U4LkaXqMRMF11EzFJgo8e6OCyb0QmywP1JmmnNzxRFFlPuDVQdN44H6NeQ5TckYYfd +pThJ/RdOX0nteHov2+tR/zB9Nog22NXU3Xi5txxCFVCGtWupoKQO+rWueQwYSxQWo5s wcEA== X-Gm-Message-State: ANoB5pme6EhzAjn3uJpomA0JpLpn4X13iKx7qD6nub7N5CLFasedoEEJ 2QEH9vD4gcjsZwWj3tjE0SZvqaeahbldU0OwRnr7iEOTaoGBpbJla5f3fMdgRbbd28FTt0Rr1bK AOkYbtG5yIr/EMjWNBuRaQv2YqWV5MLDGH+lG586p X-Received: by 2002:a92:ca8d:0:b0:302:de10:7ae1 with SMTP id t13-20020a92ca8d000000b00302de107ae1mr34308968ilo.15.1670665438872; Sat, 10 Dec 2022 01:43:58 -0800 (PST) X-Received: by 2002:a92:ca8d:0:b0:302:de10:7ae1 with SMTP id t13-20020a92ca8d000000b00302de107ae1mr34308964ilo.15.1670665438684; Sat, 10 Dec 2022 01:43:58 -0800 (PST) MIME-Version: 1.0 References: <20221206145936.922196-1-benjamin.tissoires@redhat.com> In-Reply-To: From: Benjamin Tissoires Date: Sat, 10 Dec 2022 10:43:47 +0100 Message-ID: Subject: Re: [PATCH HID for-next v3 0/5] HID: bpf: remove the need for ALLOW_ERROR_INJECTION and Kconfig fixes To: Jiri Kosina 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Sat, Dec 10, 2022 at 10:07 AM Jiri Kosina wrote: > > 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. I have applied the rest of the series to for-6.2/hid-bpf. Cheers, Benjamin > > Thanks, > > -- > Jiri Kosina > SUSE Labs >