[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <CZY0P8Z9MKWI.UDXUUC9BD43U@kernel.org>
Date: Tue, 19 Mar 2024 22:43:28 +0200
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "Jarkko Sakkinen" <jarkko@...nel.org>, "James Bottomley"
<James.Bottomley@...senPartnership.com>, <linux-kernel@...r.kernel.org>
Cc: "Jason Gunthorpe" <jgg@...pe.ca>, "Mimi Zohar" <zohar@...ux.ibm.com>,
"Peter Huewe" <peterhuewe@....de>, <linux-integrity@...r.kernel.org>
Subject: Re: [PATCH] MAINTAINERS: Update W's for KEYS/KEYRINGS_INTEGRITY and
TPM DEVICE RIVER
On Tue Feb 27, 2024 at 8:22 PM EET, Jarkko Sakkinen wrote:
> On Mon Feb 26, 2024 at 12:11 PM EET, James Bottomley wrote:
> > On Mon, 2024-02-26 at 11:26 +0200, Jarkko Sakkinen wrote:
> > > On Mon Feb 26, 2024 at 8:49 AM EET, James Bottomley wrote:
> > > > On Mon, 2024-02-26 at 08:22 +0200, Jarkko Sakkinen wrote:
> > > > > Add TPM driver test suite URL to the MAINTAINERS files and move
> > > > > the
> > > > > wiki
> > > > > URL to more appropriate location.
> > > > >
> > > > > Link: https://gitlab.com/jarkkojs/linux-tpmdd-test
> > > > > Link: https://kernsec.org/wiki/index.php/Linux_Kernel_Integrity
> > > > > Cc: Jason Gunthorpe <jgg@...pe.ca>
> > > > > Cc: Mimi Zohar <zohar@...ux.ibm.com>
> > > > > Cc: Peter Huewe <peterhuewe@....de>
> > > > > Cc: linux-integrity@...r.kernel.org
> > > > > Signed-off-by: Jarkko Sakkinen <jarkko@...nel.org>
> > > > > ---
> > > > > MAINTAINERS | 3 ++-
> > > > > 1 file changed, 2 insertions(+), 1 deletion(-)
> > > > >
> > > > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > > > index bf77be03fb2b..6380c1109b86 100644
> > > > > --- a/MAINTAINERS
> > > > > +++ b/MAINTAINERS
> > > > > @@ -11947,6 +11947,7 @@ M: Mimi Zohar <zohar@...ux.ibm.com>
> > > > > L: linux-integrity@...r.kernelorg
> > > > > L: keyrings@...r.kernel.org
> > > > > S: Supported
> > > > > +W: https://kernsec.org/wiki/index.php/inux_Kernel_Integrity
> > > > ^
> > > > Missing L
> > > >
> > > > James
> > >
> > > Thanks! I'll fixup that.
> > >
> > > "linux-tpmdd-test" is the suite that I'm using to test your patch
> > > set. It has swtpm integrated. I wonder if there was easy to way to
> > > tweak swtpm to emulate "interposer", i.e. reset its state while it is
> > > running (preferably not by restarting it).
> >
> > The way I do it is to use a qemu patch
> >
> > https://lore.kernel.org/qemu-devel/20231004184219.6594-1-jejb@linux.ibmcom/
> >
> > which allows qemu to connect to the mssim (or ibmswtpm2) TPM over an
> > inet socket which means I can execute TPM commands from the host (like
> > resetting the TPM) as well as the guest and snoop the TPM traffic.
>
> To which exact and most recent possible QEMU version I can apply that
> cleanly?
>
> My build configuration builds both QEMU and swtpm [1] for every build so
> I could pick that patch, copy it to board/qemu/patches/qemu, and set the
> version in the BuildRoot configuration appropriately.
>
> [1]
> https://gitlab.com/jarkkojs/linux-tpmdd-test/-/tree/main/package/libtpms
> https://gitlab.com/jarkkojs/linux-tpmdd-test/-/tree/main/package/swtpm
Friendly ping. Still looking forward to test.
I cannot recall exact review comments for v7 but what I can recall is
that they were cosmetic.
BR, Jarkko
Powered by blists - more mailing lists