Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp781342rwi; Wed, 26 Oct 2022 07:12:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM78+VYtJBeEv5Tm/+jBk+a5KHnW3Ladl8LU8f3YVedowlRYiESCsFWQqugNcB1dfmU7uUvr X-Received: by 2002:a62:874f:0:b0:56c:45eb:1ffa with SMTP id i76-20020a62874f000000b0056c45eb1ffamr5080458pfe.58.1666793546137; Wed, 26 Oct 2022 07:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666793546; cv=none; d=google.com; s=arc-20160816; b=P+xpWtTWbIvhzg99ZkoJZGt8lu5ryQ7H3Fmz9U2oFegTEoWr4TgjTv/JQVyNlEuY53 2xPikf4njmNdSQ+pSsl/EMYN681BPJK89MwIGmgTnNmOvsI6OP7f3CohXaITh6A6dPkc qKASFtEhuAHnEFLAj82jFp3bAgB4Zpf4PZm8QS2ys2EIDPZPue2Ih5Ehecvftuf5yNIX NVfJCqmSmosreyMUWgkea43iZPyTpPyEEhHz09dfvpBI12P8UIWYWbmw20/RNJx7fJZz YkF1sJNGRfnxwOuDFbX8uNwtLJ3XotbDPsfN1V6eNSx5zDFiFKabQKtUMQKJEBaokWhn yj6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=FqnFi4P5DBvM5d8tmGPGlXGFwx5FCJWH+bst9DteRAc=; b=vO9TEAZyzEXJXCgEhHkOK2f3CSaBfSaTcSWpGwqAoTiwMZqQ9VbzIORq0PdZhwBHTA xUvU9nb2599wizlf6oNU1853ZVwaeF8a+C1uO8+muUfjgNqFCQS1N/VwN6ivwdcNpYu2 +sJYJvT19jUGe4U6DsQ0DQbliK3okmwduwLbRQ0DwgcAzeP1EuP3Wmj5B9AKSUBxgHDx yxn7L3ZQta9Z5KnQ1bfu+fSKMw7WiHVXYNcYd1fcjteGnjQ2b9YaLkQPXu+J8aFLNHuR 4hbN7fB+8jG8qk9zAN5tbVK5M61CS1f1pDo8X8inA4bBXsQt/bWHzb+TdlY6dsh6dGiK PItw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="CeNjxMF/"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v9-20020a1709028d8900b0017f93ef47e5si5833889plo.370.2022.10.26.07.12.13; Wed, 26 Oct 2022 07:12:26 -0700 (PDT) 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=@lwn.net header.s=20201203 header.b="CeNjxMF/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233665AbiJZNos (ORCPT + 99 others); Wed, 26 Oct 2022 09:44:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233552AbiJZNoe (ORCPT ); Wed, 26 Oct 2022 09:44:34 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCD693891; Wed, 26 Oct 2022 06:44:31 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 29457723; Wed, 26 Oct 2022 13:44:31 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 29457723 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1666791871; bh=FqnFi4P5DBvM5d8tmGPGlXGFwx5FCJWH+bst9DteRAc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CeNjxMF/ta3zdJ4CUZbmazV5gjDlcKydZf1p91Mx0yq0i77JTdCiG4FDJG61WMszN vYCJz7gBnXbFhtFMSHESN39VbIXQtnS5xe1Q68JidusN9kRryJHHk8YnkzG4E//cGq 0C8PlP0sbSDtVWg6vkj1cmm26Fz/Hk9GLUqfZWTBoLgH3pO1UogzBnR+Bz3DZakZhH xlZ4NeoYpbLp3tOUEbLSEOjyaLPdy5d+P2dNirwvamrGIXFi6PU8JaJJ8ZBOVsENNp q0Tjl4z3c7HF/HrRRfTIJDe+oQHezsR1RpwkPFT9QtgofZlBHkje4OubQcWhAz2+WZ zDbIJXTYEghzQ== From: Jonathan Corbet To: Bagas Sanjaya , Benjamin Tissoires Cc: Greg KH , Jiri Kosina , Shuah Khan , Tero Kristo , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH hid v11 14/14] Documentation: add HID-BPF docs In-Reply-To: References: <20221025093458.457089-1-benjamin.tissoires@redhat.com> <20221025093458.457089-15-benjamin.tissoires@redhat.com> Date: Wed, 26 Oct 2022 07:44:30 -0600 Message-ID: <87a65id7i9.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 Bagas Sanjaya writes: > The wordings are somewhat confusing, so here's the alternative: I've been kind of ignoring these editorial comments of yours, but this bit of bikeshedding kind of exceeded my threshold. > diff --git a/Documentation/hid/hid-bpf.rst b/Documentation/hid/hid-bpf.rst > index ba35aa2e2ba836..c59bce4b9cf214 100644 > --- a/Documentation/hid/hid-bpf.rst > +++ b/Documentation/hid/hid-bpf.rst > @@ -27,88 +27,89 @@ Assuming you have a joystick that is getting older, it is common to see it > wobbling around its neutral point. This is usually filtered at the application > level by adding a *dead zone* for this specific axis. > > -With HID-BPF, we can apply this filtering in the kernel directly so userspace > -does not get woken up when nothing else is happening on the input controller. > +With HID-BPF, the filter can be applied in the kernel directly so that > +userspace does not get woken up when nothing else is happening on the input > +controller. How does a shift to the passive voice help here? What is the problem you are trying to solve? > -Of course, given that this dead zone is specific to an individual device, we > -can not create a generic fix for all of the same joysticks. Adding a custom > -kernel API for this (e.g. by adding a sysfs entry) does not guarantee this new > -kernel API will be broadly adopted and maintained. > +Of course, given that dead zone filter is device-specific, it is not possible ^ Missing article -------+ > +to create a generic fix for all of the same joysticks. Adding a custom > +kernel API for this (e.g. by adding a sysfs entry) does not guarantee that > +the API will be broadly adopted and maintained. > > -HID-BPF allows the userspace program to load the program itself, ensuring we > -only load the custom API when we have a user. > +HID-BPF allows the userspace program to load the program itself, ensuring that > +custom API is only needed for edge cases (like esoteric joysticks) That (beyond the missing article) changes the meaning of the sentence; it no longer really makes sense. I'll stop here. Bagas, I've asked this several times: *please* stop trying to tell other contributors what to do and, instead, focus on contributing something useful yourself. You seem to have the energy and interest to do worthwhile stuff - please do that! Thanks, jon