Re: [PATCH] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-03 Thread Jani Nikula
On Wed, 02 Nov 2016, Jarkko Sakkinen wrote: > Transitioned the tpm_vtpm_proxy documentation to the Sphinx > infrastructure and removed parts from the documentation that are easier > to pull from the sources. Restructured vtpm_proxy.h and tpm_vtpm_proxy.c > to be compatible with this approach and w

Re: Proposing help for documentation

2016-11-03 Thread Jani Nikula
On Wed, 02 Nov 2016, Markus Heiser wrote: > Am 02.11.2016 um 11:41 schrieb Jani Nikula : > >> On Wed, 02 Nov 2016, Luis de Bethencourt wrote: >>> I also offer my help, let me know if you see anything I can do. >> >> Luis, Patrice, anyone else out there willing to help: here's a list of >> stuff

Re: [PATCH 1/3] Documentation/sphinx: let the user specify PDFLATEX and LATEXOPTS

2016-11-03 Thread Jani Nikula
On Wed, 02 Nov 2016, Markus Heiser wrote: > Am 02.11.2016 um 10:40 schrieb Jani Nikula : > >> Refer to xelatex and latex options via variables. This allows the user >> to override the pdflatex and latex options to use on the make command >> line for experimenting. As a side effect, this makes the

[PATCH] Documentation/sphinx: set literal block highlight language to none

2016-11-03 Thread Jani Nikula
Set the default highlight language to "none", i.e. do not try to guess the language and do automatic syntax highlighting on literal blocks. Eyeballing around the generated documentation, we don't seem to actually have a lot of literal blocks that would benefit from syntax highlighting. The C code

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-03 Thread Jani Nikula
On Wed, 02 Nov 2016, Markus Heiser wrote: > Am 02.11.2016 um 17:47 schrieb Mauro Carvalho Chehab : >> I'm staring to think that we should just redefine the default for :: >> to be "none", and use the "C" handling **only** when explicitly >> requested. >> >> I remember that Jon did such suggestion

[PATCH 2/3] Documentation/dev-tools: use code-block with proper language

2016-11-03 Thread Jani Nikula
Now that we don't have automatic syntax highlighting, use the code-block directive with the explicitly selected language, where appropriate. Signed-off-by: Jani Nikula --- Documentation/dev-tools/gcov.rst | 8 ++-- Documentation/dev-tools/kcov.rst | 4 +++- 2 files changed, 9 insertions(+),

[PATCH 1/3] Documentation/admin-guide: use code-block with proper language

2016-11-03 Thread Jani Nikula
Now that we don't have automatic syntax highlighting, use the code-block directive with the explicitly selected language, where appropriate. Signed-off-by: Jani Nikula --- Documentation/admin-guide/java.rst| 52 +++ Documentation/admin-guide/mono.rst| 4 +

[PATCH 3/3] Documentation/gpu: use code-block with proper language

