Re: [PATCH 1/2] powerpc/mm/ptdump: Wrap seq_printf() to handle NULL pointers

2019-04-23 Thread Christophe Leroy
Le 24/04/2019 à 08:39, Russell Currey a écrit : Lovingly borrowed from the arch/arm64 ptdump code. This doesn't seem to be an issue in practice, but is necessary for my upcoming commit. Converts a putc() into a puts(). Signed-off-by: Russell Currey --- arch/powerpc/mm/ptdump/ptdump.c | 3

Re: [PATCH 10/10] powerpc: select DYNAMIC_DEBUG_RELATIVE_POINTERS for PPC64

2019-04-23 Thread Rasmus Villemoes
On 23/04/2019 21.36, Andrew Morton wrote: > On Tue, 23 Apr 2019 17:37:33 +0200 Christophe Leroy > wrote: > >>> --- a/arch/powerpc/Kconfig >>> +++ b/arch/powerpc/Kconfig >>> @@ -155,6 +155,7 @@ config PPC >>> select BUILDTIME_EXTABLE_SORT >>> select CLONE_BACKWARDS >>> select DCACHE_W

[PATCH 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-04-23 Thread Russell Currey
Implement code to walk all pages and warn if any are found to be both writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is behind the DEBUG_WX config option. This only runs on boot and has no runtime performance implications. Very heavily influenced (and in some cases copied ver

[PATCH 1/2] powerpc/mm/ptdump: Wrap seq_printf() to handle NULL pointers

2019-04-23 Thread Russell Currey
Lovingly borrowed from the arch/arm64 ptdump code. This doesn't seem to be an issue in practice, but is necessary for my upcoming commit. Converts a putc() into a puts(). Signed-off-by: Russell Currey --- arch/powerpc/mm/ptdump/ptdump.c | 32 ++-- 1 file changed, 22

[PATCHv2] kernel/crash: make parse_crashkernel()'s return value more indicant

2019-04-23 Thread Pingfan Liu
At present, both return and crash_size should be checked to guarantee the success of parse_crashkernel(). Take a close look at the cases, which causes crash_size=0. Beside syntax error, three cases cause parsing to get crash_size=0. -1st. in parse_crashkernel_mem(), the demanded crash size is bigg

Re: [powerpc:next-test 40/58] WARNING: vmlinux.o(.text+0xb038): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuep()

2019-04-23 Thread Russell Currey
On Tue, 2019-04-23 at 14:13 +0200, Christophe Leroy wrote: > Russel, Michael, > > Looks like the reported problem comes from b28c97505eb1 > ("powerpc/64: > Setup KUP on secondary CPUs") > ( > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=b28c97505eb1a5265e36

Re: [PATCH v6 06/10] powerpc/64: Setup KUP on secondary CPUs

2019-04-23 Thread Christophe Leroy
Le 18/04/2019 à 08:51, Michael Ellerman a écrit : From: Russell Currey Some platforms (i.e. Radix MMU) need per-CPU initialisation for KUP. Any platforms that only want to do KUP initialisation once globally can just check to see if they're running on the boot CPU, or check if whatever setu

Re: [RFC PATCH 1/1] KVM: PPC: Report single stepping capability

2019-04-23 Thread Paul Mackerras
On Wed, Mar 20, 2019 at 03:39:50PM -0300, Fabiano Rosas wrote: > When calling the KVM_SET_GUEST_DEBUG ioctl, userspace might request > the next instruction to be single stepped via the > KVM_GUESTDBG_SINGLESTEP control bit of the kvm_guest_debug structure. > > We currently don't have support for g

Re: [PATCH 5/6] powerpc/mmu: drop mmap_sem now that locked_vm is atomic

2019-04-23 Thread Davidlohr Bueso
On Tue, 23 Apr 2019, Bueso wrote: On Wed, 03 Apr 2019, Daniel Jordan wrote: On Wed, Apr 03, 2019 at 06:58:45AM +0200, Christophe Leroy wrote: Le 02/04/2019 à 22:41, Daniel Jordan a écrit : With locked_vm now an atomic, there is no need to take mmap_sem as writer. Delete and refactor accordi

[PATCH v2] powerpc/pseries: Use correct event modifier in rtas_parse_epow_errlog()

2019-04-23 Thread Yue Haibing
From: YueHaibing rtas_parse_epow_errlog() should pass 'modifier' to handle_system_shutdown, because event modifier only use bottom 4 bits. Fixes: 55fc0c561742 ("powerpc/pseries: Parse and handle EPOW interrupts") Signed-off-by: YueHaibing --- v2: fix compile issue by 'event_modifier'-->'modifie

Re: [PATCH 5/6] powerpc/mmu: drop mmap_sem now that locked_vm is atomic

2019-04-23 Thread Davidlohr Bueso
On Wed, 03 Apr 2019, Daniel Jordan wrote: On Wed, Apr 03, 2019 at 06:58:45AM +0200, Christophe Leroy wrote: Le 02/04/2019 à 22:41, Daniel Jordan a écrit : > With locked_vm now an atomic, there is no need to take mmap_sem as > writer. Delete and refactor accordingly. Could you please detail th

Re: [PATCH] powerpc/pseries: Use correct event modifier in rtas_parse_epow_errlog()

2019-04-23 Thread YueHaibing
On 2019/4/24 9:29, Russell Currey wrote: > On Tue, 2019-04-23 at 22:35 +0800, Yue Haibing wrote: >> From: YueHaibing >> >> rtas_parse_epow_errlog() should pass 'modifier' to >> handle_system_shutdown, because event modifier only use >> bottom 4 bits. >> >> Fixes: 55fc0c561742 ("powerpc/pseries:

Re: [PATCH] powerpc/pseries: Use correct event modifier in rtas_parse_epow_errlog()

2019-04-23 Thread Russell Currey
On Tue, 2019-04-23 at 22:35 +0800, Yue Haibing wrote: > From: YueHaibing > > rtas_parse_epow_errlog() should pass 'modifier' to > handle_system_shutdown, because event modifier only use > bottom 4 bits. > > Fixes: 55fc0c561742 ("powerpc/pseries: Parse and handle EPOW > interrupts") > Signed-off-

Re: [PATCH v2 26/79] docs: powerpc: convert docs to ReST and rename to *.rst

2019-04-23 Thread Andrew Donnellan
On 22/4/19 11:27 pm, Mauro Carvalho Chehab wrote: Convert docs to ReST and add them to the arch-specific book. The conversion here was trivial, as almost every file there was already using an elegant format close to ReST standard. The changes were mostly to mark literal blocks and add a few mis

[PATCH v4] powerpc/pseries: Remove limit in wait for dying CPU

2019-04-23 Thread Thiago Jung Bauermann
When testing DLPAR CPU add/remove on a system under stress, pseries_cpu_die() doesn't wait long enough for a CPU to die: [ 446.983944] cpu 148 (hwid 148) Ready to die... [ 446.984062] cpu 149 (hwid 149) Ready to die... [ 446.993518] cpu 150 (hwid 150) Ready to die... [ 446.993543] Querying DEA

Re: [PATCH v4 16/63] Documentation: ACPI: move debug.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:45 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > .../acpi/debug.rst} | 31 ++---

Re: [PATCH v4 15/63] Documentation: ACPI: move dsd/data-node-references.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:44 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > .../acpi/dsd/data-node-references.rst}| 28 +++--

Re: [PATCH v4 14/63] Documentation: ACPI: move dsd/graph.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:43 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab > --- > .../acpi/dsd/graph.rst}

Re: [PATCH v4 13/63] Documentation: ACPI: move acpi-lid.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:42 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > .../acpi/acpi-lid.rst}| 48 -

