Linux 4.11.7

2017-06-23 Thread Greg KH
 |6 
 drivers/usb/host/xhci-mem.c |7 
 drivers/usb/host/xhci-pci.c |3 
 drivers/usb/usbip/vhci_hcd.c|   11 
 drivers/virtio/virtio_balloon.c |7 
 fs/btrfs/hash.c |5 
 fs/configfs/symlink.c   |3 
 fs/f2fs/f2fs.h  |5 
 fs/hugetlbfs/inode.c|2 
 fs/proc/task_mmu.c  |4 
 fs/read_write.c |2 
 fs/userfaultfd.c|   29 -
 include/linux/mm.h  |   53 +-
 include/uapi/linux/usb/ch11.h   |3 
 kernel/irq/manage.c |4 
 kernel/sched/core.c |2 
 kernel/time/alarmtimer.c|   14 
 lib/libcrc32c.c |6 
 mm/gup.c|5 
 mm/huge_memory.c|8 
 mm/memory-failure.c |5 
 mm/memory.c |   38 -
 mm/mmap.c   |  160 +++---
 mm/swap_cgroup.c|3 
 net/ipv6/ila/ila_xlat.c |1 
 net/mac80211/cfg.c  |2 
 net/mac80211/ibss.c |2 
 net/mac80211/rx.c   |9 
 net/mac80211/sta_info.c |2 
 net/mac80211/wpa.c  |9 
 net/wireless/util.c |   10 
 security/selinux/hooks.c|5 
 sound/pci/hda/hda_intel.c   |4 
 sound/usb/quirks.c  |2 
 103 files changed, 1039 insertions(+), 784 deletions(-)

Alan Stern (2):
  USB: gadget: fix GPF in gadgetfs
  USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks

Alexey Khoroshilov (1):
  staging: iio: ad7152: Fix deadlock in ad7152_write_raw_samp_freq()

Andrea Arcangeli (1):
  userfaultfd: shmem: handle coredumping in handle_userfault()

Andy Lutomirski (1):
  sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()

Anton Bondarenko (1):
  usb: core: fix potential memory leak in error path during hcd creation

Arnd Bergmann (2):
  ila_xlat: add missing hash secret initialization
  pvrusb2: reduce stack usage pvr2_eeprom_analyze()

Chris Brandt (2):
  usb: r8a66597-hcd: select a different endpoint on timeout
  usb: r8a66597-hcd: decrease timeout

Christoph Hellwig (1):
  fs: pass on flags in compat_writev

Christophe JAILLET (2):
  vb2: Fix an off by one error in 'vb2_plane_vaddr'
  serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'

Corentin Labbe (1):
  usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk

Dan Carpenter (4):
  staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
  staging: bcm2835-camera: fix error handling in init
  iio: adc: ti_am335x_adc: allocating too much in probe
  drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of 
IS_ERR()

David Miller (1):
  crypto: Work around deallocated stack frame reference gcc bug on sparc.

Emmanuel Grumbach (2):
  mac80211: don't look at the PM bit of BAR frames
  mac80211: don't send SMPS action frame in AP mode when not needed

Enric Balletbo i Serra (2):
  ARM: dts: am335x-sl50: Fix card detect pin for mmc1
  ARM: dts: am335x-sl50: Fix cannot claim requested pins for spi0

Eric Anholt (1):
  drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.

Eva Rachel Retuya (1):
  staging: iio: tsl2x7x_core: Fix standard deviation calculation

Fabio Estevam (1):
  drm: mxsfb_crtc: Reset the eLCDIF controller

Geert Uytterhoeven (2):
  serial: sh-sci: Fix (AUTO)RTS in sci_init_pins()
  serial: sh-sci: Fix late enablement of AUTORTS

Greg Kroah-Hartman (1):
  Linux 4.11.7

Hans Verkuil (1):
  cec: race fix: don't return -ENONET in cec_receive()

Heiner Kallweit (1):
  genirq: Release resources in __setup_irq() error path

Helge Deller (1):
  Allow stack to grow up to address space limit

Hugh Dickins (2):
  mm: larger stack guard gap, between vmas
  mm: fix new crash in unmapped_area_topdown()

James Morse (1):
  mm/memory-failure.c: use compound_head() flags for huge pages

Jan Kiszka (1):
  serial: 8250_lpss: Unconditionally set PCI master for Quark

Jason A. Donenfeld (1):
  mac80211/wpa: use

