Re: [PATCH 01/12] Documentation: move architectures together
Hi Jon, Thanks for quick response! 在 2019/7/13 上午1:34, Jonathan Corbet 写道: > On Fri, 12 Jul 2019 10:20:07 +0800 > Alex Shi wrote: > >> There are many different archs in Documentation/ dir, it's better to >> move them together in 'Documentation/arch' which follows from kernel source. > > So this seems certain to collide badly with Mauro's RST-conversion monster > patch set. I don't mean that, sorry, and we can figure out if both of them are worthy to be picked up. > > More to the point, though...if we are going to thrash up things this > badly, we want to be sure that we're doing it right so we don't end up > renaming everything again. Grouping stuff into a new arch/ subdirectory > adds a bit of order, but it doesn't do much toward trying to organize our > documentation for its readers, and it doesn't help us to modernize the > docs and get rid of the old, useless stuff. A quick check shows that many > of these files have seen no changes other than typo fixes since the > beginning of the Git era. Right, there is some docs which need to be update or even drop, and a reorder would be a timing to push each of arch maintainer to do something, isn't it? Anyway, reordering documents like kernel source dir could be one of choices. :) > > So, in my mind, this needs some thought. Maybe we want a > Documentation/arch in the end, but I'm not convinced that we should just > create it and fill it with a snow shovel. This might be a good thing to > discuss at the kernel summit in September. Thanks for considering, anyway, it could be a good start to get hands dirty whether the arch dir is needed. Thanks Alex
[PATCH 03/12] Documentation/ia64: repointer docs to Documentation/arch/ia64
Since we move 'ia64' docs to Documentation/arch/ia64 dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Ard Biesheuvel Cc: Tony Luck Cc: Fenghua Yu Cc: linux-ker...@vger.kernel.org Cc: linux-i...@vger.kernel.org --- MAINTAINERS | 2 +- arch/ia64/kernel/efi.c | 2 +- arch/ia64/kernel/fsys.S | 2 +- arch/ia64/mm/ioremap.c | 2 +- arch/ia64/pci/pci.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index c21d5464c86f..583c35cba7bc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14286,7 +14286,7 @@ SGI SN-IA64 (Altix) SERIAL CONSOLE DRIVER M: Pat Gefre L: linux-i...@vger.kernel.org S: Supported -F: Documentation/ia64/serial.txt +F: Documentation/arch/ia64/serial.txt F: drivers/tty/serial/ioc?_serial.c F: include/linux/ioc?.h diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 8f106638913c..02cdc38d15e8 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -852,7 +852,7 @@ valid_phys_addr_range (phys_addr_t phys_addr, unsigned long size) * /dev/mem reads and writes use copy_to_user(), which implicitly * uses a granule-sized kernel identity mapping. It's really * only safe to do this for regions in kern_memmap. For more -* details, see Documentation/ia64/aliasing.txt. +* details, see Documentation/arch/ia64/aliasing.txt. */ attr = kern_mem_attribute(phys_addr, size); if (attr & EFI_MEMORY_WB || attr & EFI_MEMORY_UC) diff --git a/arch/ia64/kernel/fsys.S b/arch/ia64/kernel/fsys.S index d80c99a5f55d..b493ca74890a 100644 --- a/arch/ia64/kernel/fsys.S +++ b/arch/ia64/kernel/fsys.S @@ -28,7 +28,7 @@ #include /* - * See Documentation/ia64/fsys.txt for details on fsyscalls. + * See Documentation/arch/ia64/fsys.txt for details on fsyscalls. * * On entry to an fsyscall handler: * r10 = 0 (i.e., defaults to "successful syscall return") diff --git a/arch/ia64/mm/ioremap.c b/arch/ia64/mm/ioremap.c index 5e3e7b1fdac5..989cc4df9087 100644 --- a/arch/ia64/mm/ioremap.c +++ b/arch/ia64/mm/ioremap.c @@ -42,7 +42,7 @@ ioremap (unsigned long phys_addr, unsigned long size) /* * For things in kern_memmap, we must use the same attribute * as the rest of the kernel. For more details, see -* Documentation/ia64/aliasing.txt. +* Documentation/arch/ia64/aliasing.txt. */ attr = kern_mem_attribute(phys_addr, size); if (attr & EFI_MEMORY_WB) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index e308196c2229..6ba87b70e30c 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -450,7 +450,7 @@ pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma, return -ENOSYS; /* -* Avoid attribute aliasing. See Documentation/ia64/aliasing.txt +* Avoid attribute aliasing. See Documentation/arch/ia64/aliasing.txt * for more details. */ if (!valid_mmap_phys_addr_range(vma->vm_pgoff, size)) -- 2.19.1.856.g8858448bb
[PATCH 05/12] Documentation/s390: repointer docs to Documentation/arch/
Since we move Documentation/s390 docs to Documentation/arch/s390 dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org --- Documentation/admin-guide/kernel-parameters.txt | 4 ++-- Documentation/arch/s390/cds.rst | 2 +- Documentation/arch/s390/common_io.rst | 2 +- Documentation/arch/s390/vfio-ccw.rst| 2 +- Documentation/driver-api/s390-drivers.rst | 4 ++-- MAINTAINERS | 6 +++--- arch/s390/Kconfig | 4 ++-- arch/s390/include/asm/debug.h | 4 ++-- drivers/s390/char/zcore.c | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index f1c433daef6b..4ceb4691245b 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -478,7 +478,7 @@ others). ccw_timeout_log [S390] - See Documentation/s390/common_io.rst for details. + See Documentation/arch/s390/common_io.rst for details. cgroup_disable= [KNL] Disable a particular controller Format: {name of the controller(s) to disable} @@ -516,7 +516,7 @@ /selinux/checkreqprot. cio_ignore= [S390] - See Documentation/s390/common_io.rst for details. + See Documentation/arch/s390/common_io.rst for details. clk_ignore_unused [CLK] Prevents the clock framework from automatically gating diff --git a/Documentation/arch/s390/cds.rst b/Documentation/arch/s390/cds.rst index 7006d8209d2e..bcad2a14244a 100644 --- a/Documentation/arch/s390/cds.rst +++ b/Documentation/arch/s390/cds.rst @@ -39,7 +39,7 @@ some of them are ESA/390 platform specific. Note: In order to write a driver for S/390, you also need to look into the interface - described in Documentation/s390/driver-model.rst. + described in Documentation/arch/s390/driver-model.rst. Note for porting drivers from 2.4: diff --git a/Documentation/arch/s390/common_io.rst b/Documentation/arch/s390/common_io.rst index 846485681ce7..6dcb40cb7145 100644 --- a/Documentation/arch/s390/common_io.rst +++ b/Documentation/arch/s390/common_io.rst @@ -136,5 +136,5 @@ debugfs entries The level of logging can be changed to be more or less verbose by piping to /sys/kernel/debug/s390dbf/cio_*/level a number between 0 and 6; see the - documentation on the S/390 debug feature (Documentation/s390/s390dbf.rst) + documentation on the S/390 debug feature (Documentation/arch/s390/s390dbf.rst) for details. diff --git a/Documentation/arch/s390/vfio-ccw.rst b/Documentation/arch/s390/vfio-ccw.rst index 1f6d0b56d53e..2e15139e9189 100644 --- a/Documentation/arch/s390/vfio-ccw.rst +++ b/Documentation/arch/s390/vfio-ccw.rst @@ -321,6 +321,6 @@ Reference 1. ESA/s390 Principles of Operation manual (IBM Form. No. SA22-7832) 2. ESA/390 Common I/O Device Commands manual (IBM Form. No. SA22-7204) 3. https://en.wikipedia.org/wiki/Channel_I/O -4. Documentation/s390/cds.rst +4. Documentation/arch/s390/cds.rst 5. Documentation/vfio.txt 6. Documentation/vfio-mediated-device.txt diff --git a/Documentation/driver-api/s390-drivers.rst b/Documentation/driver-api/s390-drivers.rst index 5158577bc29b..8c0845c4eee7 100644 --- a/Documentation/driver-api/s390-drivers.rst +++ b/Documentation/driver-api/s390-drivers.rst @@ -27,7 +27,7 @@ not strictly considered I/O devices. They are considered here as well, although they are not the focus of this document. Some additional information can also be found in the kernel source under -Documentation/s390/driver-model.rst. +Documentation/arch/s390/driver-model.rst. The css bus === @@ -38,7 +38,7 @@ into several categories: * Standard I/O subchannels, for use by the system. They have a child device on the ccw bus and are described below. * I/O subchannels bound to the vfio-ccw driver. See - Documentation/s390/vfio-ccw.rst. + Documentation/arch/s390/vfio-ccw.rst. * Message subchannels. No Linux driver currently exists. * CHSC subchannels (at most one). The chsc subchannel driver can be used to send asynchronous chsc commands. diff --git a/MAINTAINERS b/MAINTAINERS index 583c35cba7bc..2c1e65c236db 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13717,7 +13717,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git S: Supported F: arch/s390/ F: drivers/s390/ -F: Documentation/s390/ +F: Documentation/arch/s390/ F: Documentation/driver-api/s390
[PATCH 08/12] Dcumentation/powerpc: repointer docs to Documentation/arch/
Since we move Documentation/powerpc docs to Documentation/arch/powerpc dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Sam Bobroff Cc: Jonathan Corbet Cc: "Manoj N. Kumar" Cc: "Matthew R. Ochs" Cc: Uma Krishnan Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- Documentation/PCI/pci-error-recovery.txt | 2 +- Documentation/arch/powerpc/cxlflash.txt | 2 +- MAINTAINERS | 8 arch/powerpc/kernel/exceptions-64s.S | 2 +- drivers/soc/fsl/qe/qe.c | 2 +- drivers/tty/hvc/hvcs.c | 2 +- include/soc/fsl/qe/qe.h | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/PCI/pci-error-recovery.txt b/Documentation/PCI/pci-error-recovery.txt index 0b6bb3ef449e..339e7394ef1d 100644 --- a/Documentation/PCI/pci-error-recovery.txt +++ b/Documentation/PCI/pci-error-recovery.txt @@ -389,7 +389,7 @@ platforms aren't supposed to share interrupts between many devices anyway :) >>> Implementation details for the powerpc platform are discussed in ->>> the file Documentation/powerpc/eeh-pci-error-recovery.txt +>>> the file Documentation/arch/powerpc/eeh-pci-error-recovery.txt >>> As of this writing, there is a growing list of device drivers with >>> patches implementing error recovery. Not all of these patches are in diff --git a/Documentation/arch/powerpc/cxlflash.txt b/Documentation/arch/powerpc/cxlflash.txt index a64bdaa0a1cf..479cdb9a44f4 100644 --- a/Documentation/arch/powerpc/cxlflash.txt +++ b/Documentation/arch/powerpc/cxlflash.txt @@ -28,7 +28,7 @@ Introduction responsible for the initialization of the adapter, setting up the special path for user space access, and performing error recovery. It communicates directly the Flash Accelerator Functional Unit (AFU) -as described in Documentation/powerpc/cxl.txt. +as described in Documentation/arch/powerpc/cxl.txt. The cxlflash driver supports two, mutually exclusive, modes of operation at the device (LUN) level: diff --git a/MAINTAINERS b/MAINTAINERS index e1aad1b8224c..7a245d3f02fd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4420,7 +4420,7 @@ F:arch/powerpc/platforms/powernv/pci-cxl.c F: drivers/misc/cxl/ F: include/misc/cxl* F: include/uapi/misc/cxl.h -F: Documentation/powerpc/cxl.txt +F: Documentation/arch/powerpc/cxl.txt F: Documentation/ABI/testing/sysfs-class-cxl CXLFLASH (IBM Coherent Accelerator Processor Interface CAPI Flash) SCSI DRIVER @@ -4431,7 +4431,7 @@ L:linux-s...@vger.kernel.org S: Supported F: drivers/scsi/cxlflash/ F: include/uapi/scsi/cxlflash_ioctl.h -F: Documentation/powerpc/cxlflash.txt +F: Documentation/arch/powerpc/cxlflash.txt CYBERPRO FB DRIVER M: Russell King @@ -9101,7 +9101,7 @@ F:Documentation/ABI/stable/sysfs-firmware-opal-* F: Documentation/devicetree/bindings/powerpc/ F: Documentation/devicetree/bindings/rtc/rtc-opal.txt F: Documentation/devicetree/bindings/i2c/i2c-opal.txt -F: Documentation/powerpc/ +F: Documentation/arch/powerpc/ F: arch/powerpc/ F: drivers/char/tpm/tpm_ibmvtpm* F: drivers/crypto/nx/ @@ -12235,7 +12235,7 @@ F: Documentation/PCI/pci-error-recovery.txt F: drivers/pci/pcie/aer.c F: drivers/pci/pcie/dpc.c F: drivers/pci/pcie/err.c -F: Documentation/powerpc/eeh-pci-error-recovery.txt +F: Documentation/arch/powerpc/eeh-pci-error-recovery.txt F: arch/powerpc/kernel/eeh*.c F: arch/powerpc/platforms/*/eeh*.c F: arch/powerpc/include/*/eeh*.h diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 73ba246ca11d..5fa2a348a28e 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S @@ -910,7 +910,7 @@ EXC_COMMON(trap_0b_common, 0xb00, unknown_exception) * * Call convention: * - * syscall register convention is in Documentation/powerpc/syscall64-abi.txt + * syscall register convention is in Documentation/arch/powerpc/syscall64-abi.txt * * For hypercalls, the register convention is as follows: * r0 volatile diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 62c6ba17991a..c83467942b70 100644 --- a/drivers/soc/fsl/qe/qe.c +++ b/drivers/soc/fsl/qe/qe.c @@ -419,7 +419,7 @@ static void qe_upload_microcode(const void *base, /* * Upload a microcode to the I-RAM at a specific address. * - * See Documentation/powerpc/qe_firmware.txt for information on QE microcode + * See Documentation/arch/powerpc/qe_firmware.txt for information on QE microcode * uploading. * * Currently, only version 1 is supported, so the 'version' field must be diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index cb4db1b3ca3c..5a1c76055117 100644 --- a/drivers/tty/hv
[PATCH 04/12] Documentation/m68k: repointer docs to Documentation/arch/
Since we move Documentation/m68k docs to Documentation/arch/m68k dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: Will Deacon Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- Documentation/admin-guide/kernel-parameters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst index 5d29ba5ad88c..dc283dcffae8 100644 --- a/Documentation/admin-guide/kernel-parameters.rst +++ b/Documentation/admin-guide/kernel-parameters.rst @@ -118,7 +118,7 @@ parameter is applicable:: LOOPLoopback device support is enabled. M68kM68k architecture is enabled. These options have more detailed description inside of - Documentation/m68k/kernel-options.txt. + Documentation/arch/m68k/kernel-options.txt. MDA MDA console support is enabled. MIPSMIPS architecture is enabled. MOUSE Appropriate mouse support is enabled. -- 2.19.1.856.g8858448bb
[PATCH 11/12] Documentation/x86: repointer docs to Documentation/arch/
Since we move Documentation/x86 docs to Documentation/arch/x86 dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: Tony Luck Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Peter Zijlstra Cc: Changbin Du Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: xen-de...@lists.xenproject.org Cc: platform-driver-...@vger.kernel.org Cc: k...@vger.kernel.org Cc: virtualizat...@lists.linux-foundation.org Cc: net...@vger.kernel.org Cc: linux-security-mod...@vger.kernel.org --- Documentation/admin-guide/hw-vuln/mds.rst| 2 +- Documentation/admin-guide/kernel-parameters.rst | 6 +++--- Documentation/admin-guide/kernel-parameters.txt | 8 Documentation/admin-guide/ras.rst| 2 +- Documentation/arch/x86/x86_64/5level-paging.rst | 2 +- Documentation/arch/x86/x86_64/boot-options.rst | 4 ++-- .../arch/x86/x86_64/fake-numa-for-cpusets.rst| 2 +- Documentation/devicetree/booting-without-of.txt | 2 +- Documentation/sysctl/kernel.txt | 4 ++-- MAINTAINERS | 4 ++-- arch/arm/Kconfig | 2 +- arch/x86/Kconfig | 12 ++-- arch/x86/Kconfig.debug | 2 +- arch/x86/boot/header.S | 2 +- arch/x86/entry/entry_64.S| 2 +- arch/x86/include/asm/bootparam_utils.h | 2 +- arch/x86/include/asm/page_64_types.h | 2 +- arch/x86/include/asm/pgtable_64_types.h | 2 +- arch/x86/kernel/cpu/microcode/amd.c | 2 +- arch/x86/kernel/kexec-bzimage64.c| 2 +- arch/x86/kernel/pci-dma.c| 2 +- arch/x86/mm/tlb.c| 2 +- arch/x86/platform/pvh/enlighten.c| 2 +- drivers/vhost/vhost.c| 2 +- security/Kconfig | 2 +- tools/include/linux/err.h| 2 +- tools/objtool/Documentation/stack-validation.txt | 4 ++-- 27 files changed, 41 insertions(+), 41 deletions(-) diff --git a/Documentation/admin-guide/hw-vuln/mds.rst b/Documentation/admin-guide/hw-vuln/mds.rst index e3a796c0d3a2..303228380fdc 100644 --- a/Documentation/admin-guide/hw-vuln/mds.rst +++ b/Documentation/admin-guide/hw-vuln/mds.rst @@ -58,7 +58,7 @@ Because the buffers are potentially shared between Hyper-Threads cross Hyper-Thread attacks are possible. Deeper technical information is available in the MDS specific x86 -architecture section: :ref:`Documentation/x86/mds.rst `. +architecture section: :ref:`Documentation/arch/x86/mds.rst `. Attack scenarios diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst index dc283dcffae8..7c32484811c8 100644 --- a/Documentation/admin-guide/kernel-parameters.rst +++ b/Documentation/admin-guide/kernel-parameters.rst @@ -167,7 +167,7 @@ parameter is applicable:: X86-32 X86-32, aka i386 architecture is enabled. X86-64 X86-64 architecture is enabled. More X86-64 boot options can be found in - Documentation/x86/x86_64/boot-options.rst. + Documentation/arch/x86/x86_64/boot-options.rst. X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64) X86_UV SGI UV support is enabled. XEN Xen support is enabled @@ -181,10 +181,10 @@ In addition, the following text indicates that the option:: Parameters denoted with BOOT are actually interpreted by the boot loader, and have no meaning to the kernel directly. Do not modify the syntax of boot loader parameters without extreme -need or coordination with . +need or coordination with . There are also arch-specific kernel-parameters not documented here. -See for example . +See for example . Note that ALL kernel parameters listed below are CASE SENSITIVE, and that a trailing = on the name of any parameter states that that parameter will diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 4ceb4691245b..d9eb5895ea9e 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -963,7 +963,7 @@ for details. nompx [X86] Disables Intel Memory Protection Extensions. - See Documentation/x86/intel_mpx.rst for more + See Documentation/arch/x86/intel_mpx.rst for more information about the feature. nopku [X86] Disable Memory Protection Keys CPU feature found @@ -2380,7 +2380,7 @@ mce [X86-32] Machine Check Exception - mce=option
[PATCH 10/12] Documentation/sparc: repointer docs to Documentation/arch/
Since we move Documentation/sparc docs to Documentation/arch/sparc dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- drivers/sbus/char/oradax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/sbus/char/oradax.c b/drivers/sbus/char/oradax.c index 8af216287a84..c7db146a1dd5 100644 --- a/drivers/sbus/char/oradax.c +++ b/drivers/sbus/char/oradax.c @@ -18,7 +18,7 @@ * the recommended way for applications to use the coprocessor, and * the driver interface is not intended for general use. * - * See Documentation/sparc/oradax/oracle-dax.rst for more details. + * See Documentation/arch/sparc/oradax/oracle-dax.rst for more details. */ #include -- 2.19.1.856.g8858448bb
[PATCH 06/12] Documentation/mips: repointer docs to Documentation/arch/
Since we move Documentation/mips docs to Documentation/arch/mips dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Mauro Carvalho Chehab Cc: "David S. Miller" Cc: linux-ker...@vger.kernel.org --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2c1e65c236db..03a8c687f87f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10554,7 +10554,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git Q: http://patchwork.linux-mips.org/project/linux-mips/list/ S: Supported F: Documentation/devicetree/bindings/mips/ -F: Documentation/mips/ +F: Documentation/arch/mips/ F: arch/mips/ F: drivers/platform/mips/ -- 2.19.1.856.g8858448bb
[PATCH 01/12] Documentation: move architectures together
There are many different archs in Documentation/ dir, it's better to move them together in 'Documentation/arch' which follows from kernel source. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ri...@lists.infradead.org Cc: linux-o...@vger.kernel.org Cc: linux-fb...@vger.kernel.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-i...@vger.kernel.org Cc: linux-m...@vger.kernel.org Cc: linux-par...@vger.kernel.org Cc: linux-s...@vger.kernel.org Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Cc: linux...@vger.kernel.org --- Documentation/{ => arch}/arm/Booting | 0 Documentation/{ => arch}/arm/IXP4xx | 0 Documentation/{ => arch}/arm/Interrupts | 0 Documentation/{ => arch}/arm/Marvell/README | 0 Documentation/{ => arch}/arm/Microchip/README| 0 Documentation/{ => arch}/arm/Netwinder | 0 Documentation/{ => arch}/arm/OMAP/DSS| 0 Documentation/{ => arch}/arm/OMAP/README | 0 Documentation/{ => arch}/arm/OMAP/omap_pm| 0 Documentation/{ => arch}/arm/Porting | 0 Documentation/{ => arch}/arm/README | 0 Documentation/{ => arch}/arm/SA1100/ADSBitsy | 0 Documentation/{ => arch}/arm/SA1100/Assabet | 0 Documentation/{ => arch}/arm/SA1100/Brutus | 0 Documentation/{ => arch}/arm/SA1100/CERF | 0 Documentation/{ => arch}/arm/SA1100/FreeBird | 0 Documentation/{ => arch}/arm/SA1100/GraphicsClient | 0 Documentation/{ => arch}/arm/SA1100/GraphicsMaster | 0 Documentation/{ => arch}/arm/SA1100/HUW_WEBPANEL | 0 Documentation/{ => arch}/arm/SA1100/Itsy | 0 Documentation/{ => arch}/arm/SA1100/LART | 0 Documentation/{ => arch}/arm/SA1100/PLEB | 0 Documentation/{ => arch}/arm/SA1100/Pangolin | 0 Documentation/{ => arch}/arm/SA1100/Tifon| 0 Documentation/{ => arch}/arm/SA1100/Yopy | 0 Documentation/{ => arch}/arm/SA1100/empeg| 0 Documentation/{ => arch}/arm/SA1100/nanoEngine | 0 Documentation/{ => arch}/arm/SA1100/serial_UART | 0 Documentation/{ => arch}/arm/SH-Mobile/.gitignore| 0 Documentation/{ => arch}/arm/SPEAr/overview.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/CPUfreq.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/EB2410ITX.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/GPIO.txt| 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/H1940.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/NAND.txt| 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/Overview.txt| 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/S3C2412.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/S3C2413.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/SMDK2440.txt| 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/Suspend.txt | 0 Documentation/{ => arch}/arm/Samsung-S3C24XX/USB-Host.txt| 0 Documentation/{ => arch}/arm/Samsung/Bootloader-interface.txt| 0 Documentation/{ => arch}/arm/Samsung/GPIO.txt| 0 Documentation/{ => arch}/arm/Samsung/Overview.txt| 0 Documentation/{ => arch}/arm/Samsung/clksrc-change-registers.awk | 0 Documentation/{ => arch}/arm/Setup | 0 Documentation/{ => arch}/arm/VFP/release-notes.txt | 0 Documentation/{ => arch}/arm/cluster-pm-race-avoidance.txt | 0 Documentation/{ => arch}/arm/firmware.txt| 0 Documentation/{ => arch}/arm/kernel_mode_neon.txt| 0 Documentation/{ => arch}/arm/kernel_user_helpers.txt | 0 Documentation/{ => arch}/arm/keystone/Overview.txt | 0 Documentation/{ => arch}/arm/keystone/knav-qmss.txt | 0 Documentation/{ => arch}/arm/mem_alignment | 0 Documentation/{ => arch}/arm/memory.txt | 0 Documentation/{ => arch}/arm/nwfpe/NOTES | 0 Documentation/{ => arch}/arm/nwfpe/README| 0 Documentation/{ => arch}/arm/nwfpe/README.FPE| 0 Documentation/{ => arch}/arm/nw
[PATCH 12/12] Documentation/xtensa: repointer docs to Documentation/arch/
Since we move Documentation/xtensa docs to Documentation/arch/xtensa dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Chris Zankel Cc: Max Filippov Cc: linux-xte...@linux-xtensa.org Cc: linux-ker...@vger.kernel.org --- arch/xtensa/include/asm/initialize_mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/include/asm/initialize_mmu.h b/arch/xtensa/include/asm/initialize_mmu.h index 323d05789159..499fe4847490 100644 --- a/arch/xtensa/include/asm/initialize_mmu.h +++ b/arch/xtensa/include/asm/initialize_mmu.h @@ -42,7 +42,7 @@ #if XCHAL_HAVE_S32C1I && (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0) /* * We Have Atomic Operation Control (ATOMCTL) Register; Initialize it. - * For details see Documentation/xtensa/atomctl.txt + * For details see Documentation/arch/xtensa/atomctl.txt */ #if XCHAL_DCACHE_IS_COHERENT movia3, 0x25/* For SMP/MX -- internal for writeback, -- 2.19.1.856.g8858448bb
[PATCH 02/12] Documentation/arm: repointer docs to Documentation/arch/arm
Since we move 'arm/arm64' docs to Documentation/arch/{arm,arm64} dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-cry...@vger.kernel.org Cc: linux-in...@vger.kernel.org Cc: linux-ser...@vger.kernel.org --- Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt| 2 +- .../arch/arm/Samsung-S3C24XX/Overview.txt | 6 +++--- Documentation/arch/arm/Samsung/GPIO.txt| 2 +- Documentation/arch/arm/Samsung/Overview.txt| 4 ++-- Documentation/devicetree/bindings/arm/xen.txt | 2 +- Documentation/devicetree/booting-without-of.txt| 4 ++-- Documentation/translations/zh_CN/arm/Booting | 4 ++-- .../translations/zh_CN/arm/kernel_user_helpers.txt | 4 ++-- MAINTAINERS| 6 +++--- arch/arm/Kconfig | 2 +- arch/arm/common/mcpm_entry.c | 2 +- arch/arm/common/mcpm_head.S| 2 +- arch/arm/common/vlock.S| 2 +- arch/arm/include/asm/setup.h | 2 +- arch/arm/include/uapi/asm/setup.h | 2 +- arch/arm/kernel/entry-armv.S | 2 +- arch/arm/mach-exynos/common.h | 2 +- arch/arm/mach-ixp4xx/Kconfig | 14 +++--- arch/arm/mach-s3c24xx/pm.c | 2 +- arch/arm/mach-sti/Kconfig | 2 +- arch/arm/mm/Kconfig| 4 ++-- arch/arm/plat-samsung/Kconfig | 6 +++--- arch/arm/tools/mach-types | 2 +- arch/arm64/Kconfig | 2 +- arch/arm64/kernel/kuser32.S| 2 +- arch/mips/bmips/setup.c| 2 +- drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 2 +- drivers/crypto/sunxi-ss/sun4i-ss-core.c| 2 +- drivers/crypto/sunxi-ss/sun4i-ss-hash.c| 2 +- drivers/crypto/sunxi-ss/sun4i-ss.h | 2 +- drivers/input/touchscreen/sun4i-ts.c | 2 +- drivers/tty/serial/Kconfig | 2 +- 32 files changed, 49 insertions(+), 49 deletions(-) diff --git a/Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt b/Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt index e8f918b96123..542a95cd82e7 100644 --- a/Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt +++ b/Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt @@ -12,7 +12,7 @@ Introduction of the s3c2410 GPIO system, please read the Samsung provided data-sheet/users manual to find out the complete list. - See Documentation/arm/Samsung/GPIO.txt for the core implementation. + See Documentation/arch/arm/Samsung/GPIO.txt for the core implementation. GPIOLIB diff --git a/Documentation/arch/arm/Samsung-S3C24XX/Overview.txt b/Documentation/arch/arm/Samsung-S3C24XX/Overview.txt index 00d3c3141e21..8d84a1c6216d 100644 --- a/Documentation/arch/arm/Samsung-S3C24XX/Overview.txt +++ b/Documentation/arch/arm/Samsung-S3C24XX/Overview.txt @@ -182,7 +182,7 @@ NAND controller. If there are any problems the latest linux-mtd code can be found from http://www.linux-mtd.infradead.org/ - For more information see Documentation/arm/Samsung-S3C24XX/NAND.txt + For more information see Documentation/arch/arm/Samsung-S3C24XX/NAND.txt SD/MMC @@ -221,8 +221,8 @@ GPIO As of v2.6.34, the move towards using gpiolib support is almost complete, and very little of the old calls are left. - See Documentation/arm/Samsung-S3C24XX/GPIO.txt for the S3C24XX specific - support and Documentation/arm/Samsung/GPIO.txt for the core Samsung + See Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt for the S3C24XX specific + support and Documentation/arch/arm/Samsung/GPIO.txt for the core Samsung implementation. diff --git a/Documentation/arch/arm/Samsung/GPIO.txt b/Documentation/arch/arm/Samsung/GPIO.txt index 795adfd88081..e693603f38af 100644 --- a/Documentation/arch/arm/Samsung/GPIO.txt +++ b/Documentation/arch/arm/Samsung/GPIO.txt @@ -11,7 +11,7 @@ specific calls provided alongside the drivers/gpio core. S3C24XX (Legacy) -See Documentation/arm/Samsung-S3C24XX/GPIO.txt for more information +See Documentation/arch/arm/Samsung-S3C24XX/GPIO.txt for more information about these devices. Their implementation has been brought into line with the core samsung implementation described in this document. diff --git a/Documentation/arch/arm/Samsung/Overview.txt b/Documentation/arch/arm/Samsung/Overview.txt index 8f7309bad460..93091054a215 100644 --- a/Documentation/arch/arm/Samsung/Overview.txt +++ b/Documentation/arch/arm/Samsung/Overview.txt @@ -11,7 +11,7 @@ Introduction The currently
[PATCH 09/12] Dcumentation/sh: repointer docs to Documentation/arch/
Since we move Documentation/sh docs to Documentation/arch/sh dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux...@vger.kernel.org --- Documentation/conf.py | 2 +- MAINTAINERS | 2 +- arch/sh/Kconfig.cpu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/conf.py b/Documentation/conf.py index 3b2397bcb565..8bbe421c1d97 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -402,7 +402,7 @@ latex_documents = [ 'The kernel development community', 'manual'), ('security/index', 'security.tex', 'The kernel security subsystem manual', 'The kernel development community', 'manual'), -('sh/index', 'sh.tex', 'SuperH architecture implementation manual', +('arch/sh/index', 'sh.tex', 'SuperH architecture implementation manual', 'The kernel development community', 'manual'), ('sound/index', 'sound.tex', 'Linux Sound Subsystem Documentation', 'The kernel development community', 'manual'), diff --git a/MAINTAINERS b/MAINTAINERS index 7a245d3f02fd..84448d5838b7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15169,7 +15169,7 @@ M: Rich Felker L: linux...@vger.kernel.org Q: http://patchwork.kernel.org/project/linux-sh/list/ S: Maintained -F: Documentation/sh/ +F: Documentation/arch/sh/ F: arch/sh/ F: drivers/sh/ diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu index 4a4edc7e03d4..fdc8b565241b 100644 --- a/arch/sh/Kconfig.cpu +++ b/arch/sh/Kconfig.cpu @@ -94,7 +94,7 @@ config CPU_HAS_SR_RB that are lacking this bit must have another method in place for accomplishing what is taken care of by the banked registers. - See for further + See for further information on SR.RB and register banking in the kernel in general. config CPU_HAS_PTEAEX -- 2.19.1.856.g8858448bb
[PATCH 07/12] Documentation/parisc: repointer docs to Documentation/arch/
Since we move Documentation/parisc docs to Documentation/arch/parisc dir, redirect the doc pointer to them. Signed-off-by: Alex Shi Cc: Mauro Carvalho Chehab Cc: linux-ker...@vger.kernel.org --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 03a8c687f87f..e1aad1b8224c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12000,7 +12000,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git S: Maintained F: arch/parisc/ -F: Documentation/parisc/ +F: Documentation/arch/parisc/ F: drivers/parisc/ F: drivers/char/agp/parisc-agp.c F: drivers/input/serio/gscps2.c -- 2.19.1.856.g8858448bb
[RFC PATCH] sched/numa: do load balance between remote nodes
commit cb83b629b remove the NODE sched domain and check if the node distance in SLIT table is farther than REMOTE_DISTANCE, if so, it will lose the load balance chance at exec/fork/wake_affine points. But actually, even the node distance is farther than REMOTE_DISTANCE, Modern CPUs also has QPI like connections, that make memory access is not too slow between nodes. So above losing on NUMA machine make a huge performance regression on benchmark: hackbench, tbench, netperf and oltp etc. This patch will recover the scheduler behavior to old mode on all my Intel platforms: NHM EP/EX, WSM EP, SNB EP/EP4S, and so remove the perfromance regressions. (all of them just has 2 kinds distance, 10 21) Signed-off-by: Alex Shi alex@intel.com --- kernel/sched/core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 39eb601..b2ee41a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6286,7 +6286,7 @@ static int sched_domains_curr_level; static inline int sd_local_flags(int level) { - if (sched_domains_numa_distance[level] REMOTE_DISTANCE) + if (sched_domains_numa_distance[level] RECLAIM_DISTANCE) return 0; return SD_BALANCE_EXEC | SD_BALANCE_FORK | SD_WAKE_AFFINE; -- 1.7.5.4 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [RFC PATCH] sched/numa: do load balance between remote nodes
On 06/06/2012 05:01 PM, Peter Zijlstra wrote: On Wed, 2012-06-06 at 14:52 +0800, Alex Shi wrote: - if (sched_domains_numa_distance[level] REMOTE_DISTANCE) + if (sched_domains_numa_distance[level] RECLAIM_DISTANCE) I actually considered this.. I just felt a little uneasy re-purposing the RECLAIM_DISTANCE for this, but I guess its all the same anyway. Both mean expensive-away-distance. I understand you, the BIOS guys don't have a good alignment with us on this. So I've taken this. thanks! ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev