All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nayna <nayna-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Jarkko Sakkinen
	<jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Cc: "moderated list:TPM DEVICE DRIVER"
	<tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Kenneth Goldman
	<kgoldman-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>,
	open list <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for TPM 2.0 firmware event log
Date: Wed, 1 Feb 2017 00:14:12 +0530	[thread overview]
Message-ID: <5890DAFC.9030407@linux.vnet.ibm.com> (raw)
In-Reply-To: <20170131174659.b6njebycqzd5ur6f-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>



On 01/31/2017 11:16 PM, Jarkko Sakkinen wrote:
> On Mon, Jan 30, 2017 at 03:08:42PM +0530, Nayna wrote:
>>
>>> From: "Ken Goldman" <kgold-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org
>>> <mailto:kgold-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>>
>>> Date: 26-Jan-2017 2:53 AM
>>> Subject: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs
>>> support,for TPM 2.0 firmware event log
>>> To: <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>>> <mailto:linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>>,
>>> <linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>>> <mailto:linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>>,
>>> <tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>> <mailto:tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>>
>>> Cc:
>>>
>>>      You do not need to send a new patch set version as long as this
>>>      one gets peer tested. And it needs to be tested without hacks
>>>      like plumbing TCPA with TPM 2.0 in QEMU. OF code paths needs to
>>>      be peer tested to be more specific.
>>>
>>>      For me the code itself looks good but I simply cannot take it in
>>>      in the current situation.
>>>
>>>      /Jarkko
>>>
>>>
>>> Tested-by: Kenneth Goldman <kgold-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org
>>> <mailto:kgold-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>>
>>>
>>> I validated a firmware event log taken from a Power 8 against PCR 0-7
>>> values for the SHA-1 and SHA-256 banks from a Nuvoton TPM 2.0 chip on
>>> that same platform.
>>>
>>
>> Thank You Ken.
>>
>> Jarkko, I hope now these patches can be accepted for 4.11.
>>
>> Thanks & Regards,
>>     - Nayna
>
> I already sent my pull request to 4.11 and even today I found something
> fishy. You declared a function local array by using a variable in "tpm:
> enhance TPM 2.0 PCR extend to support multiple banks" (max_active_banks
> or something). And the event log patches have just passed the review.

Yes. I have checked using clang and it has passed the clang.. and I also 
verified there were no complains during build.

What type of problem do you see ?

Also, to understand, this is related to multi-bank patchset. I mean how 
does it affect for event log patchset ?

Thanks & Regards,
    - Nayna

>
> I've applied them to my tree but I'll only include bug fixes for 4.11
> pull requests. You'll have to wait till' 4.12.
>
> /Jarkko
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

WARNING: multiple messages have this Message-ID (diff)
From: Nayna <nayna@linux.vnet.ibm.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: Kenneth Goldman <kgoldman@us.ibm.com>,
	"moderated list:TPM DEVICE DRIVER" 
	<tpmdd-devel@lists.sourceforge.net>,
	open list <linux-kernel@vger.kernel.org>,
	linux-security-module@vger.kernel.org
Subject: Re: Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log
Date: Wed, 1 Feb 2017 00:14:12 +0530	[thread overview]
Message-ID: <5890DAFC.9030407@linux.vnet.ibm.com> (raw)
In-Reply-To: <20170131174659.b6njebycqzd5ur6f@intel.com>



