[PATCH v5 1/7] mfd: da8xx-cfgchip: New header file for CFGCHIP registers.

2016-05-09 Thread David Lechner
We will be using a generic syscon device for the TI DA8XX SoC CFGCHIPx retisters. This will be used by a number of planned drivers including a new USB PHY driver and common clock framework drivers. The same defines are removed from the platform_data header file since they are now redundant and the

[PATCH v5 7/7] usb: musb: da8xx: Remove mach code

2016-05-09 Thread David Lechner
Use the new phy-da8xx-usb driver to take the place of the mach code that pokes CFGCHIP2 in the da8xx musb glue driver. This unbreaks the driver. Signed-off-by: David Lechner --- drivers/usb/musb/Kconfig | 2 +- drivers/usb/musb/da8xx.c | 135 ++- 2 f

[PATCH v5 4/7] phy: da8xx-usb: new driver for DA8xx SoC USB PHY

2016-05-09 Thread David Lechner
This is a new phy driver for the SoC USB controllers on the TI DA8xx family of microcontrollers. The USB 1.1 PHY is just a simple on/off. The USB 2.0 PHY also allows overriding the VBUS and ID pins. Signed-off-by: David Lechner --- drivers/phy/Kconfig | 10 ++ drivers/phy/Makefile

Re: [PATCH v5 12/13] x86/xsaves: Fix fpstate_init() for XSAVES

2016-05-09 Thread Dave Hansen
On 05/09/2016 01:46 PM, Yu-cheng Yu wrote: > When XSAVES is used, xsave.header.xcomp_bv[63] must be set. So, that's not strictly correct. XSAVES can write to a completely empty (0'd) memory buffer. It's only XRSTORS that _needs_ bit 63 set. The instruction reference is pretty clear on this poin

RE: [PATCH 2/5] efibc: Fix excessive stack footprint warning

2016-05-09 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Matt Fleming > Sent: Friday, May 06, 2016 4:39 PM ... > Subject: [PATCH 2/5] efibc: Fix excessive stack footprint warning > > From: Jeremy Compostella > ... > > -s

Re: [PATCH v2] zsmalloc: fix zs_can_compact() integer overflow

2016-05-09 Thread Minchan Kim
On Mon, May 09, 2016 at 11:00:52PM +0900, Sergey Senozhatsky wrote: > zs_can_compact() has two race conditions in its core calculation: > > unsigned long obj_wasted = zs_stat_get(class, OBJ_ALLOCATED) - > zs_stat_get(class, OBJ_USED); > > 1) classes are not locked, s

[PATCH v5 6/7] usb: musb: da8xx: Use devm in probe

2016-05-09 Thread David Lechner
Simplify things a bit by using devm functions where possible. Signed-off-by: David Lechner --- drivers/usb/musb/da8xx.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index b03d3b8..0c1997c 100644 --- a

[PATCH v5 5/7] usb: ohci-da8xx: Remove code that references mach

