[PATCH 4.4 010/107] lib/rhashtable: consider param->min_size when setting initial table size

2018-07-23 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso [ Upstream commit 107d01f5ba10f4162c38109496607eb197059064 ] rhashtable_init() currently does not take into account the user-passed min_size parameter unless param->nelem_hint i

Re: [PATCH v2 5/6] 9p: Use a slab for allocating requests

2018-07-23 Thread Dominique Martinet
Greg Kurz wrote on Mon, Jul 23, 2018: > The patch is quite big and I'm not sure I can find time to review it > carefully, but I'll try to help anyway. No worry, thanks for this already. > > Sorry for coming back to this patch now, I just noticed something that's > > actually probably a fairly big

[PATCH 4.17 32/63] drm/nouveau: Remove bogus crtc check in pmops_runtime_idle

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 68fe23a626b67b56c912c496ea43ed537ea9708f upstream. This both uses the legacy modesetting structures in a racy manner, and additionally also doesn't even check the right varia

Re: Making KASAN compatible with VMAP_STACK

2018-07-23 Thread Mark Rutland
On Mon, Jul 23, 2018 at 01:55:49PM +0200, Dmitry Vyukov wrote: > On Mon, Jul 23, 2018 at 1:18 PM, Mark Rutland wrote: > > On Mon, Jul 23, 2018 at 09:40:36AM +0200, Dmitry Vyukov wrote: > >> On Sun, Jul 22, 2018 at 7:52 PM, Andy Lutomirski wrote: > >> > Hi all- > >> > > >> > It would be really nic

Re: [PATCH v2 1/3] Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"

2018-07-23 Thread Leonard Crestez
On Fri, 2018-07-20 at 08:33 -0700, Andrey Smirnov wrote: > On Fri, Jul 20, 2018 at 5:48 AM Leonard Crestez > wrote: > > > > This reverts commit 1c86c9dd82f859b474474a7fee0d5195da2c9c1d. > > > > That commit followed the reference manual but unfortunately the imx7d > > manual is incorrect. > > I

[PATCH 03/26] ARM: tegra: colibri_t30: reorder host1x/hdmi properties

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder Host1x/HDMI properties. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index 5c

[PATCH 05/26] ARM: tegra: colibri_t30: add missing regulators

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add missing regulators: - reg_module_3v3_audio being VDDA supply of SGTL5000 - VDDD supply of SGTL5000 actually being reg_1v8_vio - reg_lan_v_bus being USB Ethernet chip vbus supply - carrier board HDMI supply being reg_5v0 - carrier board reg_3v3 actually being backlight an

[PATCH 08/26] ARM: tegra: colibri_t30: move dr_mode property from phy to controller

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Move dr_mode property from USB PHY node to controller. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts

[PATCH 11/26] ARM: tegra: colibri_t30: pinmux clean-up

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Clean-up pinmuxing: - white-space clean-up - explicitly disable LCD_M1 in favour of LCD_DE on L_BIAS - explicitly disable multiplexed SSPFRM and SSPTXD - get rid of nvidia,lock property - add missing eMMC sdmmc4_cmd_pt7 and explicitly enable input - explicitly disable lcd_dc

[PATCH 12/26] ARM: tegra: colibri_t30: add missing pinmux

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Explicitly mux all T30 SoC balls now: - Colibri Address/Data Bus (GMI) - Colibri DDC - Colibri EXT_IO* - Colibri GPIO - Colibri HOTPLUG_DETECT (HDMI) - Colibri I2C - Colibri LCD (L_* resp. LDD<*>) - Colibri MMC_CD - Colibri nRESET_OUT - Colibri Parallel Camera (Optional) - C

[PATCH 15/26] ARM: tegra: colibri_t30: add i2c-thermtrip

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add i2c-thermtrip which would set the DEV_OFF bit in the DCDC control register of the TPS65911 PMIC. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.d

Re: [PATCH v4 00/26] arm64: provide pseudo NMI with GICv3

2018-07-23 Thread Julien Thierry
Hi Daniel, On 20/07/18 16:09, Daniel Thompson wrote: On Fri, May 25, 2018 at 10:49:06AM +0100, Julien Thierry wrote: This series is a continuation of the work started by Daniel [1]. The goal is to use GICv3 interrupt priorities to simulate an NMI. To achieve this, set two priorities, one for s

