Re: Linux 4.4.151

2018-08-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 7789195c6a59..04199cf99dd5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 150 +SUBLEVEL = 151 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h

Linux 4.4.151

2018-08-21 Thread Greg KH
I'm announcing the release of the 4.4.151 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.123

2018-08-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 1f44343a1e04..b11e375bb18e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 122 +SUBLEVEL = 123 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h i

Re: Linux 4.14.66

2018-08-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 7995690ff1aa..e69d0d091742 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 65 +SUBLEVEL = 66 EXTRAVERSION = NAME = Petit Gorille diff --git a/drivers/acpi/sleep.c b/drivers/

Re: [PATCH] selftests: net: move fragment forwarding/config up a level

2018-08-21 Thread Ido Schimmel
On Tue, Aug 21, 2018 at 01:41:54PM -0600, Shuah Khan wrote: > On 08/21/2018 12:56 PM, Ido Schimmel wrote: > > On Tue, Aug 21, 2018 at 06:12:12PM +0200, Anders Roxell wrote: > >> 'make kselftest-merge' assumes that the config files for the tests are > >> located under the 'main' tet dir, like tools/

Linux 4.17.18

2018-08-21 Thread Greg KH
I'm announcing the release of the 4.17.18 kernel. All users of the 4.17 kernel series must upgrade. The updated 4.17.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.17.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.123

2018-08-21 Thread Greg KH
I'm announcing the release of the 4.9.123 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.66

2018-08-21 Thread Greg KH
I'm announcing the release of the 4.14.66 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.17.18

2018-08-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 5ff2040cf3ee..429a1fe0b40b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 17 -SUBLEVEL = 17 +SUBLEVEL = 18 EXTRAVERSION = NAME = Merciless Moray diff --git a/drivers/acpi/sleep.c b/driver

Re: Linux 4.18.4

2018-08-21 Thread Greg KH
diff --git a/Makefile b/Makefile index e2bd815f24eb..ef0dd566c104 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 18 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Merciless Moray diff --git a/drivers/acpi/sleep.c b/drivers/

Linux 4.18.4

2018-08-21 Thread Greg KH
I'm announcing the release of the 4.18.4 kernel. All users of the 4.18 kernel series must upgrade. The updated 4.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.18.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v2] serial: mxs-auart: Fix potential infinite loop

2018-08-21 Thread Uwe Kleine-König
On Tue, Aug 07, 2018 at 01:59:05PM +0300, Anton Vasilyev wrote: > On the error path of mxs_auart_request_gpio_irq() is performed > backward iterating with index i of enum type. Underline enum type > may be unsigned char. In this case check (--i >= 0) will be always > true and error handling goes in

Re: [RFC PATCH 1/2] dt-bindings: pwm: imx: Allow switching PWM output between PWM and GPIO

2018-08-21 Thread Lothar Waßmann
Michal Vokáč wrote: > Output of the PWM block of i.MX SoCs is always zero volts when the block > is disabled. This can caue issues when inverted PWM polarity is needed. > With inverted polarity a duty cycle = 0% corresponds to solid high level > on the output. If the PWM is dissabled its output i

BUG: corrupted list in vmx_vcpu_load

2018-08-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:0214f46b3a03 Merge branch 'siginfo-linus' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11bc9c2e40 kernel config: https://syzkaller.appspot.com/x/.config?x=214e4990bd49329f da

mmotm 2018-08-21-23-23 uploaded

2018-08-21 Thread akpm
The mm-of-the-moment snapshot 2018-08-21-23-23 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH] init/do_mounts.c: add root=PARTLABEL= support

2018-08-21 Thread Nikolaus Voss
Support referencing the root partition label from GPT as argument to the root= option on the kernel command line in analogy to referencing the partition uuid as root=PARTUUID=. Specifying the partition label instead of the uuid is often much easier, e.g. in embedded environments when there is an A

Re: [PATCH v2 1/2] Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices

2018-08-21 Thread Sean Wang
Hi, Marcel It seems the major problem is come from the wmt ctrl urbs for which I've already add more explanation inline. Others seems all I can all fix or enhance in the next version. On Tue, 2018-08-21 at 17:36 +0200, Marcel Holtmann wrote: > Hi Sean, > > > This adds the support of enabling M

