Documentation/Makefile.sphinx improvements

2016-11-02 Thread Jani Nikula
A few tweaks to improve Makefile.sphinx. BR, Jani. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2/3] Documentation/sphinx: make it possible to build latexdocs without pdflatex

2016-11-02 Thread Jani Nikula
Building latexdocs doesn't actually require $(PDFLATEX). Move the checks for it to the pdfdocs target which does require it, and specifically outside of the target in order to not depend on latexdocs when we can't build pdfdocs anyway. Signed-off-by: Jani Nikula --- Documentation/Makefile.sphinx

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

2016-11-02 Thread 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 makefile a bit tidier. Signed-off-by: Jani Nikula --- Documentation/Makefile.sphinx | 9 ++---

[PATCH 3/3] Documentation/sphinx: remove superfluous trailing ; from quiet_cmd_sphinx

2016-11-02 Thread Jani Nikula
With the unnecessary ; removed, the terminal URL detection also works better. Signed-off-by: Jani Nikula --- Documentation/Makefile.sphinx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx index 4819638f7e21..4d3ff4b

Re: Proposing help for documentation

2016-11-02 Thread 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 to do, off the top of my head. I'm sure Jon will amend this. 0) Some basics first Subscribe to linux-doc

Re: [PATCH v2 00/19] Put the EDAC documentation at the Sphinx books

2016-11-02 Thread Borislav Petkov
On Sat, Oct 29, 2016 at 04:33:58PM -0200, Mauro Carvalho Chehab wrote: > > This patch series convert the Documentation/edac.txt book to ReST and > add an EDAC documentation to the driver-api book. > > The first 2 patches on this series are just cleanups to the headers, > removing two unused stuff

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

2016-11-02 Thread Jani Nikula
On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > This series address a series of errors during PDF generation from > media documentation. > > Please notice that patch 2 carries on a PDF conversion from a PNG > image, because Sphinx is not smart enough to do the convertion. > > This is a tempora

[PATCH 4/3] Documentation/sphinx: change pdflatex interaction mode to batchmode

