Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3648200ybt; Tue, 30 Jun 2020 08:04:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjJTqpj/ajLG0JcPTD3X9lGiRxXIZNqNZ6EeqwSsXeyM1XEEYYrQEU/ca6Xa78BjnlrXzR X-Received: by 2002:a17:906:1102:: with SMTP id h2mr18201994eja.356.1593529453905; Tue, 30 Jun 2020 08:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593529453; cv=none; d=google.com; s=arc-20160816; b=kYkwWgsyQ/q7jZCPEfHt5oNykxG0IF5C3Wj1aVSPJzKT91fngjS/yv/0xx5qA5/UOC 0DKNGtJRLISG1MY0qT9uiSTOtP4an03cO4rcHcsEKcojSXkI9GKBVpZKyW1R2z/plK+0 ATYfxmdXogoavsNn3PfkdbyCSoE7kLP6N8Zqlc3Y5cdZKiZOXuf4+MwKZGATWzBDSc7t UfXjaNiP8QZ6dnKGBH1yfBdZhNQ3LheZEtOA7HFEYkgYS3w2fXy2E6jL2QTedGJjr0qL eGKnTyARc2yFodjB3wn2atPYH8j8AKWD9yJsNhuOwSaXtDh7fbiMiR0xjkrdK5sE5eg+ Ld2g== 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; bh=QlmG120Zbq4oKDnKJCHJCHQZ2FM9CFOXiw8inF7JT0Q=; b=iRdi0+gaUeuSaAAldMMOt6D44jozvY9xy72/Kapq25C7SvuFGFSfdWUcBlCmElYkIm 4BE5hIP31DftDANVY6fWMBUIYeJdL0uNW9NAWhqmXTj2KaGWVO4Ac9UflckBqdXkMJ69 MLKE2/U+wXP0dd2uQJtkftCd92j5DZhttnhAjs+IiGCeZONpdQ8w1+m089ArKEaGjDPa IkTSYwOdtvfvfaI076OhMHRujyPDpaOBKrTXN39TAuMladlb7b196U3SC//jJjtuDlZN EzWbegFpHGTBqItKHIJvJQJ+W/Txghmw6gSpssFNZK4JEmrynn/XpG++xY5BgcCvhgAT mAxA== ARC-Authentication-Results: i=1; mx.google.com; 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 j13si1840258eds.407.2020.06.30.08.03.51; Tue, 30 Jun 2020 08:04:13 -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; 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 S2388509AbgF3PAe (ORCPT + 99 others); Tue, 30 Jun 2020 11:00:34 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:51025 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729330AbgF3PAd (ORCPT ); Tue, 30 Jun 2020 11:00:33 -0400 Received: from mail-qk1-f182.google.com ([209.85.222.182]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPSA (Nemesis) id 1M42b8-1jqHkO0eQK-0007pw for ; Tue, 30 Jun 2020 17:00:32 +0200 Received: by mail-qk1-f182.google.com with SMTP id j80so18865329qke.0 for ; Tue, 30 Jun 2020 08:00:31 -0700 (PDT) X-Gm-Message-State: AOAM530WlOS6EM6piA3vZPjjw35Mp/C0edZC6SufNqSpLrBLXqulw2kx lGC5vdriMwSiQludntRFm+iUVclMTGNNyK18/ho= X-Received: by 2002:a37:a496:: with SMTP id n144mr20363421qke.286.1593529230706; Tue, 30 Jun 2020 08:00:30 -0700 (PDT) MIME-Version: 1.0 References: <20200629225932.5036-1-daniel.gutson@eclypsium.com> <20200630085641.GD637809@kroah.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 30 Jun 2020 17:00:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] SPI LPC information kernel module To: Daniel Gutson Cc: Greg Kroah-Hartman , Derek Kiernan , Mauro Carvalho Chehab , "linux-kernel@vger.kernel.org" , Richard Hughes , Alex Bazhaniuk Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:669HeGT6U6E3Rq2JQkIMVKl6CONWwyMwcTepCuBIMw+537tUoxw 9xJSGOy6lHZO1B5TILaKxo6qfVcChN7+xieEXSme9uTBONF83h5uJGzj/6YfcE9uqP7nkN9 DAn6b7/eAyqBBQyazOdxKeA0YcJc56faWAnOCEp8cLTzrTda7TIVB/jy1zwHvNkyA5Lku6x 25z8Pmu4jKiDxOjSO6NDA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:98U+WpWIQC0=:N7MDersVAjJozj+a33ZsLe KwfeFjq9G7yJB28qquAaOuksdZ/IKBtxUvmopnWt7rXYB2+Fi985LvtGs+1MT8Z7sjfLsmv7p XmIyeeK2n/Tqbt1DF44Jf/mfza9M+aZV+W6I5WPS0PQXtNV9bSUeLOi8QQmJBFNlJLr848Obb 6hnHE3QBj6Tfwv/yut83aFEDl3nKS07MuNbCNuDxl8S6p9n5wRXBy7v41JgPPtuEMqbq+KqzP L7yth0aLMD8h/0jVT556d/RQjOOx2zwlrvldUwUq7iKbgDoUCQG313eoCstaA1DsAXpR0bvn3 g7nFUUDVLegpiEnVly06kIcTgV3UCBFOI8bMSKeOpIpk8/s0fOSOwJL76/KDMsSQWBA3R+Qce mCw4UGTINMuivUGqVASFIF0EPg+DvgY2A2G0UjyzMbzy6qEqoiEHwqZ/Yz6s7YY0zzkB2VhfY EZmh9sQFErtuwBrtK2cV7H9CN/3aALWX8Bjp2rou7+wWM3NnlM92fbcSuCnbHJw3FEVwl2i0+ cudddCsU33pEd+Qa0UuKlLd5kbpCBDGZjljSTiHw7AUM6gueCAFw9SCx1TIr+0amG9RyEYwrU BPqNE38joPx5Q0gkcXLb44tqBwLlZM8Gj5Jet7+nmRubVgV0mNuuo3Sg8mLkmdNggGLnqVXrK 00HaEG02gB2zR2ktmB1Pi8+rs1Vt+Y5iIyqX8naxULy67v+TEdxiu4L+fiDPCGu6g50i7P0s8 /dpHgjPjmh8HF1tuGjHJgRq54s4G81QnVtR57oIjShnBEtc3PFKZeOAaufmXiyMw0jRNzinLS R/JL+4F3+K24gGIcn8gI2A3db/ZSLT/IsHBwB9T4hlGTw5rXGw= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 30, 2020 at 4:43 PM Daniel Gutson wrote: > On Tue, Jun 30, 2020 at 5:56 AM Greg Kroah-Hartman wrote: >> On Mon, Jun 29, 2020 at 07:59:32PM -0300, Daniel Gutson wrote: >> Why is this going in securityfs at all? Why not just sysfs as it is a >> CPU attribute, right? > > Richard already discussed that, but "it" is not only (one) CPU attribute, are SPI chip > settings and attributes coming from the firmware. > Please note that I wanted to submit the minimum patch, but I need to add more attributes. Why can't the SPI chip settings be attributes of the SPI chip device in sysfs? Which firmware are you actually talking about here? Do you mean firmware running on a device behind the SPI controller? Arnd