[PATCH 17/26] ARM: tegra: colibri_t30: enable emmc ddr52 mode

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add mmc-ddr-1_8v property enabling eMMC DDR52 mode. root@colibri-t30:~# cat /sys/kernel/debug/mmc1/ios clock: 5200 Hz actual clock: 5200 Hz vdd:21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select:0 (don't care) power mode: 2 (on

[PATCH 19/26] ARM: tegra: colibri_t30: line break long compatible property line

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Line break long compatible property line. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-co

[PATCH 23/26] ARM: tegra: colibri_t30: enable hda over hdmi

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable HDA over HDMI. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index 7f7a693f6e08..d3f72e567d5a 1006

[PATCH 20/26] ARM: tegra: colibri_t30: move input include to carrier board

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Move input include to carrier board. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 1 + arch/arm/boot/dts/tegra30-colibri.dtsi| 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colib

[PATCH 24/26] ARM: tegra: colibri_t30: annotate sd card detect

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate SD card detect. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts i

[PATCH 26/26] ARM: tegra: colibri_t30: update compatibility comment

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Update compatibility comment. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index e10e0f2b603

Re: [RFC 1/2] x86/entry/64: Use the TSS sp2 slot for rsp_scratch

2018-07-23 Thread Dave Hansen
On 07/22/2018 10:45 AM, Andy Lutomirski wrote: > + /* > + * sp2 is scratch space used by the SYSCALL64 handler. Linux does > + * not use rung 2, so sp2 is not otherwise needed. > + */ > u64 sp2; Could we call out the actual thing that we use this slot

[PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array

2018-07-23 Thread YueHaibing
Make sure of_device_id tables are NULL terminated Found by coccinelle spatch "misc/of_table.cocci" Signed-off-by: YueHaibing --- drivers/cpufreq/qcom-cpufreq-kryo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c inde

[PATCH 21/26] ARM: tegra: colibri_t30: remove unused nvidia,is-wired property

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove unused nvidia,is-wired property. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index 211457ea0b72..e321

[PATCH 18/26] ARM: tegra: colibri_t30: rename clk to clock

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Rename clk to clock. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 2 +- arch/arm/boot/dts/tegra30-colibri.dtsi| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.d

[PATCH 16/26] ARM: tegra: colibri_t30: add proper emmc vmmc and vqmmc supplies

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add proper eMMC vmmc and vqmmc supplies e.g. fixing signalling voltage. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-co

[PATCH 14/26] ARM: tegra: colibri_t30: further lm95245 temperature sensor annotation

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Further LM95245 temperature sensor annotation. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi

[PATCH 25/26] ARM: tegra: colibri_t30: annotate ehci instance 1

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate EHCI instance 1 (USB2_DP/N) connecting to ASIX AX88772B USB to Ethernet chip being on-module. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30

[PATCH 22/26] ARM: tegra: colibri_t30: add gpio hog to unreset usb ethernet chip

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dt

[PATCH 13/26] ARM: tegra: colibri_t30: use proper irq-gpio for stmpe811

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Use proper irq-gpio for stmpe811 touch controller. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri

Re: [PATCH v2 3/3] PCI: imx: Initial imx7d pm support

2018-07-23 Thread Leonard Crestez
On Mon, 2018-07-23 at 11:38 +0200, Lucas Stach wrote: > Hi Leonard, > > Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > > On imx7d the pcie-phy power domain is turned off in suspend and this can > > make the system hang after resume when attempting any read from PCI. > > > > Fi

[PATCH 4.17 59/63] net: usb: asix: replace mii_nway_restart in resume path

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 5c968f48021a9b3faa61ac2543cfab32461c0e05 ] mii_nway_restart is not pm aware which results in a rtnl deadlock. Implement mii_nway_restart manual by setting B

[PATCH 01/26] ARM: tegra: colibri_t30: enable broken-hpi on emmc

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Avoid eMMC issues by specifying broken-hpi. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index 526ed

[PATCH 02/26] ARM: tegra: colibri_t30: add local-mac-address property

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add empty local-mac-address property to be filled in by boot loader (e.g. U-Boot). Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boo

