Re: git: c2e9c5bbf022 - main - tpm: Refactor TIS and add a SPI attachment

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 24 Jun 2024 22:07:56 UTC
On Mon, Jun 24, 2024, 3:16 PM Gleb Smirnoff <glebius@freebsd.org> wrote:

> On Mon, Jun 24, 2024 at 04:11:28PM -0400, Justin Hibbits wrote:
> J> > sorry for late notice, but we just discovered that after this commit
> J> > tpm(4) on ACPI no longer attaches.  From what I see ther probe method
> J> > isn't even called.
> J>
> J> Hi Gleb,
> J>
> J> That's very odd.  The probe method hasn't changed, nor has the tpm_acpi
> J> attachment (still acpi), so I'm really confused why it wouldn't be
> J> called now.  Is there any debugging you can do to further narrow it
> J> down?  I haven't seen any issues reported internally at Juniper on x86
> J> hardware.  I just verified everything should get built properly.
>
> I started adding printfs to the probe method and as said - it is not
> even called. So I puzzled on where to start the debugging. I can test
> patches/ideas if you have any.
>
> Warner is also looking into this problem.
>

I'm looking at name mismatched and/or moved parents to see if that's in
play. I thought I'd found something like this earlier, but it was a false
alarm I think.

Warner

>