On 01/31/2017 11:16 PM, Jarkko Sakkinen wrote:
> On Mon, Jan 30, 2017 at 03:08:42PM +0530, Nayna wrote:
>>
>>> From: "Ken Goldman" <kgold@linux.vnet.ibm.com
>>> <mailto:kgold@linux.vnet.ibm.com>>
>>> Date: 26-Jan-2017 2:53 AM
>>> Subject: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs
>>> support,for TPM 2.0 firmware event log
>>> To: <linux-kernel@vger.kernel.org
>>> <mailto:linux-kernel@vger.kernel.org>>,
>>> <linux-security-module@vger.kernel.org
>>> <mailto:linux-security-module@vger.kernel.org>>,
>>> <tpmdd-devel@lists.sourceforge.net
>>> <mailto:tpmdd-devel@lists.sourceforge.net>>
>>> Cc:
>>>
>>>      You do not need to send a new patch set version as long as this
>>>      one gets peer tested. And it needs to be tested without hacks
>>>      like plumbing TCPA with TPM 2.0 in QEMU. OF code paths needs to
>>>      be peer tested to be more specific.
>>>
>>>      For me the code itself looks good but I simply cannot take it in
>>>      in the current situation.
>>>
>>>      /Jarkko
>>>
>>>
>>> Tested-by: Kenneth Goldman <kgold@linux.vnet.ibm.com
>>> <mailto:kgold@linux.vnet.ibm.com>>
>>>
>>> I validated a firmware event log taken from a Power 8 against PCR 0-7
>>> values for the SHA-1 and SHA-256 banks from a Nuvoton TPM 2.0 chip on
>>> that same platform.
>>>
>>
>> Thank You Ken.
>>
>> Jarkko, I hope now these patches can be accepted for 4.11.
>>
>> Thanks & Regards,
>>     - Nayna
>
> I already sent my pull request to 4.11 and even today I found something
> fishy. You declared a function local array by using a variable in "tpm:
> enhance TPM 2.0 PCR extend to support multiple banks" (max_active_banks
> or something). And the event log patches have just passed the review.

Yes. I have checked using clang and it has passed the clang.. and I also 
verified there were no complains during build.

What type of problem do you see ?

Also, to understand, this is related to multi-bank patchset. I mean how 
does it affect for event log patchset ?

Thanks & Regards,
    - Nayna

>
> I've applied them to my tree but I'll only include bug fixes for 4.11
> pull requests. You'll have to wait till' 4.12.
>
> /Jarkko
>

  parent reply	other threads:[~2017-01-31 18:44 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 21:22 [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log Ken Goldman
2017-01-25 23:06 ` Jarkko Sakkinen
     [not found] ` <CALAzByG474T_qSJ0Kry1LiNSsCQAHUagqcqtR_CnpporicZrdg@mail.gmail.com>
     [not found]   ` <CALAzByG474T_qSJ0Kry1LiNSsCQAHUagqcqtR_CnpporicZrdg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-30  9:38     ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Nayna
2017-01-30  9:38       ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Nayna
2017-01-30 21:49       ` Jarkko Sakkinen
     [not found]       ` <588F09A2.4090502-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-31 17:46         ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Jarkko Sakkinen
2017-01-31 17:46           ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Jarkko Sakkinen
     [not found]           ` <20170131174659.b6njebycqzd5ur6f-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-31 18:44             ` Nayna [this message]
2017-01-31 18:44               ` Nayna
2017-01-31 20:50               ` Jarkko Sakkinen
     [not found]                 ` <20170131205006.fljtxsy4s6lyhkvv-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-02-01  7:31                   ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Nayna
2017-02-01  7:31                     ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Nayna
2017-02-01 18:27                     ` Jarkko Sakkinen
2017-02-01 14:48                 ` Jarkko Sakkinen
     [not found]                   ` <20170201144837.aenzg5cauzl2ofbt-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-02-01 14:54                     ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Jarkko Sakkinen
2017-02-01 14:54                       ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Jarkko Sakkinen
2017-02-01 19:25                       ` Nayna
     [not found]                         ` <58923635.8060004-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-02-01 19:50                           ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Jarkko Sakkinen
2017-02-01 19:50                             ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Jarkko Sakkinen
2017-01-31 20:34             ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Jarkko Sakkinen
2017-01-31 20:34               ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Jarkko Sakkinen
2017-01-31 21:46               ` James Morris
2017-01-31 22:31                 ` Jarkko Sakkinen
     [not found]                 ` <alpine.LRH.2.20.1702010842220.28891-gx6/JNMH7DfYtjvyW6yDsg@public.gmane.org>
2017-01-31 22:31                   ` Fwd: Re: [PATCH v9 2/2] tpm: add securityfs support, for " Mimi Zohar
2017-01-31 22:31                     ` Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for " Mimi Zohar
2017-02-01 10:30                     ` Jarkko Sakkinen
2017-02-01 13:49                       ` Mimi Zohar
2017-02-01 18:23                         ` Jarkko Sakkinen
     [not found] ` <de409ad1-de39-20d2-bda6-5d2a965e7256-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-31 13:13   ` [PATCH v9 2/2] tpm: add securityfs support, for " Jarkko Sakkinen
2017-01-31 13:13     ` [tpmdd-devel] " Jarkko Sakkinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5890DAFC.9030407@linux.vnet.ibm.com \
    --to=nayna-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=kgoldman-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.