[PATCH 06/26] ARM: tegra: colibri_t30: annotate uarts

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate UARTs. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts index 1c057b285153..5b3

[PATCH 00/26] ARM: dts: tegra: colibri_t30: major revamp

2018-07-23 Thread Marcel Ziswiler
This series is a major overhaul for the Toradex Colibri T30 system on module. Marcel Ziswiler (26): ARM: tegra: colibri_t30: enable broken-hpi on emmc ARM: tegra: colibri_t30: add local-mac-address property ARM: tegra: colibri_t30: reorder host1x/hdmi properties ARM: tegra: colibri_t30: re

[PATCH 07/26] ARM: tegra: colibri_t30: white-space clean-up

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler White-space clean-up. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts

[PATCH 09/26] ARM: tegra: colibri_t30: reorder backlight properties

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder backlight properties. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v

[PATCH 10/26] ARM: tegra: colibri_t30: drop pwmleds

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop pwmleds in favour of using regular PWMs. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 20 1 file changed, 20 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/teg

Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-23 Thread Tino Lehnig
Hello, after enabling the writeback feature in zram, I encountered the kernel bug below with heavy swap utilization. There is one specific workload that triggers the bug reliably and that is running Windows in KVM while overcommitting memory. The Windows VMs would fill all allocated memory wi

[PATCH 04/26] ARM: tegra: colibri_t30: regulator clean-up

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Just cosmetic regulator clean-up. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 52 +-- arch/arm/boot/dts/tegra30-colibri.dtsi| 126 +++--- 2 files changed, 78 insertions(+), 100 deletions(-) dif

[PATCH 4.17 62/63] cxl_getfile(): fix double-iput() on alloc_file() failures

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit d202797f480c0e5918e7642d6716cdc62b3ab5c9 upstream. Doing iput() after path_put() is wrong. Cc: sta...@vger.kernel.org Acked-by: Linus Torvalds Signed-off-by: Al Viro Signed-o

Re: [PATCH v6 16/17] media: v4l2: async: Remove notifier subdevs array

2018-07-23 Thread Sakari Ailus
Hi Steve, Thanks for the update. On Mon, Jul 09, 2018 at 03:39:16PM -0700, Steve Longerbeam wrote: > All platform drivers have been converted to use > v4l2_async_notifier_add_subdev(), in place of adding > asd's to the notifier subdevs array. So the subdevs > array can now be removed from struct

Re: iwlwifi problem with iommu/intel-iommu: Enable CONFIG_DMA_DIRECT_OPS=y and clean up intel_{alloc,free}_coherent()

2018-07-23 Thread Christoph Hellwig
On Mon, Jul 23, 2018 at 02:28:16PM +0200, Fabio Coatti wrote: > Hi, any hope to see this backported to 4.17.X as well? Just to avoid to > revert that commit at every new release :) You can send the patch to stable@.

[PATCH 4.9 23/28] net: usb: asix: replace mii_nway_restart in resume path

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 5c968f48021a9b3faa61ac2543cfab32461c0e05 ] mii_nway_restart is not pm aware which results in a rtnl deadlock. Implement mii_nway_restart manual by setting BM

Re: INFO: task hung in fuse_reverse_inval_entry

2018-07-23 Thread Miklos Szeredi
On Mon, Jul 23, 2018 at 2:22 PM, Dmitry Vyukov wrote: > On Mon, Jul 23, 2018 at 2:12 PM, Miklos Szeredi wrote: >> On Mon, Jul 23, 2018 at 10:11 AM, Dmitry Vyukov wrote: >>> On Mon, Jul 23, 2018 at 9:59 AM, syzbot >>> wrote: Hello, syzbot found the following crash on: HE

[Resend PATCH] KVM/x86: Move X86_CR4_OSXSAVE check into kvm_valid_sregs()

2018-07-23 Thread Tianyu Lan
X86_CR4_OSXSAVE check belongs to sregs check and so move into kvm_valid_sregs(). Signed-off-by: Lan Tianyu --- arch/x86/kvm/x86.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 153564db7980..5c9acdbb2020 100644 --- a/arch

[PATCH 4.9 15/28] ipv6: fix useless rol32 call on hash

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 169dc027fb02492ea37a0575db6a658cf922b854 ] The rol32 call is currently rotating hash but the rol'd value is being discarded. I believe the current code is incor

[PATCH 4.9 28/28] block: do not use interruptible wait anywhere

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alan Jenkins commit 1dc3039bc87ae7d19a990c3ee71cfd8a9068f428 upstream. When blk_queue_enter() waits for a queue to unfreeze, or unset the PREEMPT_ONLY flag, do not allow it to be interrupted by

[PATCH 4.9 25/28] skbuff: Unconditionally copy pfmemalloc in __skb_clone()

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit e78bfb0751d4e312699106ba7efbed2bab1a53ca ] Commit 8b7008620b84 ("net: Don't copy pfmemalloc flag in __copy_skb_header()") introduced a different handling for th

[PATCH 4.9 14/28] ipv4: Return EINVAL when ping_group_range sysctl doesnt map to user ns

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks [ Upstream commit 70ba5b6db96ff7324b8cfc87e0d0383cf59c9677 ] The low and high values of the net.ipv4.ping_group_range sysctl were being silently forced to the default disabled state

[PATCH 4.9 27/28] xprtrdma: Return -ENOBUFS when no pages are available

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit a8f688ec437dc2045cc8f0c89fe877d5803850da upstream. The use of -EAGAIN in rpcrdma_convert_iovs() is a latent bug: the transport never calls xprt_write_space() when more pages

[PATCH 4.9 26/28] xhci: Fix perceived dead host due to runtime suspend race with event handler

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 229bc19fd7aca4f37964af06e3583c1c8f36b5d6 upstream. Don't rely on event interrupt (EINT) bit alone to detect pending port change in resume. If no change event is detected th

Re: [PATCH v2 5/6] 9p: Use a slab for allocating requests

2018-07-23 Thread Greg Kurz
On Wed, 18 Jul 2018 12:05:54 +0200 Dominique Martinet wrote: > +Cc Greg, I could use your opinion on this if you have a moment. > Hi Dominique, The patch is quite big and I'm not sure I can find time to review it carefully, but I'll try to help anyway. > Matthew Wilcox wrote on Wed, Jul 11, 2

Re: [PATCH v2] tg: show the sum wait time of an task group

2018-07-23 Thread 王贇
On 2018/7/23 下午5:31, Peter Zijlstra wrote: On Wed, Jul 04, 2018 at 11:27:27AM +0800, 王贇 wrote: @@ -6788,6 +6790,12 @@ static int cpu_cfs_stat_show(struct seq_file *sf, void *v) seq_printf(sf, "nr_throttled %d\n", cfs_b->nr_throttled); seq_printf(sf, "throttled_time %llu\n",

[PATCH 4.9 10/28] mm/huge_memory.c: fix data loss when splitting a file pmd

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit e1f1b1572e8db87a56609fd05bef76f98f0e456a upstream. __split_huge_pmd_locked() must check if the cleared huge pmd was dirty, and propagate that to PageDirty: otherwise, data m

[PATCH 4.9 17/28] net: diag: Dont double-free TCP_NEW_SYN_RECV sockets in tcp_abort

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Colitti [ Upstream commit acc2cf4e37174646a24cba42fa53c668b2338d4e ] When tcp_diag_destroy closes a TCP_NEW_SYN_RECV socket, it first frees it by calling inet_csk_reqsk_queue_drop_and_a

[PATCH 4.9 16/28] lib/rhashtable: consider param->min_size when setting initial table size

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso [ Upstream commit 107d01f5ba10f4162c38109496607eb197059064 ] rhashtable_init() currently does not take into account the user-passed min_size parameter unless param->nelem_hint i

[PATCH 4.9 19/28] net: phy: fix flag masking in __set_phy_supported

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit df8ed346d4a806a6eef2db5924285e839604b3f9 ] Currently also the pause flags are removed from phydev->supported because they're not included in PHY_DEFAULT_FEATUR

[PATCH 4.9 18/28] net/ipv4: Set oif in fib_compute_spec_dst

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit e7372197e15856ec4ee66b668020a662994db103 ] Xin reported that icmp replies may not use the address on the device the echo request is received if the destination add

