Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3600039ybt; Tue, 30 Jun 2020 07:01:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTiiFlN3Nkmo8ODbmuGxWJdWXGJPEu6vp147+Vd40NIp+gc5eA4hUIFELUg3KdbtZZzzSF X-Received: by 2002:a50:e408:: with SMTP id d8mr22595521edm.375.1593525668383; Tue, 30 Jun 2020 07:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593525668; cv=none; d=google.com; s=arc-20160816; b=mwS4JCkq0/8++D8SEhdNMqnyt5XEWG0cc2Ku0+W98uD78OfLdwDY4yy0WJRQpnlXx1 BwyOIpNmWj/pgEmTM9LKogYy2IGlPuChdqOixJQmUWVxpT5dpfJ+9p11+Xb4d5ooflbt II4Sy7kjHhR1q0rjIqV7rznaOTOFYc9HrSLL0923IZCmM1wNafxPlXNkIksDKx8ng3jU ZrnLP24Rb6RVHHQ8GFKLXlT38ooCB7LYfuPPq2ylG7umwn2ZfPI3ZmiuWlTnyly0/ycF E3eFWr4FuGOV7GB4GWMi4hbQn0NRiTFVTvR1Y3uc18t05O+mO8/RGLNjmM6mjcEj+KMV AL/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=IXsTiXAsxnAQJ7aitlJrFPNR2E+gaHvNeB72HxX9nTU=; b=v5FCh9CPkdS2lRviv15uUHNPXclBCkEQJamcgYaVepHTXIK0zg2y1l4ihdSpEHSw+U V2Iilbxo2PlLH1qmC0zXu09ssh3RnrRfR9xHBUADULuwZvTL6OTTIJaHMG/IJQzJLxFh PXRUS47k/2mauU+sGKYv+ryIVj4tBNQNsIIOgANkuK07tQwVp6cIEziVhdeQV1CpAfUf AuIjEJsQx4y7Q2WMm5A3vAlrCFzzoPVEIYZJDgIRd8UwfLiCOShG3WOTN+EA4gA2xs8T zjmGkLqf/Md4HKShvO8RxGGaiED3PDHyNlC2KgU9GDFKxWNb7Udjhms/Yz6IjQSPjZN/ ujOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=C9eYmY5b; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si1916276eju.423.2020.06.30.07.00.45; Tue, 30 Jun 2020 07:01:08 -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=@gmail.com header.s=20161025 header.b=C9eYmY5b; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728329AbgF3N5Y (ORCPT + 99 others); Tue, 30 Jun 2020 09:57:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727053AbgF3N5X (ORCPT ); Tue, 30 Jun 2020 09:57:23 -0400 Received: from mail-vs1-xe41.google.com (mail-vs1-xe41.google.com [IPv6:2607:f8b0:4864:20::e41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441D4C061755 for ; Tue, 30 Jun 2020 06:57:23 -0700 (PDT) Received: by mail-vs1-xe41.google.com with SMTP id q15so510763vso.9 for ; Tue, 30 Jun 2020 06:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IXsTiXAsxnAQJ7aitlJrFPNR2E+gaHvNeB72HxX9nTU=; b=C9eYmY5bBK3n7I1QkVBtkVG4XlIOsH/+tfTecqmKP/PA7GTmvE02rifiy9cf0/qwv+ /E7XPk3G+YDeNrA5Wox+IMB9FQ3t0Yq/zsNLOG+1gSyATVCGCOhwpO1OJNgz+EpUM5wy k5vrRS0Xjq1cEJ286CYFwz/L48zFt8HWdzcEDx4ElugaE+8f2cGgzLyGsoeYkVzpRYqR 6vEFBBgMRmBUSIiBuG0wr6sL78LAO/VPRl5DfWhvq5mse+97ItLvRp1icW4ou/1aLeoG E9ZhxRd+q1NSp/Mgz1gMAr9axYLMtFjz+8CUTsM+RfiBnYaMjRLu07ujsTAXblaH1sPf E/+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IXsTiXAsxnAQJ7aitlJrFPNR2E+gaHvNeB72HxX9nTU=; b=E+jhDMGjRPBC9jSeigrfTkgrBccqcZAsHOhyYp/YUDUqrY8sKttD9mZfRNt72hYto9 5QdyhIB7p+oBRTvjdNJPzjEiMzXNlBi3m7TyoO7Ecc7y/ULEWdFAKTWehYiGSko9rKn3 Hjp5pX6CZbaUV1QRJ6UFogRBqqIpsnAow3hioqbKcdyi+v48w3ct2cHseNiHKn7jl1Mi lizAvumAzbbXTuDjDIRVQdmJ6c20aUxkkMw3mjR9vpn0AVmA5rwHwUfKD3UJPfzfaIYk 3AvrT0rs6LsZlZbt5GFriI60X9gmHIoo4w3mSvH0n0NQlqz958b/+0Rx5opQYMiu7sri 4Qgw== X-Gm-Message-State: AOAM533QBTueQOc8uJQtdMlfFeVgt2YRTkJ05MsIKXiVxqc3YaaGDuS1 5LLc0gVKd3Z5iM6+4EAr7VBnrLNfYzP2CKe882U4HG1s X-Received: by 2002:a67:5cc6:: with SMTP id q189mr4885554vsb.3.1593525442442; Tue, 30 Jun 2020 06:57:22 -0700 (PDT) MIME-Version: 1.0 References: <20200629225932.5036-1-daniel.gutson@eclypsium.com> <20200630085641.GD637809@kroah.com> In-Reply-To: <20200630085641.GD637809@kroah.com> From: Richard Hughes Date: Tue, 30 Jun 2020 14:57:11 +0100 Message-ID: Subject: Re: [PATCH] SPI LPC information kernel module To: Greg Kroah-Hartman Cc: Daniel Gutson , Derek Kiernan , Arnd Bergmann , Mauro Carvalho Chehab , linux-kernel , Alex Bazhaniuk Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Jun 2020 at 09:56, Greg Kroah-Hartman wrote: > Again, which makes it seem like securityfs is not the thing for this, as > it describes the hardware, not a security model which is what securityfs > has been for in the past, right? It describes the hardware platform. From a fwupd perspective I don't mind if the BC attributes are read from securityfs, sysfs or even read from an offset in a file from /proc... I guess sysfs makes sense if securityfs is defined for things like the LSM or lockdown status, although I also thought sysfs was for devices *in* the platform, not the platform itself. I guess exposing the platform registers in sysfs is no more weird than exposing things like the mei device and rfkill. Richard