2022-08-03 21:17:17

by Jarkko Sakkinen

[permalink] [raw]
Subject: [GIT PULL] tpmdd updates for v5.20

Contains mostly TPM and also few keyring fixes.

BR, Jarkko

The following changes since commit 200e340f2196d7fd427a5810d06e893b932f145a:

Merge tag 'pull-work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2022-08-03 11:43:12 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/ tags/tpmdd-next-v5.20

for you to fetch changes up to 863ed94c589fcd1984f4e3080f069d30508044bb:

tpm: Add check for Failure mode for TPM2 modules (2022-08-03 23:56:20 +0300)

----------------------------------------------------------------
tpmdd updates for Linux v5.20

----------------------------------------------------------------
Alexander Steffen (3):
dt-bindings: trivial-devices: Add Infineon SLB9673 TPM
tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
tpm: Add tpm_tis_i2c backend for tpm_tis_core

Elvira Khabirova (1):
pkcs7: support EC-RDSA/streebog in SignerInfo

Huacai Chen (1):
tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH

Mårten Lindahl (1):
tpm: Add check for Failure mode for TPM2 modules

Stefan Mahnke-Hartmann (1):
tpm: Add upgrade/reduced mode support for TPM1.2 modules

Tianjia Zhang (4):
X.509: Support parsing certificate using SM2 algorithm
sign-file: Fix confusing error messages
pkcs7: parser support SM2 and SM3 algorithms combination
KEYS: asymmetric: enforce SM2 signature use pkey algo

Yang Li (1):
tpm: fix platform_no_drv_owner.cocci warning

.../devicetree/bindings/trivial-devices.yaml | 2 +
crypto/asymmetric_keys/pkcs7_parser.c | 18 +
crypto/asymmetric_keys/public_key.c | 7 +-
crypto/asymmetric_keys/x509_cert_parser.c | 3 +
drivers/char/tpm/Kconfig | 12 +
drivers/char/tpm/Makefile | 1 +
drivers/char/tpm/tpm.h | 1 +
drivers/char/tpm/tpm1-cmd.c | 7 +-
drivers/char/tpm/tpm2-cmd.c | 6 +
drivers/char/tpm/tpm_tis_core.c | 14 +
drivers/char/tpm/tpm_tis_core.h | 10 +
drivers/char/tpm/tpm_tis_i2c.c | 390 +++++++++++++++++++++
include/linux/tpm_eventlog.h | 2 +-
scripts/sign-file.c | 2 +-
14 files changed, 470 insertions(+), 5 deletions(-)
create mode 100644 drivers/char/tpm/tpm_tis_i2c.c


2022-08-04 06:48:52

by Kalle Valo

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

Jarkko Sakkinen <[email protected]> writes:

> Contains mostly TPM and also few keyring fixes.
>
> BR, Jarkko
>
> The following changes since commit 200e340f2196d7fd427a5810d06e893b932f145a:
>
> Merge tag 'pull-work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2022-08-03 11:43:12 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/ tags/tpmdd-next-v5.20
>
> for you to fetch changes up to 863ed94c589fcd1984f4e3080f069d30508044bb:
>
> tpm: Add check for Failure mode for TPM2 modules (2022-08-03 23:56:20 +0300)
>
> ----------------------------------------------------------------
> tpmdd updates for Linux v5.20
>
> ----------------------------------------------------------------
> Alexander Steffen (3):
> dt-bindings: trivial-devices: Add Infineon SLB9673 TPM
> tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
> tpm: Add tpm_tis_i2c backend for tpm_tis_core
>
> Elvira Khabirova (1):
> pkcs7: support EC-RDSA/streebog in SignerInfo
>
> Huacai Chen (1):
> tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
>
> M...rten Lindahl (1):
> tpm: Add check for Failure mode for TPM2 modules

Some encoding problems in the name? At least my Gnus didn't show them correctly.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2022-08-04 12:23:21

by James Bottomley

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
> Jarkko Sakkinen <[email protected]> writes:
[...]
> > M...rten Lindahl (1):
> > tpm: Add check for Failure mode for TPM2 modules
>
> Some encoding problems in the name? At least my Gnus didn't show them
> correctly.

My mail tool correctly renders the 'å' character, and lore has it too:

https://lore.kernel.org/all/[email protected]/

So I think you have a local UTF-8 translation problem.

James



2022-08-05 06:04:11

by Kalle Valo

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

James Bottomley <[email protected]> writes:

> On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
>> Jarkko Sakkinen <[email protected]> writes:
> [...]
>> > M...rten Lindahl (1):
>> > tpm: Add check for Failure mode for TPM2 modules
>>
>> Some encoding problems in the name? At least my Gnus didn't show them
>> correctly.
>
> My mail tool correctly renders the 'å' character, and lore has it too:
>
> https://lore.kernel.org/all/[email protected]/
>
> So I think you have a local UTF-8 translation problem.

Odd, I haven't noticed any UTF-8 problems in my setup but Gnus/Emacs is
known to be picky. After some more investigation I noticed this in
Jarkko's email:

