mbox series

[GIT,PULL] tpmdd updates for v5.20

Message ID 20220803210228.158993-1-jarkko@kernel.org (mailing list archive)
State Handled Elsewhere
Headers show
Series [GIT,PULL] tpmdd updates for v5.20 | expand

Pull-request

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

Message

Jarkko Sakkinen Aug. 3, 2022, 9:02 p.m. UTC
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

Comments

Kalle Valo Aug. 4, 2022, 6:35 a.m. UTC | #1
Jarkko Sakkinen <jarkko@kernel.org> 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.
James Bottomley Aug. 4, 2022, 12:01 p.m. UTC | #2
On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
> Jarkko Sakkinen <jarkko@kernel.org> 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/20220803210228.158993-1-jarkko@kernel.org/

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

James
Kalle Valo Aug. 5, 2022, 5:43 a.m. UTC | #3
James Bottomley <James.Bottomley@HansenPartnership.com> writes:

> On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
>> Jarkko Sakkinen <jarkko@kernel.org> 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/20220803210228.158993-1-jarkko@kernel.org/
>
> 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? :)
Jarkko Sakkinen Aug. 6, 2022, 5:52 p.m. UTC | #4
On Fri, Aug 05, 2022 at 08:43:30AM +0300, Kalle Valo wrote:
> James Bottomley <James.Bottomley@HansenPartnership.com> writes:
> 
> > On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
> >> Jarkko Sakkinen <jarkko@kernel.org> 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/20220803210228.158993-1-jarkko@kernel.org/
> >
> > 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
Jarkko Sakkinen Aug. 6, 2022, 5:53 p.m. UTC | #5
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 <James.Bottomley@HansenPartnership.com> writes:
> > 
> > > On Thu, 2022-08-04 at 09:35 +0300, Kalle Valo wrote:
> > >> Jarkko Sakkinen <jarkko@kernel.org> 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/20220803210228.158993-1-jarkko@kernel.org/
> > >
> > > 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
pr-tracker-bot@kernel.org Aug. 6, 2022, 6:19 p.m. UTC | #6
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!
Kalle Valo Aug. 8, 2022, 1:45 p.m. UTC | #7
Jarkko Sakkinen <jarkko@kernel.org> 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 :)
Jarkko Sakkinen Aug. 9, 2022, 4:57 p.m. UTC | #8
On Mon, Aug 08, 2022 at 04:45:12PM +0300, Kalle Valo wrote:
> Jarkko Sakkinen <jarkko@kernel.org> 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