From: Jarkko Sakkinen <jarkko@kernel.org>
To: Paul Enuta <paulenuta@gmail.com>
Cc: linux-integrity@vger.kernel.org
Subject: Re: 5.10.y Kernel Panic while poweroff and reboot - Null Pointer Exception - with TPM-Module SLB 9670
Date: Tue, 23 Mar 2021 18:37:08 +0200 [thread overview]
Message-ID: <YFoZNM+Na7VXaYTz@kernel.org> (raw)
In-Reply-To: <YFoWlT7D/4Su49xE@kernel.org>
On Tue, Mar 23, 2021 at 06:25:59PM +0200, Jarkko Sakkinen wrote:
> On Tue, Mar 23, 2021 at 07:51:53AM +0200, Paul Enuta wrote:
> > Hi,
> > it happens with 5.10.25-v7l (latest mainline in Raspberry PI OS) and
> > in my test it started with 5.10.0-v7+.
> > 5.4.83-v7+ was OK.
> > Problems occur on fresh and clean installs with kernel versions above 5.10.
> > This quick fix solves:
> > --- tpm-chip.c.orig 2021-03-22 17:43:05.433433496 +0000
> > +++ tpm-chip.c 2021-03-22 18:22:52.000000000 +0000
> > @@ -101,6 +101,11 @@
> > {
> > int ret;
> >
> > + if (!chip->ops) {
> > + pr_err("%s: Avoiding NULL ops pointer\n", __func__);
> > + return -EIO;
> > + }
> > +
> > tpm_clk_enable(chip);
> >
> > if (chip->locality == -1) {
> >
>
> Please try with the actual mainline. We don't care about RPi kernel.
AFAIK you can compile BuildRoot for RPi and try vanilla mainline with that.
I cannot provide any support for that but at least it is a build target.
/Jarkko
prev parent reply other threads:[~2021-03-23 16:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210322205720.12F8CC061756@lindbergh.monkeyblade.net>
2021-03-22 21:01 ` 5.10.y Kernel Panic while poweroff and reboot - Null Pointer Exception - with TPM-Module SLB 9670 Paul Enuta
2021-03-23 2:09 ` Jarkko Sakkinen
2021-03-23 5:51 ` Paul Enuta
2021-03-23 7:04 ` Paul Enuta
2021-03-23 16:25 ` Jarkko Sakkinen
2021-03-23 16:37 ` Jarkko Sakkinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YFoZNM+Na7VXaYTz@kernel.org \
--to=jarkko@kernel.org \
--cc=linux-integrity@vger.kernel.org \
--cc=paulenuta@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.