KASAN: null-ptr-deref Write in binder_update_page_range

2018-08-21 Thread Dae R. Jeong
Reporting the crash: KASAN: null-ptr-deref Write in binder_update_page_range This crash has been found in v4.18-rc3 using RaceFuzzer (a modified version of Syzkaller), which we describe more at the end of this report. Our analysis shows that the race occurs when invoking two syscalls concurrently

Re: [RFC PATCH 3/5] RISC-V: Add cpu_operatios structure

2018-08-21 Thread Christoph Hellwig
On Tue, Aug 21, 2018 at 10:34:38PM +0530, Anup Patel wrote: > The cpu_operations is certainly required because SOC vendors will add > vendor-specific mechanism to selectively bringing-up CPUs/HARTs instead > of all CPUs entering Linux kernel simultaneously. In fact, we might also > end-up > having

Re: [PATCH RFC] mm: don't miss the last page because of round-off error

2018-08-21 Thread Konstantin Khlebnikov
On Tue, Aug 21, 2018 at 8:15 PM, Johannes Weiner wrote: > On Tue, Aug 21, 2018 at 08:11:44AM +0300, Konstantin Khlebnikov wrote: >> On Sat, Aug 18, 2018 at 4:22 AM, Matthew Wilcox wrote: >> > On Fri, Aug 17, 2018 at 04:18:34PM -0700, Roman Gushchin wrote: >> >> - scan = div64_