Re: [PATCH v4 12/63] Documentation: ACPI: move i2c-muxes.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:41 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du For the conversion itself: Reviewed-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v4 11/63] Documentation: ACPI: move dsdt-override.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:40 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du Reviewed-by: Mauro Carvalho Chehab > --- > .../acpi/dsdt-override.rst

Re: [PATCH v4 10/63] Documentation: ACPI: move initrd_table_override.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:39 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > Documentation/acpi/initrd_table_override.txt | 111

Re: [PATCH v4 09/63] Documentation: ACPI: move method-customizing.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:38 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > Documentation/acpi/method-customizing.txt | 73 -

Re: [PATCH v4 08/63] Documentation: ACPI: move gpio-properties.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:37 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > .../acpi/gpio-properties.rst} | 78 +++--

Re: [PATCH v4 07/63] Documentation: ACPI: move DSD-properties-rules.txt to firmware-guide/acpi and covert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:36 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du For the conversion itself: Reviewed-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v4 06/63] Documentation: ACPI: move scan_handlers.txt to driver-api/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:35 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du For the conversion itself: Reviewed-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v4 05/63] Documentation: ACPI: move linuxized-acpica.txt to driver-api/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:34 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > Documentation/driver-api/acpi/index.rst | 1 + > .../acp

Re: [PATCH v4 04/63] Documentation: ACPI: move osi.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:33 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > Documentation/firmware-guide/acpi/index.rst | 1 + > .../

