Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Ilias Apalodimas
Hi Thirupathaiah, (+Joakim) On Wed, 3 Jul 2019 at 09:58, Ilias Apalodimas wrote: > > Hi Thirupathaiah, > > > > First of all, Thanks a lot for trying to test the driver. > > > np > > [...] > > > I managed to do some quick testing in QEMU. > > > Everything works fine when i build this as a module

Re: [PATCH 39/39] docs: gpio: add sysfs interface to the admin-guide

2019-07-03 Thread Linus Walleij
On Fri, Jun 28, 2019 at 2:30 PM Mauro Carvalho Chehab wrote: > While this is stated as obsoleted, the sysfs interface described > there is still valid, and belongs to the admin-guide. > > Signed-off-by: Mauro Carvalho Chehab This doesn't apply to my tree because of dependencies in the index so

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Sumit Garg
On Wed, 3 Jul 2019 at 13:42, Ilias Apalodimas wrote: > > Hi Thirupathaiah, > > (+Joakim) > > On Wed, 3 Jul 2019 at 09:58, Ilias Apalodimas > wrote: > > > > Hi Thirupathaiah, > > > > > > First of all, Thanks a lot for trying to test the driver. > > > > > np > > > > [...] > > > > I managed to do so

[PATCH 3/3] docs: s390: s390dbf: typos and formatting, update crash command

2019-07-03 Thread Steffen Maier
Signed-off-by: Steffen Maier --- Documentation/s390/s390dbf.rst | 122 +++-- 1 file changed, 68 insertions(+), 54 deletions(-) diff --git a/Documentation/s390/s390dbf.rst b/Documentation/s390/s390dbf.rst index be42892b159e..cdb36842b898 100644 --- a/Documentat

[PATCH 0/3] docs: s390: restore content and update s390dbf.rst

2019-07-03 Thread Steffen Maier
This is based on top of the 3 s390 patches Heiko already queued on our s390 features branch. [("Re: [PATCH v3 00/33] Convert files to ReST - part 1") https://www.spinics.net/lists/linux-doc/msg66137.html https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/log/Documentation/s390?h=feat

[PATCH 2/3] docs: s390: unify and update s390dbf kdocs at debug.c

2019-07-03 Thread Steffen Maier
For non-static-inlines, debug.c already had non-compliant function header docs. So move the pure prototype kdocs of ("s390: include/asm/debug.h add kerneldoc markups") from debug.h to debug.c and merge them with the old function docs. Also, I had the impression that kdoc typically is at the impleme

[PATCH 1/3] docs: s390: restore important non-kdoc parts of s390dbf.rst

2019-07-03 Thread Steffen Maier
Complements previous ("s390: include/asm/debug.h add kerneldoc markups") which seemed to have dropped important non-kdoc parts such as user space interface (level, size, flush) as well as views and caution regarding strings in the sprintf view. Signed-off-by: Steffen Maier --- Documentation/s390

Re: [UPDATE][PATCH 10/10] tools/power/x86: A tool to validate Intel Speed Select commands

2019-07-03 Thread Rafael J. Wysocki
On Sunday, June 30, 2019 7:14:08 PM CEST Srinivas Pandruvada wrote: > The Intel(R) Speed select technologies contains four features. > > Performance profile:An non architectural mechanism that allows multiple > optimized performance profiles per system via static and/or dynamic > adjustment of cor

Re: [PATCH] MAINTAINERS: Update for Intel Speed Select Technology

2019-07-03 Thread Rafael J. Wysocki
On Wednesday, July 3, 2019 3:53:31 AM CEST Srinivas Pandruvada wrote: > Added myself as the maintainer. > > Signed-off-by: Srinivas Pandruvada Acked-by: Rafael J. Wysocki > --- > MAINTAINERS | 8 > 1 file changed, 8 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 5c

Re: [PATCH] MAINTAINERS: Update for Intel Speed Select Technology

2019-07-03 Thread Andy Shevchenko
On Wed, Jul 3, 2019 at 2:59 PM Rafael J. Wysocki wrote: > > On Wednesday, July 3, 2019 3:53:31 AM CEST Srinivas Pandruvada wrote: > > Added myself as the maintainer. > > > > Signed-off-by: Srinivas Pandruvada > > Acked-by: Rafael J. Wysocki > Pushed along with the driver, thanks! > > --- > >

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Waiman Long
On 7/3/19 2:56 AM, Michal Hocko wrote: > On Tue 02-07-19 14:37:30, Waiman Long wrote: >> Currently, a value of '1" is written to /sys/kernel/slab//shrink >> file to shrink the slab by flushing all the per-cpu slabs and free >> slabs in partial lists. This applies only to the root caches, though. >>

Re: [PATCH 10/10] tools/power/x86: A tool to validate Intel Speed Select commands

2019-07-03 Thread Len Brown
> I hope this is applicable for v2. Yes, Srinivas is doing the right thing. thanks, -Len > > Acked-by: Len Brown

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Joakim Bech
On Wed, Jul 03, 2019 at 03:33:14PM +0530, Sumit Garg wrote: > On Wed, 3 Jul 2019 at 13:42, Ilias Apalodimas > wrote: > > > > Hi Thirupathaiah, > > > > (+Joakim) > > > > On Wed, 3 Jul 2019 at 09:58, Ilias Apalodimas > > wrote: > > > > > > Hi Thirupathaiah, > > > > > > > > First of all, Thanks a lo

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Michal Hocko
On Wed 03-07-19 09:12:13, Waiman Long wrote: > On 7/3/19 2:56 AM, Michal Hocko wrote: > > On Tue 02-07-19 14:37:30, Waiman Long wrote: > >> Currently, a value of '1" is written to /sys/kernel/slab//shrink > >> file to shrink the slab by flushing all the per-cpu slabs and free > >> slabs in partial

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Waiman Long
On 7/3/19 10:37 AM, Michal Hocko wrote: > On Wed 03-07-19 09:12:13, Waiman Long wrote: >> On 7/3/19 2:56 AM, Michal Hocko wrote: >>> On Tue 02-07-19 14:37:30, Waiman Long wrote: Currently, a value of '1" is written to /sys/kernel/slab//shrink file to shrink the slab by flushing all the pe

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Waiman Long
On 7/2/19 5:33 PM, Andrew Morton wrote: > On Tue, 2 Jul 2019 16:44:24 -0400 Waiman Long wrote: > >> On 7/2/19 4:03 PM, Andrew Morton wrote: >>> On Tue, 2 Jul 2019 14:37:30 -0400 Waiman Long wrote: >>> Currently, a value of '1" is written to /sys/kernel/slab//shrink file to shrink the s

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Michal Hocko
On Wed 03-07-19 11:21:16, Waiman Long wrote: > On 7/2/19 5:33 PM, Andrew Morton wrote: > > On Tue, 2 Jul 2019 16:44:24 -0400 Waiman Long wrote: > > > >> On 7/2/19 4:03 PM, Andrew Morton wrote: > >>> On Tue, 2 Jul 2019 14:37:30 -0400 Waiman Long wrote: > >>> > Currently, a value of '1" is wr

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Christopher Lameter
On Wed, 3 Jul 2019, Waiman Long wrote: > On 7/3/19 2:56 AM, Michal Hocko wrote: > > On Tue 02-07-19 14:37:30, Waiman Long wrote: > >> Currently, a value of '1" is written to /sys/kernel/slab//shrink > >> file to shrink the slab by flushing all the per-cpu slabs and free > >> slabs in partial lists

[PATCH] tpm: Document UEFI event log quirks

2019-07-03 Thread Jarkko Sakkinen
There are some weird quirks when it comes to UEFI event log. Provide a brief introduction to TPM event log mechanism and describe the quirks and how they can be sorted out. Signed-off-by: Jarkko Sakkinen --- Documentation/security/tpm/tpm-eventlog.rst | 53 + 1 file changed,

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Waiman Long
On 7/3/19 12:10 PM, Christopher Lameter wrote: > On Wed, 3 Jul 2019, Waiman Long wrote: > >> On 7/3/19 2:56 AM, Michal Hocko wrote: >>> On Tue 02-07-19 14:37:30, Waiman Long wrote: Currently, a value of '1" is written to /sys/kernel/slab//shrink file to shrink the slab by flushing all the

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-03 Thread Waiman Long
On 7/3/19 11:53 AM, Michal Hocko wrote: > On Wed 03-07-19 11:21:16, Waiman Long wrote: >> On 7/2/19 5:33 PM, Andrew Morton wrote: >>> On Tue, 2 Jul 2019 16:44:24 -0400 Waiman Long wrote: >>> On 7/2/19 4:03 PM, Andrew Morton wrote: > On Tue, 2 Jul 2019 14:37:30 -0400 Waiman Long wrote: >

Re: [PATCH] tpm: Document UEFI event log quirks

2019-07-03 Thread Randy Dunlap
On 7/3/19 9:11 AM, Jarkko Sakkinen wrote: > There are some weird quirks when it comes to UEFI event log. Provide a > brief introduction to TPM event log mechanism and describe the quirks > and how they can be sorted out. > > Signed-off-by: Jarkko Sakkinen > --- > Documentation/security/tpm/tpm-e

Re: [PATCH] tpm: Document UEFI event log quirks

2019-07-03 Thread Jordan Hand
On 7/3/19 9:11 AM, Jarkko Sakkinen wrote: There are some weird quirks when it comes to UEFI event log. Provide a brief introduction to TPM event log mechanism and describe the quirks and how they can be sorted out. Signed-off-by: Jarkko Sakkinen --- Documentation/security/tpm/tpm-eventlog.rst

Re: [PATCH 04/15] fpga: dfl: fme: support 512bit data width PR

2019-07-03 Thread Greg KH
On Thu, Jun 27, 2019 at 05:49:40PM -0700, Moritz Fischer wrote: > From: Wu Hao > > In early partial reconfiguration private feature, it only > supports 32bit data width when writing data to hardware for > PR. 512bit data width PR support is an important optimization > for some specific solutions

Re: [PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-07-03 Thread Greg KH
On Thu, Jun 27, 2019 at 05:49:41PM -0700, Moritz Fischer wrote: > From: Wu Hao > > This patch adds virtualization support description for DFL based > FPGA devices (based on PCIe SRIOV), and introductions to new > interfaces added by new dfl private feature drivers. > > [m...@kernel.org: Fixed up

Re: [PATCH 01/43] docs: infiniband: convert docs to ReST and rename to *.rst

2019-07-03 Thread Jason Gunthorpe
On Fri, Jun 28, 2019 at 09:19:57AM -0300, Mauro Carvalho Chehab wrote: > The InfiniBand docs are plain text with no markups. > So, all we needed to do were to add the title markups and > some markup sequences in order to properly parse tables, > lists and literal blocks. > > At its new index.rst,

Re: [PATCH 35/39] docs: infiniband: add it to the driver-api bookset

2019-07-03 Thread Jason Gunthorpe
On Fri, Jun 28, 2019 at 09:30:28AM -0300, Mauro Carvalho Chehab wrote: > While this contains some uAPI stuff, it was intended to be > read by a kernel doc. So, let's not move it to a different > dir, but, instead, just add it to the driver-api bookset. > > Signed-off-by: Mauro Carvalho Chehab >

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-03 Thread Greg KH
On Thu, Jun 27, 2019 at 05:49:42PM -0700, Moritz Fischer wrote: > From: Wu Hao > > In order to support virtualization usage via PCIe SRIOV, this patch > adds two ioctls under FPGA Management Engine (FME) to release and > assign back the port device. In order to safely turn Port from PF > into VF

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-03 Thread Wu Hao
On Wed, Jul 03, 2019 at 08:07:53PM +0200, Greg KH wrote: > On Thu, Jun 27, 2019 at 05:49:42PM -0700, Moritz Fischer wrote: > > From: Wu Hao > > > > In order to support virtualization usage via PCIe SRIOV, this patch > > adds two ioctls under FPGA Management Engine (FME) to release and > > assign

Re: [PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-07-03 Thread Wu Hao
On Wed, Jul 03, 2019 at 07:59:26PM +0200, Greg KH wrote: > On Thu, Jun 27, 2019 at 05:49:41PM -0700, Moritz Fischer wrote: > > From: Wu Hao > > > > This patch adds virtualization support description for DFL based > > FPGA devices (based on PCIe SRIOV), and introductions to new > > interfaces adde

Re: [PATCH 04/15] fpga: dfl: fme: support 512bit data width PR

2019-07-03 Thread Wu Hao
On Wed, Jul 03, 2019 at 07:56:01PM +0200, Greg KH wrote: > On Thu, Jun 27, 2019 at 05:49:40PM -0700, Moritz Fischer wrote: > > From: Wu Hao > > > > In early partial reconfiguration private feature, it only > > supports 32bit data width when writing data to hardware for > > PR. 512bit data width P

Re: [PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-07-03 Thread Greg KH
On Thu, Jul 04, 2019 at 07:38:22AM +0800, Wu Hao wrote: > On Wed, Jul 03, 2019 at 07:59:26PM +0200, Greg KH wrote: > > On Thu, Jun 27, 2019 at 05:49:41PM -0700, Moritz Fischer wrote: > > > From: Wu Hao > > > > > > This patch adds virtualization support description for DFL based > > > FPGA devices

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-03 Thread Greg KH
On Thu, Jul 04, 2019 at 07:30:58AM +0800, Wu Hao wrote: > On Wed, Jul 03, 2019 at 08:07:53PM +0200, Greg KH wrote: > > On Thu, Jun 27, 2019 at 05:49:42PM -0700, Moritz Fischer wrote: > > > From: Wu Hao > > > > > > In order to support virtualization usage via PCIe SRIOV, this patch > > > adds two

[PATCH] checkpatch: Added warnings in favor of strscpy().

2019-07-03 Thread Nitin Gote
Added warnings in checkpatch.pl script to : 1. Deprecate strcpy() in favor of strscpy(). 2. Deprecate strlcpy() in favor of strscpy(). 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). Updated strncpy() section in Documentation/process/deprecated.rst to cover strscpy_pad() case. Sig

RE: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Thirupathaiah Annapureddy
Hi Ilias, > -Original Message- > From: Ilias Apalodimas > Sent: Wednesday, July 3, 2019 1:12 AM > To: Thirupathaiah Annapureddy > Cc: Jarkko Sakkinen ; Sasha Levin > ; peterhu...@gmx.de; j...@ziepe.ca; cor...@lwn.net; linux- > ker...@vger.kernel.org; linux-doc@vger.kernel.org; linux- > i

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-03 Thread Wu Hao
On Thu, Jul 04, 2019 at 07:39:27AM +0200, Greg KH wrote: > On Thu, Jul 04, 2019 at 07:30:58AM +0800, Wu Hao wrote: > > On Wed, Jul 03, 2019 at 08:07:53PM +0200, Greg KH wrote: > > > On Thu, Jun 27, 2019 at 05:49:42PM -0700, Moritz Fischer wrote: > > > > From: Wu Hao > > > > > > > > In order to su

Re: [PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-07-03 Thread Wu Hao
On Thu, Jul 04, 2019 at 07:37:19AM +0200, Greg KH wrote: > On Thu, Jul 04, 2019 at 07:38:22AM +0800, Wu Hao wrote: > > On Wed, Jul 03, 2019 at 07:59:26PM +0200, Greg KH wrote: > > > On Thu, Jun 27, 2019 at 05:49:41PM -0700, Moritz Fischer wrote: > > > > From: Wu Hao > > > > > > > > This patch add