Re: [PATCH AUTOSEL 5.0 015/262] memblock: memblock_phys_alloc_try_nid(): don't panic

2019-03-27 Thread Mike Rapoport
Hi, On Wed, Mar 27, 2019 at 01:57:50PM -0400, Sasha Levin wrote: > From: Mike Rapoport > > [ Upstream commit 337555744e6e39dd1d87698c6084dd88a606d60a ] > > The memblock_phys_alloc_try_nid() function tries to allocate memory from > the requested node and then falls back to allocation from any

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Segher Boessenkool
On Wed, Mar 27, 2019 at 07:47:55AM -0500, Segher Boessenkool wrote: > On Wed, Mar 27, 2019 at 07:40:32AM +0100, Christophe Leroy wrote: > > Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : > > >I tried to reproduce this. It does not fail with a ppc6xx_defconfig > > >build, and

[RFC PATCH 00/68] VFS: Convert a bunch of filesystems to the new mount API

2019-03-27 Thread David Howells
Hi Al, Here's a set of patches that converts a bunch (but not yet all!) to the new mount API. To this end, it makes the following changes: (1) Provides a convenience member in struct fs_context that is OR'd into sb->s_iflags by sget_fc(). (2) Provides a convenience helper function,

Re: [PATCH 1/4] ibmvfc: Remove "failed" from logged errors

2019-03-27 Thread Martin K. Petersen
Tyrel, > The text of messages logged with ibmvfc_log_error() always contain the > term "failed". In the case of cancelled commands during EH they are > reported back by the VIOS using error codes. This can be confusing to > somebody looking at these log messages as to whether a command was >

[RFC PATCH 60/68] vfs: Convert spufs to use the new mount API

2019-03-27 Thread David Howells
Convert the spufs filesystem to the new internal mount API as the old one will be obsoleted and removed. This allows greater flexibility in communication of mount parameters between userspace, the VFS and the filesystem. See Documentation/filesystems/mount_api.txt for more information.

[RFC PATCH 16/68] vfs: Convert cxl to use the new mount API

2019-03-27 Thread David Howells
Convert the cxl filesystem to the new internal mount API as the old one will be obsoleted and removed. This allows greater flexibility in communication of mount parameters between userspace, the VFS and the filesystem. See Documentation/filesystems/mount_api.txt for more information.

RE: [PATCH RFC v4 09/21] PCI: Mark immovable BARs with PCI_FIXED

2019-03-27 Thread David Laight
From: Bjorn Helgaas > Sent: 26 March 2019 20:29 > > On Mon, Mar 11, 2019 at 04:31:10PM +0300, Sergey Miroshnichenko wrote: > > If a PCIe device driver doesn't yet have support for movable BARs, > > mark device's BARs with IORESOURCE_PCI_FIXED. > > I'm hesitant about using IORESOURCE_PCI_FIXED

Re: [PATCH RFCv2 0/4] mm/memory_hotplug: Introduce memory block types

2019-03-27 Thread David Hildenbrand
On 20.12.18 14:08, Michal Hocko wrote: > On Thu 20-12-18 13:58:16, David Hildenbrand wrote: >> On 30.11.18 18:59, David Hildenbrand wrote: >>> This is the second approach, introducing more meaningful memory block >>> types and not changing online behavior in the kernel. It is based on >>> latest

[PATCH AUTOSEL 3.18 19/41] SoC: imx-sgtl5000: add missing put_device()

