Re: [PATCH v2 3/3] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Jason Gunthorpe
On Tue, Dec 01, 2015 at 08:33:58PM +0100, Uwe Kleine-König wrote: > Hello, > > On Tue, Dec 01, 2015 at 11:58:29AM -0700, Jason Gunthorpe wrote: > > The TPM core has long assumed that every device has a driver attached, > > however commit b8b2c7d845d5 ("base/platform: assert that dev_pm_domain > >

Re: [PATCH v2 3/3] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Uwe Kleine-König
Hello, On Tue, Dec 01, 2015 at 11:58:29AM -0700, Jason Gunthorpe wrote: > The TPM core has long assumed that every device has a driver attached, > however commit b8b2c7d845d5 ("base/platform: assert that dev_pm_domain > callbacks are called unconditionally") breaks that assumption. you asked for

[PATCH v2 3/3] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Jason Gunthorpe
The TPM core has long assumed that every device has a driver attached, however commit b8b2c7d845d5 ("base/platform: assert that dev_pm_domain callbacks are called unconditionally") breaks that assumption. Rework the TPM setup to create a platform device with resources and then allow the driver

[PATCH v2 3/3] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Jason Gunthorpe
The TPM core has long assumed that every device has a driver attached, however commit b8b2c7d845d5 ("base/platform: assert that dev_pm_domain callbacks are called unconditionally") breaks that assumption. Rework the TPM setup to create a platform device with resources and then allow the driver

Re: [PATCH v2 3/3] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Uwe Kleine-König
Hello, On Tue, Dec 01, 2015 at 11:58:29AM -0700, Jason Gunthorpe wrote: > The TPM core has long assumed that every device has a driver attached, > however commit b8b2c7d845d5 ("base/platform: assert that dev_pm_domain > callbacks are called unconditionally") breaks that assumption. you asked for

Re: [PATCH v2 3/3] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Jason Gunthorpe
On Tue, Dec 01, 2015 at 08:33:58PM +0100, Uwe Kleine-König wrote: > Hello, > > On Tue, Dec 01, 2015 at 11:58:29AM -0700, Jason Gunthorpe wrote: > > The TPM core has long assumed that every device has a driver attached, > > however commit b8b2c7d845d5 ("base/platform: assert that dev_pm_domain > >