All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tpm: interrupt clear fix
@ 2006-07-12 21:01 Kylene Jo Hall
  2006-07-12 22:04 ` Alan Cox
  2006-07-13 11:45 ` linux-os (Dick Johnson)
  0 siblings, 2 replies; 4+ messages in thread
From: Kylene Jo Hall @ 2006-07-12 21:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: TPM Device Driver List, akpm

Under stress testing I found that the interrupt is not always cleared.
This is a bug and this patch should go into 2.6.18 and 2.6.17.x.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
---
--- tcg/tpmdd/drivers/char/tpm/tpm_tis.c	2006-06-07 11:37:08.000000000 -0700
+++ linux-2.6.17/drivers/char/tpm/tpm_tis.c	2006-07-10 12:58:28.000000000 -0700
@@ -424,6 +424,7 @@ static irqreturn_t tis_int_handler(int i
 	iowrite32(interrupt,
 		  chip->vendor.iobase +
 		  TPM_INT_STATUS(chip->vendor.locality));
+	mb();
 	return IRQ_HANDLED;
 }
 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-13 19:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 21:01 [PATCH] tpm: interrupt clear fix Kylene Jo Hall
2006-07-12 22:04 ` Alan Cox
2006-07-13 11:45 ` linux-os (Dick Johnson)
2006-07-13 19:24   ` Kylene Jo Hall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.