Thread (28 messages) 28 messages, 7 authors, 2019-05-06

Re: [PATCH V5 2/4] tpm: Reserve the TPM final events table

From: Jarkko Sakkinen <hidden>
Date: 2019-05-03 06:12:16
Also in: linux-efi, linux-integrity, lkml

On Fri, May 03, 2019 at 08:02:18AM +0200, Ingo Molnar wrote:
* Matthew Garrett [off-list ref] wrote:
quoted
On Thu, May 2, 2019 at 12:15 AM Ard Biesheuvel
[off-list ref] wrote:
quoted
(+ Ingo)

On Tue, 30 Apr 2019 at 21:52, Matthew Garrett [off-list ref] wrote:
quoted
On Tue, Apr 30, 2019 at 6:07 AM Bartosz Szczepanek [off-list ref] wrote:
quoted
I may be a little late with this comment, but I've just tested these
patches on aarch64 platform (from the top of jjs/master) and got
kernel panic ("Unable to handle kernel read", full log at the end of
mail). I think there's problem with below call to
tpm2_calc_event_log_size(), where physical address of efi.tpm_log is
passed as (void *) and never remapped:
Yes, it looks like this is just broken. Can you try with the attached patch?
I'm a bit uncomfortable with EFI code that is obviously broken and
untested being queued for the next merge window in another tree.
The patchset was Cc:ed to linux-efi@. Is there anything else I should
have done to ensure you picked it up rather than Jarkko?
That's not the workflow rule the Linux kernel is using, if Cc:-ing a 
patchset was the only condition for upstream inclusion then we'd have a 
*LOT* of crap in the Linux kernel.

Just applying those EFI changes without even as much as an Acked-by from 
the EFI maintainers is a *totally* unacceptable workflow.

Please revert/rebase and re-try this on the proper submission channels.

Meanwhile the broken code is NAK-ed by me:

   Nacked-by: Ingo Molnar [off-list ref]
There must be some kind of misconception here. None of the changes have
been submitted so far. They are only in my master branch. They briefly
went to linux-next through my next branch but as soon as issues were
reported I wiped them off from there (which happened like 2-3 weeks
ago). They haven't been part off any of my PR's.

There is nothing to revert.

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help