Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1754352ybh; Thu, 16 Jul 2020 23:29:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3VSbu6Djk1g0nTMq51UQHc+sykkqztL+M+/yxLqKY4XtnWvpE/AJPR/6pi8aJWFnwyNeu X-Received: by 2002:a50:d513:: with SMTP id u19mr7566271edi.241.1594967358216; Thu, 16 Jul 2020 23:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594967358; cv=none; d=google.com; s=arc-20160816; b=Xb/5HKFL0v/NvHVKDWhT/V8zxNKbIHJeZSp/QcMJafutIdVdRm+gpNZ7H1jZpj/oLs or/bsAfs6FgWX+0TQHxut51vDJZmH0JyZnXDnQrWD9fNgdDp0FX/KQrsGwj0oF3750eu DkrXBqnxxY6bvRH7w3U27cXEAizl/fFubIPaXjsTk+rE+TbNwYE6WaVap6hRKFWzljps jcy1AQB9XdKeJBwf38Hhjr+K79YM/LofOppUU8L136p/UBEacT4z9xYRzd/LdwW0oKF+ I4KVuqFW45vqVw0iBmAINN/2RAH8e/ReczEsJ6dCdY9LpMAZ5s5U9VRNXmXx1ujKm4kB Ipqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rrjLNs3k5tKXNrx63PY+nFUcAQQruNL665R+XZUUl+w=; b=hVKKVLBEhEJvAXJXy5/mnxIXbX9KVM2wugXjz7pxFjQ+tRslvCeBKELo+NIEaJE+6k ZMP00WTrURGMHDH/oTiDUZphvgyxTTd+OmUyS7rOmg57zyDE4rxDIGDS1HgsLPWgWiJr PsFHE8ybq3hDzKSa0S7WYzuS3TgoOpenv8rGFxafsIyUoQwJqsuH8xeoTVVYJLESGF52 UoabAdVym6Aqi0TX0zWbRN0dMQoieHK54fPTJblt9jredqoMyzhnxcCrYg2U/YRw0joI DRDfXRC+5V4+8U/ux8cT9eyZkCbtcaaMxGh2dVxWqlvA9dF8W8MSIFgpnbFGfXkrxdlc ZzKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mGn1qhG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si4500601ejq.136.2020.07.16.23.28.55; Thu, 16 Jul 2020 23:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mGn1qhG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726786AbgGQG2u (ORCPT + 99 others); Fri, 17 Jul 2020 02:28:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:33200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbgGQG2t (ORCPT ); Fri, 17 Jul 2020 02:28:49 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BAD6E21744; Fri, 17 Jul 2020 06:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594967329; bh=/zDpcXferlVtWyvGBk0RCp/EESwPvxFdFmaWT7IB5mc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mGn1qhG01OHqEEHQJUEmSuu/sVsHpdMBOUDRld0QlkpUsFb/3GgPZE0v1HXL4MOss SQafuUuYSS91Vd2p+yKKuMTKGVA0cE4/Jd5hrN52gyaFFA9lmL9DHqkXRZOmqzOh9l BXjcHxfLYZELw3WeZyuKI6/fdZ+kFeV4tMPKAcBI= Date: Fri, 17 Jul 2020 08:28:41 +0200 From: Greg Kroah-Hartman To: Daniel Gutson Cc: Derek Kiernan , Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Mika Westerberg , Arnd Bergmann , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Richard Hughes , Alex Bazhaniuk Subject: Re: [PATCH] [PATCH] Firmware security information in SYSFS Message-ID: <20200717062841.GA3238569@kroah.com> References: <20200716223627.253936-1-daniel.gutson@eclypsium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716223627.253936-1-daniel.gutson@eclypsium.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 07:36:27PM -0300, Daniel Gutson wrote: > +What: /sys/kernel/firmware-security/bioswe Ick, I stopped reading right here. No, this is not where this belongs. We already have /sys/firmware/, right? And firmware-specific subdirectories below that. We also have /sys/devices/system/ and I think that would be a much better place for this, as it is easier to work with a real 'struct device' than a "raw" kobject any day. Bonus is you get full support of userspace libraries when you do that, unlike when dealing with kobjects. Also, this really is a _SPECIFIC_ type of firmware that supports these features, right? Why not call that out too? This is not generic by any means. thanks, greg k-h