[PATCH 4.9 24/28] net: Dont copy pfmemalloc flag in __copy_skb_header()

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit 8b7008620b8452728cadead460a36f64ed78c460 ] The pfmemalloc flag indicates that the skb was allocated from the PFMEMALLOC reserves, and the flag is currently copi

[PATCH 4.9 06/28] ARC: Fix CONFIG_SWAP

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit 6e3761145a9ba3ce267c330b6bff51cf6a057b06 upstream. swap was broken on ARC due to silly copy-paste issue. We encode offset from swapcache page in __swp_entry() as (off <<

[PATCH 4.9 20/28] ptp: fix missing break in switch

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit 9ba8376ce1e2cbf4ce44f7e4bee1d0648e10d594 ] It seems that a *break* is missing in order to avoid falling through to the default case. Otherwise, checking

[PATCH 4.14 41/44] alpha: fix osf_wait4() breakage

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit f88a333b44318643282b8acc92af90deda441f5e upstream. kernel_wait4() expects a userland address for status - it's only rusage that goes as a kernel one (and needs a copyout afterwa

[PATCH 4.14 42/44] cxl_getfile(): fix double-iput() on alloc_file() failures

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit d202797f480c0e5918e7642d6716cdc62b3ab5c9 upstream. Doing iput() after path_put() is wrong. Cc: sta...@vger.kernel.org Acked-by: Linus Torvalds Signed-off-by: Al Viro Signed-o

[PATCH 4.14 05/44] x86/MCE: Remove min interval polling limitation

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dewet Thibaut commit fbdb328c6bae0a7c78d75734a738b66b86dffc96 upstream. commit b3b7c4795c ("x86/MCE: Serialize sysfs changes") introduced a min interval limitation when setting the check inter

[PATCH 4.14 08/44] ALSA: hda/realtek - Add Panasonic CF-SZ6 headset jack quirk

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: YOKOTA Hiroshi commit 0fca97a29b83e3f315c14ed2372cfd0f9ee0a006 upstream. This adds some required quirk when uses headset or headphone on Panasonic CF-SZ6. Signed-off-by: YOKOTA Hiroshi Cc:

[PATCH 4.14 40/44] net: usb: asix: replace mii_nway_restart in resume path

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 5c968f48021a9b3faa61ac2543cfab32461c0e05 ] mii_nway_restart is not pm aware which results in a rtnl deadlock. Implement mii_nway_restart manual by setting B

[PATCH 4.14 09/44] ALSA: hda: add mute led support for HP ProBook 455 G5

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Po-Hsu Lin commit 9a6249d2a145226ec1b294116fcb08744cf7ab56 upstream. Audio mute led does not work on HP ProBook 455 G5, this can be fixed by using CXT_FIXUP_MUTE_LED_GPIO to support it. BugLi

[PATCH 4.9 11/28] vfio/pci: Fix potential Spectre v1

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 0e714d27786ce1fb3efa9aac58abc096e68b1c2a upstream. info.index can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre var

[PATCH 4.14 00/44] 4.14.58-stable review

2018-07-23 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.58 release. There are 44 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 should be made by Wed Jul 25 12:24:22 UTC 2018. Anything receiv

[PATCH 4.14 07/44] ALSA: rawmidi: Change resized buffers atomically

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 39675f7a7c7e7702f7d5341f1e0d01db746543a0 upstream. The SNDRV_RAWMIDI_IOCTL_PARAMS ioctl may resize the buffers and the current code is racy. For example, the sequencer cli

[PATCH 4.9 08/28] ARC: configs: Remove CONFIG_INITRAMFS_SOURCE from defconfigs

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit 64234961c145606b36eaa82c47b11be842b21049 upstream. We used to have pre-set CONFIG_INITRAMFS_SOURCE with local path to intramfs in ARC defconfigs. This was quite convenient

[PATCH 4.9 07/28] ARC: mm: allow mprotect to make stack mappings executable

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 93312b6da4df31e4102ce5420e6217135a16c7ea upstream. mprotect(EXEC) was failing for stack mappings as default vm flags was missing MAYEXEC. This was triggered by glibc test s

[PATCH 4.9 05/28] ALSA: rawmidi: Change resized buffers atomically

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 39675f7a7c7e7702f7d5341f1e0d01db746543a0 upstream. The SNDRV_RAWMIDI_IOCTL_PARAMS ioctl may resize the buffers and the current code is racy. For example, the sequencer clie

[PATCH 4.9 22/28] tg3: Add higher cpu clock for 5762.

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sanjeev Bansal [ Upstream commit 3a498606bb04af603a46ebde8296040b2de350d1 ] This patch has fix for TX timeout while running bi-directional traffic with 100 Mbps using 5762. Signed-off-by: Sanj

[PATCH 4.9 04/28] fat: fix memory allocation failure handling of match_strdup()

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit 35033ab988c396ad7bce3b6d24060c16a9066db8 upstream. In parse_options(), if match_strdup() failed, parse_options() leaves opts->iocharset in unexpected state (i.e. still po

[PATCH 4.14 06/44] fat: fix memory allocation failure handling of match_strdup()

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit 35033ab988c396ad7bce3b6d24060c16a9066db8 upstream. In parse_options(), if match_strdup() failed, parse_options() leaves opts->iocharset in unexpected state (i.e. still p

[PATCH 4.14 39/44] ipv6: make DAD fail with enhanced DAD when nonce length differs

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit e66515999b627368892ccc9b3a13a506f2ea1357 ] Commit adc176c54722 ("ipv6 addrconf: Implemented enhanced DAD (RFC7527)") added enhanced DAD with a nonce length of

[PATCH 4.9 09/28] mm: memcg: fix use after free in mem_cgroup_iter()

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jing Xia commit 9f15bde671355c351cf20d9f879004b234353100 upstream. It was reported that a kernel crash happened in mem_cgroup_iter(), which can be triggered if the legacy cgroup-v1 non-hierarch

[PATCH 4.14 43/44] powerpc/powernv: Fix save/restore of SPRG3 on entry/exit from stop (idle)

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gautham R. Shenoy commit b03897cf318dfc47de33a7ecbc7655584266f034 upstream. On 64-bit servers, SPRN_SPRG3 and its userspace read-only mirror SPRN_USPRG3 are used as userspace VDSO write and re

[PATCH 4.9 00/28] 4.9.115-stable review

2018-07-23 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.115 release. There are 28 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 should be made by Wed Jul 25 12:24:13 UTC 2018. Anything receiv

[PATCH 4.14 44/44] xhci: Fix perceived dead host due to runtime suspend race with event handler

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 229bc19fd7aca4f37964af06e3583c1c8f36b5d6 upstream. Don't rely on event interrupt (EINT) bit alone to detect pending port change in resume. If no change event is detected t

[PATCH 4.9 03/28] x86/MCE: Remove min interval polling limitation

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dewet Thibaut commit fbdb328c6bae0a7c78d75734a738b66b86dffc96 upstream. commit b3b7c4795c ("x86/MCE: Serialize sysfs changes") introduced a min interval limitation when setting the check interv

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-23 Thread Michal Hocko
On Mon 23-07-18 13:45:18, Vlastimil Babka wrote: > On 07/20/2018 02:34 PM, David Hildenbrand wrote: > > Dumping tools (like makedumpfile) right now don't exclude reserved pages. > > So reserved pages might be access by dump tools although nobody except > > the owner should touch them. > > Are you

[PATCH 4.14 33/44] ptp: fix missing break in switch

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit 9ba8376ce1e2cbf4ce44f7e4bee1d0648e10d594 ] It seems that a *break* is missing in order to avoid falling through to the default case. Otherwise, checking

[PATCH 4.14 35/44] tg3: Add higher cpu clock for 5762.

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sanjeev Bansal [ Upstream commit 3a498606bb04af603a46ebde8296040b2de350d1 ] This patch has fix for TX timeout while running bi-directional traffic with 100 Mbps using 5762. Signed-off-by: San

[PATCH 4.14 37/44] net/mlx4_en: Dont reuse RX page when XDP is set

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Saeed Mahameed [ Upstream commit 432e629e56432064761be63bcd5e263c0920430d ] When a new rx packet arrives, the rx path will decide whether to reuse the remainder of the page or not according to

[PATCH 4.14 28/44] net: diag: Dont double-free TCP_NEW_SYN_RECV sockets in tcp_abort

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Colitti [ Upstream commit acc2cf4e37174646a24cba42fa53c668b2338d4e ] When tcp_diag_destroy closes a TCP_NEW_SYN_RECV socket, it first frees it by calling inet_csk_reqsk_queue_drop_and_

