Comment 88 for bug 602049

Revision history for this message
Andy Whitcroft (apw) wrote :

The fix for this is very likely the commit below, could those of you affected by this test the kernel in -proposed which should include it. This is very likely a duplicate of Bug #705845:

  commit 123c6a0ede60b268266c3cce0c341f6427bc7044
  Author: Olof Johansson <email address hidden>
  Date: Fri Jan 28 14:12:22 2011 +0000

    tpm: fix panic caused by "tpm: Autodetect itpm devices"

    commit 3f0d3d016d89a5efb8b926d4707eb21fa13f3d27 adds a check for
    PNP device id to the common tpm_tis_init() function, which in some
    cases (force=1) will be called without the device being a member of
    a pnp_dev. Oopsing and panics ensue.

    Move the test up to before the call to tpm_tis_init(), since it
    just modifies a global variable anyway.

    Signed-off-by: Olof Johansson <email address hidden>
    Acked-by: Rajiv Andrade <email address hidden>
    Signed-off-by: James Morris <email address hidden>

    BugLink: http://bugs.launchpad.net/bugs/705845
    Signed-off-by: Andy Whitcroft <email address hidden>
    Signed-off-by: Steve Conklin <email address hidden>