[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 a/arch/arm/mach-

[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 reposi

[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 778a33959a8ad4cb1ea

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 input

[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 --- net/ncsi/ncsi-netlink.

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 us

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 representing

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 s

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. T

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 few

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 y

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 b

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,

[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 chang

[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 + drivers/phy/socionext/

[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 Documentation/devicetree/b

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 `ib_copy_path_rec_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 OPP,

[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 opp-supported-hw

[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 memblock

[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 valid

[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 valid

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 plac

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 pu

[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 dev

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 set_hw

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 tree.

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 >> doesn'

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, 29

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 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 n

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: [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 P

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 MAIN

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 properl

[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 class.

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 int

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 1/1] perf/x86/intel: make error messages less confusing

2018-08-21 Thread Eduardo Valentin
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 PMU drivers, > > user gets a kernel message log like the following: > > [ 0

Re: Redoing eXclusive Page Frame Ownership (XPFO) with isolated CPUs in mind (for KVM to isolate its guests per CPU)

2018-08-21 Thread Liran Alon
> On 21 Aug 2018, at 17:22, David Woodhouse wrote: > > On Tue, 2018-08-21 at 17:01 +0300, Liran Alon wrote: >> >>> On 21 Aug 2018, at 12:57, David Woodhouse >> wrote: >>> >>> Another alternative... I'm told POWER8 does an interesting thing >> with >>> hyperthreading and gang scheduling for

Re: [PATCH] mm: shmem: Correctly annotate new inodes

2018-08-21 Thread NeilBrown
On Tue, Aug 14 2018, Joel Fernandes (Google) wrote: > 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

Re: [PATCH 4/4] remoteproc: qcom: q6v5-pil: Add PDC restart for modem on SDM845 SoCs

2018-08-21 Thread Bjorn Andersson
On Fri 27 Jul 08:28 PDT 2018, Sibi Sankar wrote: > In the presence of a PDC block working with subsystem RSC, > assert/deassert PDC restart in modem start/stop path. > > Signed-off-by: Sibi Sankar > --- > .../bindings/remoteproc/qcom,q6v5.txt | 4 +++ > drivers/remoteproc/qcom_q6v5_pil

[PATCH] ARM: use choice for kernel unwinders

2018-08-21 Thread Stefan Agner
While in theory multiple unwinders could be compiled in, it does not make sense in practise. Use a choice to make the unwinder selection mutually exclusive and mandatory. Already before this commit it has not been possible to deselect FRAME_POINTER. Remove the obsolete comment. Furthermore, to pr

Re: [PATCH 2/4] reset: qcom: PDC (Power Domain Controller) reset controller

2018-08-21 Thread Bjorn Andersson
On Fri 27 Jul 08:28 PDT 2018, Sibi Sankar wrote: > Add reset controller for SDM845 SoC to control reset signals > provided by PDC for Modem, Compute, Display, GPU, Debug, AOP, > Sensors, Audio, SP and APPS > > Signed-off-by: Sibi Sankar > --- > drivers/reset/Kconfig | 9 +++ > driver

Re: [PATCH v2 1/3] mm: rework memcg kernel stack accounting

2018-08-21 Thread Roman Gushchin
On Tue, Aug 21, 2018 at 03:10:52PM -0700, Shakeel Butt wrote: > On Tue, Aug 21, 2018 at 2:36 PM Roman Gushchin wrote: > > > > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > > stack pages are charged against corresponding me

Re: [PATCH v2 1/3] mm: rework memcg kernel stack accounting

2018-08-21 Thread Shakeel Butt
On Tue, Aug 21, 2018 at 2:36 PM Roman Gushchin wrote: > > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > > The pr

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

2018-08-21 Thread Andi Kleen
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 PMU drivers, > user gets a kernel message log like the following: > [ 0.100114] Performance Events: unsupported p6 CPU model 85 no PMU driver

Re: [PATCH 1/4] dt-bindings: reset: Add PDC reset binding for SDM845 SoCs

2018-08-21 Thread Bjorn Andersson
On Fri 27 Jul 08:28 PDT 2018, Sibi Sankar wrote: > Add SDM845 PDC (Power Domain Controller) reset controller binding > Even though this is currently describing only a reset controller I think this binding better be talking about the "PDC Global" hardware. > Signed-off-by: Sibi Sankar > --- >

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 4.4 00/22] 4.4.151-stable review

2018-08-21 Thread Shuah Khan
On 08/21/2018 12:21 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.151 release. > There are 22 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.9 00/25] 4.9.123-stable review

2018-08-21 Thread Shuah Khan
On 08/21/2018 12:21 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.123 release. > There are 25 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

[PATCH 2/8] nios2: build .dtb files in dts directory

2018-08-21 Thread Rob Herring
Align nios2 with other architectures which build the dtb files in the same directory as the dts files. This is also in line with most other build targets which are located in the same directory as the source. This move will help enable the 'dtbs' target which builds all the dtbs regardless of kerne

[PATCH 4/8] nios2: fix building all dtbs

2018-08-21 Thread Rob Herring
nios2 has a 'dtbs' target, but nothing is added to 'dtb-*' targets and no dtbs were getting built. This enables building all the dts files in arch/nios2/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Ley Foon Tan Cc: nios2-...@lists.rocketboards.org Signed-off-by: Rob Herring ---

[PATCH 5/8] c6x: use common built-in dtb support

2018-08-21 Thread Rob Herring
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. The dtb now needs to be copied when unflattened because an init section is used now. Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Signed-off-by: Rob Herring --- I could

[PATCH 8/8] c6x: enable building all dtbs

2018-08-21 Thread Rob Herring
Enable the 'dtbs' target for c6x. This allows building all the dts files in arch/powerpc/boot/dts/ for enabled platforms or when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Signed-off-by: Rob Herring --- arch/c6x/boot/dts/Make

[PATCH 3/8] nios2: use common rules to build built-in dtb

2018-08-21 Thread Rob Herring
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. This has the side effect that CONFIG_NIOS2_DTB_SOURCE should now be just the dts filename in arch/nios2/boot/dts/ directory. Before any path was supported, but if you want to build in your dtb to t

[PATCH v2 3/3] mm: don't miss the last page because of round-off error

2018-08-21 Thread Roman Gushchin
I've noticed, that dying memory cgroups are often pinned in memory by a single pagecache page. Even under moderate memory pressure they sometimes stayed in such state for a long time. That looked strange. My investigation showed that the problem is caused by applying the LRU pressure balancing ma

[PATCH v2 1/3] mm: rework memcg kernel stack accounting

2018-08-21 Thread Roman Gushchin
If CONFIG_VMAP_STACK is set, kernel stacks are allocated using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel stack pages are charged against corresponding memory cgroups on allocation and uncharged on releasing them. The problem is that we do cache kernel stacks in small per-cpu caches and

[PATCH v2 2/3] mm: drain memcg stocks on css offlining

2018-08-21 Thread Roman Gushchin
Memcg charge is batched using per-cpu stocks, so an offline memcg can be pinned by a cached charge up to a moment, when a process belonging to some other cgroup will charge some memory on the same cpu. In other words, cached charges can prevent a memory cgroup from being reclaimed for some time, wi

Re: [PATCH v9 2/4] Uprobes/sdt: Prevent multiple reference counter for same uprobe

2018-08-21 Thread Song Liu
On Sun, Aug 19, 2018 at 10:54 PM, Song Liu wrote: > On Sun, Aug 19, 2018 at 9:42 PM, Ravi Bangoria > wrote: >> We assume to have only one reference counter for one uprobe. >> Don't allow user to register multiple uprobes having same >> inode+offset but different reference counter. >> >> Signed-of

Re: [PATCH v9 1/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-21 Thread Song Liu
On Sun, Aug 19, 2018 at 10:53 PM, Song Liu wrote: > On Sun, Aug 19, 2018 at 9:42 PM, Ravi Bangoria > wrote: >> Userspace Statically Defined Tracepoints[1] are dtrace style markers >> inside userspace applications. Applications like PostgreSQL, MySQL, >> Pthread, Perl, Python, Java, Ruby, Node.js,

Re: [PATCH v9 4/4] perf probe: Support SDT markers having reference counter (semaphore)

2018-08-21 Thread Song Liu
On Sun, Aug 19, 2018 at 9:42 PM, Ravi Bangoria wrote: > With this, perf buildid-cache will save SDT markers with reference > counter in probe cache. Perf probe will be able to probe markers > having reference counter. Ex, > > # readelf -n /tmp/tick | grep -A1 loop2 > Name: loop2 > ... Se

Re: [BUG] madvise05 leads kernel panic on 4.9.122

2018-08-21 Thread Yang Shi
On 8/21/18 1:36 PM, Andi Kleen wrote: On Tue, Aug 21, 2018 at 01:30:20PM -0700, yang@linux.alibaba.com wrote: On 8/21/18 11:43 AM, David Woodhouse wrote: On Tue, 2018-08-21 at 11:37 -0700, Yang Shi wrote: I just ran some regression test on stable 4.9.122 with LTP. madvise05 triggers th

Re: general protection fault in finish_task_switch (2)

2018-08-21 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:778a33959a8a Merge tag 'please-pull-noboot' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14a5385a40 kernel config: https://syzkaller.appspot.com/x/.config?x=214e49

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

2018-08-21 Thread Eduardo Valentin
On a system with X86_FEATURE_ARCH_PERFMON disabled and with a model not known by family PMU drivers, user gets a kernel message log like the following: [ 0.100114] Performance Events: unsupported p6 CPU model 85 no PMU driver, software events only. The "unsupported .. CPU" part may be confusing f

[PATCH v2 2/2] docs: kernel-parameters.txt: document rand_mem_physical_padding parameter

2018-08-21 Thread Masayoshi Mizuma
From: Masayoshi Mizuma This kernel parameter allows to change the padding used for the physical memory mapping section when KASLR memory is enabled. For some systems, the default value, CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING, is not enough. The option is useful to adjust the padding size to wo

[PATCH v2 1/2] x86/mm: Add an option to change the padding used for the physical memory mapping

2018-08-21 Thread Masayoshi Mizuma
From: Masayoshi Mizuma There are some exceptional cases that the padding used for the physical memory mapping section is not enough. For example of the cases: - As Baoquan reported in the following, SGI UV system. https://lkml.org/lkml/2017/9/7/87 - Each node of physical memory layout has huge

Re: [BUG][BISECT] NFSv4 root failures after "fs/locks: allow a lock request to block other requests."

2018-08-21 Thread NeilBrown
On Tue, Aug 21 2018, Jeff Layton wrote: > On Tue, 2018-08-21 at 15:11 +1000, NeilBrown wrote: >> On Thu, Aug 16 2018, NeilBrown wrote: >> >> > On Wed, Aug 15 2018, Jeff Layton wrote: >> > >> > > On Wed, 2018-08-15 at 14:28 +0200, Krzysztof Kozlowski wrote: >> > > > Hi, >> > > > >> > > > Bisect

  1   2   3   4   5   >