Linux 4.11.7

2017-06-23 Thread Greg KH
 |6 
 drivers/usb/host/xhci-mem.c |7 
 drivers/usb/host/xhci-pci.c |3 
 drivers/usb/usbip/vhci_hcd.c|   11 
 drivers/virtio/virtio_balloon.c |7 
 fs/btrfs/hash.c |5 
 fs/configfs/symlink.c   |3 
 fs/f2fs/f2fs.h  |5 
 fs/hugetlbfs/inode.c|2 
 fs/proc/task_mmu.c  |4 
 fs/read_write.c |2 
 fs/userfaultfd.c|   29 -
 include/linux/mm.h  |   53 +-
 include/uapi/linux/usb/ch11.h   |3 
 kernel/irq/manage.c |4 
 kernel/sched/core.c |2 
 kernel/time/alarmtimer.c|   14 
 lib/libcrc32c.c |6 
 mm/gup.c|5 
 mm/huge_memory.c|8 
 mm/memory-failure.c |5 
 mm/memory.c |   38 -
 mm/mmap.c   |  160 +++---
 mm/swap_cgroup.c|3 
 net/ipv6/ila/ila_xlat.c |1 
 net/mac80211/cfg.c  |2 
 net/mac80211/ibss.c |2 
 net/mac80211/rx.c   |9 
 net/mac80211/sta_info.c |2 
 net/mac80211/wpa.c  |9 
 net/wireless/util.c |   10 
 security/selinux/hooks.c|5 
 sound/pci/hda/hda_intel.c   |4 
 sound/usb/quirks.c  |2 
 103 files changed, 1039 insertions(+), 784 deletions(-)

Alan Stern (2):
  USB: gadget: fix GPF in gadgetfs
  USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks

Alexey Khoroshilov (1):
  staging: iio: ad7152: Fix deadlock in ad7152_write_raw_samp_freq()

Andrea Arcangeli (1):
  userfaultfd: shmem: handle coredumping in handle_userfault()

Andy Lutomirski (1):
  sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()

Anton Bondarenko (1):
  usb: core: fix potential memory leak in error path during hcd creation

Arnd Bergmann (2):
  ila_xlat: add missing hash secret initialization
  pvrusb2: reduce stack usage pvr2_eeprom_analyze()

Chris Brandt (2):
  usb: r8a66597-hcd: select a different endpoint on timeout
  usb: r8a66597-hcd: decrease timeout

Christoph Hellwig (1):
  fs: pass on flags in compat_writev

Christophe JAILLET (2):
  vb2: Fix an off by one error in 'vb2_plane_vaddr'
  serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'

Corentin Labbe (1):
  usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk

Dan Carpenter (4):
  staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
  staging: bcm2835-camera: fix error handling in init
  iio: adc: ti_am335x_adc: allocating too much in probe
  drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of 
IS_ERR()

David Miller (1):
  crypto: Work around deallocated stack frame reference gcc bug on sparc.

Emmanuel Grumbach (2):
  mac80211: don't look at the PM bit of BAR frames
  mac80211: don't send SMPS action frame in AP mode when not needed

Enric Balletbo i Serra (2):
  ARM: dts: am335x-sl50: Fix card detect pin for mmc1
  ARM: dts: am335x-sl50: Fix cannot claim requested pins for spi0

Eric Anholt (1):
  drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.

Eva Rachel Retuya (1):
  staging: iio: tsl2x7x_core: Fix standard deviation calculation

Fabio Estevam (1):
  drm: mxsfb_crtc: Reset the eLCDIF controller

Geert Uytterhoeven (2):
  serial: sh-sci: Fix (AUTO)RTS in sci_init_pins()
  serial: sh-sci: Fix late enablement of AUTORTS

Greg Kroah-Hartman (1):
  Linux 4.11.7

Hans Verkuil (1):
  cec: race fix: don't return -ENONET in cec_receive()

Heiner Kallweit (1):
  genirq: Release resources in __setup_irq() error path

Helge Deller (1):
  Allow stack to grow up to address space limit

Hugh Dickins (2):
  mm: larger stack guard gap, between vmas
  mm: fix new crash in unmapped_area_topdown()

James Morse (1):
  mm/memory-failure.c: use compound_head() flags for huge pages

Jan Kiszka (1):
  serial: 8250_lpss: Unconditionally set PCI master for Quark

Jason A. Donenfeld (1):
  mac80211/wpa: use

