[PATCH v3] tpm: Enable CLKRUN protocol for Braswell systems
Shaikh, Azhar
azhar.shaikh at intel.com
Thu Jun 8 19:27:34 UTC 2017
> -----Original Message-----
> From: Alan Cox [mailto:gnomes at lxorguk.ukuu.org.uk]
> Sent: Thursday, June 8, 2017 11:50 AM
> To: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
> Cc: Shaikh, Azhar <azhar.shaikh at intel.com>;
> jarkko.sakkinen at linux.intel.com; tpmdd-devel at lists.sourceforge.net; linux-
> kernel at vger.kernel.org; linux-security-module at vger.kernel.org
> Subject: Re: [PATCH v3] tpm: Enable CLKRUN protocol for Braswell systems
>
> > For that purpose all that should be required is strong ordering of the
> > outb relative to the other TPM commands at the LPC interface FIFO. I
> > also think the wmb is not needed because outb is already defined to be
> > strongly in order with respect to writel/readl ?
>
> That's my assumption but given this is all some kind of 'it's broken'
> fixup I thought best to ask. Assuming there is nothing else magical going on
> then yes it should be deleted.
>
As Jason mentioned, outb is already define to be strongly ordered, then wmb is not needed.
I will delete it.
> Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list