[PATCH 4.14 30/44] skbuff: Unconditionally copy pfmemalloc in __skb_clone()

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit e78bfb0751d4e312699106ba7efbed2bab1a53ca ] Commit 8b7008620b84 ("net: Don't copy pfmemalloc flag in __copy_skb_header()") introduced a different handling for t

[PATCH 4.14 38/44] net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 9e3bff923913729d76d87f0015848ee7b8ff7083 ] SYSTEMPORT Lite reversed the logic compared to SYSTEMPORT, the GIB_FCS_STRIP bit is set when the Ethernet FCS is s

[PATCH 4.14 36/44] hv_netvsc: Fix napi reschedule while receive completion is busy

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Haiyang Zhang [ Upstream commit 6b81b193b83e87da1ea13217d684b54fccf8ee8a ] If out ring is full temporarily and receive completion cannot go out, we may still need to reschedule napi if certain

[PATCH 4.14 31/44] net/ipv4: Set oif in fib_compute_spec_dst

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit e7372197e15856ec4ee66b668020a662994db103 ] Xin reported that icmp replies may not use the address on the device the echo request is received if the destination ad

[PATCH 4.14 04/44] x86/events/intel/ds: Fix bts_interrupt_threshold alignment

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 2c991e408df6a407476dbc453d725e1e975479e7 upstream. Markus reported that BTS is sporadically missing the tail of the trace in the perf_event data buffer: [decode error (1):

[PATCH 4.14 29/44] net: Dont copy pfmemalloc flag in __copy_skb_header()

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit 8b7008620b8452728cadead460a36f64ed78c460 ] The pfmemalloc flag indicates that the skb was allocated from the PFMEMALLOC reserves, and the flag is currently cop

[PATCH 4.14 32/44] net: phy: fix flag masking in __set_phy_supported

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit df8ed346d4a806a6eef2db5924285e839604b3f9 ] Currently also the pause flags are removed from phydev->supported because they're not included in PHY_DEFAULT_FEATU

[PATCH 4.14 27/44] lib/rhashtable: consider param->min_size when setting initial table size

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso [ Upstream commit 107d01f5ba10f4162c38109496607eb197059064 ] rhashtable_init() currently does not take into account the user-passed min_size parameter unless param->nelem_hint

[PATCH 4.14 25/44] ipv6: fix useless rol32 call on hash

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 169dc027fb02492ea37a0575db6a658cf922b854 ] The rol32 call is currently rotating hash but the rol'd value is being discarded. I believe the current code is inco

[PATCH 4.14 24/44] ipv4: Return EINVAL when ping_group_range sysctl doesnt map to user ns

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks [ Upstream commit 70ba5b6db96ff7324b8cfc87e0d0383cf59c9677 ] The low and high values of the net.ipv4.ping_group_range sysctl were being silently forced to the default disabled stat

[PATCH 4.14 26/44] ipv6: ila: select CONFIG_DST_CACHE

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 83ed7d1fe2d2d4a11b30660dec20168bb473d9c1 ] My randconfig builds came across an old missing dependency for ILA: ERROR: "dst_cache_set_ip6" [net/ipv6/ila/ila.ko]

[PATCH 4.14 19/44] stop_machine: Disable preemption when waking two stopper threads

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Isaac J. Manjarres commit 9fb8d5dc4b649dd190e1af4ead670753e71bf907 upstream. When cpu_stop_queue_two_works() begins to wake the stopper threads, it does so without preemption disabled, which l

[PATCH 4.14 22/44] drm/nouveau: Avoid looping through fake MST connectors

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 37afe55b4ae0600deafe7c0e0e658593c4754f1b upstream. When MST and atomic were introduced to nouveau, another structure that could contain a drm_connector embedded within it was

[PATCH 4.14 18/44] vfio/spapr: Use IOMMU pageshift rather than pagesize

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kardashevskiy commit 1463edca6734d42ab4406fa2896e20b45478ea36 upstream. The size is always equal to 1 page so let's use this. Later on this will be used for other checks which use page

<    2   3   4   5   6   7   8   9   10   >