Re: Linux 4.11.7

2017-06-23 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt 
b/Documentation/admin-guide/kernel-parameters.txt
index facc20a3f962..952319b73e61 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3779,6 +3779,13 @@
spia_pedr=
spia_peddr=
 
+   stack_guard_gap=[MM]
+   override the default stack gap protection. The value
+   is in page units and it defines how many pages prior
+   to (for stacks growing down) resp. after (for stacks
+   growing up) the main stack are reserved for no other
+   mapping. Default value is 256 pages.
+
stacktrace  [FTRACE]
Enabled the stack tracer on boot up.
 
diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt 
b/Documentation/devicetree/bindings/mfd/axp20x.txt
index 8f3ad9ab4637..b41d2601c6ba 100644
--- a/Documentation/devicetree/bindings/mfd/axp20x.txt
+++ b/Documentation/devicetree/bindings/mfd/axp20x.txt
@@ -28,6 +28,9 @@ Optional properties:
  regulator to drive the OTG VBus, rather then as an input pin
  which signals whether the board is driving OTG VBus or not.
 
+- x-powers,master-mode: Boolean (axp806 only). Set this when the PMIC is
+   wired for master mode. The default is slave mode.
+
 - -supply: a phandle to the regulator supply node. May be omitted if
  inputs are unregulated, such as using the IPSOUT output
  from the PMIC.
diff --git a/Makefile b/Makefile
index e46e99cbe5d1..1b0fe238d633 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 4
 PATCHLEVEL = 11
-SUBLEVEL = 6
+SUBLEVEL = 7
 EXTRAVERSION =
 NAME = Fearless Coyote
 
diff --git a/arch/arc/mm/mmap.c b/arch/arc/mm/mmap.c
index 3e25e8d6486b..2e13683dfb24 100644
--- a/arch/arc/mm/mmap.c
+++ b/arch/arc/mm/mmap.c
@@ -65,7 +65,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
 
vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
-   (!vma || addr + len <= vma->vm_start))
+   (!vma || addr + len <= vm_start_gap(vma)))
return addr;
}
 
diff --git a/arch/arm/boot/dts/am335x-sl50.dts 
b/arch/arm/boot/dts/am335x-sl50.dts
index c5d2589c55fc..fc864a855991 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -220,7 +220,7 @@
 
mmc1_pins: pinmux_mmc1_pins {
pinctrl-single,pins = <
-   AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7)  
/* spi0_cs1.gpio0_6 */
+   AM33XX_IOPAD(0x96c, PIN_INPUT | MUX_MODE7)  
/* uart0_rtsn.gpio1_9 */
>;
};
 
@@ -280,10 +280,6 @@
AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE7)   
/* nKbdReset - gpmc_ad13.gpio1_13 */
AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE7)   
/* nDispReset - gpmc_ad14.gpio1_14 */
AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7)   
/* USB1_enPower - gpmc_a1.gpio1_17 */
-   /* AVR Programming - SPI Bus (bit bang) - Screen and 
Keyboard */
-   AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE7)   
/* Kbd/Disp/BattMOSI spi0_d0.gpio0_3 */
-   AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE7)   
/* Kbd/Disp/BattMISO spi0_d1.gpio0_4 */
-   AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE7)   
/* Kbd/Disp/BattSCLK spi0_clk.gpio0_2 */
/* PDI Bus - Battery system */
AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7)   
/* nBattReset  gpmc_a0.gpio1_16 */
AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7)   
/* BattPDIData gpmc_ad15.gpio1_15 */
@@ -384,7 +380,7 @@
pinctrl-names = "default";
pinctrl-0 = <_pins>;
bus-width = <4>;
-   cd-gpios = < 6 GPIO_ACTIVE_LOW>;
+   cd-gpios = < 9 GPIO_ACTIVE_LOW>;
vmmc-supply = <_fixed>;
 };
 
diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c
index 2239fde10b80..f0701d8d24df 100644
--- a/arch/arm/mm/mmap.c
+++ b/arch/arm/mm/mmap.c
@@ -90,7 +90,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
 
vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
-   (!vma || addr + len <= vma->vm_start))
+   (!vma || addr + len <= vm_start_gap(vma)))
return addr;
}
 