Re: [PATCH v4 03/63] Documentation: ACPI: move enumeration.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:32 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. Just looking at the conversion itself, it looks good to me. Reviewed-by: Mauro Carvalho Chehab > > Si

Re: [PATCH v4 01/63] Documentation: add Linux ACPI to Sphinx TOC tree

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:30 +0800 Changbin Du escreveu: > Add below index.rst files for ACPI subsystem. More docs will be added later. > o admin-guide/acpi/index.rst > o driver-api/acpi/index.rst > o firmware-guide/index.rst Nice! you split it by usage. Reviewed-by: Mauro Carvalho Chehab

Re: [PATCH v4 02/63] Documentation: ACPI: move namespace.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 00:28:31 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du > --- > Documentation/firmware-guide/acpi/index.rst | 1 + > .../acp

[PATCH v4 63/63] Documentation: x86: convert x86_64/machinecheck to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/x86_64/index.rst| 1 + .../x86/x86_64/{machinecheck => machinecheck.rst} | 11 ++- 2

[PATCH v4 62/63] Documentation: x86: convert x86_64/cpu-hotplug-spec to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../x86/x86_64/{cpu-hotplug-spec => cpu-hotplug-spec.rst}| 5 - Documentation/x86/x86_64/index.rst |

[PATCH v4 61/63] Documentation: x86: convert x86_64/fake-numa-for-cpusets to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- ...a-for-cpusets => fake-numa-for-cpusets.rst} | 18 +- Documentation/x86/x86_64/index.rst | 1 + 2 files

[PATCH v4 60/63] Documentation: x86: convert x86_64/5level-paging.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../{5level-paging.txt => 5level-paging.rst} | 16 +++- Documentation/x86/x86_64/index.rst | 1 + 2 file

[PATCH v4 59/63] Documentation: x86: convert x86_64/mm.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/x86_64/index.rst | 1 + Documentation/x86/x86_64/mm.rst| 161 + Documentation/x86/x

[PATCH v4 58/63] Documentation: x86: convert x86_64/uefi.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/x86_64/index.rst| 1 + .../x86/x86_64/{uefi.txt => uefi.rst} | 30 ++- 2 files c

[PATCH v4 57/63] Documentation: x86: convert x86_64/boot-options.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + Documentation/x86/x86_64/boot-options.rst | 327 ++ Documentatio

[PATCH v4 56/63] Documentation: x86: convert i386/IO-APIC.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../x86/i386/{IO-APIC.txt => IO-APIC.rst} | 26 --- Documentation/x86/i386/index.rst | 10 +++ Doc

[PATCH v4 55/63] Documentation: x86: convert usb-legacy-support.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + .../{usb-legacy-support.txt => usb-legacy-support.rst}| 8 ++--

[PATCH v4 54/63] Documentation: x86: convert orc-unwinder.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + .../{orc-unwinder.txt => orc-unwinder.rst}| 27 ++- 2 files c

[PATCH v4 53/63] Documentation: x86: convert resctrl_ui.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + .../x86/{resctrl_ui.txt => resctrl_ui.rst}| 913 ++ 2 files

[PATCH v4 52/63] Documentation: x86: convert microcode.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + .../x86/{microcode.txt => microcode.rst} | 62 ++- 2 files c

[PATCH v4 51/63] Documentation: x86: convert pti.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst| 1 + Documentation/x86/{pti.txt => pti.rst} | 19 ++- 2 files changed, 15 ins

[PATCH v4 50/63] Documentation: x86: convert amd-memory-encryption.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- ...ory-encryption.txt => amd-memory-encryption.rst} | 13 ++--- Documentation/x86/index.rst | 1 + 2 f

