[PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-21 Thread Keerthy
Enable DS0 for only those platforms on which it is functional Signed-off-by: Keerthy --- arch/arm/mach-omap2/pm33xx-core.c| 5 + drivers/soc/ti/pm33xx.c | 9 + include/linux/platform_data/pm33xx.h | 2 ++ 3 files changed, 16 insertions(+) diff --git

[PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-21 Thread Keerthy
Enable DS0 for only those platforms on which it is functional Signed-off-by: Keerthy --- arch/arm/mach-omap2/pm33xx-core.c| 5 + drivers/soc/ti/pm33xx.c | 9 + include/linux/platform_data/pm33xx.h | 2 ++ 3 files changed, 16 insertions(+) diff --git

[GIT] IDE

2018-08-21 Thread David Miller
1) Remove redundant variables, from Colin Ian King. 2) Expected switch fall-through annotations, from Gustavo A. R. Silva Please pull, thanks! The following changes since commit 94710cac0ef4ee177a63b5227664b38c95bbf703: Linux 4.18 (2018-08-12 13:41:04 -0700) are available in the Git

[GIT] IDE

2018-08-21 Thread David Miller
1) Remove redundant variables, from Colin Ian King. 2) Expected switch fall-through annotations, from Gustavo A. R. Silva Please pull, thanks! The following changes since commit 94710cac0ef4ee177a63b5227664b38c95bbf703: Linux 4.18 (2018-08-12 13:41:04 -0700) are available in the Git

[GIT] Sparc

2018-08-21 Thread David Miller
Nothing super serious: 1) Convert sparc32 over to NO_BOOTMEM, from Mike Rapoport. 2) Use dma_noncoherent_ops on sparc32, from Christoph Hellwig 3) Fix kbuild defconfig handling on sparc32, from Masahiro Yamada. Please pull, thanks a lot. The following changes since commit

[GIT] Sparc

2018-08-21 Thread David Miller
Nothing super serious: 1) Convert sparc32 over to NO_BOOTMEM, from Mike Rapoport. 2) Use dma_noncoherent_ops on sparc32, from Christoph Hellwig 3) Fix kbuild defconfig handling on sparc32, from Masahiro Yamada. Please pull, thanks a lot. The following changes since commit

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
Hi, On (08/21/18 14:43), Rasmus Villemoes wrote: > > I think that sysfs input is always properly NULL-terminated. It may or > > may not contain \n, but \0 is expected to be there. > > Maybe. But it shouldn't hurt to make it accept a src size (the caller > can always pass -1 is he's sure the

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
Hi, On (08/21/18 14:43), Rasmus Villemoes wrote: > > I think that sysfs input is always properly NULL-terminated. It may or > > may not contain \n, but \0 is expected to be there. > > Maybe. But it shouldn't hurt to make it accept a src size (the caller > can always pass -1 is he's sure the

[PATCH net] net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler

2018-08-21 Thread Samuel Mendoza-Jonas
The ncsi_pkg_info_all_nl() .dumpit handler is missing the NLM_F_MULTI flag, causing additional package information after the first to be lost. Also fixup a sanity check in ncsi_write_package_info() to reject out of range package IDs. Signed-off-by: Samuel Mendoza-Jonas ---

[PATCH net] net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler

2018-08-21 Thread Samuel Mendoza-Jonas
The ncsi_pkg_info_all_nl() .dumpit handler is missing the NLM_F_MULTI flag, causing additional package information after the first to be lost. Also fixup a sanity check in ncsi_write_package_info() to reject out of range package IDs. Signed-off-by: Samuel Mendoza-Jonas ---

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
Hello Greg, On (08/21/18 15:57), Greg Kroah-Hartman wrote: > > I think that sysfs input is always properly NULL-terminated. It may or > > may not contain \n, but \0 is expected to be there. Am I wrong? > > sysfs data is always null terminated. > > What exactly are you trying to do here? If a

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
Hello Greg, On (08/21/18 15:57), Greg Kroah-Hartman wrote: > > I think that sysfs input is always properly NULL-terminated. It may or > > may not contain \n, but \0 is expected to be there. Am I wrong? > > sysfs data is always null terminated. > > What exactly are you trying to do here? If a

Ping [PATCH v3] perf report: Create auxiliary trace data files for s390

2018-08-21 Thread Thomas Richter
Create auxiliary trace data log files when invoked with option --itrace=d as in [root@s35lp76 perf] ./perf report -i perf.data.aux1 --stdio --itrace=d perf report creates several data files in the current directory named aux.smp.## where ## is a 2 digit hex number with leading zeros

Ping [PATCH v3] perf report: Create auxiliary trace data files for s390

2018-08-21 Thread Thomas Richter
Create auxiliary trace data log files when invoked with option --itrace=d as in [root@s35lp76 perf] ./perf report -i perf.data.aux1 --stdio --itrace=d perf report creates several data files in the current directory named aux.smp.## where ## is a 2 digit hex number with leading zeros

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Dominique Martinet
Joe Perches wrote on Tue, Aug 21, 2018: > On Wed, 2018-08-22 at 06:16 +0200, Dominique Martinet wrote: > > I think that could work, but at the point making a separate > > compiler-common.h and not including compiler-gcc.h for clang sounds > > better to me... More importantly here, either solution

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Dominique Martinet
Joe Perches wrote on Tue, Aug 21, 2018: > On Wed, 2018-08-22 at 06:16 +0200, Dominique Martinet wrote: > > I think that could work, but at the point making a separate > > compiler-common.h and not including compiler-gcc.h for clang sounds > > better to me... More importantly here, either solution

Re: [GIT PULL] IDA changes for 4.19

2018-08-21 Thread Matthew Wilcox
On Mon, Aug 13, 2018 at 01:00:03PM -0700, Matthew Wilcox wrote: > > Hi Linus, > > Please pull the IDA patchset. It depends on the XArray patchset, so > ignore this pull request if you've decided not to pull the XArray patches. > The new IDA API is similar to ida_simple_get() but better named.

Re: [GIT PULL] IDA changes for 4.19

2018-08-21 Thread Matthew Wilcox
On Mon, Aug 13, 2018 at 01:00:03PM -0700, Matthew Wilcox wrote: > > Hi Linus, > > Please pull the IDA patchset. It depends on the XArray patchset, so > ignore this pull request if you've decided not to pull the XArray patches. > The new IDA API is similar to ida_simple_get() but better named.

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Joe Perches
On Wed, 2018-08-22 at 06:16 +0200, Dominique Martinet wrote: > I think that could work, but at the point making a separate > compiler-common.h and not including compiler-gcc.h for clang sounds > better to me... More importantly here, either solution sound complex > enough to require more than a

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Joe Perches
On Wed, 2018-08-22 at 06:16 +0200, Dominique Martinet wrote: > I think that could work, but at the point making a separate > compiler-common.h and not including compiler-gcc.h for clang sounds > better to me... More importantly here, either solution sound complex > enough to require more than a

Kindly Confirm Receive

2018-08-21 Thread Richard Jeffery Esq
Good day, My name is Richard Jeffery I have a client, who died as a result of heart-related condition on the 10th of December, 2015. I have contacted you to assist in distributing the estate left behind by my client, who shares the same last name as yours. Would discuss more when I hear from

Kindly Confirm Receive

2018-08-21 Thread Richard Jeffery Esq
Good day, My name is Richard Jeffery I have a client, who died as a result of heart-related condition on the 10th of December, 2015. I have contacted you to assist in distributing the estate left behind by my client, who shares the same last name as yours. Would discuss more when I hear from

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Dominique Martinet
Nick Desaulniers wrote on Tue, Aug 21, 2018: > On Tue, Aug 21, 2018 at 9:45 AM Joe Perches wrote: > > > Tested with gcc-7 and clang-8. > > > > clang-8? Isn't the latest officlal clang 6.0.1 ? > [...] > > So if something other than 6.0.x is required, > > then some additional check should probably

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Dominique Martinet
Nick Desaulniers wrote on Tue, Aug 21, 2018: > On Tue, Aug 21, 2018 at 9:45 AM Joe Perches wrote: > > > Tested with gcc-7 and clang-8. > > > > clang-8? Isn't the latest officlal clang 6.0.1 ? > [...] > > So if something other than 6.0.x is required, > > then some additional check should probably

linux-next: Tree for Aug 22

2018-08-21 Thread Stephen Rothwell
Hi all, Please do not add any v4.20 material to your linux-next included branches until after v4.19-rc1 has been released. Changes since 20180821: The akpm-current tree gained a conflict against the mips tree. Non-merge commits (relative to Linus' tree): 2206 2327 files changed, 76092

linux-next: Tree for Aug 22

2018-08-21 Thread Stephen Rothwell
Hi all, Please do not add any v4.20 material to your linux-next included branches until after v4.19-rc1 has been released. Changes since 20180821: The akpm-current tree gained a conflict against the mips tree. Non-merge commits (relative to Linus' tree): 2206 2327 files changed, 76092

[PATCH v3 1/4] dt-bindings: phy: add DT bindings for UniPhier USB3 PHY driver

2018-08-21 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into USB3 controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- .../bindings/phy/uniphier-usb3-hsphy.txt | 69 ++ .../bindings/phy/uniphier-usb3-ssphy.txt | 57 ++ 2 files

[PATCH v3 1/4] dt-bindings: phy: add DT bindings for UniPhier USB3 PHY driver

2018-08-21 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into USB3 controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- .../bindings/phy/uniphier-usb3-hsphy.txt | 69 ++ .../bindings/phy/uniphier-usb3-ssphy.txt | 57 ++ 2 files

[PATCH v3 0/4] phy: socionext: add new UniPhier USB PHY driver support

2018-08-21 Thread Kunihiko Hayashi
This series adds support for PHY interface built into USB controller implemented in Socionext UniPhier SoCs. The USB3 PHY driver supports High-Speed PHY and Super-Speed PHY included in the USB3 glue layer, and the USB2 PHY driver supports High-Speed PHY integrated into system controller. Changes

[PATCH v3 2/4] phy: socionext: add USB3 PHY driver for UniPhier SoC

2018-08-21 Thread Kunihiko Hayashi
Add a driver for PHY interface built into USB3 controller implemented in UniPhier SoCs. This driver supports High-Speed PHY and Super-Speed PHY. Signed-off-by: Kunihiko Hayashi Signed-off-by: Motoya Tanigawa Signed-off-by: Masami Hiramatsu --- drivers/phy/Kconfig | 1

[PATCH v3 0/4] phy: socionext: add new UniPhier USB PHY driver support

2018-08-21 Thread Kunihiko Hayashi
This series adds support for PHY interface built into USB controller implemented in Socionext UniPhier SoCs. The USB3 PHY driver supports High-Speed PHY and Super-Speed PHY included in the USB3 glue layer, and the USB2 PHY driver supports High-Speed PHY integrated into system controller. Changes

[PATCH v3 2/4] phy: socionext: add USB3 PHY driver for UniPhier SoC

2018-08-21 Thread Kunihiko Hayashi
Add a driver for PHY interface built into USB3 controller implemented in UniPhier SoCs. This driver supports High-Speed PHY and Super-Speed PHY. Signed-off-by: Kunihiko Hayashi Signed-off-by: Motoya Tanigawa Signed-off-by: Masami Hiramatsu --- drivers/phy/Kconfig | 1

[PATCH v3 4/4] phy: socionext: add USB2 PHY driver for UniPhier SoC

2018-08-21 Thread Kunihiko Hayashi
Add a driver for PHY interface built into USB2 controller implemented on UniPhier SoCs. This driver supports HS-PHY for Pro4 and LD11. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/Kconfig | 13 ++ drivers/phy/socionext/Makefile| 1 +

[PATCH v3 3/4] dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver

2018-08-21 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into USB2 controller implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/phy/uniphier-usb2-phy.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644

[PATCH v3 4/4] phy: socionext: add USB2 PHY driver for UniPhier SoC

2018-08-21 Thread Kunihiko Hayashi
Add a driver for PHY interface built into USB2 controller implemented on UniPhier SoCs. This driver supports HS-PHY for Pro4 and LD11. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/Kconfig | 13 ++ drivers/phy/socionext/Makefile| 1 +

[PATCH v3 3/4] dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver

2018-08-21 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into USB2 controller implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/phy/uniphier-usb2-phy.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644

Re: [PATCH] IB/ucm: fix UCM link error

2018-08-21 Thread Jason Gunthorpe
On Tue, Aug 21, 2018 at 04:20:44PM +0200, Arnd Bergmann wrote: > Building UCM with CONFIG_INFINIBAND_USER_ACCESS=m results in a > set of link errors including: > > drivers/infiniband/core/ucm.o: In function `ib_ucm_event_handler': > ucm.c:(.text+0x6dc): undefined reference to

Re: [PATCH] IB/ucm: fix UCM link error

2018-08-21 Thread Jason Gunthorpe
On Tue, Aug 21, 2018 at 04:20:44PM +0200, Arnd Bergmann wrote: > Building UCM with CONFIG_INFINIBAND_USER_ACCESS=m results in a > set of link errors including: > > drivers/infiniband/core/ucm.o: In function `ib_ucm_event_handler': > ucm.c:(.text+0x6dc): undefined reference to

Re: [PATCH] PM / OPP: Refactor counting of added OPPs for v2 to avoid unsupported OPPs

2018-08-21 Thread Dave Gerlach
Hi, On 08/21/2018 10:10 PM, Dave Gerlach wrote: > Currently the _of_add_opp_table_v2 call loops through the OPP nodes in > the operating-points-v2 table in the device tree and calls > _opp_add_static_v2 for each to add them to the table. It counts each > iteration through this loop as an added

Re: [PATCH] PM / OPP: Refactor counting of added OPPs for v2 to avoid unsupported OPPs

2018-08-21 Thread Dave Gerlach
Hi, On 08/21/2018 10:10 PM, Dave Gerlach wrote: > Currently the _of_add_opp_table_v2 call loops through the OPP nodes in > the operating-points-v2 table in the device tree and calls > _opp_add_static_v2 for each to add them to the table. It counts each > iteration through this loop as an added

[PATCH] PM / OPP: Refactor counting of added OPPs for v2 to avoid unsupported OPPs

2018-08-21 Thread Dave Gerlach
Currently the _of_add_opp_table_v2 call loops through the OPP nodes in the operating-points-v2 table in the device tree and calls _opp_add_static_v2 for each to add them to the table. It counts each iteration through this loop as an added OPP, however on platforms making use of the

[PATCH] PM / OPP: Refactor counting of added OPPs for v2 to avoid unsupported OPPs

2018-08-21 Thread Dave Gerlach
Currently the _of_add_opp_table_v2 call loops through the OPP nodes in the operating-points-v2 table in the device tree and calls _opp_add_static_v2 for each to add them to the table. It counts each iteration through this loop as an added OPP, however on platforms making use of the

[PATCH v11 1/3] arm: arm64: introduce CONFIG_HAVE_MEMBLOCK_PFN_VALID

2018-08-21 Thread Jia He
Make CONFIG_HAVE_MEMBLOCK_PFN_VALID a new config option so it can move memblock_next_valid_pfn to generic code file. All the latter optimizations are based on this config. The memblock initialization time on arm/arm64 can benefit from this. Signed-off-by: Jia He Reviewed-by: Pavel Tatashin ---

[PATCH v11 1/3] arm: arm64: introduce CONFIG_HAVE_MEMBLOCK_PFN_VALID

2018-08-21 Thread Jia He
Make CONFIG_HAVE_MEMBLOCK_PFN_VALID a new config option so it can move memblock_next_valid_pfn to generic code file. All the latter optimizations are based on this config. The memblock initialization time on arm/arm64 can benefit from this. Signed-off-by: Jia He Reviewed-by: Pavel Tatashin ---

[PATCH v11 3/3] mm: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn

2018-08-21 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But there is still some room for improvement. E.g. if pfn and pfn+1 are in the same memblock region, we can simply pfn++ instead of doing the binary search in

[PATCH v11 2/3] mm: page_alloc: remain memblock_next_valid_pfn() on arm/arm64

2018-08-21 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But it causes possible panic bug. So Daniel Vacek reverted it later. But as suggested by Daniel Vacek, it is fine to using memblock to skip gaps and finding next

[PATCH v11 3/3] mm: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn

2018-08-21 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But there is still some room for improvement. E.g. if pfn and pfn+1 are in the same memblock region, we can simply pfn++ instead of doing the binary search in

[PATCH v11 2/3] mm: page_alloc: remain memblock_next_valid_pfn() on arm/arm64

2018-08-21 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But it causes possible panic bug. So Daniel Vacek reverted it later. But as suggested by Daniel Vacek, it is fine to using memblock to skip gaps and finding next

[PATCH v11 0/3] remain and optimize memblock_next_valid_pfn on arm and arm64

2018-08-21 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But it causes possible panic bug. So Daniel Vacek reverted it later. But as suggested by Daniel Vacek, it is fine to using memblock to skip gaps and finding next

[PATCH v11 0/3] remain and optimize memblock_next_valid_pfn on arm and arm64

2018-08-21 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But it causes possible panic bug. So Daniel Vacek reverted it later. But as suggested by Daniel Vacek, it is fine to using memblock to skip gaps and finding next

Re: [GIT PULL] XArray for 4.19

2018-08-21 Thread Linus Torvalds
On Tue, Aug 21, 2018 at 7:50 PM Matthew Wilcox wrote: > > So, should I have based just on your tree and sent you a description of > what a resolved conflict should look like? Absolutely. Or preferably not rebasing at all, just starting from a good solid base for new development in the first

Re: [GIT PULL] XArray for 4.19

2018-08-21 Thread Linus Torvalds
On Tue, Aug 21, 2018 at 7:50 PM Matthew Wilcox wrote: > > So, should I have based just on your tree and sent you a description of > what a resolved conflict should look like? Absolutely. Or preferably not rebasing at all, just starting from a good solid base for new development in the first

Re: [PATCH v2] dmaengine: sprd: Support DMA link-list mode

2018-08-21 Thread Baolin Wang
Hi Vinod, On 9 August 2018 at 15:05, Baolin Wang wrote: > From: Eric Long > > The Spreadtrum DMA can support the link-list transaction mode, which means > DMA controller can do transaction one by one automatically once we linked > these transaction by link-list register. > > Signed-off-by: Eric

Re: [PATCH v2] dmaengine: sprd: Support DMA link-list mode

2018-08-21 Thread Baolin Wang
Hi Vinod, On 9 August 2018 at 15:05, Baolin Wang wrote: > From: Eric Long > > The Spreadtrum DMA can support the link-list transaction mode, which means > DMA controller can do transaction one by one automatically once we linked > these transaction by link-list register. > > Signed-off-by: Eric

Re: [GIT PULL] XArray for 4.19

2018-08-21 Thread Matthew Wilcox
On Tue, Aug 21, 2018 at 07:09:31PM -0700, Linus Torvalds wrote: > On Mon, Aug 13, 2018 at 9:14 AM Matthew Wilcox wrote: > > > > Please consider pulling the XArray patch set. > > So this merge window has been horrible, but I was just about to start > looking at it. > > And no. I'm not going to

Re: [GIT PULL] XArray for 4.19

2018-08-21 Thread Matthew Wilcox
On Tue, Aug 21, 2018 at 07:09:31PM -0700, Linus Torvalds wrote: > On Mon, Aug 13, 2018 at 9:14 AM Matthew Wilcox wrote: > > > > Please consider pulling the XArray patch set. > > So this merge window has been horrible, but I was just about to start > looking at it. > > And no. I'm not going to

[PATCH v2] dma: mic_x100_dma: use devm_kzalloc to fix an issue

2018-08-21 Thread Huang Shijie
The following patch introduced an issue. commit f6206f00d8c5 ("dmaengine: mic_x100_dma: use the new helper to simplify the code") This issue is : kfree(mic_dma_dev) . dma_async_device_unregister(mic_dma_dev->device); Free the memory, and use it again. So use

[PATCH v2] dma: mic_x100_dma: use devm_kzalloc to fix an issue

2018-08-21 Thread Huang Shijie
The following patch introduced an issue. commit f6206f00d8c5 ("dmaengine: mic_x100_dma: use the new helper to simplify the code") This issue is : kfree(mic_dma_dev) . dma_async_device_unregister(mic_dma_dev->device); Free the memory, and use it again. So use

Re: [PATCH v2 0/2] mm: soft-offline: fix race against page allocation

2018-08-21 Thread Mike Kravetz
On 08/21/2018 06:37 PM, Naoya Horiguchi wrote: > On Wed, Aug 15, 2018 at 03:43:34PM -0700, Andrew Morton wrote: >> On Tue, 17 Jul 2018 14:32:30 +0900 Naoya Horiguchi >> wrote: >> >>> I've updated the patchset based on feedbacks: >>> >>> - updated comments (from Andrew), >>> - moved calling

Re: [PATCH v2 0/2] mm: soft-offline: fix race against page allocation

2018-08-21 Thread Mike Kravetz
On 08/21/2018 06:37 PM, Naoya Horiguchi wrote: > On Wed, Aug 15, 2018 at 03:43:34PM -0700, Andrew Morton wrote: >> On Tue, 17 Jul 2018 14:32:30 +0900 Naoya Horiguchi >> wrote: >> >>> I've updated the patchset based on feedbacks: >>> >>> - updated comments (from Andrew), >>> - moved calling

Re: [GIT PULL] XArray for 4.19

2018-08-21 Thread Linus Torvalds
On Mon, Aug 13, 2018 at 9:14 AM Matthew Wilcox wrote: > > Please consider pulling the XArray patch set. So this merge window has been horrible, but I was just about to start looking at it. And no. I'm not going to pull this. For some unfathomable reason, you have based it on the libnvdimm

Re: [GIT PULL] XArray for 4.19

2018-08-21 Thread Linus Torvalds
On Mon, Aug 13, 2018 at 9:14 AM Matthew Wilcox wrote: > > Please consider pulling the XArray patch set. So this merge window has been horrible, but I was just about to start looking at it. And no. I'm not going to pull this. For some unfathomable reason, you have based it on the libnvdimm

linux-next: manual merge of the akpm-current tree with the mips tree

2018-08-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/Kconfig between commit: 04f264d3a8b0 ("compiler.h: Allow arch-specific asm/compiler.h") from the mips tree and commit: 7358e371b0ef ("arch: enable relative relocations for arm64, power and x86") from the

linux-next: manual merge of the akpm-current tree with the mips tree

2018-08-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/Kconfig between commit: 04f264d3a8b0 ("compiler.h: Allow arch-specific asm/compiler.h") from the mips tree and commit: 7358e371b0ef ("arch: enable relative relocations for arm64, power and x86") from the

Re: [PATCH v2] ARM: dma-mapping: always clear allocated buffers

2018-08-21 Thread YueHaibing
Russell, will you pick this patch? On 2018/7/25 15:13, YueHaibing wrote: > +CC Christoph Hellwig > > On 2018/7/25 15:07, YueHaibing wrote: >> Sean Wang reported dma_zalloc_coherent doesn't work as expect on his >> armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool >>

Re: [PATCH v2] ARM: dma-mapping: always clear allocated buffers

2018-08-21 Thread YueHaibing
Russell, will you pick this patch? On 2018/7/25 15:13, YueHaibing wrote: > +CC Christoph Hellwig > > On 2018/7/25 15:07, YueHaibing wrote: >> Sean Wang reported dma_zalloc_coherent doesn't work as expect on his >> armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool >>

Re: [PATCH v2 0/2] mm: soft-offline: fix race against page allocation

2018-08-21 Thread Naoya Horiguchi
On Wed, Aug 15, 2018 at 03:43:34PM -0700, Andrew Morton wrote: > On Tue, 17 Jul 2018 14:32:30 +0900 Naoya Horiguchi > wrote: > > > I've updated the patchset based on feedbacks: > > > > - updated comments (from Andrew), > > - moved calling set_hwpoison_free_buddy_page() from mm/migrate.c to >

Re: [PATCH v2 0/2] mm: soft-offline: fix race against page allocation

2018-08-21 Thread Naoya Horiguchi
On Wed, Aug 15, 2018 at 03:43:34PM -0700, Andrew Morton wrote: > On Tue, 17 Jul 2018 14:32:30 +0900 Naoya Horiguchi > wrote: > > > I've updated the patchset based on feedbacks: > > > > - updated comments (from Andrew), > > - moved calling set_hwpoison_free_buddy_page() from mm/migrate.c to >

Re: [RESEND PATCH v10 3/6] mm: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn()

2018-08-21 Thread Jia He
Hi Andrew On 8/22/2018 5:08 AM, Andrew Morton Wrote: > On Tue, 21 Aug 2018 14:14:30 +0800 Jia He wrote: > >> Hi Pasha >> >> On 8/17/2018 9:08 AM, Pasha Tatashin Wrote: >>> Signed-off-by: Jia He --- mm/memblock.c | 37 + 1 file changed,

Re: [RESEND PATCH v10 3/6] mm: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn()

2018-08-21 Thread Jia He
Hi Andrew On 8/22/2018 5:08 AM, Andrew Morton Wrote: > On Tue, 21 Aug 2018 14:14:30 +0800 Jia He wrote: > >> Hi Pasha >> >> On 8/17/2018 9:08 AM, Pasha Tatashin Wrote: >>> Signed-off-by: Jia He --- mm/memblock.c | 37 + 1 file changed,

Re: [PATCH v3 2/2] hugetlb: take PMD sharing into account when flushing tlb/caches

2018-08-21 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike

Re: [PATCH 1/3] clk: ingenic: Add proper Kconfig entries

2018-08-21 Thread kbuild test robot
Hi Paul, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH v3 2/2] hugetlb: take PMD sharing into account when flushing tlb/caches

2018-08-21 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike

Re: [PATCH 1/3] clk: ingenic: Add proper Kconfig entries

2018-08-21 Thread kbuild test robot
Hi Paul, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-21 Thread Peter Kalauskas
On Tue, Aug 21, 2018 at 5:45 PM Sergey Senozhatsky wrote: > > Hi, > > Did you intend to remove lkml mailing list from Cc? > No, that was an accident. I resent it so it's on the record. I will submit a v2 patch with an updated commit message then.

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-21 Thread Peter Kalauskas
On Tue, Aug 21, 2018 at 5:45 PM Sergey Senozhatsky wrote: > > Hi, > > Did you intend to remove lkml mailing list from Cc? > No, that was an accident. I resent it so it's on the record. I will submit a v2 patch with an updated commit message then.

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-21 Thread Peter Kalauskas
On Tue, Aug 14, 2018 at 04:45:23PM -0700, Andrew Morton wrote: > The changelog doesn't describe the end-user impact of the bug, which is > very desirable when tagging a patch for -stable backporting. Can we > have that paragraph please? The end-user impact is that echoing to writeback_dev would

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-21 Thread Peter Kalauskas
On Tue, Aug 14, 2018 at 04:45:23PM -0700, Andrew Morton wrote: > The changelog doesn't describe the end-user impact of the bug, which is > very desirable when tagging a patch for -stable backporting. Can we > have that paragraph please? The end-user impact is that echoing to writeback_dev would

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-21 Thread Mike Kravetz
On 08/21/2018 05:51 PM, kbuild test robot wrote: > Hi Mike, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.18 next-20180821] > [if your patch is applied to the wrong git tree, please drop us a no

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-21 Thread Mike Kravetz
On 08/21/2018 05:51 PM, kbuild test robot wrote: > Hi Mike, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.18 next-20180821] > [if your patch is applied to the wrong git tree, please drop us a no

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-21 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-21 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
On (08/21/18 15:00), Andy Shevchenko wrote: > > Returning the length of dst/-EOVERFLOW is a bit inconvenient, because > > "the length" forces us to have size_t return, which is unsigned. > > We have for ages ssize_t to workaround that. OK. [..] > Wouldn't be better to split out something like >

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
On (08/21/18 15:00), Andy Shevchenko wrote: > > Returning the length of dst/-EOVERFLOW is a bit inconvenient, because > > "the length" forces us to have size_t return, which is unsigned. > > We have for ages ssize_t to workaround that. OK. [..] > Wouldn't be better to split out something like >

Re: [PATCH 1/1] perf/x86/intel: make error messages less confusing

2018-08-21 Thread Andi Kleen
On Tue, Aug 21, 2018 at 04:05:22PM -0700, Eduardo Valentin wrote: > On Tue, Aug 21, 2018 at 03:09:37PM -0700, Andi Kleen wrote: > > On Tue, Aug 21, 2018 at 02:15:28PM -0700, Eduardo Valentin wrote: > > > On a system with X86_FEATURE_ARCH_PERFMON disabled > > > and with a model not known by family

Re: [PATCH 1/1] perf/x86/intel: make error messages less confusing

2018-08-21 Thread Andi Kleen
On Tue, Aug 21, 2018 at 04:05:22PM -0700, Eduardo Valentin wrote: > On Tue, Aug 21, 2018 at 03:09:37PM -0700, Andi Kleen wrote: > > On Tue, Aug 21, 2018 at 02:15:28PM -0700, Eduardo Valentin wrote: > > > On a system with X86_FEATURE_ARCH_PERFMON disabled > > > and with a model not known by family

Re: Contiguous DMA buffer view for a custom device (Intel/x86)

2018-08-21 Thread Alex Feinman
Thanks, this sounds like what I need. However, since this is a custom-purpose system, I am tempted to go with CMA and simply preallocated 200MB on start On Mon, Aug 20, 2018 at 1:58 PM Alan Cox wrote: > > > b) IOMMU can solve this problem for me by providing a device-specific > > contiguous view

Re: Contiguous DMA buffer view for a custom device (Intel/x86)

2018-08-21 Thread Alex Feinman
Thanks, this sounds like what I need. However, since this is a custom-purpose system, I am tempted to go with CMA and simply preallocated 200MB on start On Mon, Aug 20, 2018 at 1:58 PM Alan Cox wrote: > > > b) IOMMU can solve this problem for me by providing a device-specific > > contiguous view

[GIT PULL] power-supply changes for 4.19

2018-08-21 Thread Sebastian Reichel
Hi Linus, I was too busy for reviewing patches the last few weeks, so everything has been in linux-next for a multiple weeks (except for some fixes, that I initially planned to send for 4.18-rc, but even those have been in -next for some time now). Stephen Rothwell noticed a merge conflict in

[GIT PULL] power-supply changes for 4.19

2018-08-21 Thread Sebastian Reichel
Hi Linus, I was too busy for reviewing patches the last few weeks, so everything has been in linux-next for a multiple weeks (except for some fixes, that I initially planned to send for 4.18-rc, but even those have been in -next for some time now). Stephen Rothwell noticed a merge conflict in

Re: [PATCH] sched: idle: Avoid retaining the tick when it has been stopped

2018-08-21 Thread Tony Lindgren
* Rafael J. Wysocki [691231 23:00]: > From: Rafael J. Wysocki > > If the tick has been stopped already, but the governor has not asked to > stop it (which it can do sometimes), the idle loop should invoke > tick_nohz_idle_stop_tick(), to let tick_nohz_stop_tick() take care > of this case

