<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/char/tpm/Makefile, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-01-06T13:37:24Z</updated>
<entry>
<title>tpm: Move sysfs functions from tpm-interface to tpm-sysfs</title>
<updated>2014-01-06T13:37:24Z</updated>
<author>
<name>Jason Gunthorpe</name>
</author>
<published>2013-11-26T20:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=000a07b0aac1bc69bcf602b468d975c3e37a155c'/>
<id>urn:sha1:000a07b0aac1bc69bcf602b468d975c3e37a155c</id>
<content type='text'>
CLASS-sysfs.c is a common idiom for linux subsystems.

This is the first step to pulling all the sysfs support code from
the drivers into tpm-sysfs. This is a plain text copy from tpm-interface
with support changes to make it compile.

_tpm_pcr_read is made non-static and is called tpm_pcr_read_dev.

Signed-off-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
Signed-off-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
</content>
</entry>
<entry>
<title>tpm: Pull everything related to /dev/tpmX into tpm-dev.c</title>
<updated>2014-01-06T13:37:24Z</updated>
<author>
<name>Jason Gunthorpe</name>
</author>
<published>2013-11-26T20:30:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afdba32e2a9ea729a9f9f280dbf6c718773c7ded'/>
<id>urn:sha1:afdba32e2a9ea729a9f9f280dbf6c718773c7ded</id>
<content type='text'>
CLASS-dev.c is a common idiom for Linux subsystems

This pulls all the code related to the miscdev into tpm-dev.c and makes it
static. The identical file_operation structs in the drivers are purged and the
tpm common code unconditionally creates the miscdev.

Signed-off-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
Reviewed-by: Joel Schopp &lt;jschopp@linux.vnet.ibm.com&gt;
Reviewed-by: Ashley Lai &lt;adlai@linux.vnet.ibm.com&gt;
[phuewe:
tpm_dev_release is now used only in this file, thus the EXPORT_SYMBOL
can be dropped and the function be marked as static.
It has no other in-kernel users]
Signed-off-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
</content>
</entry>
<entry>
<title>tpm: Add support for Atmel I2C TPMs</title>
<updated>2013-10-22T17:43:07Z</updated>
<author>
<name>Jason Gunthorpe</name>
</author>
<published>2013-10-06T18:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2871c62e1865c45f87a9343de76f727fb7a0ffd'/>
<id>urn:sha1:a2871c62e1865c45f87a9343de76f727fb7a0ffd</id>
<content type='text'>
This is based on the work of Teddy Reed &lt;teddy@prosauce.org&gt; published
on GitHub:
 https://github.com/theopolis/tpm-i2c-atmel.git
 34894b988b67e0ae55088d6388e77b0dbf10c07d

That driver was never merged, I have taken it as a starting port,
forward ported, tested and revised the driver:
 - Make it broadly textually similar to the Infineon and Nuvoton I2C
   driver
 - Place everything in a format suitable for mainline inclusion
 - Use high level I2C functions i2c_master_send and
   i2c_master_recv for data xfer
 - Use the timeout system from the core code, by faking out a status
   register
 - Only I2C transfer the number of bytes in the reply, not a fixed
   message size.
 - checkpatch cleanups
 - Testing on ARM Kirkwood, with this device tree, using a
   AT97SC3204T-X1A180
        tpm@29 {
                compatible = "atmel,at97sc3204t";
                reg = &lt;0x29&gt;;
        };

Signed-off-by: Teddy Reed &lt;teddy@prosauce.org&gt;
[jgg: revised and tested]
Signed-off-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
[phuewe: minor whitespace changes]

Signed-off-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
</content>
</entry>
<entry>
<title>tpm: Add support for the Nuvoton NPCT501 I2C TPM</title>
<updated>2013-10-22T17:43:04Z</updated>
<author>
<name>Jason Gunthorpe</name>
</author>
<published>2013-10-06T18:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c336e4b1556f4b722ba597bc6e3df786968a600'/>
<id>urn:sha1:4c336e4b1556f4b722ba597bc6e3df786968a600</id>
<content type='text'>
This chip is/was also branded as a Winbond WPCT301.

Originally written by Dan Morav &lt;dmorav@nuvoton.com&gt; and posted to LKML:
https://lkml.org/lkml/2011/9/7/206

The original posting was not merged, I have taken it as a
starting point, forward ported, tested and revised the driver:
 - Rework interrupt handling to work properly with level triggered
   interrupts. The old version just locked up.
 - Synchronize various items with Peter Huewe's Infineon driver:
    * Add durations/timeouts sysfs calls
    * Remove I2C device auto-detection
    * Don't fiddle with chip-&gt;release
    * Call tpm_dev_vendor_release in the probe error path
    * Use MODULE_DEVICE_TABLE for the I2C ids
    * Provide OF compatible strings for DT support
    * Use SIMPLE_DEV_PM_OPS
    * Use module_i2c_driver
 - checkpatch cleanups
 - Testing on ARM Kirkwood with GPIO interrupts, with this device tree:
	tpm@57 {
                compatible = "nuvoton,npct501";
                reg = &lt;0x57&gt;;
                interrupt-parent = &lt;&amp;gpio1&gt;;
                interrupts = &lt;6 IRQ_TYPE_LEVEL_LOW&gt;;
        };

Signed-off-by: Dan Morav &lt;dmorav@nuvoton.com&gt;
[jgg: revised and tested]
Signed-off-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
[phuewe: minor whitespace changes, fixed module name in kconfig]