[PATCH v4 49/63] Documentation: x86: convert intel_mpx.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + .../x86/{intel_mpx.txt => intel_mpx.rst} | 120 ++ 2 files

[PATCH v4 48/63] Documentation: x86: convert protection-keys.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + ...rotection-keys.txt => protection-keys.rst} | 33 --- 2 files c

[PATCH v4 47/63] Documentation: x86: convert pat.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + Documentation/x86/pat.rst | 235 Documentation/x86/pat.txt

[PATCH v4 46/63] Documentation: x86: convert mtrr.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + Documentation/x86/mtrr.rst | 350 Documentation/x86/mtrr.txt

[PATCH v4 45/63] Documentation: x86: convert tlb.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst| 1 + Documentation/x86/{tlb.txt => tlb.rst} | 30 -- 2 files changed,

[PATCH v4 44/63] Documentation: x86: convert zero-page.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + Documentation/x86/zero-page.rst | 47 + Documentation/x86/zero-

[PATCH v4 43/63] Documentation: x86: convert earlyprintk.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/earlyprintk.rst | 148 ++ Documentation/x86/earlyprintk.txt | 141 ---

[PATCH v4 42/63] Documentation: x86: convert entry_64.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/{entry_64.txt => entry_64.rst} | 12 +--- Documentation/x86/index.rst | 1 + 2 files ch

[PATCH v4 41/63] Documentation: x86: convert kernel-stacks to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst | 1 + .../x86/{kernel-stacks => kernel-stacks.rst} | 20 --- 2 files c

[PATCH v4 40/63] Documentation: x86: convert exception-tables.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- ...eption-tables.txt => exception-tables.rst} | 231 ++ Documentation/x86/index.rst | 1 + 2 files

[PATCH v4 39/63] Documentation: x86: convert topology.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/index.rst| 1 + Documentation/x86/topology.rst | 228 + Documentation/x86/topol

[PATCH v4 38/63] Documentation: x86: convert boot.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/x86/boot.rst | 1205 +++ Documentation/x86/boot.txt | 1130

[PATCH v4 37/63] Documentation: add Linux x86 docs to Sphinx TOC tree

2019-04-23 Thread Changbin Du
Add a index.rst for x86 support. More docs will be added later. Signed-off-by: Changbin Du --- Documentation/index.rst | 1 + Documentation/x86/index.rst | 9 + 2 files changed, 10 insertions(+) create mode 100644 Documentation/x86/index.rst diff --git a/Documentation/index.rst b/D

[PATCH v4 36/63] Documentation: PCI: convert endpoint/pci-test-howto.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/endpoint/index.rst | 1 + ...{pci-test-howto.txt => pci-test-howto.rst} | 81 +

[PATCH v4 35/63] Documentation: PCI: convert endpoint/pci-test-function.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/endpoint/index.rst | 1 + ...est-function.txt => pci-test-function.rst} | 32 +

[PATCH v4 34/63] Documentation: PCI: convert endpoint/pci-endpoint-cfs.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/endpoint/index.rst | 1 + ...-endpoint-cfs.txt => pci-endpoint-cfs.rst} | 99 +

[PATCH v4 33/63] Documentation: PCI: convert endpoint/pci-endpoint.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/endpoint/index.rst | 10 ++ .../{pci-endpoint.txt => pci-endpoint.rst}| 95

[PATCH v4 32/63] Documentation: PCI: convert pcieaer-howto.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/index.rst | 1 + .../{pcieaer-howto.txt => pcieaer-howto.rst} | 110 +++

[PATCH v4 31/63] Documentation: PCI: convert pci-error-recovery.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/index.rst | 1 + ...or-recovery.txt => pci-error-recovery.rst} | 178 +++

[PATCH v4 30/63] Documentation: PCI: convert acpi-info.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/{acpi-info.txt => acpi-info.rst} | 11 --- Documentation/PCI/index.rst

[PATCH v4 29/63] Documentation: PCI: convert MSI-HOWTO.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- v2: o drop numbering. o simplify author list --- .../PCI/{MSI-HOWTO.txt => MSI-HOWTO.rst} | 83 +

[PATCH v4 28/63] Documentation: PCI: convert pci-iov-howto.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/index.rst | 1 + .../{pci-iov-howto.txt => pci-iov-howto.rst} | 161 +++