Re: [PATCH] sched: idle: Avoid retaining the tick when it has been stopped

2018-08-21 Thread Tony Lindgren
* Rafael J. Wysocki [691231 23:00]: > From: Rafael J. Wysocki > > If the tick has been stopped already, but the governor has not asked to > stop it (which it can do sometimes), the idle loop should invoke > tick_nohz_idle_stop_tick(), to let tick_nohz_stop_tick() take care > of this case

[PATCH v2] mm: shmem: Correctly annotate new inodes for lockdep

2018-08-21 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Directories and inodes don't necessarily need to be in the same lockdep class. For ex, hugetlbfs splits them out too to prevent false positives in lockdep. Annotate correctly after new inode creation. If its a directory inode, it will be put into a different

[PATCH v2] mm: shmem: Correctly annotate new inodes for lockdep

2018-08-21 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Directories and inodes don't necessarily need to be in the same lockdep class. For ex, hugetlbfs splits them out too to prevent false positives in lockdep. Annotate correctly after new inode creation. If its a directory inode, it will be put into a different

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-21 Thread Halil Pasic
On 08/21/2018 07:07 PM, Tony Krowiak wrote: On 08/21/2018 11:25 AM, Cornelia Huck wrote: On Mon, 20 Aug 2018 13:41:32 -0400 Tony Krowiak wrote: On 08/20/2018 10:23 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:09 -0400 Tony Krowiak wrote: From: Tony Krowiak Provides the sysfs

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-21 Thread Halil Pasic
On 08/21/2018 07:07 PM, Tony Krowiak wrote: On 08/21/2018 11:25 AM, Cornelia Huck wrote: On Mon, 20 Aug 2018 13:41:32 -0400 Tony Krowiak wrote: On 08/20/2018 10:23 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:09 -0400 Tony Krowiak wrote: From: Tony Krowiak Provides the sysfs

Re: [PATCH v3 2/2] hugetlb: take PMD sharing into account when flushing tlb/caches

2018-08-21 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike

Re: [PATCH v3 2/2] hugetlb: take PMD sharing into account when flushing tlb/caches

2018-08-21 Thread kbuild test robot
Hi Mike, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mike

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-21 Thread Mike Kravetz
On 08/21/2018 03:03 PM, kbuild test robot wrote: > Hi Mike, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.18 next-20180821] > [if your patch is applied to the wrong git tree, please drop us a no

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-21 Thread Mike Kravetz
On 08/21/2018 03:03 PM, kbuild test robot wrote: > Hi Mike, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.18 next-20180821] > [if your patch is applied to the wrong git tree, please drop us a no

  1   2   3   4   5   6   7   8   9   10   >