2016-11-03 Thread Jani Nikula
Now that we don't have automatic syntax highlighting, use the code-block directive with the explicitly selected language, where appropriate. Signed-off-by: Jani Nikula --- Documentation/gpu/drm-kms.rst | 2 +- Documentation/gpu/drm-mm.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-03 Thread Jani Nikula
These two (on top of Mauro's patches and my patch to include the admin-guide in the pdfdocs build) fix the pdf build for me. Apparently having the lng literal blocks in separate files changes sphinx processing in a way favorable to the latex output. I'm not overly excited about this, but I thi

Re: [PATCH RFC 0/4] Fix PDF build errors

2016-11-03 Thread Jani Nikula
On Thu, 03 Nov 2016, Jani Nikula wrote: > These two (on top of Mauro's patches and my patch to include the > admin-guide in the pdfdocs build) fix the pdf build for me. Apparently > having the lng literal blocks in separate files changes sphinx > processing in a way favorable to the latex outp

[PULL] sphinx fixes for docs-next

2016-11-03 Thread Jani Nikula
Hi Jon, I shoved all of my recent documentation fixes into a branch to hopefully make it easier for you to track them, whether you pull this in directly or not. I added Reviewed-by/Tested-by tags from the list; the last ones haven't received any review yet. It's not all about pdf, but with these

Re: [tpmdd-devel] [PATCH] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-03 Thread Jarkko Sakkinen
Thanks for the comments. I'll revise this. /Jarkko On Wed, Nov 02, 2016 at 03:26:00PM -0700, Stefan Berger wrote: >Jarkko Sakkinen wrote on 11/02/2016 >12:01:56 PM: > >> >> Transitioned the tpm_vtpm_proxy documentation to the Sphinx >> infrastructure and removed parts from t

Re: [PATCH] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-03 Thread Jarkko Sakkinen
On Thu, Nov 03, 2016 at 10:21:36AM +0200, Jani Nikula wrote: > On Wed, 02 Nov 2016, Jarkko Sakkinen wrote: > > Transitioned the tpm_vtpm_proxy documentation to the Sphinx > > infrastructure and removed parts from the documentation that are easier > > to pull from the sources. Restructured vtpm_pro

Re: [PATCH] Documentation/sphinx: set literal block highlight language to none

2016-11-03 Thread Jonathan Corbet
On Thu, 3 Nov 2016 11:07:33 +0200 Jani Nikula wrote: > Set the default highlight language to "none", i.e. do not try to guess > the language and do automatic syntax highlighting on literal blocks. As you might guess, I'm totally in favor of this; I think it's the right choice. The kernel summi

Re: [PATCH] Documentation/sphinx: set literal block highlight language to none

2016-11-03 Thread Jani Nikula
On Thu, 03 Nov 2016, Jonathan Corbet wrote: > On Thu, 3 Nov 2016 11:07:33 +0200 > Jani Nikula wrote: > >> Set the default highlight language to "none", i.e. do not try to guess >> the language and do automatic syntax highlighting on literal blocks. > > As you might guess, I'm totally in favor of

Re: [RESEND PATCH v1 05/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 01:42:01AM -0400, Anurup M wrote: > 1) Device tree bindings for Hisilicon SoC PMU. > 2) Add example for Hisilicon L3 cache, MN and DDRC PMU. Get rid of this weird indentation in all patches. > > Signed-off-by: Anurup M > Signed-off-by: Shaokun Zhang > --- >

[PATCH] proc: Report no_new_privs state

2016-11-03 Thread Kees Cook
Similar to being able to examine if a process has been correctly confined with seccomp, the state of no_new_privs is equally interesting, so this adds it to /proc/$pid/status. Signed-off-by: Kees Cook --- Documentation/filesystems/proc.txt | 2 ++ fs/proc/array.c| 5 +++-- 2

Re: [PATCH] proc: Report no_new_privs state

2016-11-03 Thread Jann Horn
On Thu, Nov 03, 2016 at 02:40:41PM -0700, Kees Cook wrote: > Similar to being able to examine if a process has been correctly confined > with seccomp, the state of no_new_privs is equally interesting, so this > adds it to /proc/$pid/status. > > Signed-off-by: Kees Cook (Note: The proc.5 manpage

[PATCH 2/3] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-03 Thread Jarkko Sakkinen
Transitioned the tpm_vtpm_proxy documentation to the Sphinx infrastructure and removed parts from the documentation that are easier to pull from the sources. Restructured vtpm_proxy.h and tpm_vtpm_proxy.c to be compatible with this approach and wrote associated documentation comments. Signed-off-b

[PATCH 3/3] tpm: move documentation under Documentation/security

2016-11-03 Thread Jarkko Sakkinen
In order too make Documentation root directory cleaner move the tpm directory under Documentation/security. Signed-off-by: Jarkko Sakkinen --- Documentation/index.rst | 2 +- Documentation/security/index.rst| 7 +++ Documentation/{ => security}

Re: [RESEND PATCH v1 05/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2016-11-03 Thread Anurup M
On Thursday 03 November 2016 11:56 PM, Krzysztof Kozlowski wrote: On Thu, Nov 03, 2016 at 01:42:01AM -0400, Anurup M wrote: 1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache, MN and DDRC PMU. Get rid of this weird indentation in all patches.