2016-11-02 Thread Jani Nikula
Radically reduce the noise on stdout. The full build logs will still be available under Documentatio/output/latex/*.log. Cc: Mauro Carvalho Chehab Signed-off-by: Jani Nikula --- Documentation/Makefile.sphinx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Makef

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

2016-11-02 Thread Mauro Carvalho Chehab
Hi Jani, Em Wed, 2 Nov 2016 11:40:11 +0200 Jani Nikula escreveu: > 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 makefile a bit > tidier.

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

2016-11-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Nov 2016 13:14:47 +0200 Jani Nikula escreveu: > On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > > This series address a series of errors during PDF generation from > > media documentation. > > > > Please notice that patch 2 carries on a PDF conversion from a PNG > > image, because

[hverkuil-media:cec 9/11] htmldocs: Documentation Makefile scripts source No rule to make target 'include/linux/cec.h', needed by 'Documentation/output/cec.h.rst'.

2016-11-02 Thread kbuild test robot
tree: git://linuxtv.org/hverkuil/media_tree.git cec head: b0a453e5585d000bdeee4242f9c43b99ab1835d6 commit: 3f626673dfff318f1aea1e443f5151b9616484c8 [9/11] cec: move the CEC framework out of staging and to media reproduce: make htmldocs All errors (new ones prefixed by >>): warning: jobser

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

2016-11-02 Thread Jani Nikula
On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > Em Wed, 02 Nov 2016 13:14:47 +0200 > Jani Nikula escreveu: > >> On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: >> > This series address a series of errors during PDF generation from >> > media documentation. >> > >> > Please notice that patc

Re: make pdfdocs fails with v4.9-rc3

2016-11-02 Thread Markus Heiser
Am 01.11.2016 um 23:11 schrieb Jim Davis : > On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab > wrote: >> Em Mon, 31 Oct 2016 16:40:02 -0600 >> Mauro Carvalho Chehab escreveu: >> >>> Em Mon, 31 Oct 2016 15:04:42 -0700 >>> Jim Davis escreveu: > > I've no idea where's it's going astray,

Re: [PATCH 5/3] Documentation/sphinx: fix make SPHINXDIRS="dirs" pdfdocs for more than one dir

2016-11-02 Thread Markus Heiser
Am 02.11.2016 um 15:45 schrieb Jani Nikula : > From: Markus Heiser > > Add missing semicolon to fix pdf build with more than one SPHINXDIRS > directory specified. For example make SPHINXDIRS="gpu media" pdfdocs. > > Fixes: cd21379b1698 ("doc-rst: generic way to build PDF of sub-folders") > Sig

[PATCH 5/3] Documentation/sphinx: fix make SPHINXDIRS="dirs" pdfdocs for more than one dir

2016-11-02 Thread Jani Nikula
From: Markus Heiser Add missing semicolon to fix pdf build with more than one SPHINXDIRS directory specified. For example make SPHINXDIRS="gpu media" pdfdocs. Fixes: cd21379b1698 ("doc-rst: generic way to build PDF of sub-folders") Signed-off-by: Markus Heiser Signed-off-by: Jani Nikula ---

Re: [PATCH RFC 1/4] docs-rst: fix PDF build errors

2016-11-02 Thread Markus Heiser
Am 01.11.2016 um 23:44 schrieb Mauro Carvalho Chehab : > PDF build on Kernel 4.9-rc? returns an error. This is > because we're re-defining a command too late. Move > such redefinition to LaTeX preamble. > > Tested by building the documentation on interactive mode: > make PDFLATEX=xelatex -

Re: [PATCH RFC 1/4] docs-rst: fix PDF build errors

2016-11-02 Thread Markus Heiser
Am 01.11.2016 um 23:44 schrieb Mauro Carvalho Chehab : > PDF build on Kernel 4.9-rc? returns an error. This is > because we're re-defining a command too late. Move > such redefinition to LaTeX preamble. > > Tested by building the documentation on interactive mode: > make PDFLATEX=xelatex -

Re: Proposing help for documentation

2016-11-02 Thread Luis de Bethencourt
On 02/11/16 10:41, Jani Nikula wrote: > 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 to do, off the top of my head. I'm sure Jon will amend this

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

2016-11-02 Thread Markus Heiser
Am 02.11.2016 um 12:14 schrieb Jani Nikula : > On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: >> This series address a series of errors during PDF generation from >> media documentation. >> >> Please notice that patch 2 carries on a PDF conversion from a PNG >> image, because Sphinx is not s

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

2016-11-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Nov 2016 15:27:50 +0200 Jani Nikula escreveu: > On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > > Em Wed, 02 Nov 2016 13:14:47 +0200 > > Jani Nikula escreveu: > > > >> On Wed, 02 Nov 2016, Mauro Carvalho Chehab > >> wrote: > >> > This series address a series of errors durin

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

2016-11-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Nov 2016 17:08:08 +0100 Markus Heiser escreveu: > Am 02.11.2016 um 12:14 schrieb Jani Nikula : > > > On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > > > >> This series address a series of errors during PDF generation from > >> media documentation. > >> > >> Please notice that

Re: Proposing help for documentation

2016-11-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Nov 2016 16:05:13 + Luis de Bethencourt escreveu: > On 02/11/16 10:41, Jani Nikula wrote: > > 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: her

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

2016-11-02 Thread Markus Heiser
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 makefile a bit > tidier. > > Signed-off-by: Jan

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

2016-11-02 Thread Markus Heiser
Am 02.11.2016 um 17:47 schrieb Mauro Carvalho Chehab : > Em Wed, 2 Nov 2016 17:08:08 +0100 > Markus Heiser escreveu: > >> Am 02.11.2016 um 12:14 schrieb Jani Nikula : >> >>> On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: >>> This series address a series of errors during PDF generat

Re: [PATCH 4/3] Documentation/sphinx: change pdflatex interaction mode to batchmode

2016-11-02 Thread Markus Heiser
Am 02.11.2016 um 12:41 schrieb Jani Nikula : > Radically reduce the noise on stdout. The full build logs will still be > available under Documentatio/output/latex/*.log. Tested-by: Markus Heiser Thanks! -- Markus -- -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in th

Re: [PATCH 2/3] Documentation/sphinx: make it possible to build latexdocs without pdflatex

2016-11-02 Thread Markus Heiser
Am 02.11.2016 um 10:40 schrieb Jani Nikula : > Building latexdocs doesn't actually require $(PDFLATEX). Move the checks > for it to the pdfdocs target which does require it, and specifically > outside of the target in order to not depend on latexdocs when we can't > build pdfdocs anyway. Tested-

Re: Proposing help for documentation

2016-11-02 Thread Markus Heiser
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 to do, off the top of my head. I'm sure Jon will a

Re: Proposing help for documentation

2016-11-02 Thread Luis de Bethencourt
On 02/11/16 17:01, Mauro Carvalho Chehab wrote: > Em Wed, 02 Nov 2016 16:05:13 + > Luis de Bethencourt escreveu: > >> On 02/11/16 10:41, Jani Nikula wrote: >>> On Wed, 02 Nov 2016, Luis de Bethencourt wrote: I also offer my help, let me know if you see anything I can do. >>> >>> Lui

[PATCH 1/2] Documentation/HOWTO: Use a more recent gcc + binutils

2016-11-02 Thread Sebastian Andrzej Siewior
Debian Woody is pre-gcc3.2 and Sarge ships 3.3 gcc. I tried to compile v4.8.6 on Sarge failed due to binutils: |arch/x86/entry/entry_32.S: Assembler messages: |arch/x86/entry/entry_32.S:379: Error: invalid character '"' in operand 1 |arch/x86/entry/entry_32.S:454: Error: too many positional argumen

[PATCH] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-02 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

Re: [PATCH 1/2] Documentation/HOWTO: Use a more recent gcc + binutils

2016-11-02 Thread Sven Joachim
On 2016-11-02 18:20 +0100, Sebastian Andrzej Siewior wrote: > Debian Woody is pre-gcc3.2 and Sarge ships 3.3 gcc. I tried to compile > v4.8.6 on Sarge failed due to binutils: > |arch/x86/entry/entry_32.S: Assembler messages: > |arch/x86/entry/entry_32.S:379: Error: invalid character '"' in operand

Re: [PATCH 1/2] Documentation/HOWTO: Use a more recent gcc + binutils

2016-11-02 Thread Borislav Petkov
On Wed, Nov 02, 2016 at 06:20:57PM +0100, Sebastian Andrzej Siewior wrote: > Etch (with gcc v4.1.2) gets to compile the kernel without plenty of > warnings and it also chokes on Wno-override-init but that one could be > easily fixed if we want to keep v4.1 as the minimum. > So I think raising the b

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

2016-11-02 Thread Fengguang Wu
On Wed, Nov 02, 2016 at 03:27:50PM +0200, Jani Nikula wrote: On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: Em Wed, 02 Nov 2016 13:14:47 +0200 Jani Nikula escreveu: On Wed, 02 Nov 2016, Mauro Carvalho Chehab wrote: > This series address a series of errors during PDF generation from > med

[RESEND PATCH v1 00/11] perf: arm64: Support for Hisilicon SoC Hardware event counters

2016-11-02 Thread Anurup M
[Resending after adding maintainers in --to] Provide Support for Hisilicon SoC(Hip05/06/07) Hardware event counters. The Hisilicon SoC Hip0x series has many uncore or non-CPU performance events and counters units. This initial patch series is implemented refering to arm-cci, Intel/AMD uncore and

[RESEND PATCH v1 01/11] arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support

2016-11-02 Thread Anurup M
Add support for Hisilicon SoC hardware event counters for HIP05/06/07 chip versions. Signed-off-by: Anurup M --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b224caa..839abc8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[RESEND PATCH v1 06/11] perf: hisi: Update Kconfig for Hisilicon PMU support

2016-11-02 Thread Anurup M
1. Update Kconfig for Hip05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..da8dd97 100644

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

2016-11-02 Thread Anurup M
1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache, MN and DDRC PMU. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- .../devicetree/bindings/arm/hisilicon/pmu.txt | 127 + 1 file changed, 127 insertions(+) crea

[RESEND PATCH v1 02/11] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Sysctrl and Djtag dts bindings

2016-11-02 Thread Anurup M
From: Tan Xiaojun 1) Add Hisilicon HiP05/06/07 CPU and ALGSUB system controller dts bindings. 2) Add Hisilicon Djtag dts binding. Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../bindings/arm/hisilicon/hisilicon.txt | 82 ++ 1

[RESEND PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-02 Thread Anurup M
From: Tan Xiaojun The Hisilicon Djtag is an independent component which connects with some other components in the SoC by Debug Bus. This driver can be configured to access the registers of connecting components (like L3 cache) during real time debugging. Signed-o

[RESEND PATCH v1 04/11] Documentation: perf: hisi: Documentation for HIP05/06/07 PMU event counting.

2016-11-02 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node, DDR cntroller etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang ---

[RESEND PATCH v1 07/11] perf: hisi: Add support for Hisilicon SoC event counters

2016-11-02 Thread Anurup M
1. Hip05/06/07 uncore PMU to support different hardware event counters. 2. Hisilicon PMU shall use the DJTAG hardware interface to access hardware event counters and configuration register. 3. Routines to initialize and setup PMU. 4.

[RESEND PATCH v1 09/11] perf: hisi: Miscellanous node(MN) event counting in perf

2016-11-02 Thread Anurup M
From: Shaokun Zhang 1. Add support to count MN hardware events. 2. Mn events are listed in sysfs at /sys/devices/hisi_mn2/events/ The events can be selected as shown in perf list e.g.: For MN_READ_REQUEST event for Super CPU cluster 2 the even

[RESEND PATCH v1 08/11] perf: hisi: Add sysfs attributes for L3 cache(L3C) PMU

2016-11-02 Thread Anurup M
1. Add L3 caches events to /sys/devices/hisi_l3c2/events/ The events can be selected as shown in perf list e.g.: For L3C_READ_ALLOCATE event for Super CPU cluster 2 the event format is -e "hisi_l3c2/read_allocate/" 2. Add cpu_mask attribute

[RESEND PATCH v1 11/11] dts: arm64: hip06: Add Hisilicon SoC PMU support

2016-11-02 Thread Anurup M
1. Add nodes for hip06 L3 cache to support uncore events. 2. Add nodes for hip06 MN to support uncore events. 3. Add nodes for hip06 DDRC to support uncore events. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- arch/arm64/boot/dts/his

[RESEND PATCH v1 10/11] perf: hisi: Support for Hisilicon DDRC PMU.

2016-11-02 Thread Anurup M
1. Add support for counting Hisilicon DDRC statistics events in perf. 2. Support a total of 13 statistics events. 3. Events listed in /sys/devices// Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- drivers/perf/hisilicon/Makefile | 2 +- dr