@@ -141,7 +141,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const 
unsigned long addr0,
addr = PAGE_ALIGN(addr);
vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
-   (!vma || addr + len <= 

Re: Linux 4.11.7

2017-06-23 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt 
b/Documentation/admin-guide/kernel-parameters.txt
index facc20a3f962..952319b73e61 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3779,6 +3779,13 @@
spia_pedr=
spia_peddr=
 
+   stack_guard_gap=[MM]
+   override the default stack gap protection. The value
+   is in page units and it defines how many pages prior
+   to (for stacks growing down) resp. after (for stacks
+   growing up) the main stack are reserved for no other
+   mapping. Default value is 256 pages.
+
stacktrace  [FTRACE]
Enabled the stack tracer on boot up.
 
diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt 
b/Documentation/devicetree/bindings/mfd/axp20x.txt
index 8f3ad9ab4637..b41d2601c6ba 100644
--- a/Documentation/devicetree/bindings/mfd/axp20x.txt
+++ b/Documentation/devicetree/bindings/mfd/axp20x.txt
@@ -28,6 +28,9 @@ Optional properties:
  regulator to drive the OTG VBus, rather then as an input pin
  which signals whether the board is driving OTG VBus or not.
 
+- x-powers,master-mode: Boolean (axp806 only). Set this when the PMIC is
+   wired for master mode. The default is slave mode.
+
 - -supply: a phandle to the regulator supply node. May be omitted if
  inputs are unregulated, such as using the IPSOUT output
  from the PMIC.
diff --git a/Makefile b/Makefile
index e46e99cbe5d1..1b0fe238d633 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 4
 PATCHLEVEL = 11
-SUBLEVEL = 6
+SUBLEVEL = 7
 EXTRAVERSION =
 NAME = Fearless Coyote
 
diff --git a/arch/arc/mm/mmap.c b/arch/arc/mm/mmap.c
index 3e25e8d6486b..2e13683dfb24 100644
--- a/arch/arc/mm/mmap.c
+++ b/arch/arc/mm/mmap.c
@@ -65,7 +65,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
 
vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
-   (!vma || addr + len <= vma->vm_start))
+   (!vma || addr + len <= vm_start_gap(vma)))
return addr;
}
 
diff --git a/arch/arm/boot/dts/am335x-sl50.dts 
b/arch/arm/boot/dts/am335x-sl50.dts
index c5d2589c55fc..fc864a855991 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -220,7 +220,7 @@
 
mmc1_pins: pinmux_mmc1_pins {
pinctrl-single,pins = <
-   AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7)  
/* spi0_cs1.gpio0_6 */
+   AM33XX_IOPAD(0x96c, PIN_INPUT | MUX_MODE7)  
/* uart0_rtsn.gpio1_9 */
>;
};
 
@@ -280,10 +280,6 @@
AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE7)   
/* nKbdReset - gpmc_ad13.gpio1_13 */
AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE7)   
/* nDispReset - gpmc_ad14.gpio1_14 */
AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7)   
/* USB1_enPower - gpmc_a1.gpio1_17 */
-   /* AVR Programming - SPI Bus (bit bang) - Screen and 
Keyboard */
-   AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE7)   
/* Kbd/Disp/BattMOSI spi0_d0.gpio0_3 */
-   AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE7)   
/* Kbd/Disp/BattMISO spi0_d1.gpio0_4 */
-   AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE7)   
/* Kbd/Disp/BattSCLK spi0_clk.gpio0_2 */
/* PDI Bus - Battery system */
AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7)   
/* nBattReset  gpmc_a0.gpio1_16 */
AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7)   
/* BattPDIData gpmc_ad15.gpio1_15 */
@@ -384,7 +380,7 @@
pinctrl-names = "default";
pinctrl-0 = <_pins>;
bus-width = <4>;
-   cd-gpios = < 6 GPIO_ACTIVE_LOW>;
+   cd-gpios = < 9 GPIO_ACTIVE_LOW>;
vmmc-supply = <_fixed>;
 };
 
diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c
index 2239fde10b80..f0701d8d24df 100644
--- a/arch/arm/mm/mmap.c
+++ b/arch/arm/mm/mmap.c
@@ -90,7 +90,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
 
vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
-   (!vma || addr + len <= vma->vm_start))
+   (!vma || addr + len <= vm_start_gap(vma)))
return addr;
}
 
@@ -141,7 +141,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const 
unsigned long addr0,
addr = PAGE_ALIGN(addr);
vma = find_vma(mm, addr);
if (TASK_SIZE - len >= addr &&
-   (!vma || addr + len <=