linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tpm_tis: Clean up force module parameter
@ 2015-11-30 19:27 Jason Gunthorpe
  2015-11-30 19:27 ` [PATCH 1/2] tpm_tis: Disable interrupt auto probing on a per-device basis Jason Gunthorpe
  2015-11-30 19:27 ` [PATCH 2/2] tpm_tis: Clean up the force=1 module parameter Jason Gunthorpe
  0 siblings, 2 replies; 12+ messages in thread
From: Jason Gunthorpe @ 2015-11-30 19:27 UTC (permalink / raw)
  To: Jarkko Sakkinen, tpmdd-devel, linux-kernel
  Cc: Martin Wilck, Peter Huewe, Uwe Kleine-König

Drive the force=1 flow through the driver core. There are two main reasons to do this:
 1) To enable tpm_tis for OF environments requires a platform_device anyhow, so
    the force_device needs to be re-used for them.
 2) Recent changes in the core code break the assumption that a driver will be
    'attached' to things created through platform_device_register_simple,
    which causes the tpm core to blow up.


Jason Gunthorpe (2):
  tpm_tis: Disable interrupt auto probing on a per-device basis
  tpm_tis: Clean up the force=1 module parameter

 drivers/char/tpm/tpm_tis.c | 177 +++++++++++++++++++++++++++------------------
 1 file changed, 108 insertions(+), 69 deletions(-)

-- 
2.1.4


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

end of thread, other threads:[~2015-12-01 20:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-30 19:27 tpm_tis: Clean up force module parameter Jason Gunthorpe
2015-11-30 19:27 ` [PATCH 1/2] tpm_tis: Disable interrupt auto probing on a per-device basis Jason Gunthorpe
2015-12-01  7:17   ` Uwe Kleine-König
2015-12-01 17:26     ` Jason Gunthorpe
2015-11-30 19:27 ` [PATCH 2/2] tpm_tis: Clean up the force=1 module parameter Jason Gunthorpe
2015-12-01  7:28   ` Uwe Kleine-König
2015-12-01  8:35     ` Jarkko Sakkinen
2015-12-01 17:43       ` Jason Gunthorpe
2015-12-01 20:51         ` Jarkko Sakkinen
2015-12-01 17:35     ` Jason Gunthorpe
2015-12-01 11:50   ` [tpmdd-devel] " Wilck, Martin
2015-12-01 17:39     ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).