RE: [PATCH v3 0/2] ftpm: a firmware based TPM driver

2019-05-15 Thread Thirupathaiah Annapureddy
> -Original Message- > From: Sumit Garg > Sent: Tuesday, May 14, 2019 7:02 PM > To: Sasha Levin > Cc: Jarkko Sakkinen ; peterhu...@gmx.de; > j...@ziepe.ca; cor...@lwn.net; Linux Kernel Mailing List ker...@vger.kernel.org>; linux-doc@vger.kernel.org; linux- > integr...@vger.kernel.org;

[PATCH v4 0/2] kheaders fixes for -rc

2019-05-15 Thread Joel Fernandes (Google)
Linus, Greg, Masahiro, Here are some simple fixes for the kheaders feature. Please consider these patches for an rc release. They are based on Linus's master branch. The only difference between the last series [1] and this one is I squashed 1/3 and 3/3 and rebased. Thanks! [1] https://patchwork.k

[PATCH v4 2/2] kheaders: Do not regenerate archive if config is not changed

2019-05-15 Thread Joel Fernandes (Google)
Linus reported an issue that doing an allmodconfig was causing the kheaders archive to be regenerated even though the config is the same. This patch fixes the issue by ignoring the config-related header files for "knowing when to regenerate based on timestamps". Instead, if the CONFIG_X_Y option r

[PATCH v4 1/2] kheaders: Move from proc to sysfs

2019-05-15 Thread Joel Fernandes (Google)
The kheaders archive consisting of the kernel headers used for compiling bpf programs is in /proc. However there is concern that moving it here will make it permanent. Let us move it to /sys/kernel as discussed [1]. [1] https://lore.kernel.org/patchwork/patch/1067310/#1265969 Suggested-by: Steven

[TRIVIA] Re: [PATCH] docs: Move kref.txt to core-api/kref.rst

2019-05-15 Thread Jonathan Corbet
On Fri, 10 May 2019 16:45:45 -0400 "Tobin C. Harding" wrote: > I read once that they used 72 characters on punch cards at times because > the other 8 characters got mangled for some reason. Those of use who worked in Fortran understand these things... columns 73-80 were ignored by the compiler.

Re: [PATCH v3 15/18] Documentation: kunit: add documentation for KUnit

2019-05-15 Thread Jonathan Corbet
On Tue, 14 May 2019 16:19:02 -0700 Brendan Higgins wrote: > Hmmm...probably premature to bring this up, but Documentation/dev-tools/ > is kind of thrown together. Wait a minute, man... *I* created that directory, are you impugning my work? :) But yes, "kind of thrown together" is a good descrip

Re: [PATCH v3 2/2] ftpm: add documentation for ftpm driver

2019-05-15 Thread Jarkko Sakkinen
On Mon, Apr 15, 2019 at 11:56:36AM -0400, Sasha Levin wrote: > This patch adds basic documentation to describe the new fTPM driver. > > Signed-off-by: Sasha Levin > Signed-off-by: Sasha Levin (Microsoft) > --- > Documentation/security/tpm/index.rst| 1 + > Documentation/security/tpm/tp

Re: [PATCH v3 1/2] ftpm: firmware TPM running in TEE

2019-05-15 Thread Jarkko Sakkinen
On Mon, Apr 15, 2019 at 11:56:35AM -0400, Sasha Levin wrote: > This patch adds support for a software-only implementation of a TPM > running in TEE. > > There is extensive documentation of the design here: > https://www.microsoft.com/en-us/research/publication/ftpm-software-implementation-tpm-chip

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-15 Thread Daniel Vetter
On Tue, May 14, 2019 at 11:36:18AM -0700, Brendan Higgins wrote: > On Tue, May 14, 2019 at 02:05:05PM +0200, Daniel Vetter wrote: > > On Tue, May 14, 2019 at 8:04 AM Brendan Higgins > > wrote: > > > > > > On Mon, May 13, 2019 at 04:44:51PM +0200, Daniel Vetter wrote: > > > > On Sat, May 11, 2019 a