2016-05-09 Thread David Lechner
Including mach/* is frowned upon in device drivers, so get rid of it. This replaces usb20_clk and code that pokes CFGCHIP2 with a proper phy driver. Signed-off-by: David Lechner Acked-by: Alan Stern --- drivers/usb/host/Kconfig | 1 + drivers/usb/host/ohci-da8xx.c | 102

[PATCH v5 3/7] phy: Add set_mode callback

2016-05-09 Thread David Lechner
The initial use for this is for PHYs that have a mode related to USB OTG. There are several SoCs (e.g. TI OMAP and DA8xx) that have a mode setting in the USB PHY to override OTG VBUS and ID signals. Of course, the enum can be expaned in the future to include modes for other types of PHYs as well.

Re: [PATCH v5 10/13] x86/xsaves: Fix __fpu_restore_sig() for XSAVES

2016-05-09 Thread Dave Hansen
On 05/09/2016 01:46 PM, Yu-cheng Yu wrote: > When the kernel is using XSAVES compacted format, we cannot do > __copy_from_user() from a signal frame, which has standard-format data. > Fix it by using copyin_to_xsaves(). ... which converts between formats and filters out all supervisor state, which

[PATCH v5 0/7] da8xx USB PHY (was da8xx USB clocks)

2016-05-09 Thread David Lechner
v5 changes: Functionally, nothing has really changed. Just some cleanups based on feedback. * Renamed "usbphy" to "usb_phy" or "usb-phy" as appropriate * License header matches MODULE_LICENSE in new phy driver David Lechner (7): mfd: da8xx-cfgchip: New header file for CFGCHIP registers. dt-b

[PATCH v5 2/7] dt-bindings: Add bindings for phy-da8xx-usb

2016-05-09 Thread David Lechner
Device tree binding for new phy-da8xx-usb driver. Signed-off-by: David Lechner Acked-by: Rob Herring --- .../devicetree/bindings/phy/phy-da8xx-usb.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt

Using the mailbox subsystem for plain doorbells?

2016-05-09 Thread Stephen Warren
Jassi, Does the HW described below sound like something that should be represented using the Linux kernel's mailbox subsystem, and related DT bindings? I think the existing drivers/mailbox/pcc.c is similar, but wanted to double-check. We have some HW that literally just allows a SW-generated

[PATCH v5 5/5] ARM: DTS: da850: Add usb phy node

2016-05-09 Thread David Lechner
Add a node for the new usb phy driver. Signed-off-by: David Lechner --- arch/arm/boot/dts/da850.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 9546ace..b2ebbe5 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/ar

[PATCH v5 2/5] ARM: davinci: da8xx: Add CFGCHIP syscon platform declaration.

2016-05-09 Thread David Lechner
The CFGCHIP registers are used by a number of devices, so using a syscon device to share them. The first consumer of this will by the phy-da8xx-usb driver. Signed-off-by: David Lechner --- arch/arm/mach-davinci/board-da830-evm.c | 4 arch/arm/mach-davinci/board-da850-evm.c | 4 +++

[PATCH v5 3/5] ARM: davinci: da8xx: Add USB PHY platform declaration

2016-05-09 Thread David Lechner
There is now a proper phy driver for the DA8xx SoC USB PHY. This adds the platform device declarations needed to use it. Signed-off-by: David Lechner --- arch/arm/mach-davinci/board-da830-evm.c | 28 +--- arch/arm/mach-davinci/board-omapl138-hawk.c | 5 + arch/ar

[PATCH v5 4/5] ARM: DTS: da850: Add cfgchip syscon node

2016-05-09 Thread David Lechner
Add a syscon node for the SoC CFGCHIPn registers. This is needed for the new usb phy driver. Signed-off-by: David Lechner --- arch/arm/boot/dts/da850.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index cf1aad8..9546ace 10

[PATCH v5 0/5] da8xx USB PHY platform devices and clocks (was "da8xx UBS clocks")

2016-05-09 Thread David Lechner
v5 changes: renamed "usbphy" to "usb_phy" or "usb-phy" as appropriate David Lechner (5): ARM: davinci: da8xx: add usb phy clocks ARM: davinci: da8xx: Add CFGCHIP syscon platform declaration. ARM: davinci: da8xx: Add USB PHY platform declaration ARM: DTS: da850: Add cfgchip syscon node AR

[PATCH v5 1/5] ARM: davinci: da8xx: add usb phy clocks

2016-05-09 Thread David Lechner
Up to this point, the USB phy clock configuration was handled manually in the board files and in the usb drivers. This adds proper clocks so that the usb drivers can use clk_get and clk_enable and not have to worry about the details. Also, the related code is removed from the board files and replac

Re: [PATCH v5 11/13] x86/xsaves: Add WARN_ON_FPU() when a disabled xstate component offset is requested for a compacted format

2016-05-09 Thread Yu-cheng Yu
On Mon, May 09, 2016 at 04:31:18PM -0700, Dave Hansen wrote: > On 05/09/2016 01:46 PM, Yu-cheng Yu wrote: > > Add a warning in case a disabled (not existing) xstate component offset > > is requested. > ... > > diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c > > index 350814

Re: [RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Laura Abbott
On 05/09/2016 01:37 AM, Chen Feng wrote: Add ion cached pool in system heap. Signed-off-by: Chen Feng Signed-off-by: Xia Qing Reviewed-by: Fu Jun --- drivers/staging/android/ion/ion_system_heap.c | 145 +- 1 file changed, 95 insertions(+), 50 deletions(-) diff --git

Re: [PATCH] sched/fair: Invoke cpufreq hooks for CONFIG_SMP unset

2016-05-09 Thread Steve Muckle
On Sat, May 07, 2016 at 08:30:51AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Fri, May 06, 2016 at 02:58:43PM +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > Commit 34e2c555f3e1 (cpufreq: Add mechanism for registering utilization > > > update callb

Re: [PATCH v5 11/13] x86/xsaves: Add WARN_ON_FPU() when a disabled xstate component offset is requested for a compacted format

2016-05-09 Thread Dave Hansen
On 05/09/2016 04:44 PM, Yu-cheng Yu wrote: > On Mon, May 09, 2016 at 04:31:18PM -0700, Dave Hansen wrote: >> On 05/09/2016 01:46 PM, Yu-cheng Yu wrote: >>> Add a warning in case a disabled (not existing) xstate component offset >>> is requested. >> ... >>> diff --git a/arch/x86/kernel/fpu/xstate.c

Re: [PATCH] sched/fair: Invoke cpufreq hooks for CONFIG_SMP unset

2016-05-09 Thread Rafael J. Wysocki
On Monday, May 09, 2016 04:53:16 PM Steve Muckle wrote: > On Sat, May 07, 2016 at 08:30:51AM +0200, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > On Fri, May 06, 2016 at 02:58:43PM +0200, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > > > > > Commit 34e2c555f3e

Re: [PATCH v5 12/13] x86/xsaves: Fix fpstate_init() for XSAVES

2016-05-09 Thread Yu-cheng Yu
On Mon, May 09, 2016 at 04:41:31PM -0700, Dave Hansen wrote: > On 05/09/2016 01:46 PM, Yu-cheng Yu wrote: > > When XSAVES is used, xsave.header.xcomp_bv[63] must be set. > > So, that's not strictly correct. XSAVES can write to a completely empty > (0'd) memory buffer. It's only XRSTORS that _nee

Re: [PATCH v4 1/5] ACPI / processor_idle: introduce ARCH_SUPPORTS_ACPI_PROCESSOR_CSTATE

2016-05-09 Thread Rafael J. Wysocki
On Tuesday, April 19, 2016 01:30:09 PM Sudeep Holla wrote: > ACPI 6.0 adds a new method to specify the CPU idle states(C-states) > called Low Power Idle(LPI) states. Since new architectures like ARM64 > use only LPIs, introduce ARCH_SUPPORTS_ACPI_PROCESSOR_CSTATE to > encapsulate all the code suppo

[PATCH 1/4] gpio: sodaville: make it explicitly non-modular

2016-05-09 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/gpio/Kconfig:config GPIO_SODAVILLE drivers/gpio/Kconfig: bool "Intel Sodaville GPIO support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned,

[PATCH 3/4] gpio: timberdale: make it explicitly non-modular

2016-05-09 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/gpio/Kconfig:config GPIO_TIMBERDALE drivers/gpio/Kconfig: bool "Support for timberdale GPIO IP" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphane

[PATCH 4/4] gpio: zevio: make it explicitly non-modular

2016-05-09 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/gpio/Kconfig:config GPIO_ZEVIO drivers/gpio/Kconfig: bool "LSI ZEVIO SoC memory mapped GPIOs" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned,

Re: [PATCH v5 12/13] x86/xsaves: Fix fpstate_init() for XSAVES

2016-05-09 Thread Dave Hansen
On 05/09/2016 04:50 PM, Yu-cheng Yu wrote: >> > >> > Oh, and if you decided to do this for some reason, please have mercy and >> > go make a macro for 1<<63. >> > >> > Also, I don't think the kernel ever checks for this bit. So are we >> > really calling XRSTORS on otherwise uninitialized xsave

Re: [PATCH v4 2/5] ACPI / processor_idle: Add support for Low Power Idle(LPI) states

2016-05-09 Thread Rafael J. Wysocki
On Tuesday, April 19, 2016 01:30:10 PM Sudeep Holla wrote: > ACPI 6.0 introduced an optional object _LPI that provides an alternate > method to describe Low Power Idle states. It defines the local power > states for each node in a hierarchical processor topology. The OSPM can > use _LPI object to s

[PATCH 0/4] gpio: batch #3: remove modular code from non-modular drivers

2016-05-09 Thread Paul Gortmaker
For GPIO, I'd divided up the the audit of modular usage in non-modular drivers into three categories to ease review and limit the batch size. Group #1 & #2 have been submitted and merged ; this here is group #3. The breakdown of the three groups was as follows: 1) just replacement of modular macr

[PATCH 2/4] gpio: stmpe: make it explicitly non-modular

2016-05-09 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/gpio/Kconfig:config GPIO_STMPE drivers/gpio/Kconfig: bool "STMPE GPIOs" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading

Re: [Kernel] [PATCH 1/5] input: twl6040-vibra: fix DT node memory management

2016-05-09 Thread Dmitry Torokhov
On Sun, May 08, 2016 at 08:49:27AM +0200, H. Nikolaus Schaller wrote: > Hi Dmitry, > > > Am 20.04.2016 um 11:03 schrieb H. Nikolaus Schaller : > > > > > >> Am 19.04.2016 um 19:06 schrieb Dmitry Torokhov : > >> > >> On Tue, Apr 19, 2016 at 09:43:08AM +0200, H. Nikolaus Schaller wrote: > >>> > >

[3.19.y-ckt stable] Patch "workqueue: fix ghost PENDING flag while doing MQ IO" has been added to the 3.19.y-ckt tree

2016-05-09 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled workqueue: fix ghost PENDING flag while doing MQ IO to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree which can be found at: https://git.launchpad.net/~canonical-kernel/linux/+git/linux-stable-ck

[3.19.y-ckt stable] Linux 3.19.8-ckt21 stable review

2016-05-09 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.19.8-ckt21 stable kernel. This version contains 54 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: https://git.launchpad.net/~canonical-kernel/linux/+git/linux-stable

[PATCH 3.19.y-ckt 05/54] x86: standardize mmap_rnd() usage

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit 82168140bc4cec7ec9bad39705518541149ff8b7 upstream. In preparation for splitting out ET_DYN ASLR, this refactors the us

[PATCH 3.19.y-ckt 10/54] s390/mm: align 64-bit PIE binaries to 4GB

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Martin Schwidefsky commit 4ba2815d3bf38d6a959d2d11b08cf862550dcfcc upstream. The base address (STACK_TOP / 3 * 2) for a 64-bit program

[PATCH 3.19.y-ckt 03/54] USB: usbip: fix potential out-of-bounds write

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ignat Korchagin commit b348d7dddb6c4fbfc810b7a0626e8ec9e29f7cbb upstream. Fix potential out-of-bounds write to urb->transfer_buffer usb

[PATCH 3.19.y-ckt 04/54] arm: factor out mmap ASLR into mmap_rnd

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit fbbc400f3924ce095b466c776dc294727ec0a202 upstream. To address the "offset2lib" ASLR weakness[1], this separates ET_DYN

[PATCH 3.19.y-ckt 15/54] mm: fold arch_randomize_brk into ARCH_HAS_ELF_RANDOMIZE

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit 204db6ed17743000691d930368a5abd6ea541c58 upstream. The arch_randomize_brk() function is used on several architectures,

[PATCH 3.19.y-ckt 38/54] tracing: Don't display trigger file for events that can't be enabled

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Chunyu Hu commit 854145e0a8e9a05f7366d240e2f99d9c1ca6d6dd upstream. Currently register functions for events will be called through the

[PATCH 3.19.y-ckt 31/54] ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Sascha Hauer commit 5616f36713ea77f57ae908bf2fef641364403c9f upstream. The secondary CPU starts up in ARM mode. When the kernel is comp

[PATCH 3.19.y-ckt 14/54] mm: split ET_DYN ASLR from mmap ASLR

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit d1fd836dcf00d2028c700c7e44d2c23404062c90 upstream. This fixes the "offset2lib" weakness in ASLR for arm, arm64, mips,

[PATCH 3.19.y-ckt 48/54] jme: Do not enable NIC WoL functions on S0

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Guo-Fu Tseng commit 0772a99b818079e628a1da122ac7ee023faed83e upstream. Otherwise it might be back on resume right after going to suspen

[PATCH 3.19.y-ckt 54/54] net/mlx4_en: fix spurious timestamping callbacks

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Eric Dumazet commit fc96256c906362e845d848d0f6a6354450059e81 upstream. When multiple skb are TX-completed in a row, we might incorrectl

[PATCH 3.19.y-ckt 51/54] batman-adv: Reduce refcnt of removed router when updating route

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Sven Eckelmann commit d1a65f1741bfd9c69f9e4e2ad447a89b6810427d upstream. _batadv_update_route rcu_derefences orig_ifinfo->router outsid

[PATCH 3.19.y-ckt 53/54] cxgbi: fix uninitialized flowi6

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jiri Benc commit 3d6d30d60abb19ba9a20e53ce65b18a9c148fcd1 upstream. ip6_route_output looks into different fields in the passed flowi6 s

[PATCH 3.19.y-ckt 50/54] batman-adv: Check skb size before using encapsulated ETH+VLAN header

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Sven Eckelmann commit c78296665c3d81f040117432ab9e1cb125521b0c upstream. The encapsulated ethernet and VLAN header may be outside the r

[PATCH 3.19.y-ckt 12/54] mm: expose arch_mmap_rnd when available

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit 2b68f6caeac271620cd2f9362aeaed360e317df0 upstream. When an architecture fully supports randomizing the ELF load locati

[PATCH 3.19.y-ckt 49/54] jme: Fix device PM wakeup API usage

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Guo-Fu Tseng commit 81422e672f8181d7ad1ee6c60c723aac649f538f upstream. According to Documentation/power/devices.txt The driver should

[PATCH 3.19.y-ckt 52/54] batman-adv: Fix broadcast/ogm queue limit on a removed interface

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Linus=20L=C3=BCssing?= commit c4fdb6cff2aa0ae740c5f19b6f745cbbe786d42f upstream. When removing a single interface while a bro

[PATCH 3.19.y-ckt 45/54] mm, cma: prevent nr_isolated_* counters from going negative

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hugh Dickins commit 14af4a5e9b26ad251f81c174e8a43f3e179434a5 upstream. /proc/sys/vm/stat_refresh warns nr_isolated_anon and nr_isolated

[PATCH 3.19.y-ckt 42/54] x86/sysfb_efi: Fix valid BAR address range check

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Wang YanQing commit c10fcb14c7afd6688c7b197a814358fecf244222 upstream. The code for checking whether a BAR address range is valid will

[GIT PULL] libnvdimm build fix for 4.6-final

2016-05-09 Thread Williams, Dan J
Hi Linus, please pull from:   git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive a build fix for the usage of HPAGE_SIZE in the last libnvdimm pull request.  I have taken note that the kbuild robot build success test does not include results for alpha_allmod

[PATCH 3.19.y-ckt 47/54] parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Dmitry V. Levin" commit f0b22d1bb2a37a665a969e95785c75a4f49d1499 upstream. Do not load one entry beyond the end of the syscall table w

[PATCH 3.19.y-ckt 46/54] x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Chen Yu commit 886123fb3a8656699dff40afa0573df359abeb18 upstream. Currently we read the tsc radio: ratio = (MSR_PLATFORM_INFO >> 8) & 0

[PATCH 3.19.y-ckt 44/54] propogate_mnt: Handle the first propogated copy being a slave

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Eric W. Biederman" commit 5ec0811d30378ae104f250bfc9b3640242d81e3f upstream. When the first propgated copy was a slave the following o

[PATCH 3.19.y-ckt 39/54] drm/radeon: make sure vertical front porch is at least 1

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Deucher commit 3104b8128d4d646a574ed9d5b17c7d10752cd70b upstream. hw doesn't like a 0 value. Signed-off-by: Alex Deucher Signed-

[PATCH 3.19.y-ckt 43/54] fs/pnode.c: treat zero mnt_group_id-s as unequal

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Maxim Patlasov commit 7ae8fd0351f912b075149a1e03a017be8b903b9a upstream. propagate_one(m) calculates "type" argument for copy_tree() li

[PATCH 3.19.y-ckt 40/54] MAINTAINERS: Remove asterisk from EFI directory names

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matt Fleming commit e8dfe6d8f6762d515fcd4f30577f7bfcf7659887 upstream. Mark reported that having asterisks on the end of directory name

[PATCH 3.19.y-ckt 34/54] mm: vmscan: reclaim highmem zone if buffer_heads is over limit

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Minchan Kim commit 7bf52fb891b64b8d61caf0b82060adb9db761aec upstream. We have been reclaimed highmem zone if buffer_heads is over limit

[PATCH 3.19.y-ckt 41/54] ACPICA: Dispatcher: Update thread ID for recursive method calls

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Prarit Bhargava commit 93d68841a23a5779cef6fb9aa0ef32e7c5bd00da upstream. ACPICA commit 7a3bd2d962f221809f25ddb826c9e551b916eb25 Set t

[PATCH 3.19.y-ckt 33/54] mm/huge_memory: replace VM_NO_THP VM_BUG_ON with actual VMA check

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konstantin Khlebnikov commit 3486b85a29c1741db99d0c522211c82d2b7a56d0 upstream. Khugepaged detects own VMAs by checking vm_file and vm_

[PATCH 3.19.y-ckt 36/54] powerpc: Fix bad inline asm constraint in create_zero_mask()

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Anton Blanchard commit b4c112114aab9aff5ed4568ca5e662bb02cdfe74 upstream. In create_zero_mask() we have: addi%1,%2,-1

[PATCH 3.19.y-ckt 37/54] Minimal fix-up of bad hashing behavior of hash_64()

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Linus Torvalds commit 689de1d6ca95b3b5bd8ee446863bf81a4883ea25 upstream. This is a fairly minimal fixup to the horribly bad behavior of

[PATCH 3.19.y-ckt 35/54] EDAC: i7core, sb_edac: Don't return NOTIFY_BAD from mce_decoder callback

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tony Luck commit c4fc1956fa31003bfbe4f597e359d751568e2954 upstream. Both of these drivers can return NOTIFY_BAD, but this terminates pr

[PATCH 3.19.y-ckt 16/54] x86/mm/32: Enable full randomization on i386 and X86_32

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hector Marco-Gisbert commit 8b8addf891de8a00e4d39fc32f93f7c5eb8feceb upstream. Currently on i386 and on X86_64 when emulating X86_32 in

[PATCH 3.19.y-ckt 32/54] IB/security: Restrict use of the write() interface

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jason Gunthorpe commit e6bd18f57aad1a2d1ef40e646d03ed0f2515c9e3 upstream. The drivers/infiniband stack uses write() as a replacement fo

[PATCH 3.19.y-ckt 30/54] drm/i915/ddi: Fix eDP VDD handling during booting and suspend/resume

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Imre Deak commit 5eaa60c7109b40f17ac81090bc8b90482da76cd1 upstream. The driver's VDD on/off logic assumes that whenever the VDD is on w

[PATCH 3.19.y-ckt 29/54] drm/i915: Fix system resume if PCI device remained enabled

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Imre Deak commit dab9a2663f4e688106c041f7cd2797a721382f0a upstream. During system resume we depended on pci_enable_device() also puttin

[PATCH 3.19.y-ckt 28/54] cxl: Keep IRQ mappings on context teardown

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Michael Neuling commit d6776bba44d9752f6cdf640046070e71ee4bba7b upstream. Keep IRQ mappings on context teardown. This won't leak IRQs

[PATCH 3.19.y-ckt 26/54] workqueue: fix ghost PENDING flag while doing MQ IO

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Roman Pen commit 346c09f80459a3ad97df1816d6d606169a51001a upstream. The bug in a workqueue leads to a stalled IO request in MQ ctx->rq_

[PATCH 3.19.y-ckt 25/54] ALSA: hda - Add dock support for ThinkPad X260

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Conrad Kostecki commit 037e119738120c1cdc460c6ae33871c3000531f3 upstream. Fixes audio output on a ThinkPad X260, when using Lenovo CES

[PATCH 3.19.y-ckt 22/54] efi: Fix out-of-bounds read in variable_matches()

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Laszlo Ersek commit 630ba0cc7a6dbafbdee43795617c872b35cde1b4 upstream. The variable_matches() function can currently read "var_name[len

[PATCH 3.19.y-ckt 27/54] drm/dp/mst: Get validated port ref in drm_dp_update_payload_part1()

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: "cp...@redhat.com" commit 263efde31f97c498e1ebad30e4d2906609d7ad6b upstream. We can thank KASAN for finding this, otherwise I probably

[PATCH 3.19.y-ckt 24/54] USB: serial: cp210x: add Straizona Focusers device ids

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jasem Mutlaq commit 613ac23a46e10d4d4339febdd534fafadd68e059 upstream. Adding VID:PID for Straizona Focusers to cp210x driver. Signed-

[PATCH 3.19.y-ckt 18/54] ASoC: dapm: Make sure we have a card when displaying component widgets

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mark Brown commit 47325078f2a3e543150e7df967e45756b2fff7ec upstream. The dummy component is reused for all cards so we special case and

[PATCH 3.19.y-ckt 21/54] i2c: exynos5: Fix possible ABBA deadlock by keeping I2C clock prepared

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Javier Martinez Canillas commit 10ff4c5239a137abfc896ec73ef3d15a0f86a16a upstream. The exynos5 I2C controller driver always prepares an

[PATCH 3.19.y-ckt 23/54] USB: serial: cp210x: add ID for Link ECU

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mike Manning commit 1d377f4d690637a0121eac8701f84a0aa1e69a69 upstream. The Link ECU is an aftermarket ECU computer for vehicles that pr

[PATCH 3.19.y-ckt 17/54] ASoC: rt5640: Correct the digital interface data select

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Sugar Zhang commit 653aa4645244042826f105aab1be3d01b3d493ca upstream. this patch corrects the interface adc/dac control register defini

[PATCH 3.19.y-ckt 19/54] iio: ak8975: Fix NULL pointer exception on early interrupt

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Krzysztof Kozlowski commit 07d2390e36ee5b3265e9cc8305f2a106c8721e16 upstream. In certain probe conditions the interrupt came right afte

[PATCH 3.19.y-ckt 20/54] i2c: cpm: Fix build break due to incompatible pointer types

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Michael Ellerman commit 609d5a1b2b35bb62b4b3750396e55453160c2a17 upstream. Since commit ea8daa7b9784 ("kbuild: Add option to turn incom

[PATCH 3.19.y-ckt 13/54] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit c6f5b001e65cdac592b65a08c5d2dd179cfba568 upstream. In preparation for moving ET_DYN randomization into the ELF loader

[PATCH 3.19.y-ckt 11/54] s390: standardize mmap_rnd() usage

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit 8e89a356feb6f196824a72101861d931a97ac2d2 upstream. In preparation for splitting out ET_DYN ASLR, this refactors the us

linux-next: manual merge of the net-next tree with the arm-soc tree

2016-05-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: include/linux/soc/qcom/smd.h between commit: b853cb9628bf ("soc: qcom: smd: Make callback pass channel reference") from the arm-soc tree and commit: 43315f31adc2 ("soc: qcom: smd: Introduce compile stubs") from th

[PATCH 3.19.y-ckt 08/54] powerpc: standardize mmap_rnd() usage

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit ed6322746afb74c2509e2f3a6464182793b16eb9 upstream. In preparation for splitting out ET_DYN ASLR, this refactors the us

[PATCH 3.19.y-ckt 09/54] s390: avoid z13 cache aliasing

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Martin Schwidefsky commit 1f6b83e5e4d3aed46eac1d219322fba9c7341cd8 upstream. Avoid cache aliasing on z13 by aligning shared objects to

[PATCH 3.19.y-ckt 06/54] arm64: standardize mmap_rnd() usage

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit dd04cff1dceab18226853b555cf07914648a235f upstream. In preparation for splitting out ET_DYN ASLR, this refactors the us

[PATCH 3.19.y-ckt 07/54] mips: extract logic for mmap_rnd()

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kees Cook commit 1f0569df0b0285e7ec2432d804a4921b06a61618 upstream. In preparation for splitting out ET_DYN ASLR, extract the mmap ASLR

[PATCH 3.19.y-ckt 02/54] [3.19-stable-only] fix backport "KVM: s390: avoid memory overwrites on emergency signal injection"

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kamal Mostafa Fix bad 3.19-stable backport of mainline commit: b85de33 KVM: s390: avoid memory overwrites on emergency signal injection

[PATCH 3.19.y-ckt 01/54] [3.19-stable-only] Revert "powerpc: Update TM user feature bits in scan_features()"

2016-05-09 Thread Kamal Mostafa
3.19.8-ckt21 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kamal Mostafa This reverts commit cde5ccf81fd35d89940b841e808cc9cd5492b5bc. Not suitable for 3.19-stable (no PPC_FEATURE2_HTM_NOSC_COMP

[PATCH 2/3] blktrace: add missed mask name

2016-05-09 Thread Shaohua Li
BLK_TC_NOTIFY is missed in mask_maps, so we can't print out notify or set mask with 'notify' name. Signed-off-by: Shaohua Li --- kernel/trace/blktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 8ae9ea2..9aef865 100644 --- a/kerne

[PATCH 1/3] blktrace: delete garbage for message trace

2016-05-09 Thread Shaohua Li
commit f4a1d08ce65 introduces a regression. Originally for BLK_TN_MESSAGE, we add message in trace and return. The commit ignores the early return and add garbage info. Signed-off-by: Shaohua Li --- kernel/trace/blktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/trace/blktrace

[PATCH 3/3] blk-throttle: don't parse cgroup path if trace isn't enabled

2016-05-09 Thread Shaohua Li
if trace isn't enabled, parsing cgroup path just wastes cpu Signed-off-by: Shaohua Li --- block/blk-throttle.c | 5 ++--- include/linux/blktrace_api.h | 9 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 2149a1d.

Re: [PATCH v2 0/3] input: rmi4: Regulator supply support

2016-05-09 Thread Andrew Duggan
Hi Bjorn, On 05/06/2016 09:40 PM, Bjorn Andersson wrote: The first version of the regulator support patch suffered from being implemented in the transport driver, as a work around for resource availability racing (EPROBE_DEFER of the core driver) with the interrupt handler. After reconsidering

Re: [RFC][PATCH 0/7] sched: select_idle_siblings rewrite

2016-05-09 Thread Chris Mason
On Mon, May 09, 2016 at 12:48:07PM +0200, Peter Zijlstra wrote: > Hai, > > here be a semi coherent patch series for the recent select_idle_siblings() > tinkering. Happy benchmarking.. Thanks Peter, I'll have some production numbers tomorrow, but based on schbench I'm hoping it'll score better th

Re: [PATCH v2 0/3] power: Remove the deprecated extcon functions

2016-05-09 Thread Chanwoo Choi
Ping. Could you review this patch? Thanks, Chanwoo Choi On 2016년 04월 21일 18:55, Chanwoo Choi wrote: > This patch-set removes the deprecated notifier API of extcon framework and > then use the new extcon API[2] with the unique id[1] to indicate the each > external connector. Alter deprecated API

[PATCH 1/2] fs: befs: remove unneeded initialization to NULL

2016-05-09 Thread Salah Triki
bh is reinitialized by sb_bread() so no need to init it with NULL in the beginning of befs_bread_iaddr() Signed-off-by: Salah Triki --- fs/befs/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/befs/io.c b/fs/befs/io.c index 7a5b4ec..1341fa3 100644 --- a/fs/befs/io.c ++

[PATCH 2/2] fs: befs: remove unneeded initialization to NULL

2016-05-09 Thread Salah Triki
bh is reinitialized by sb_bread() so no need to init it with NULL in the beginning of befs_bread() Signed-off-by: Salah Triki --- fs/befs/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/befs/io.c b/fs/befs/io.c index 1341fa3..523c8af 100644 --- a/fs/befs/io.c +++ b/fs

<    5   6   7   8   9   10   11   12   >