Signed-off-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
</content>
</entry>
<entry>
<title>tpm: Merge the tpm-bios module with tpm.o</title>
<updated>2013-10-22T17:43:01Z</updated>
<author>
<name>Jason Gunthorpe</name>
</author>
<published>2013-10-03T04:51:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=187eea0c353abd4ffa3a9cc86a660af9605fcb10'/>
<id>urn:sha1:187eea0c353abd4ffa3a9cc86a660af9605fcb10</id>
<content type='text'>
Now that we can have multiple .c files in the tpm module there is
no reason for tpm-bios.

tpm-bios exported several functions: tpm_bios_log_setup,
tpm_bios_log_teardown, tpm_add_ppi, and tpm_remove_ppi.

They are only used by tpm, and if tpm-bios is built then
tpm will unconditionally require them. Further, tpm-bios does
nothing on its own, it has no module_init function.

Thus we remove the exports and merge the modules to simplify things.

The Makefile conditions are changed slightly to match the code,
tpm_ppi is always required if CONFIG_ACPI is set.

Signed-off-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
</content>
</entry>
<entry>
<title>tpm: Rename tpm.c to tpm-interface.c</title>
<updated>2013-10-22T17:42:51Z</updated>
<author>
<name>Jason Gunthorpe</name>
</author>
<published>2013-10-06T18:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9deb0eb7cad450cd942a0eca11a198f6d24cb3d4'/>
<id>urn:sha1:9deb0eb7cad450cd942a0eca11a198f6d24cb3d4</id>
<content type='text'>
This is preparation for making the tpm module multi-file. kbuild does
not like having a .c file with the same name as a module. We wish to
keep the tpm module name so that userspace doesn't see this change.

tpm-interface.c is chosen because the next several commits in the series
migrate items into tpm-sysfs.c, tpm-dev.c and tpm-class.c. All that will
be left is tpm command processing and interfacing code.

Signed-off-by: Jason Gunthorpe &lt;jgunthorpe@obsidianresearch.com&gt;
</content>
</entry>
<entry>
<title>drivers/tpm: add xen tpmfront interface</title>
<updated>2013-08-09T14:57:06Z</updated>
<author>
<name>Daniel De Graaf</name>
</author>
<published>2013-07-30T17:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2683957fb268c6b29316fd9e7191e13239a30a5'/>
<id>urn:sha1:e2683957fb268c6b29316fd9e7191e13239a30a5</id>
<content type='text'>
This is a complete rewrite of the Xen TPM frontend driver, taking
advantage of a simplified frontend/backend interface and adding support
for cancellation and timeouts.  The backend for this driver is provided
by a vTPM stub domain using the interface in Xen 4.3.

Signed-off-by: Daniel De Graaf &lt;dgdegra@tycho.nsa.gov&gt;
Acked-by: Matthew Fioravante &lt;matthew.fioravante@jhuapl.edu&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
Acked-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
Reviewed-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>TPM: STMicroelectronics ST33 I2C BUILD STUFF</title>
<updated>2013-02-05T15:38:23Z</updated>
<author>
<name>Mathias Leblanc</name>
</author>
<published>2012-11-14T14:31:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bfee22f6c60e046f6b04f2d4855fddac1f67290'/>
<id>urn:sha1:2bfee22f6c60e046f6b04f2d4855fddac1f67290</id>
<content type='text'>
 * STMicroelectronics version 1.2.0, Copyright (C) 2010
 * STMicroelectronics comes with ABSOLUTELY NO WARRANTY.
 * This is free software, and you are welcome to redistribute it
 * under certain conditions.

This is the driver for TPM chip from ST Microelectronics.

If you have a TPM security chip from STMicroelectronics working with
an I2C, in menuconfig or .config choose the tpm driver on
device --&gt; tpm and activate the protocol of your choice before compiling
the kernel.
The driver will be accessible from within Linux.

Tested on linux x86/x64, beagleboard REV B &amp; XM REV C and CHROMIUM OS

Signed-off-by: Mathias Leblanc &lt;mathias.leblanc@st.com&gt;
Signed-off-by: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>driver: add PPI support in tpm driver</title>
<updated>2012-08-22T21:23:42Z</updated>
<author>
<name>Xiaoyan Zhang</name>
</author>
<published>2012-08-22T10:47:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f84fdff0fdcda7e509ce530e0ee612233a2104fb'/>
<id>urn:sha1:f84fdff0fdcda7e509ce530e0ee612233a2104fb</id>
<content type='text'>
The Physical Presence Interface enables the OS and the BIOS to cooperate and
provides a simple and straightforward platform user experience for
administering the TPM without sacrificing security.

V2: separate the patch out in a separate source file,
    add #ifdef CONFIG_ACPI so it compiles out on ppc,
    use standard error instead of ACPI error as return code of show/store fns.
V3: move #ifdef CONFIG_ACPI from .c file to .h file.
V4: move tpm_ppi code from tpm module to tpm_bios module.
V5: modify sys_add_ppi() so that ppi_attr_grp doesn't need to be exported

Signed-off-by: Xiaoyan Zhang &lt;xiaoyan.zhang@intel.com&gt;
Signed-off-by: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>drivers/char/tpm: Add securityfs support for event log</title>
<updated>2012-08-22T21:22:47Z</updated>
<author>
<name>Ashley Lai</name>
</author>
<published>2012-08-14T23:35:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5df39262dd59dbbffb1017fca0f1661408ac9d5'/>
<id>urn:sha1:c5df39262dd59dbbffb1017fca0f1661408ac9d5</id>
<content type='text'>
This patch retrieves the event log data from the device tree
during file open. The event log data will then displayed through
securityfs.

Signed-off-by: Ashley Lai &lt;adlai@us.ibm.com&gt;
Signed-off-by: Kent Yoder &lt;key@linux.vnet.ibm.com&gt;
</content>
</entry>
</feed>
