Re: [PATCH v9 4/5] tpm: Add a driver for Loongson TPM device

2025-05-08 Thread Jarkko Sakkinen
On Wed, May 07, 2025 at 09:33:32AM +0800, Qunqin Zhao wrote: > > 在 2025/5/6 下午10:13, Stefano Garzarella 写道: > > On Tue, May 06, 2025 at 11:19:46AM +0800, Qunqin Zhao wrote: > > > Loongson Security Engine supports random number generation, hash, > > > symmetric encryption and asymmetric encryption.

Re: [PATCH v9 4/5] tpm: Add a driver for Loongson TPM device

2025-05-08 Thread Jarkko Sakkinen
On Tue, May 06, 2025 at 04:13:04PM +0200, Stefano Garzarella wrote: > > +static int tpm_loongson_recv(struct tpm_chip *chip, u8 *buf, size_t count) > > +{ > > + struct loongson_se_engine *tpm_engine = dev_get_drvdata(&chip->dev); > > + struct tpm_loongson_cmd *cmd_ret = tpm_engine->command_ret;

Re: [PATCH v3 0/4] Introducing Hornet LSM

2025-05-08 Thread Paul Moore
On Thu, May 8, 2025 at 1:45 PM Alexei Starovoitov wrote: > On Wed, May 7, 2025 at 4:24 PM Paul Moore wrote: > > On Wed, May 7, 2025 at 1:48 PM James Bottomley > > wrote: > > > > > > I'm with Paul on this: if you could share your design ideas more fully > > > than you have above that would help m

Re: [PATCH v3 0/4] Introducing Hornet LSM

2025-05-08 Thread Alexei Starovoitov
On Wed, May 7, 2025 at 4:24 PM Paul Moore wrote: > > On Wed, May 7, 2025 at 1:48 PM James Bottomley > wrote: > > > > I'm with Paul on this: if you could share your design ideas more fully > > than you have above that would help make this debate way more > > technical. > > I think it would also he