<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/char/tpm, branch v2.6.24</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<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.tavy.me/linux.git/commit/?id=2490c681ea3d7f5ac3fb876f14567bf1a9e0aa87'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=05a462afe80553550bc77afc724ce60b42ad587e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=06efcad0d43a5491602f7d7bfc1ce997cdb0d062'/>
<id>06efcad0d43a5491602f7d7bfc1ce997cdb0d062</id>
<content type='text'>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=7917ff9a4cefd0500aa4a1b1942da96dbce6999f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=8e81cc13a88ce486a6b0a6ca56aba6985824917a'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=03ce11048b3832f5f0c471ccdb3363a870a14ac1'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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.tavy.me/linux.git/commit/?id=178554ae75739e91dc4d7c3e42a3db95448cc5bf'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use menuconfig objects II - TPM</title>
<updated>2007-07-16T16:05:40+00:00</updated>
<author>
<name>Jan Engelhardt</name>
<email>jengelh@linux01.gwdg.de</email>
</author>
<published>2007-07-16T06:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7126b75c8794f9fffda227d08b7ad1e138fa2c6c'/>
<id>7126b75c8794f9fffda227d08b7ad1e138fa2c6c</id>
<content type='text'>
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Cc: Kylene Hall &lt;kjhall@us.ibm.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Cc: Kylene Hall &lt;kjhall@us.ibm.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Missing include file in tpm_atmel.h</title>
<updated>2007-05-12T17:55:39+00:00</updated>
<author>
<name>Stephen Rothwell</name>
<email>sfr@canb.auug.org.au</email>
</author>
<published>2007-05-12T17:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ddf526e992c1ea10e31478f4753fd717373f9e8b'/>
<id>ddf526e992c1ea10e31478f4753fd717373f9e8b</id>
<content type='text'>
On PPC64, we need to include asm/prom.h for function definitions.

Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On PPC64, we need to include asm/prom.h for function definitions.

Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[S390] Kconfig: menus with depends on HAS_IOMEM.</title>
<updated>2007-05-10T13:46:07+00:00</updated>
<author>
<name>Martin Schwidefsky</name>
<email>schwidefsky@de.ibm.com</email>
</author>
<published>2007-05-10T13:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e25df1205f37c7bff3ab14fdfc8a5249f3c69c82'/>
<id>e25df1205f37c7bff3ab14fdfc8a5249f3c69c82</id>
<content type='text'>
Add "depends on HAS_IOMEM" to a number of menus to make them
disappear for s390 which does not have I/O memory.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "depends on HAS_IOMEM" to a number of menus to make them
disappear for s390 which does not have I/O memory.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