2019-03-27 Thread Sasha Levin
From: Wen Yang [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following warnings: ./sound/soc/fsl/imx-sgtl5000.c:169:1-7: ERROR:

[PATCH AUTOSEL 4.4 45/63] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-03-27 Thread Sasha Levin
From: wen yang [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yang Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam

[PATCH AUTOSEL 4.4 30/63] SoC: imx-sgtl5000: add missing put_device()

2019-03-27 Thread Sasha Levin
From: Wen Yang [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following warnings: ./sound/soc/fsl/imx-sgtl5000.c:169:1-7: ERROR:

[PATCH AUTOSEL 4.9 68/87] powerpc/pseries: Perform full re-add of CPU for topology update post-migration

2019-03-27 Thread Sasha Levin
From: Nathan Fontenot [ Upstream commit 81b61324922c67f73813d8a9c175f3c153f6a1c6 ] On pseries systems, performing a partition migration can result in altering the nodes a CPU is assigned to on the destination system. For exampl, pre-migration on the source system CPUs are in node 1 and 3,

[PATCH AUTOSEL 4.9 60/87] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-03-27 Thread Sasha Levin
From: wen yang [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yang Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam

[PATCH AUTOSEL 4.9 38/87] SoC: imx-sgtl5000: add missing put_device()

2019-03-27 Thread Sasha Levin
From: Wen Yang [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following warnings: ./sound/soc/fsl/imx-sgtl5000.c:169:1-7: ERROR:

[PATCH AUTOSEL 4.14 098/123] powerpc/pseries: Perform full re-add of CPU for topology update post-migration

2019-03-27 Thread Sasha Levin
From: Nathan Fontenot [ Upstream commit 81b61324922c67f73813d8a9c175f3c153f6a1c6 ] On pseries systems, performing a partition migration can result in altering the nodes a CPU is assigned to on the destination system. For exampl, pre-migration on the source system CPUs are in node 1 and 3,

[PATCH AUTOSEL 4.14 084/123] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-03-27 Thread Sasha Levin
From: wen yang [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yang Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam

[PATCH AUTOSEL 4.14 055/123] SoC: imx-sgtl5000: add missing put_device()

2019-03-27 Thread Sasha Levin
From: Wen Yang [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following warnings: ./sound/soc/fsl/imx-sgtl5000.c:169:1-7: ERROR:

[PATCH AUTOSEL 4.14 043/123] powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback

2019-03-27 Thread Sasha Levin
From: "Aneesh Kumar K.V" [ Upstream commit 5330367fa300742a97e20e953b1f77f48392faae ] After we ALIGN up the address we need to make sure we didn't overflow and resulted in zero address. In that case, we need to make sure that the returned address is greater than mmap_min_addr. This fixes

[PATCH AUTOSEL 4.14 038/123] powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc

2019-03-27 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit e7140639b1de65bba435a6bd772d134901141f86 ] When building with -Wsometimes-uninitialized, Clang warns: arch/powerpc/xmon/ppc-dis.c:157:7: warning: variable 'opcode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

[PATCH AUTOSEL 4.19 152/192] powerpc/pseries: Perform full re-add of CPU for topology update post-migration

2019-03-27 Thread Sasha Levin
From: Nathan Fontenot [ Upstream commit 81b61324922c67f73813d8a9c175f3c153f6a1c6 ] On pseries systems, performing a partition migration can result in altering the nodes a CPU is assigned to on the destination system. For exampl, pre-migration on the source system CPUs are in node 1 and 3,

[PATCH AUTOSEL 4.19 148/192] powerpc/64s: Clear on-stack exception marker upon exception return

2019-03-27 Thread Sasha Levin
From: Nicolai Stange [ Upstream commit eddd0b332304d554ad6243942f87c2fcea98c56b ] The ppc64 specific implementation of the reliable stacktracer, save_stack_trace_tsk_reliable(), bails out and reports an "unreliable trace" whenever it finds an exception frame on the stack. Stack frames are

[PATCH AUTOSEL 4.19 133/192] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-03-27 Thread Sasha Levin
From: wen yang [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yang Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam

[PATCH AUTOSEL 4.19 083/192] SoC: imx-sgtl5000: add missing put_device()

2019-03-27 Thread Sasha Levin
From: Wen Yang [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following warnings: ./sound/soc/fsl/imx-sgtl5000.c:169:1-7: ERROR:

[PATCH AUTOSEL 4.19 060/192] powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback

2019-03-27 Thread Sasha Levin
From: "Aneesh Kumar K.V" [ Upstream commit 5330367fa300742a97e20e953b1f77f48392faae ] After we ALIGN up the address we need to make sure we didn't overflow and resulted in zero address. In that case, we need to make sure that the returned address is greater than mmap_min_addr. This fixes

[PATCH AUTOSEL 4.19 055/192] powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc

2019-03-27 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit e7140639b1de65bba435a6bd772d134901141f86 ] When building with -Wsometimes-uninitialized, Clang warns: arch/powerpc/xmon/ppc-dis.c:157:7: warning: variable 'opcode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

[PATCH AUTOSEL 4.19 052/192] powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables

2019-03-27 Thread Sasha Levin
From: Alexey Kardashevskiy [ Upstream commit 11f5acce2fa43b015a8120fa7620fa4efd0a2952 ] We store 2 multilevel tables in iommu_table - one for the hardware and one with the corresponding userspace addresses. Before allocating the tables, the iommu_table_group_ops::get_table_size() hook returns

[PATCH AUTOSEL 5.0 206/262] powerpc/pseries: Perform full re-add of CPU for topology update post-migration

2019-03-27 Thread Sasha Levin
From: Nathan Fontenot [ Upstream commit 81b61324922c67f73813d8a9c175f3c153f6a1c6 ] On pseries systems, performing a partition migration can result in altering the nodes a CPU is assigned to on the destination system. For exampl, pre-migration on the source system CPUs are in node 1 and 3,

[PATCH AUTOSEL 5.0 202/262] powerpc/64s: Clear on-stack exception marker upon exception return

2019-03-27 Thread Sasha Levin
From: Nicolai Stange [ Upstream commit eddd0b332304d554ad6243942f87c2fcea98c56b ] The ppc64 specific implementation of the reliable stacktracer, save_stack_trace_tsk_reliable(), bails out and reports an "unreliable trace" whenever it finds an exception frame on the stack. Stack frames are

[PATCH AUTOSEL 5.0 183/262] ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

2019-03-27 Thread Sasha Levin
From: wen yang [ Upstream commit 11907e9d3533648615db08140e3045b829d2c141 ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Wen Yang Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam

[PATCH AUTOSEL 5.0 174/262] powerpc/ptrace: Mitigate potential Spectre v1

2019-03-27 Thread Sasha Levin
From: Breno Leitao [ Upstream commit ebb0e13ead2ddc186a80b1b0235deeefc5a1a667 ] 'regno' is directly controlled by user space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. On PTRACE_SETREGS and PTRACE_GETREGS requests, user space passes the register number

[PATCH AUTOSEL 5.0 118/262] SoC: imx-sgtl5000: add missing put_device()

2019-03-27 Thread Sasha Levin
From: Wen Yang [ Upstream commit 8fa857da9744f513036df1c43ab57f338941ae7d ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following warnings: ./sound/soc/fsl/imx-sgtl5000.c:169:1-7: ERROR:

[PATCH AUTOSEL 5.0 106/262] powerpc/44x: Force PCI on for CURRITUCK

2019-03-27 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit aa7150ba378650d0e9d84b8e4d805946965a5926 ] The recent rework of PCI kconfig symbols exposed an existing bug in the CURRITUCK kconfig logic. It selects PPC4xx_PCI_EXPRESS which depends on PCI, but PCI is user selectable and might be disabled, leading to

[PATCH AUTOSEL 5.0 086/262] powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback

2019-03-27 Thread Sasha Levin
From: "Aneesh Kumar K.V" [ Upstream commit 5330367fa300742a97e20e953b1f77f48392faae ] After we ALIGN up the address we need to make sure we didn't overflow and resulted in zero address. In that case, we need to make sure that the returned address is greater than mmap_min_addr. This fixes

[PATCH AUTOSEL 5.0 080/262] powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc

2019-03-27 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit e7140639b1de65bba435a6bd772d134901141f86 ] When building with -Wsometimes-uninitialized, Clang warns: arch/powerpc/xmon/ppc-dis.c:157:7: warning: variable 'opcode' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

[PATCH AUTOSEL 5.0 076/262] powerpc/fsl: Fix the flush of branch predictor.

2019-03-27 Thread Sasha Levin
From: Christophe Leroy [ Upstream commit 27da80719ef132cf8c80eb406d5aeb37dddf78cc ] The commit identified below adds MC_BTB_FLUSH macro only when CONFIG_PPC_FSL_BOOK3E is defined. This results in the following error on some configs (seen several times with kisskb randconfig_defconfig)

[PATCH AUTOSEL 5.0 072/262] powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables

2019-03-27 Thread Sasha Levin
From: Alexey Kardashevskiy [ Upstream commit 11f5acce2fa43b015a8120fa7620fa4efd0a2952 ] We store 2 multilevel tables in iommu_table - one for the hardware and one with the corresponding userspace addresses. Before allocating the tables, the iommu_table_group_ops::get_table_size() hook returns

[PATCH AUTOSEL 5.0 061/262] mm/resource: Return real error codes from walk failures

2019-03-27 Thread Sasha Levin
From: Dave Hansen [ Upstream commit 5cd401ace914dc68556c6d2fcae0c349444d5f86 ] walk_system_ram_range() can return an error code either becuase *it* failed, or because the 'func' that it calls returned an error. The memory hotplug does the following: ret = walk_system_ram_range(...,

[PATCH AUTOSEL 5.0 015/262] memblock: memblock_phys_alloc_try_nid(): don't panic

2019-03-27 Thread Sasha Levin
From: Mike Rapoport [ Upstream commit 337555744e6e39dd1d87698c6084dd88a606d60a ] The memblock_phys_alloc_try_nid() function tries to allocate memory from the requested node and then falls back to allocation from any node in the system. The memblock_alloc_base() fallback used by this function

Re: [PATCH RFC v4 12/21] PCI: Don't allow hotplugged devices to steal resources

2019-03-27 Thread Sergey Miroshnichenko
On 3/26/19 11:55 PM, Bjorn Helgaas wrote: > On Mon, Mar 11, 2019 at 04:31:13PM +0300, Sergey Miroshnichenko wrote: >> When movable BARs are enabled, the PCI subsystem at first releases >> all the bridge windows and then performs an attempt to assign new >> requested resources and re-assign the

Re: [PATCH RFC v4 11/21] PCI: Release and reassign the root bridge resources during rescan

2019-03-27 Thread Sergey Miroshnichenko
On 3/26/19 11:41 PM, Bjorn Helgaas wrote: > On Mon, Mar 11, 2019 at 04:31:12PM +0300, Sergey Miroshnichenko wrote: >> When the movable BARs feature is enabled, don't rely on the memory gaps >> reserved by the BIOS/bootloader/firmware, but instead rearrange the BARs >> and bridge windows starting

Re: [PATCH RFC v4 09/21] PCI: Mark immovable BARs with PCI_FIXED

2019-03-27 Thread Sergey Miroshnichenko
On 3/27/19 8:03 PM, David Laight wrote: > From: Bjorn Helgaas >> Sent: 26 March 2019 20:29 >> >> On Mon, Mar 11, 2019 at 04:31:10PM +0300, Sergey Miroshnichenko wrote: >>> If a PCIe device driver doesn't yet have support for movable BARs, >>> mark device's BARs with IORESOURCE_PCI_FIXED. >> >> I'm

Re: [PATCH RFC v4 08/21] nvme-pci: Handle movable BARs

2019-03-27 Thread Sergey Miroshnichenko
On 3/26/19 11:20 PM, Bjorn Helgaas wrote: > [+cc Keith, Jens, Christoph, Sagi, linux-nvme, LKML] > > On Mon, Mar 11, 2019 at 04:31:09PM +0300, Sergey Miroshnichenko wrote: >> Hotplugged devices can affect the existing ones by moving their BARs. >> PCI subsystem will inform the NVME driver about

Re: [PATCH RFC v4 05/21] PCI: hotplug: Add a flag for the movable BARs feature

2019-03-27 Thread Sergey Miroshnichenko
On 3/26/19 10:24 PM, Bjorn Helgaas wrote: > On Mon, Mar 11, 2019 at 04:31:06PM +0300, Sergey Miroshnichenko wrote: >> If a new PCIe device has been hot-plugged between the two active ones >> without big enough gap between their BARs, > > Just to speak precisely here, a hot-added device is not

Re: [PATCH RFC v4 03/21] PCI: Enable bridge's I/O and MEM access for hotplugged devices

2019-03-27 Thread Sergey Miroshnichenko
On 3/26/19 10:13 PM, Bjorn Helgaas wrote: > On Mon, Mar 11, 2019 at 04:31:04PM +0300, Sergey Miroshnichenko wrote: >> After updating the bridge window resources, the PCI_COMMAND_IO and >> PCI_COMMAND_MEMORY bits of the bridge must be addressed as well. >> >> Signed-off-by: Sergey Miroshnichenko

Re: [PATCH RFC v4 02/21] PCI: Fix race condition in pci_enable/disable_device()

2019-03-27 Thread Sergey Miroshnichenko
On 3/26/19 10:00 PM, Bjorn Helgaas wrote: > [+cc Srinath, Marta, LKML] > > On Mon, Mar 11, 2019 at 04:31:03PM +0300, Sergey Miroshnichenko wrote: >> CPU0 CPU1 >> >> pci_enable_device_mem() pci_enable_device_mem() >>pci_enable_bridge()

Re: [Qemu-ppc] pseries on qemu-system-ppc64le crashes in doorbell_core_ipi()

2019-03-27 Thread Cédric Le Goater
On 3/27/19 5:37 PM, Cédric Le Goater wrote: > On 3/27/19 1:36 PM, Sebastian Andrzej Siewior wrote: >> With qemu-system-ppc64le -machine pseries -smp 4 I get: >> >> |# chrt 1 hackbench >> |Running in process mode with 10 groups using 40 file descriptors each (== >> 400 tasks) >> |Each sender will

Re: [Qemu-ppc] pseries on qemu-system-ppc64le crashes in doorbell_core_ipi()

2019-03-27 Thread Cédric Le Goater
On 3/27/19 1:36 PM, Sebastian Andrzej Siewior wrote: > With qemu-system-ppc64le -machine pseries -smp 4 I get: > > |# chrt 1 hackbench > |Running in process mode with 10 groups using 40 file descriptors each (== > 400 tasks) > |Each sender will pass 100 messages of 100 bytes > | Oops: Exception

Re: [PATCH v5 0/8] powerpc/powernv/pci: Make hotplug self-sufficient, independent of FW and DT

2019-03-27 Thread Bjorn Helgaas
Hi Sergey, Since this doesn't touch drivers/pci, I assume powerpc folks will handle this series. Let me know if otherwise. On Mon, Mar 11, 2019 at 02:52:25PM +0300, Sergey Miroshnichenko wrote: > This patchset allows switching from the pnv_php module to the standard > pciehp driver for PCIe

Re: [PATCH v2 1/2] powerpc: Make some functions static

2019-03-27 Thread Mukesh Ojha
On 3/27/2019 2:17 AM, Mathieu Malaterre wrote: In commit cb9e4d10c448 ("[POWERPC] Add support for 750CL Holly board") new functions were added. Since most of these functions can be made static, make it so. Both holly_power_off and holly_halt functions were not changed since they are unused,

Re: [PATCH v2 2/2] Remove functions holly_power_off and holly_halt since unused

2019-03-27 Thread Mukesh Ojha
On 3/27/2019 2:17 AM, Mathieu Malaterre wrote: Silence the following warnings triggered using W=1: arch/powerpc/platforms/embedded6xx/holly.c:236:6: error: no previous prototype for 'holly_power_off' [-Werror=missing-prototypes] arch/powerpc/platforms/embedded6xx/holly.c:243:6: error:

pseries on qemu-system-ppc64le crashes in doorbell_core_ipi()

2019-03-27 Thread Sebastian Andrzej Siewior
With qemu-system-ppc64le -machine pseries -smp 4 I get: |# chrt 1 hackbench |Running in process mode with 10 groups using 40 file descriptors each (== 400 tasks) |Each sender will pass 100 messages of 100 bytes | Oops: Exception in kernel mode, sig: 4 [#1] | LE PAGE_SIZE=64K MMU=Hash PREEMPT

Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Alexandre Ghiti
On 03/27/2019 11:05 AM, Aneesh Kumar K.V wrote: Alexandre Ghiti writes: On 03/27/2019 09:55 AM, Aneesh Kumar K.V wrote: On 3/27/19 2:14 PM, Alexandre Ghiti wrote: On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: . This is now #define

Applied "ASoC: fsl_audmix: Fix kbuild failure" to the asoc tree

2019-03-27 Thread Mark Brown
The patch ASoC: fsl_audmix: Fix kbuild failure has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Segher Boessenkool
On Wed, Mar 27, 2019 at 07:40:32AM +0100, Christophe Leroy wrote: > Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : > >I tried to reproduce this. It does not fail with a ppc6xx_defconfig > >build, and mpc885_ads_defconfig fails with > > So far, the only defconfig which fails for me is

Re: linux-next: build failure after merge of the sound-asoc tree

2019-03-27 Thread Mark Brown
On Wed, Mar 27, 2019 at 03:29:55PM +1100, Michael Ellerman wrote: > Mark Brown writes: > > Hrm, seems PowerPC is still not using the common clock API - is there > > any plan for that? There are some ASoC PowerPC uses so it's going to be > > a bit of an issue as we expand our use of the clock

Re: Bad file pattern in MAINTAINERS section 'IBM Power Virtual Accelerator Switchboard'

2019-03-27 Thread Michael Ellerman
Joe Perches writes: > A file pattern line in this section of the MAINTAINERS file in linux-next > does not have a match in the linux source files. > > This could occur because a matching filename was never added, was deleted > or renamed in some other commit. I think it was removed before the

Re: [PATCH] powerpc/pseries/mce: fix misleading print for TLB mutlihit.

2019-03-27 Thread Michael Ellerman
Mahesh J Salgaonkar writes: > From: Mahesh Salgaonkar > > On pseries, TLB multihit are reported as D-Cache Multihit. This is because > the wrongly populated mc_err_types[] array. Per PAPR, TLB error type is 0x04 > and mc_err_types[4] points to "D-Cache" instead of "TLB" string. Fixup the >

Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Aneesh Kumar K.V
Alexandre Ghiti writes: > On 03/27/2019 09:55 AM, Aneesh Kumar K.V wrote: >> On 3/27/19 2:14 PM, Alexandre Ghiti wrote: >>> >>> >>> On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: > . >> >> This is now >> #define

Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Alexandre Ghiti
On 03/27/2019 09:55 AM, Aneesh Kumar K.V wrote: On 3/27/19 2:14 PM, Alexandre Ghiti wrote: On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages

[PATCH] ASoC: fsl_audmix: Fix kbuild failure

2019-03-27 Thread Viorel Suman
The format in dev_dbg function must be a constant. Signed-off-by: Viorel Suman --- sound/soc/fsl/fsl_audmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_audmix.c b/sound/soc/fsl/fsl_audmix.c index 3356cb6..dabde03 100644 ---

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Christophe Leroy
Le 27/03/2019 à 09:56, Christophe Leroy a écrit : Le 26/03/2019 à 21:12, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote:  

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Christophe Leroy
Le 26/03/2019 à 21:12, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote: STACK off0x vaddr 0x paddr

Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Aneesh Kumar K.V
On 3/27/19 2:14 PM, Alexandre Ghiti wrote: On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply

Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Alexandre Ghiti
On 03/27/2019 08:01 AM, Aneesh Kumar K.V wrote: On 3/27/19 12:06 PM, Alexandre Ghiti wrote: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages

Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Aneesh Kumar K.V
On 3/27/19 12:06 PM, Alexandre Ghiti wrote: On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages to memory allocator. Signed-off-by: Alexandre Ghiti

[PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration

2019-03-27 Thread Alexandre Ghiti
On systems without CONTIG_ALLOC activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patch simply enables the possibility to hand back those pages to memory allocator. Signed-off-by: Alexandre Ghiti Acked-by: David S. Miller [sparc] ---

[PATCH v8 0/4] Fix free/allocation of runtime gigantic pages

2019-03-27 Thread Alexandre Ghiti
This series fixes sh and sparc that did not advertise their gigantic page support and then were not able to allocate and free those pages at runtime. It renames MEMORY_ISOLATION && COMPACTION || CMA condition into the more accurate CONTIG_ALLOC, since it allows the

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Christophe Leroy
Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 03:12:31PM -0500, Segher Boessenkool wrote: On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +,

[PATCH v8 3/4] mm: Simplify MEMORY_ISOLATION && COMPACTION || CMA into CONTIG_ALLOC

2019-03-27 Thread Alexandre Ghiti
This condition allows to define alloc_contig_range, so simplify it into a more accurate naming. Suggested-by: Vlastimil Babka Signed-off-by: Alexandre Ghiti Acked-by: Vlastimil Babka --- arch/arm64/Kconfig | 2 +- arch/powerpc/platforms/Kconfig.cputype | 2 +-

[PATCH v8 2/4] sparc: Advertise gigantic page support

2019-03-27 Thread Alexandre Ghiti
sparc actually supports gigantic pages and selecting ARCH_HAS_GIGANTIC_PAGE allows it to allocate and free gigantic pages at runtime. sparc allows configuration such as huge pages of 16GB, pages of 8KB and MAX_ORDER = 13 (default): HPAGE_SHIFT (34) - PAGE_SHIFT (13) = 21 >= MAX_ORDER (13)

[PATCH v8 1/4] sh: Advertise gigantic page support

2019-03-27 Thread Alexandre Ghiti
sh actually supports gigantic pages and selecting ARCH_HAS_GIGANTIC_PAGE allows it to allocate and free gigantic pages at runtime. At least sdk7786_defconfig exposes such a configuration with huge pages of 64MB, pages of 4KB and MAX_ORDER = 11: HPAGE_SHIFT (26) - PAGE_SHIFT (12) = 14 >= MAX_ORDER

Re: [PATCH v2] kbuild: strip whitespace in cmd_record_mcount findstring

2019-03-27 Thread Nicholas Piggin
Joe Lawrence's on March 27, 2019 3:33 am: > On Tue, Mar 26, 2019 at 02:29:47PM +0900, Masahiro Yamada wrote: >> On Tue, Mar 26, 2019 at 1:05 AM Joe Lawrence wrote: >> > >> > CC_FLAGS_FTRACE may contain trailing whitespace that interferes with >> > findstring. >> > >> > For example, commit

Re: [PATCH v2] arch/powerpc: Rework local_paca to avoid LTO warnings

2019-03-27 Thread Nicholas Piggin
Alastair D'Silva's on March 27, 2019 2:37 pm: > On Tue, 2019-03-26 at 15:58 +1000, Nicholas Piggin wrote: >> Alastair D'Silva's on March 14, 2019 12:31 pm: >> > From: Alastair D'Silva >> > >> > When building an LTO kernel, the existing code generates warnings: >> >