lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 16 Dec 2019 08:17:34 -0600
From:   Rob Herring <robh@...nel.org>
To:     Amir Mizinski <amirmizi6@...il.com>
Cc:     Eyal.Cohen@...oton.com,
        Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
        Oshri Alkobi <oshrialkoby85@...il.com>,
        Alexander Steffen <alexander.steffen@...ineon.com>,
        Mark Rutland <mark.rutland@....com>,
        Peter Huewe <peterhuewe@....de>,
        Jason Gunthorpe <jgg@...pe.ca>, Arnd Bergmann <arnd@...db.de>,
        Greg KH <gregkh@...uxfoundation.org>,
        devicetree <devicetree@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-integrity@...r.kernel.org,
        IS20 Oshri Alkoby <oshri.alkoby@...oton.com>,
        Tomer Maimon <tmaimon77@...il.com>, gcwilson@...ibm.com,
        kgoldman@...ibm.com, ayna@...ux.vnet.ibm.com,
        IS30 Dan Morav <Dan.Morav@...oton.com>,
        oren.tanami@...oton.com, shmulik.hager@...oton.com,
        amir.mizinski@...oton.com
Subject: Re: [PATCH v2 4/5] dt-bindings: tpm: Add YAML schema for TPM TIS I2C options

On Mon, Dec 16, 2019 at 7:53 AM Amir Mizinski <amirmizi6@...il.com> wrote:
>
> On Sat, Dec 14, 2019 at 12:36 AM Rob Herring <robh@...nel.org> wrote:
> >
> > On Mon, Dec 02, 2019 at 03:33:31PM +0200, amirmizi6@...il.com wrote:
> > > From: Amir Mizinski <amirmizi6@...il.com>
> > >
> > > Added a YAML schema to support tpm tis i2c realted dt-bindings for the I2c PTP based physical layer.
> >
> > Wrap your commmit message. And TPM, TIS?, and I2C should be capitalized.
>
> Thanks,  ill fix that.
>
> >
> > >
> > > Signed-off-by: Amir Mizinski <amirmizi6@...il.com>
> > > ---
> > >  .../bindings/security/tpm/tpm-tis-i2c.yaml         | 38 ++++++++++++++++++++++
> > >  1 file changed, 38 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml
> >
> > Please read my comments on v1 (The first v1 from 11/10, not the 2nd v1
> > you sent).
>
> I sent a follow up comment regarding this:
> https://patchwork.kernel.org/patch/11236253/
> (2nd v1 was sent by mistake. sorry about that)

Sorry I missed your reply. However, you didn't address these comments:

> There's a bigger issue that the h/w here is more than just an I2C
> protocol. The chip may have multiple power supplies, clocks, reset
> lines, etc. HID over I2C seems like a similar case. Does the spec define
> *all* of that? If not, you need chip specific compatibles. You can keep
> this as a fallback though.

To rephrase this, a protocol does not fully describe the h/w and DT
should describe the h/w.

Also, you should include the interrupt whether you use it in the
driver currently or not. Again, it's about describing the h/w, not
what a driver happens to use ATM.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