<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/char/tpm, branch linux-2.6.25.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2008-07-24T16:14:08+00:00</updated>
<entry>
<title>tpm: add Intel TPM TIS device HID</title>
<updated>2008-07-24T16:14:08+00:00</updated>
<author>
<name>Marcin Obara</name>
<email>marcin_obara@users.sourceforge.net</email>
</author>
<published>2008-07-11T18:40:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6274fd5bf0b757543e7600c749d9cd33246a3131'/>
<id>urn:sha1:6274fd5bf0b757543e7600c749d9cd33246a3131</id>
<content type='text'>
commit fb0e7e11d017beb5f0b1fa25bc51e49e65c46d67 upstream

This patch adds Intel TPM TIS device HID:  ICO0102

Signed-off-by: Marcin Obara &lt;marcin_obara@users.sourceforge.net&gt;
Acked-by: Marcel Selhorst &lt;tpm@selhorst.net&gt;
Acked-by: Rajiv Andrade &lt;srajiv@linux.vnet.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>tpm: infineon section mismatch</title>
<updated>2008-02-06T18:41:10+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2008-02-06T09:38:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e1d42c983ff7ba4b55d8635899186ae2ef2578ad'/>
<id>urn:sha1:e1d42c983ff7ba4b55d8635899186ae2ef2578ad</id>
<content type='text'>
Fix section mismatch by making the driver template variable name
match one of the whitelisted variable names in modpost.

WARNING: vmlinux.o(.data+0x7a9e8): Section mismatch: reference to .init.text:tpm_inf_pnp_probe (between 'tpm_inf_pnp' and 'cn_idx')

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: Marcel Selhorst &lt;tpm@selhorst.net&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>tpm.c: fix crash during device removal</title>
<updated>2008-02-06T18:41:04+00:00</updated>
<author>
<name>Richard MUSIL</name>
<email>richard.musil@st.com</email>
</author>
<published>2008-02-06T09:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5bd91f18be2fc0dd0384fbfca6d3cdd79a8050dd'/>
<id>urn:sha1:5bd91f18be2fc0dd0384fbfca6d3cdd79a8050dd</id>
<content type='text'>
The clean up procedure now uses platform device "release" callback to
handle memory clean up.  For this purpose "release" function callback was
added to struct tpm_vendor_specific, so hw device driver provider can get
called when it is safe to remove all allocated resources.

This is supposed to fix a bug in device removal, where device while in
receive function (waiting on timeout) was prone to segfault, if the
tpm_chip struct was unallocated before the timeout expired (in
tpm_remove_hardware).

Acked-by: Marcel Selhorst &lt;tpm@selhorst.net&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>TPM: fix suspend and resume failure</title>
<updated>2008-01-14T16:52:22+00:00</updated>
<author>
<name>David Smith</name>
<email>dds@google.com</email>
</author>
<published>2008-01-14T08:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2490c681ea3d7f5ac3fb876f14567bf1a9e0aa87'/>
<id>urn:sha1:2490c681ea3d7f5ac3fb876f14567bf1a9e0aa87</id>
<content type='text'>
The savestate command structure was being overwritten by the result of
running the TPM_SaveState command after one run, so make it a local
variable to the function instead of a global variable that gets
overwritten.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Cc: Kent Yoder &lt;shpedoikal@gmail.com&gt;
Cc: Marcel Selhorst &lt;tpm@selhorst.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>TPM: fix TIS device driver locality request</title>
<updated>2007-11-29T17:24:52+00:00</updated>
<author>
<name>Marcel Selhorst</name>
<email>tpm@selhorst.net</email>
</author>
<published>2007-11-29T00:21:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05a462afe80553550bc77afc724ce60b42ad587e'/>
<id>urn:sha1:05a462afe80553550bc77afc724ce60b42ad587e</id>
<content type='text'>
During the initialization of the TPM TIS driver, the necessary locality has
to be requested earlier in the init-process.  Depending on the used TPM
chip, this leads to wrong information.  For example: Lenovo X61s with Atmel
TPM:

tpm_tis 00:0a: 1.2 TPM (device-id 0xFFFF, rev-id 255)

But correct is:

tpm_tis 00:0c: 1.2 TPM (device-id 0x3203, rev-id 9)

This short patch fixes this issue.

Signed-off-by: Marcel Selhorst &lt;tpm@selhorst.net&gt;
Cc: Kylene Jo Hall &lt;kjhall@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Eliminate pointless casts from void* in a few driver irq handlers.</title>
<updated>2007-10-23T23:53:16+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2007-10-19T07:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=06efcad0d43a5491602f7d7bfc1ce997cdb0d062'/>
<id>urn:sha1:06efcad0d43a5491602f7d7bfc1ce997cdb0d062</id>
<content type='text'>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>tpm: pay attention to IRQ info from PNP</title>
<updated>2007-10-17T15:42:51+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2007-10-17T06:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7917ff9a4cefd0500aa4a1b1942da96dbce6999f'/>
<id>urn:sha1:7917ff9a4cefd0500aa4a1b1942da96dbce6999f</id>
<content type='text'>
If we discover the TIS TPM device via PNP, use the PNP IRQ information rather
than probing for an IRQ.  If PNP shows no IRQ, run the TPM in polling mode.

Tested-by: &lt;valdis.kletnieks@vt.edu&gt;
Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Kylene Hall &lt;kjhall@us.ibm.com&gt;
Cc: &lt;tpm@selhorst.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>tpmdd maintainers</title>
<updated>2007-08-23T02:52:44+00:00</updated>
<author>
<name>Kent Yoder</name>
<email>shpedoikal@gmail.com</email>
</author>
<published>2007-08-22T21:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8e81cc13a88ce486a6b0a6ca56aba6985824917a'/>
<id>urn:sha1:8e81cc13a88ce486a6b0a6ca56aba6985824917a</id>
<content type='text'>
Fix up the maintainers info in the tpm drivers.  Kylene will be out for
some time, so copying the sourceforge list is the best way to get some
attention.

Cc: Marcel Selhorst &lt;tpm@selhorst.net&gt;
Cc: Kylene Jo Hall &lt;kjhall@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Fix memory leak in tpm_binary_bios_measurements_open()</title>
<updated>2007-07-20T19:00:04+00:00</updated>
<author>
<name>Reiner Sailer</name>
<email>sailer@us.ibm.com</email>
</author>
<published>2007-07-20T14:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=03ce11048b3832f5f0c471ccdb3363a870a14ac1'/>
<id>urn:sha1:03ce11048b3832f5f0c471ccdb3363a870a14ac1</id>
<content type='text'>
The same problem that was fixed for tpm_ascii_bios_measurements_open()
in commit 178554ae75739e91dc4d7c3e42a3db95448cc5bf also occurs in
tpm_binary_bios measurements().  Thanks for noticing this Satyam!

I tested the attached patch to fix tpm_binary_bios_measurments as well.

Signed-off-by: Reiner Sailer &lt;sailer@watson.ibm.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Memory leak in tpm_ascii_bios_measurements_open()</title>
<updated>2007-07-20T15:44:20+00:00</updated>
<author>
<name>Jesper Juhl</name>
<email>jesper.juhl@gmail.com</email>
</author>
<published>2007-07-20T07:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=178554ae75739e91dc4d7c3e42a3db95448cc5bf'/>
<id>urn:sha1:178554ae75739e91dc4d7c3e42a3db95448cc5bf</id>
<content type='text'>
Coverity found a memory leak in tpm_ascii_bios_measurements_open().

If "read_log(log)" fails, then we may leak 'log' and
'log-&gt;bios_event_log'.

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Cc: Seiji Munetoh &lt;munetoh@jp.ibm.com&gt;
Cc: Stefan Berger &lt;stefanb@us.ibm.com&gt;
Cc: Reiner Sailer &lt;sailer@watson.ibm.com&gt;
Cc: Kylene Hall &lt;kjhall@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