Content-Type: text/plain; charset=y

I admit I'm not up to par with the latest cool stuff but that charset
can't be valid, right? :)

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2022-08-06 18:10:55

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

On Sat, Aug 06, 2022 at 08:52:04PM +0300, Jarkko Sakkinen wrote:
> On Fri, Aug 05, 2022 at 08:43:30AM +0300, Kalle Valo wrote:
> > James Bottomley <[email protected]> writes:
> >
> > > On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
> > >> Jarkko Sakkinen <[email protected]> writes:
> > > [...]
> > >> > M...rten Lindahl (1):
> > >> > tpm: Add check for Failure mode for TPM2 modules
> > >>
> > >> Some encoding problems in the name? At least my Gnus didn't show them
> > >> correctly.
> > >
> > > My mail tool correctly renders the '?' character, and lore has it too:
> > >
> > > https://lore.kernel.org/all/[email protected]/
> > >
> > > So I think you have a local UTF-8 translation problem.
> >
> > Odd, I haven't noticed any UTF-8 problems in my setup but Gnus/Emacs is
> > known to be picky. After some more investigation I noticed this in
> > Jarkko's email:
> >
> > Content-Type: text/plain; charset=y
> >
> > I admit I'm not up to par with the latest cool stuff but that charset
> > can't be valid, right? :)
> >
> > --
> > https://patchwork.kernel.org/project/linux-wireless/list/
> >
> > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
>
> I must have pressed 'y' and enter, instead of enter,
> when git send-email asked whether to use UTF-8 or
> something like that.
>
> Sorry about that :-) I don't recall doing that but
> that is what it looks like for me.

I'll update my scripting to make sure that it cannot
happen again.

BR, Jarkko

2022-08-06 18:10:55

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

On Fri, Aug 05, 2022 at 08:43:30AM +0300, Kalle Valo wrote:
> James Bottomley <[email protected]> writes:
>
> > On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
> >> Jarkko Sakkinen <[email protected]> writes:
> > [...]
> >> > M...rten Lindahl (1):
> >> > tpm: Add check for Failure mode for TPM2 modules
> >>
> >> Some encoding problems in the name? At least my Gnus didn't show them
> >> correctly.
> >
> > My mail tool correctly renders the '?' character, and lore has it too:
> >
> > https://lore.kernel.org/all/[email protected]/
> >
> > So I think you have a local UTF-8 translation problem.
>
> Odd, I haven't noticed any UTF-8 problems in my setup but Gnus/Emacs is
> known to be picky. After some more investigation I noticed this in
> Jarkko's email:
>
> Content-Type: text/plain; charset=y
>
> I admit I'm not up to par with the latest cool stuff but that charset
> can't be valid, right? :)
>
> --
> https://patchwork.kernel.org/project/linux-wireless/list/
>
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

I must have pressed 'y' and enter, instead of enter,
when git send-email asked whether to use UTF-8 or
something like that.

Sorry about that :-) I don't recall doing that but
that is what it looks like for me.

BR, Jarkko

2022-08-06 18:40:10

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

The pull request you sent on Thu, 4 Aug 2022 00:02:28 +0300:

> git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/ tags/tpmdd-next-v5.20

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f20c95b46b8fa3ad34b3ea2e134337f88591468b

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

2022-08-08 14:38:31

by Kalle Valo

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

Jarkko Sakkinen <[email protected]> writes:

>> Odd, I haven't noticed any UTF-8 problems in my setup but Gnus/Emacs is
>> known to be picky. After some more investigation I noticed this in
>> Jarkko's email:
>>
>> Content-Type: text/plain; charset=y
>>
>> I admit I'm not up to par with the latest cool stuff but that charset
>> can't be valid, right? :)
>
> I must have pressed 'y' and enter, instead of enter,
> when git send-email asked whether to use UTF-8 or
> something like that.
>
> Sorry about that :-) I don't recall doing that but
> that is what it looks like for me.

Hehe, that indeed sounds likely. Thanks, I was curious where that 'y'
came from :)

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2022-08-09 17:16:48

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [GIT PULL] tpmdd updates for v5.20

On Mon, Aug 08, 2022 at 04:45:12PM +0300, Kalle Valo wrote:
> Jarkko Sakkinen <[email protected]> writes:
>
> >> Odd, I haven't noticed any UTF-8 problems in my setup but Gnus/Emacs is
> >> known to be picky. After some more investigation I noticed this in
> >> Jarkko's email:
> >>
> >> Content-Type: text/plain; charset=y
> >>
> >> I admit I'm not up to par with the latest cool stuff but that charset
> >> can't be valid, right? :)
> >
> > I must have pressed 'y' and enter, instead of enter,
> > when git send-email asked whether to use UTF-8 or
> > something like that.
> >
> > Sorry about that :-) I don't recall doing that but
> > that is what it looks like for me.
>
> Hehe, that indeed sounds likely. Thanks, I was curious where that 'y'
> came from :)

Thanks for reporting this :-) Always good to sanity check, when
there is a visible inconsistency.

BR, Jarkko