Re: 5.10.y Kernel Panic while poweroff and reboot - Null Pointer Exception - with TPM-Module SLB 9670

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux