[PATCH 3/3] kbuild: add a flag to force absolute path for srctree

2019-07-05 Thread Masahiro Yamada
In old days, Kbuild always used an absolute path for $(srctree). Since commit 890676c65d69 ("kbuild: Use relative path when building in the source tree"), $(srctree) is '.' when not using O=. Yet, using absolute paths is useful in some cases even without O=, for instance, to create a cscope file

[PATCH] Documentation: cpu-freq: Convert core.txt file to ReST format

2019-07-05 Thread Shreeya Patel
Convert core file to ReST format, in order to allow it to be parsed by Sphinx. Make a minor change of correcting the wrong function name cpufreq_put_cpu to cpufreq_cpu_put. Also create an index.rst file in cpu-freq and add it's entry in the main Documentation/index.rst file. Signed-off-by: Shreeya

[PATCH v8 2/2] fTPM: add documentation for ftpm driver

2019-07-05 Thread Sasha Levin
This patch adds basic documentation to describe the new fTPM driver. Signed-off-by: Sasha Levin --- Documentation/security/tpm/index.rst| 1 + Documentation/security/tpm/tpm_ftpm_tee.rst | 27 + 2 files changed, 28 insertions(+) create mode 100644 Documentation/secu

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

2019-07-05 Thread Sasha Levin
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/ . As well as reference code for the firmware available here: https:

[PATCH v8 0/2] fTPM: firmware TPM running in TEE

2019-07-05 Thread Sasha Levin
Changes from v7: - Address Jarkko's comments. Sasha Levin (2): fTPM: firmware TPM running in TEE fTPM: add documentation for ftpm driver Documentation/security/tpm/index.rst| 1 + Documentation/security/tpm/tpm_ftpm_tee.rst | 27 ++ drivers/char/tpm/Kconfig|

[PATCH] Documentation: coresight: covert txt to rst

2019-07-05 Thread Phong Tran
change the format file and adpate the text style Signed-off-by: Phong Tran --- .../trace/{coresight.txt => coresight.rst} | 296 - Documentation/trace/index.rst | 1 + 2 files changed, 167 insertions(+), 130 deletions(-) rename Documentation/tr

Re: [Linux-kernel-mentees] [PATCH] Doc : fs : move xfs.txt to admin-guide

2019-07-05 Thread Sheriff Esseson
On Fri, Jul 05, 2019 at 12:04:12PM -0700, Matthew Wilcox wrote: > On Fri, Jul 05, 2019 at 02:14:46PM +0100, Sheriff Esseson wrote: > > As suggested by Matthew Wilcox, xfs.txt is primarily a guide on available > > options when setting up an XFS. This makes it appropriate to be placed under > > the a

Re: [Linux-kernel-mentees] [PATCH] Doc : fs : move xfs.txt to admin-guide

2019-07-05 Thread Matthew Wilcox
On Fri, Jul 05, 2019 at 02:14:46PM +0100, Sheriff Esseson wrote: > As suggested by Matthew Wilcox, xfs.txt is primarily a guide on available > options when setting up an XFS. This makes it appropriate to be placed under > the admin-guide tree. > > Thus, move xfs.txt to admin-guide and fix broken r

[PATCH] Documentation: dev-tools: Fixed an outdated directory path in gcov.rst

2019-07-05 Thread Jeffrin Jose T
Fixed an outdated directory path inside gcov related documentation which is part of an example that shows the way in which the gcov command should be used in that context Signed-off-by: Jeffrin Jose T --- Documentation/dev-tools/gcov.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH] Documentation: usb: convert usb-help to rst

2019-07-05 Thread Phong Tran
Add new index.rst and change usb-help.txt format to rst. Signed-off-by: Phong Tran --- Documentation/index.rst | 1 + Documentation/usb/index.rst | 22 ++ Documentation/usb/{usb-help.txt => usb-help.rst} | 1 - 3 files changed,

[PATCH] docs/pinctrl: fix compile errors in example code

2019-07-05 Thread Luca Ceresoli
The code in the example does not build for a few trivial errors: type mismatch in callback, missing semicolon. Fix them to help newcomers using the example as a starting point. Signed-off-by: Luca Ceresoli --- Documentation/driver-api/pinctl.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[Linux-kernel-mentees] [PATCH] Doc : fs : move xfs.txt to admin-guide

2019-07-05 Thread Sheriff Esseson
As suggested by Matthew Wilcox, xfs.txt is primarily a guide on available options when setting up an XFS. This makes it appropriate to be placed under the admin-guide tree. Thus, move xfs.txt to admin-guide and fix broken references. Signed-off-by: Sheriff Esseson --- The reference to xfs.txt f

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

2019-07-05 Thread Vasily Gorbik
On Wed, Jul 03, 2019 at 12:19:46PM +0200, Steffen Maier wrote: > 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.kerne

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

2019-07-05 Thread Vasily Gorbik
On Wed, Jul 03, 2019 at 12:19:48PM +0200, Steffen Maier wrote: > 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

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

2019-07-05 Thread Christian Borntraeger
On 03.07.19 12:19, Steffen Maier wrote: > Signed-off-by: Steffen Maier Acked-by: Christian Borntraeger > --- > Documentation/s390/s390dbf.rst | 122 > +++-- > 1 file changed, 68 insertions(+), 54 deletions(-) > > diff --git a/Documentation/s390/s390dbf.rst

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

2019-07-05 Thread Christian Borntraeger
On 03.07.19 12:19, Steffen Maier wrote: > 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

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

2019-07-05 Thread Christian Borntraeger
On 03.07.19 12:19, Steffen Maier wrote: > 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. >

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

2019-07-05 Thread Jarkko Sakkinen
On Wed, 2019-07-03 at 10:08 -0700, Jordan Hand wrote: > > +This introduces another problem: nothing guarantees that it is not > > +called before the stub gets to run. Thus, it needs to copy the final > > +events table preboot size to the custom configuration table so that > > +kernel offset it late

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

2019-07-05 Thread Jarkko Sakkinen
On Wed, 2019-07-03 at 09:45 -0700, Randy Dunlap wrote: > > +This introduces another problem: nothing guarantees that it is not > > +called before the stub gets to run. Thus, it needs to copy the final > > +events table preboot size to the custom configuration table so that > > +kernel offset it lat

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

2019-07-05 Thread Jarkko Sakkinen
> +| Authors: > +| Stefan Berger I was looking how the rst formatting went from Stefan's document. This one is authored by me. /Jarkko

Re: [PATCH 41/43] docs: extcon: convert it to ReST and move to acpi dir

2019-07-05 Thread Rafael J. Wysocki
On Friday, June 28, 2019 2:20:37 PM CEST Mauro Carvalho Chehab wrote: > The intel-int3496.txt file is a documentation for an ACPI driver. > > There's no reason to keep it on a separate directory. > > So, instead of keeping it on some random location, move it > to a sub-directory inside the ACPI d

[PATCH v2 2/2] drivers/perf: Add CCPI2 PMU support in ThunderX2 UNCORE driver.

2019-07-05 Thread Ganapatrao Kulkarni
CCPI2 is a low-latency high-bandwidth serial interface for connecting ThunderX2 processors. This patch adds support to capture CCPI2 perf events. Signed-off-by: Ganapatrao Kulkarni --- drivers/perf/thunderx2_pmu.c | 248 ++- 1 file changed, 214 insertions(+), 34 d

[PATCH v2 1/2] Documentation: perf: Update documentation for ThunderX2 PMU uncore driver

2019-07-05 Thread Ganapatrao Kulkarni
Add documentation for Cavium Coherent Processor Interconnect (CCPI2) PMU. Signed-off-by: Ganapatrao Kulkarni --- Documentation/perf/thunderx2-pmu.txt | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Documentation/perf/thunderx2-pmu.txt b/Documentation/pe

[PATCH v2 0/2] Add CCPI2 PMU support

2019-07-05 Thread Ganapatrao Kulkarni
Add Cavium Coherent Processor Interconnect (CCPI2) PMU support in ThunderX2 Uncore driver. v2: Updated with review comments [1] [1] https://lkml.org/lkml/2019/6/14/965 v1: initial patch Ganapatrao Kulkarni (2): Documentation: perf: Update documentation for ThunderX2 PMU uncore driver dr