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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51EFAC433F5 for ; Mon, 28 Feb 2022 16:34:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233788AbiB1Qeh (ORCPT ); Mon, 28 Feb 2022 11:34:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237943AbiB1Qef (ORCPT ); Mon, 28 Feb 2022 11:34:35 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB3A146B24; Mon, 28 Feb 2022 08:33:56 -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 642596123C; Mon, 28 Feb 2022 16:33:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2BF2C340E7; Mon, 28 Feb 2022 16:33:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646066035; bh=5TnaHWBObWPu9LztXoyemUFcbfrnH0z+xI99F3n3R8g=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=kZ7m26CkOlcamcJdE9TffN0PMCAyW+ITFSrvbw+O5Isw9bz+NzyxDoTqwC2Vx70/l dI+voha1t1y0FCt5boFo/mFFvqOweUkVd64clVQVww3Dfl+irtWa2J8hfSj08w+tw4 SqkvSmHe6m++E1niteZAnImg6RU/XmxMKbFgfiOP1f4lE8HGkR2xzafac0ZuxYfzPu yISiQuBFePoqFsZnNMSf/zNmjhHoN7XMOYrqIXaa5YcDJfiQj3ZOfopuPhSRzCmPIj KawGoJ3iGh/jLrPQQHu/Mr3+j2Ik+onCBFgt5xR8kl68ALhhWpHzMK5b/LgEbHe0OF htDcjt9pjubFg== Date: Mon, 28 Feb 2022 17:33:49 +0100 (CET) From: Jiri Kosina To: Greg KH cc: Benjamin Tissoires , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Shuah Khan , Dave Marchevsky , Joe Stringer , Tero Kristo , lkml , "open list:HID CORE LAYER" , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, Peter Hutterer Subject: Re: [PATCH bpf-next v1 0/6] Introduce eBPF support for HID devices In-Reply-To: Message-ID: References: <20220224110828.2168231-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 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Fri, 25 Feb 2022, Greg KH wrote: > > I mean that if you need a bpf program to be loaded from userspace at > > boot to make your keyboard functional, then you need to have the root > > partition mounted (or put the program in the initrd) so udev can load > > it. Now if your keyboard is supposed to give the password used to > > decrypt your root partition but you need a bpf program on that said > > partition to make it functional, you are screwed :) > > True, but that's why the HID boot protocol was designed for keyboards > and mice, so that they "always" work. Yeah, I know many devices ignore > it, oh well... That's a very mild statement :) *Most* of the recent modern HW doesn't support it as far as I can say. Thanks, -- Jiri Kosina SUSE Labs