[PATCH v2 1/4] doc-rst: make dev-tools folder buildable stand-alone

2016-10-25 Thread Markus Heiser
Add minimal conf.py and moved dev-tools/tools.rst to dev-tools/index.rst makes the dev-tools folder buildable stand-alone. To build only this folder run:: make SPHINXDIRS=dev-tools htmldocs make SPHINXDIRS=dev-tools pdfdocs Signed-off-by: Markus Heiser --- Documentation/dev-tools/conf.py

[PATCH v2 4/4] doc-rst: build PDF of 80211 and gpu sub-project

2016-10-25 Thread Markus Heiser
This allows to build PDF of only the sub-projects, which reduce the roundtrip compared to build the PDF from the main documentation. Signed-off-by: Markus Heiser --- Documentation/80211/conf.py | 5 + Documentation/gpu/conf.py | 5 + 2 files changed, 10 insertions(+) diff --git a/Docu

[PATCH v2 0/4] doc-rst: make sub-folder buildable stand-alone

2016-10-25 Thread Markus Heiser
Hi Jon, This patch series continues [1] the efforts to build sub-folders of the documentation stand-alone. --- v2 * rebased on top of lwn/docs-next * patches all sub-folders and fixes PDF/HTML issue with the index v1 [1] * patches only the dev-tools folder [1] https://www.mail-archive.com/li

[PATCH v2 3/4] doc-rst: include index only in subproject AND html

2016-10-25 Thread Markus Heiser
The index should only be included if the build of the sub-folder is done with the html-builder (HTML output). Signed-off-by: Markus Heiser --- Documentation/80211/index.rst | 2 +- Documentation/admin-guide/index.rst | 8 Documentation/gpu/index.rst | 2 +- Documentation/p

[PATCH v2 2/4] doc-rst: make driver-api folder buildable stand-alone

2016-10-25 Thread Markus Heiser
Add minimal conf.py makes the driver-api folder buildable stand-alone. To build only this folder run:: make SPHINXDIRS=driver-api htmldocs make SPHINXDIRS=driver-api pdfdocs Signed-off-by: Markus Heiser --- Documentation/driver-api/conf.py | 10 ++ Documentation/driver-api/index.r

Re: [PATCH 2/2] mac80211: use inline kernel-doc for struct ieee80211_hw

2016-10-25 Thread Johannes Berg
On Fri, 2016-10-21 at 15:57 +0300, Jani Nikula wrote: > It's easier to manage the kernel-doc for the fields when they > documentation is next to the field. Ok, actually, this doesn't apply. Perhaps I'll look into scripting this kind of conversion. johannes -- To unsubscribe from this list: send t

Re: [PATCH 1/2] mac80211: fix some sphinx warnings

2016-10-25 Thread Johannes Berg
Applied. I'll take this into the RCs so we don't have warnings there, and the other patch into -next. johannes -- 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-inf

[PATCH 3/3] x86/vmware: Add paravirt sched clock

2016-10-25 Thread Alexey Makhalov
Set pv_time_ops.sched_clock to vmware_sched_clock(). It is simplified version of native_sched_clock() without ring buffer of mult/shift/offset triplets and preempt toggling. Since VMware hypervisor provides constant tsc we can use constant mult/shift/offset triplet calculated at boot time. no-vmw-

[PATCH 2/3] x86/vmware: Add basic paravirt ops support

2016-10-25 Thread Alexey Makhalov
Add basic paravirt support: 1. set pv_info.name to "VMware" to have proper boot log message Booting paravirtualized kernel on VMware instead of "... on bare hardware" 2. set pv_cpu_ops.io_delay() to empty function - paravirt_nop() to avoid vm-exits on IO delays. Signed-off-by: Al

[PATCH 0/3] x86/vmware guest improvements

2016-10-25 Thread Alexey Makhalov
This patchset includes several VMware guest improvements: Alexey Makhalov (3): x86/vmware: Use tsc_khz value for calibrate_cpu() x86/vmware: Add basic paravirt ops support x86/vmware: Add paravirt sched clock Documentation/kernel-parameters.txt | 4 +++ arch/x86/kernel/cpu/vmware.c

[PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-25 Thread Alexey Makhalov
After aa297292d708, there are separate native calibrations for cpu_khz and tsc_khz. The code sets x86_platform.calibrate_cpu to native_calibrate_cpu() which looks in cpuid leaf 0x16 or msrs for the cpu frequency. Since we keep the tsc_khz constant (even after vmotion), the cpu_khz and tsc_khz may s

[PATCH] Change the document about iowait

2016-10-25 Thread Chao Fan
The iowait is not reliable by reading from /proc/stat, so this method to get iowait is not suggested. And we mark it in the document. Signed-off-by: Cao Jin Signed-off-by: Chao Fan --- Documentation/filesystems/proc.txt | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --g

Re: [PATCH v3 24/37] Documentation/unicode.txt: convert it to ReST markup

2016-10-25 Thread hpa
On October 25, 2016 4:36:41 PM PDT, Jonathan Corbet wrote: >[Adding Peter to CC] > >On Mon, 24 Oct 2016 09:00:33 -0200 >Mauro Carvalho Chehab wrote: > >> Probably, unicode is something that we might remove from the >> docs, as all modern systems support it. Yet, this chapter >> is fun, as it ment

Re: [RESEND PATCH v3 4/4] usb: doc: add document for USB3 debug port usage

2016-10-25 Thread Lu Baolu
Hi, On 10/25/2016 05:32 PM, Jani Nikula wrote: > On Tue, 25 Oct 2016, Lu Baolu wrote: >> Add Documentation/usb/usb3-debug-port.txt. This document includes >> the user guide for USB3 debug port. > It's in reStructuredText, please name it .rst. Sure. Best regards, Lu Baolu > > Thanks, > Jani. >

Re: [PATCH v3 00/37] Create an User's manual and improve development-process book

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:09 -0200 Mauro Carvalho Chehab wrote: > This patch series continues the efforts of converting the Linux Kernel > documentation to Sphinx. > > It contains text to ReST conversion of several files under Documentation, > and a few ones under the main dir (README, REPORTING

Re: [PATCH v3 32/37] docs-rst: add documents to development-process

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:41 -0200 Mauro Carvalho Chehab wrote: > Add several documents to the development-process ReST book. > > As we don't want renames, use symlinks instead, keeping those > documents on their original place. This changelog looks like it got left behind by events - I don't s

Re: [PATCH v3 24/37] Documentation/unicode.txt: convert it to ReST markup

2016-10-25 Thread Jonathan Corbet
[Adding Peter to CC] On Mon, 24 Oct 2016 09:00:33 -0200 Mauro Carvalho Chehab wrote: > Probably, unicode is something that we might remove from the > docs, as all modern systems support it. Yet, this chapter > is fun, as it mentions support for the Klington fictional > charset ;) > > On the oth

Re: [PATCH v3 15/37] Documentation/md.txt: Convert to ReST markup

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:24 -0200 Mauro Carvalho Chehab wrote: > - add a title for the document; > - convert some parameters to tables; > - use quote blocks where needed; > - use monotonic fonts for parameters; > - adjust whitespaces and blank lines; > - add it to the user's book. Seems good, b

Re: [PATCH v3 12/37] Documentation/initrd.txt: convert to ReST markup

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:21 -0200 Mauro Carvalho Chehab wrote: > - use a quote blocks where needed; > - fix the chapter/section/subsection markups; > - use ``foo`` for monotonic; > - use .. note:: for /sbin/init file permissions; > - adjust whitespaces and blank lines; > - add it to the user's b

Re: [PATCH v3 09/37] Documentation/BUG-HUNTING: convert to ReST markup

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:18 -0200 Mauro Carvalho Chehab wrote: > - Add a document title and remove its own index; > - use monotonic fonts for paths; > - use quote blocks where needed; > - adjust/use spaces to properly format paragraphs; > - add it to the user book. I'm going to start sounding m

Re: [PATCH v3 05/37] Documentation/basic_profiling.rst: convert to ReST markup

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:14 -0200 Mauro Carvalho Chehab wrote: > Convert it to ReST markup and add it to the user book: > > - Add a title to the document; > - touch spaces/new lines to fix Sphinx format; > - use ``foo`` for commands; > - use quote blocks where needed; > - add it to the user boo

Re: [PATCH v3 04/37] Documentation/bad_memory.txt: convert it to ReST markup

2016-10-25 Thread Jonathan Corbet
On Mon, 24 Oct 2016 09:00:13 -0200 Mauro Carvalho Chehab wrote: > - promote the section level of the document name; > - add/remove spaces/new lines where needed to format the output; > - use quote blocks. > - add it to the user book. So this document is about the BadRAM tool; a quick look at the

Re: [PATCH] Documentation: cpu-hotplug: Fix typos

2016-10-25 Thread Jonathan Corbet
On Tue, 25 Oct 2016 21:00:31 +0200 Igor Vuk wrote: > Fix some minor spelling errors and capitalization issues. > > Signed-off-by: Igor Vuk > --- > Documentation/cpu-hotplug.txt | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/Document

Re: [PATCH] locking/Doc/ko_KR: Clarify limited control-dependency scope

2016-10-25 Thread Jonathan Corbet
On Fri, 21 Oct 2016 23:10:02 +0900 SeongJae Park wrote: > This commit applies upstream change, commit ebff09a6ff16 > ("locking/Documentation: Clarify limited control-dependency scope"), to > Korean translation. This has been applied to the docs tree. Thanks, jon -- To unsubscribe from this lis

[DOC] Missing completions-design.txt?

2016-10-25 Thread Brian Norris
Hi, It looks like Nicholas submitted this doc a while back as patch 2/2: "[PATCH 2/2] doc: detailed documentation for completion" http://lkml.iu.edu/hypermail/linux/kernel/1412.2/03676.html where patch 1/2 got merged as this: 202799be447b doc: brief user documentation for completion References

[PATCH] Documentation: cpu-hotplug: Fix typos

2016-10-25 Thread Igor Vuk
Fix some minor spelling errors and capitalization issues. Signed-off-by: Igor Vuk --- Documentation/cpu-hotplug.txt | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index dd68821..

[PATCH v21 9/9] fpga-manager: Add Socfpga Arria10 support

2016-10-25 Thread Alan Tull
Add low level driver to support reprogramming FPGAs for Altera SoCFPGA Arria10. Signed-off-by: Alan Tull Reviewed-by: Moritz Fischer --- v19: Added to this patchset as has been changed to use fpga image information struct a checkpatch fix of a block comment do not use clk_put be

[PATCH v21 8/9] fpga: add altera freeze bridge support

2016-10-25 Thread Alan Tull
Add a low level driver for Altera Freeze Bridges to the FPGA Bridge framework. A freeze bridge is a bridge that exists in the FPGA fabric to isolate one region of the FPGA from the busses while that one region is being reprogrammed. Signed-off-by: Alan Tull Signed-off-by: Matthew Gerlach --- v1

[PATCH v21 2/9] doc: fpga-mgr: add fpga image info to api

2016-10-25 Thread Alan Tull
This patch adds a minor change in the FPGA Manager API to hold information that is specific to an FPGA image file. This change is expected to bring little, if any, pain. An FPGA image file will have particulars that affect how the image is programmed to the FPGA. One example is that current 'fla

[PATCH v21 4/9] fpga-mgr: add fpga image information struct

2016-10-25 Thread Alan Tull
This patch adds a minor change in the FPGA Manager API to hold information that is specific to an FPGA image file. This change is expected to bring little, if any, pain. The socfpga and zynq drivers are fixed up in this patch. An FPGA image file will have particulars that affect how the image is

[PATCH v21 0/9] Device Tree support for FPGA Programming

2016-10-25 Thread Alan Tull
This patchset supports FPGA programming under the control of Device Tree overlays. Changes since v20 are minor: * s/Mangager/Manager/ * altera-hps2fpga bridge: remove a clk_put * altera-hps2fpga bridge: don't need to look up l3regs for f2h bridge The following were acked so they are no long

[PATCH v21 6/9] fpga: fpga-region: device tree control for FPGA

2016-10-25 Thread Alan Tull
FPGA Regions support programming FPGA under control of the Device Tree. Signed-off-by: Alan Tull --- v9: initial version (this patch added during rest of patchset's v9) v10: request deferral if fpga mgr or bridges not available yet cleanup as fpga manager core goes into the real kernel

[PATCH v21 5/9] fpga: add fpga bridge framework

2016-10-25 Thread Alan Tull
This framework adds API functions for enabling/ disabling FPGA bridges under kernel control. This allows the Linux kernel to disable FPGA bridges during FPGA reprogramming and to enable FPGA bridges when FPGA reprogramming is done. This framework is be manufacturer-agnostic, allowing it to be use

[PATCH v21 7/9] ARM: socfpga: fpga bridge driver support

2016-10-25 Thread Alan Tull
Supports Altera SOCFPGA bridges: * fpga2sdram * fpga2hps * hps2fpga * lwhps2fpga Allows enabling/disabling the bridges through the FPGA Bridge Framework API functions. The fpga2sdram driver only supports enabling and disabling of the ports that been configured early on. This is due to a hard

[PATCH v21 1/9] fpga: add bindings document for fpga region

2016-10-25 Thread Alan Tull
New bindings document for FPGA Region to support programming FPGA's under Device Tree control Signed-off-by: Alan Tull Signed-off-by: Moritz Fischer Reviewed-by: Rob Herring --- v9: initial version added to this patchset v10: s/fpga/FPGA/g replace DT overlay example with slightly more com

[PATCH v21 3/9] add sysfs document for fpga bridge class

2016-10-25 Thread Alan Tull
Add documentation for new FPGA bridge class's sysfs interface. Signed-off-by: Alan Tull Acked-by: Moritz Fischer -- v15: Document added in v15 of patch set v16: No change to this patch in v16 of patch set v17: No change to this patch in v17 of patch set v18: No change to this patch in v18 of pat

Re: [RESEND PATCH v3 4/4] usb: doc: add document for USB3 debug port usage

2016-10-25 Thread Jani Nikula
On Tue, 25 Oct 2016, Lu Baolu wrote: > Add Documentation/usb/usb3-debug-port.txt. This document includes > the user guide for USB3 debug port. It's in reStructuredText, please name it .rst. Thanks, Jani. > > Cc: linux-doc@vger.kernel.org > Signed-off-by: Lu Baolu > --- > Documentation/usb/usb