[PATCH v4 27/63] Documentation: PCI: convert PCIEBUS-HOWTO.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- .../{PCIEBUS-HOWTO.txt => PCIEBUS-HOWTO.rst} | 140 ++ Documentation/PCI/index.rst

[PATCH v4 26/63] Documentation: PCI: convert pci.txt to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/index.rst| 2 + Documentation/PCI/{pci.txt => pci.rst} | 267 +

[PATCH v4 25/63] Documentation: add Linux PCI to Sphinx TOC tree

2019-04-23 Thread Changbin Du
Add a index.rst for PCI subsystem. More docs will be added later. Signed-off-by: Changbin Du Acked-by: Bjorn Helgaas --- Documentation/PCI/index.rst | 9 + Documentation/index.rst | 1 + 2 files changed, 10 insertions(+) create mode 100644 Documentation/PCI/index.rst diff --git a/

[PATCH v4 24/63] Documentation: ACPI: move video_extension.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/video_extension.rst} | 63 ++- 2 files c

[PATCH v4 23/63] Documentation: ACPI: move ssdt-overlays.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/ssdt-overlays.txt | 172 - Documentation/admin-guide/acpi/index.rst | 1 + .../admin

[PATCH v4 22/63] Documentation: ACPI: move lpit.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/firmware-guide/acpi/index.rst| 1 + .../lpit.txt => firmware-guide/acpi/lpit.rst} | 18 +- 2 files

[PATCH v4 21/63] Documentation: ACPI: move cppc_sysfs.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/cppc_sysfs.rst} | 71 ++- Documentation/admin-guide/acpi/index.rst | 1 + 2 files c

[PATCH v4 20/63] Documentation: ACPI: move apei/einj.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/apei/einj.rst} | 98 ++- Documentation/firmware-guide/acpi/index.rst | 1 + 2 files c

[PATCH v4 19/63] Documentation: ACPI: move apei/output_format.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/apei/output_format.txt | 147 - .../acpi/apei/output_format.rst | 150

[PATCH v4 18/63] Documentation: ACPI: move aml-debugger.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/aml-debugger.txt | 66 .../firmware-guide/acpi/aml-debugger.rst | 75 +++

[PATCH v4 17/63] Documentation: ACPI: move method-tracing.txt to firmware-guide/acpi and convert to rsST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/method-tracing.txt | 192 --- Documentation/firmware-guide/acpi/index.rst | 1 + .../firmwar

[PATCH v4 16/63] Documentation: ACPI: move debug.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/debug.rst} | 31 ++- Documentation/firmware-guide/acpi/index.rst | 3 +- 2 files

[PATCH v4 15/63] Documentation: ACPI: move dsd/data-node-references.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/dsd/data-node-references.rst}| 28 +++ Documentation/firmware-guide/acpi/index.rst | 1 + 2 files c

[PATCH v4 14/63] Documentation: ACPI: move dsd/graph.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/dsd/graph.rst} | 157 +- Documentation/firmware-guide/acpi/index.rst | 1 + 2 files

[PATCH v4 13/63] Documentation: ACPI: move acpi-lid.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/acpi-lid.rst}| 48 --- Documentation/firmware-guide/acpi/index.rst | 1 + 2 files c

[PATCH v4 12/63] Documentation: ACPI: move i2c-muxes.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/i2c-muxes.txt | 58 -- .../firmware-guide/acpi/i2c-muxes.rst | 61 +

[PATCH v4 11/63] Documentation: ACPI: move dsdt-override.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/dsdt-override.rst} | 8 +++- Documentation/admin-guide/acpi/index.rst | 1 +

[PATCH v4 10/63] Documentation: ACPI: move initrd_table_override.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/initrd_table_override.txt | 111 Documentation/admin-guide/acpi/index.rst | 1 + .../acpi/i

[PATCH v4 09/63] Documentation: ACPI: move method-customizing.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/method-customizing.txt | 73 - Documentation/firmware-guide/acpi/index.rst | 3 +- .../acpi/m

[PATCH v4 08/63] Documentation: ACPI: move gpio-properties.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/gpio-properties.rst} | 78 +++ Documentation/firmware-guide/acpi/index.rst | 1 + MAINTAINE

[PATCH v4 07/63] Documentation: ACPI: move DSD-properties-rules.txt to firmware-guide/acpi and covert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/DSD-properties-rules.rst}| 21 +++ Documentation/firmware-guide/acpi/index.rst | 1 + 2 files c

[PATCH v4 06/63] Documentation: ACPI: move scan_handlers.txt to driver-api/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/driver-api/acpi/index.rst | 1 + .../acpi/scan_handlers.rst} | 24 --- 2 files c

[PATCH v4 05/63] Documentation: ACPI: move linuxized-acpica.txt to driver-api/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/driver-api/acpi/index.rst | 1 + .../acpi/linuxized-acpica.rst}| 115 ++ 2 files

[PATCH v4 04/63] Documentation: ACPI: move osi.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/firmware-guide/acpi/index.rst | 1 + .../{acpi/osi.txt => firmware-guide/acpi/osi.rst} | 15 +-- 2 fil

[PATCH v4 03/63] Documentation: ACPI: move enumeration.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/enumeration.rst} | 135 ++ Documentation/firmware-guide/acpi/index.rst | 1 + 2 files

[PATCH v4 02/63] Documentation: ACPI: move namespace.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/namespace.rst} | 310 +- 2 files

[PATCH v4 01/63] Documentation: add Linux ACPI to Sphinx TOC tree

2019-04-23 Thread Changbin Du
Add below index.rst files for ACPI subsystem. More docs will be added later. o admin-guide/acpi/index.rst o driver-api/acpi/index.rst o firmware-guide/index.rst Signed-off-by: Changbin Du --- Documentation/admin-guide/acpi/index.rst| 10 ++ Documentation/admin-guide/index.rst

[PATCH v4 00/63] Include linux ACPI/PCI/X86 docs into Sphinx TOC tree

2019-04-23 Thread Changbin Du
Hi Corbet and All, The kernel now uses Sphinx to generate intelligent and beautiful documentation from reStructuredText files. I converted all of the Linux ACPI/PCI/X86 docs to reST format in this serias. In this version I combined ACPI and PCI docs, and added new x86 docs conversion. The hiearar

Re: [PATCH 10/10] powerpc: select DYNAMIC_DEBUG_RELATIVE_POINTERS for PPC64

2019-04-23 Thread Andrew Morton
On Tue, 23 Apr 2019 17:37:33 +0200 Christophe Leroy wrote: > > --- a/arch/powerpc/Kconfig > > +++ b/arch/powerpc/Kconfig > > @@ -155,6 +155,7 @@ config PPC > > select BUILDTIME_EXTABLE_SORT > > select CLONE_BACKWARDS > > select DCACHE_WORD_ACCESS if PPC64 && CPU_LITTLE_

Re: [PATCH v12 21/31] mm: Introduce find_vma_rcu()

2019-04-23 Thread Davidlohr Bueso
On Tue, 23 Apr 2019, Peter Zijlstra wrote: Also; the initial motivation was prefaulting large VMAs and the contention on mmap was killing things; but similarly, the contention on the refcount (I did try that) killed things just the same. Right, this is just like what can happen with per-vma lo

Re: [PATCH RFT V3 1/8] clk: divider: add explicit big endian support

2019-04-23 Thread Stephen Boyd
Quoting Jonas Gorski (2019-04-23 03:39:59) > No purpose at all, it's an uncaught artifact from rebasing ._. > > Stephen, which one is your preferred way of fixing that? > > a) a new V4 patchset without this line > b) a follow up patch that removes it > c) just removing the line yourself I'll go

Re: [PATCH v4 00/63] Include linux ACPI/PCI/X86 docs into Sphinx TOC tree

2019-04-23 Thread Bjorn Helgaas
On Tue, Apr 23, 2019 at 06:39:47PM +0200, Rafael J. Wysocki wrote: > On Tue, Apr 23, 2019 at 6:30 PM Changbin Du wrote: > > Hi Corbet and All, > > The kernel now uses Sphinx to generate intelligent and beautiful > > documentation from reStructuredText files. I converted all of the Linux > > ACPI/P

Re: linux-next: manual merge of the akpm-current tree with the powerpc-fixes tree

2019-04-23 Thread Ira Weiny
On Tue, Apr 23, 2019 at 07:06:06PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > arch/powerpc/mm/mmu_context_iommu.c > > between commits: > > eb9d7a62c386 ("powerpc/mm_iommu: Fix potential deadlock") > 7a3a4d763837 ("

  1   2   >