[PATCH 3.2 20/62] af_unix: Don't set err in unix_stream_read_generic unless there was an error

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Rainer Weikusat commit 1b92ee3d03af6643df395300ba7748f19ecdb0c5 upstream. The present unix_stream_read_generic contains various code sequences of the form err = -EDISASTER; if () goto

[PATCH 3.2 27/62] USB: option: add support for SIM7100E

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Skvortsov commit 3158a8d416f4e1b79dcc867d67cb50013140772c upstream. $ lsusb: Bus 001 Device 101: ID 1e0e:9001 Qualcomm / Option $ usb-devices: T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 D

[PATCH 3.2 32/62] kernel/resource.c: fix muxed resource handling in __request_region()

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Simon Guinot commit 59ceeaaf355fa0fb16558ef7c24413c804932ada upstream. In __request_region, if a conflict with a BUSY and MUXED resource is detected, then the caller goes to sleep and waits for

[PATCH 3.2 38/62] jffs2: Fix page lock / f->sem deadlock

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 49e91e7079febe59a20ca885a87dd1c54240d0f1 upstream. With this fix, all code paths should now be obtaining the page lock before f->sem. Reported-by: Szabó Tamás Tested-by

[PATCH] HID: multitouch: Synchronize MT frame on reset_resume

2016-03-29 Thread Gabriele Mazzotta
input_mt_get_slot_by_key() requires input_mt_sync_frame() to be called at each frame. Do it when releasing the touches, or else we won't get a proper slot number after mt_reset_resume(). Signed-off-by: Gabriele Mazzotta --- drivers/hid/hid-multitouch.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 3.2 21/62] af_unix: Guard against other == sk in unix_dgram_sendmsg

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Rainer Weikusat commit a5527dda344fff0514b7989ef7a755729769daa1 upstream. The unix_dgram_sendmsg routine use the following test if (unlikely(unix_peer(other) != sk && unix_recvq_full(other)))

[PATCH 3.2 22/62] x86, extable: Remove open-coded exception table entries in arch/x86/lib/copy_user_nocache_64.S

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 0d8559feafbc9dc5a2c17ba42aea7de824b18308 upstream. Remove open-coded exception table entries in arch/x86/lib/copy_user_nocache_64.S, and replace them with _ASM_EXTABLE(

[PATCH 3.2 25/62] usb: dwc3: Fix assignment of EP transfer resources

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: John Youn commit c450960187f45d4260db87c7dd4fc0bceb5565d8 upstream. The assignement of EP transfer resources was not handled properly in the dwc3 driver. Commit aebda6187181 ("usb: dwc3: Reset

[PATCH 3.2 37/62] Revert "jffs2: Fix lock acquisition order bug in jffs2_write_begin"

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Betker commit 157078f64b8a9cd7011b6b900b2f2498df850748 upstream. This reverts commit 5ffd3412ae55 ("jffs2: Fix lock acquisition order bug in jffs2_write_begin"). The commit modified jff

[PATCH 3.2 53/62] PM / sleep / x86: Fix crash on graph trace through x86 suspend

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Todd E Brandt commit 92f9e179a702a6adbc11e2fedc76ecd6ffc9e3f7 upstream. Pause/unpause graph tracing around do_suspend_lowlevel as it has inconsistent call/return info after it jumps to the wake

[PATCH 3.2 24/62] x86/uaccess/64: Handle the caching of 4-byte nocache copies properly in __copy_user_nocache()

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit a82eee7424525e34e98d821dd059ce14560a1e35 upstream. Data corruption issues were observed in tests which initiated a system crash/reset while accessing BTT devices. This proble

[PATCH 3.2 26/62] net/mlx4_en: Count HW buffer overrun only once

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Amir Vadai commit 281e8b2fdf8e4ef366b899453cae50e09b577ada upstream. RdropOvflw counts overrun of HW buffer, therefore should be used for rx_fifo_errors only. Currently RdropOvflw counter is m

[PATCH 3.2 34/62] mac80211: minstrel_ht: set default tx aggregation timeout to 0

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 7a36b930e6ed4702c866dc74a5ad07318a57c688 upstream. The value 5000 was put here with the addition of the timeout field to ieee80211_start_tx_ba_session. It was originally ad

[PATCH 3.2 31/62] ext4: fix bh->b_state corruption

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit ed8ad83808f009ade97ebbf6519bc3a97fefbc0c upstream. ext4 can update bh->b_state non-atomically in _ext4_get_block() and ext4_da_get_block_prep(). Usually this is fine since bh is

[PATCH 3.2 28/62] USB: cp210x: add IDs for GE B650V3 and B850V3 boards

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Ken Lin commit 6627ae19385283b89356a199d7f03c75ba35fb29 upstream. Add USB ID for cp2104/5 devices on GE B650v3 and B850v3 boards. Signed-off-by: Ken Lin Signed-off-by: Akshay Bhat Signed-off

[PATCH 3.2 43/62] mm: thp: fix SMP race condition between THP page fault and MADV_DONTNEED

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrea Arcangeli commit ad33bb04b2a6cee6c1f99fabb15cddbf93ff0433 upstream. pmd_trans_unstable()/pmd_none_or_trans_huge_or_clear_bad() were introduced to locklessy (but atomically) detect when a

[PATCH 3.2 30/62] Adding Intel Lewisburg device IDs for SATA

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexandra Yates commit f5bdd66c705484b4bc77eb914be15c1b7881fae7 upstream. This patch complements the list of device IDs previously added for lewisburg sata. Signed-off-by: Alexandra Yates Sig

[PATCH 3.2 23/62] x86/uaccess/64: Make the __copy_user_nocache() assembly code more readable

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit ee9737c924706aaa72c2ead93e3ad5644681dc1c upstream. Add comments to __copy_user_nocache() to clarify its procedures and alignment requirements. Also change numeric branch targ

[PATCH 3.2 61/62] include/linux/poison.h: fix LIST_POISON{1,2} offset

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Vasily Kulikov commit 8a5e5e02fc83aaf67053ab53b359af08c6c49aaf upstream. Poison pointer values should be small enough to find a room in non-mmap'able/hardly-mmap'able space. E.g. on x86 "pois

[PATCH 3.2 60/62] Input: aiptek - fix crash on detecting device without endpoints

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 8e20cf2bce122ce9262d6034ee5d5b76fbb92f96 upstream. The aiptek driver crashes in aiptek_probe() when a specially crafted USB device without endpoints is detected. This fix a

[PATCH 3.2 11/62] s390/dasd: fix refcount for PAV reassignment

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Haberland commit 9d862ababb609439c5d6987f6d3ddd09e703aa0b upstream. Add refcount to the DASD device when a summary unit check worker is scheduled. This prevents that the device is set of

[PATCH 3.2 33/62] can: ems_usb: Fix possible tx overflow

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Gerhard Uttenthaler commit 90cfde46586d2286488d8ed636929e936c0c9ab2 upstream. This patch fixes the problem that more CAN messages could be sent to the interface as could be send on the CAN bus.

[PATCH 3.2 09/62] cifs: fix erroneous return value

2016-03-29 Thread Ben Hutchings
3.2.79-rc1 review patch. If anyone has any objections, please let me know. -- From: Anton Protopopov commit 4b550af519854421dfec9f7732cdddeb057134b2 upstream. The setup_ntlmv2_rsp() function may return positive value ENOMEM instead of -ENOMEM in case of kmalloc failure. Signe

Re: [PATCH 0/2] hwmon: adc128d818: Support operation mode 1

2016-03-29 Thread Guenter Roeck
On Tue, Mar 29, 2016 at 09:03:37PM +0200, Alexander Koch wrote: > The ADC128D818 offers four different chip operation modes which vary in the > number and measurement types of the available input signals (see datasheet > sec. 8.4.1). > > The current version of the driver only supports the default

Re: [PATCH 2/2] hwmon: adc128d818: Implement operation mode 1

2016-03-29 Thread Guenter Roeck
On Tue, Mar 29, 2016 at 09:03:39PM +0200, Alexander Koch wrote: > Implement chip operation mode 1 (see datasheet sec. 8.4.1) which offers an > additional analog input signal on channel 7 but no temperature reading. > > Signed-off-by: Alexander Koch > Michael Hornung > --- > drivers/hwmon/adc128

Re: [RFC PATCH] cgroup namespaces: add a 'nsroot=' mountinfo field

2016-03-29 Thread Serge E. Hallyn
Quoting Tycho Andersen (tycho.ander...@canonical.com): > Hi Serge, > > On Mon, Mar 21, 2016 at 06:41:33PM -0500, Serge E. Hallyn wrote: > > One practical problem I've found with cgroup namespaces is that there > > is no way to disambiguate between a cgroupfs mount which was done in > > a cgroup na

Re: [PATCH v4 3/4] Sysctl: SROP Mitigation: Add Sysctl argument to disable SROP.

2016-03-29 Thread Andi Kleen
On Tue, Mar 29, 2016 at 01:53:26PM -0600, Scott Bauer wrote: > This patch adds a sysctl argument to disable SROP protection. Sysctl needs to be documented in Documentation/sysctl/ Also negated sysctl is weird, normally they are positive (enable-xxx) -Andi

[PATCH v4 0/4] SROP Mitigation: Sigreturn Cookies

2016-03-29 Thread Scott Bauer
Sigreturn-oriented programming is a new attack vector in userland where an attacker crafts a fake signal frame on the stack and calls sigreturn. The kernel will extract the fake signal frame, which contains attacker controlled "saved" registers. The kernel will then transfer control to the attacker

[PATCH v4 2/4] x86: SROP Mitigation: Implement Signal Cookies

2016-03-29 Thread Scott Bauer
This patch adds SROP mitigation logic to the x86 signal delivery and sigreturn code. The cookie is placed in the unused alignment space above the saved FP state, if it exists. If there is no FP state to save then the cookie is placed in the alignment space above the sigframe. Cc: Abhiram Balasubra

[PATCH v4 3/4] Sysctl: SROP Mitigation: Add Sysctl argument to disable SROP.

2016-03-29 Thread Scott Bauer
This patch adds a sysctl argument to disable SROP protection. Cc: Abhiram Balasubramanian Signed-off-by: Scott Bauer Signed-off-by: Scott Bauer --- include/linux/signal.h | 1 + kernel/signal.c| 13 +++-- kernel/sysctl.c| 8 3 files changed, 20 insertions(+),

[PATCH v4 4/4] Documentation: SROP Mitigation: Add documentation for SROP cookies

2016-03-29 Thread Scott Bauer
This patch adds documentation and test code for SROP mitigation. Cc: Abhiram Balasubramanian Signed-off-by: Scott Bauer Signed-off-by: Scott Bauer --- Documentation/security/srop-cookies.txt | 203 1 file changed, 203 insertions(+) create mode 100644 Documenta

[PATCH v4 1/4] SROP Mitigation: Architecture independent code for signal cookies

2016-03-29 Thread Scott Bauer
This patch adds a per-process secret to the task struct which will be used during signal delivery and during a sigreturn. Also, logic is added in signal.c to generate, place, extract, clear and verify the signal cookie. Cc: Abhiram Balasubramanian Signed-off-by: Scott Bauer Signed-off-by: Scott

Re: [PATCH 1/2] hwmon: adc128d818: Implement chip mode selection

2016-03-29 Thread Guenter Roeck
On Tue, Mar 29, 2016 at 09:03:38PM +0200, Alexander Koch wrote: > The ADC128D818 offers four operation modes (see datasheet sec. 8.4.1) > which vary in the number of available input signals and their types > (differential vs. absolute). > > The current version of this driver only implements mode 0

Re: [PATCH] bus: mvebu-mbus: use %pad to print phys_addr_t

2016-03-29 Thread Arnd Bergmann
On Tuesday 29 March 2016 18:04:47 Gregory CLEMENT wrote: > > What is the status of this patch? > > Do you plan to send a second version with the title fixed as suggested > by Joe Perches? > > Also do you expect that I collect this patch in the mvebu subsystem? Right now, it's on my long-term to

Re: [PATCH v4 4/8] arm64: dts: rockchip: Add GeekBox config

2016-03-29 Thread Heiko Stübner
Am Mittwoch, 16. März 2016, 14:58:42 schrieb Andreas Färber: > The GeekBox contains an MXM3 module with a Rockchip RK3368 SoC. > Some connectors are available directly on the module. > > This adds initial support, namely serial, USB, GMAC, eMMC, IR and TSADC. > > Signed-off-by: Andreas Färber a

Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM

2016-03-29 Thread Richard Weinberger
Am 29.03.2016 um 21:37 schrieb Arnd Bergmann: > On Tuesday 29 March 2016 13:23:00 Rob Herring wrote: >> Drivers shouldn't have to care about HAS_IOMEM to compile and having to >> causes a Kconfig mess: >> >> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_I2C) >> selects I2C_MUX

Re: [PATCH resend v5 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

2016-03-29 Thread Mark Brown
On Tue, Mar 29, 2016 at 12:20:25PM -0700, Florian Fainelli wrote: > Subject apart, and thanks for the education, is there something wrong > with this patch series? I've not yet reviewed it, I was just doing first pass triage and was about to complain that my review comments had been ignored since

Re: [PATCH V1 Resend 2/3] cpufreq: dt: Add generic platform-device creation support

2016-03-29 Thread Arnd Bergmann
On Tuesday 29 March 2016 22:12:09 you wrote: > On 29-03-16, 17:14, Arnd Bergmann wrote: > > if (of_device_match(of_root, compat)) > > You meant of_match_node() here, right? > Yes, sorry for the confusion. Arnd

Re: [PATCH V1 Resend 2/3] cpufreq: dt: Add generic platform-device creation support

2016-03-29 Thread Arnd Bergmann
On Tuesday 29 March 2016 22:06:49 Viresh Kumar wrote: > On 29-03-16, 17:14, Arnd Bergmann wrote: > > On Tuesday 29 March 2016 12:09:48 Viresh Kumar wrote: > > > +config CPUFREQ_DT_PLATDEV > > > + bool > > > + depends on CPUFREQ_DT > > > > The 'depends on' line is redundant as you always 'select' t

[PATCH 2/2] regmap: mmio: Parse endianness definitions from DT

2016-03-29 Thread Mark Brown
Since we changed to do formatting in the bus we now skip all the format parsing that the core does for its data marshalling code. This means that we skip the DT parsing it does which breaks some systems, we need to add an explict call in the MMIO code to do this. Reported-by: Alexander Stein Sig

[PATCH 1/2] regmap: Fix implicit inclusion of device.h

2016-03-29 Thread Mark Brown
internal.h is using dev_name() but doesn't include device.h which defines it. Add an explicit include to avoid build problems due to this. Signed-off-by: Mark Brown --- drivers/base/regmap/internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/regmap/internal.h b/drivers/ba

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Arnd Bergmann
On Tuesday 29 March 2016 10:38:16 Tim Harvey wrote: > On Tue, Mar 29, 2016 at 8:24 AM, Arnd Bergmann wrote: > > On Tuesday 29 March 2016 08:10:08 Tim Harvey wrote: > >> Arnd, > >> > >> Right, on the IMX the MSI interrupt is GIC-120 which is also the > >> legacy INTD and I do see that if I happen t

Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM

2016-03-29 Thread Arnd Bergmann
On Tuesday 29 March 2016 13:23:00 Rob Herring wrote: > Drivers shouldn't have to care about HAS_IOMEM to compile and having to > causes a Kconfig mess: > > warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_I2C) > selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOME

Re: [PATCH 2/3] swiotlb: prefix dma_to_phys and phys_to_dma functions

2016-03-29 Thread Arnd Bergmann
On Monday 28 March 2016 14:29:29 Konrad Rzeszutek Wilk wrote: > > diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c > > index ada00c3..8c0f66b 100644 > > --- a/arch/arm64/mm/dma-mapping.c > > +++ b/arch/arm64/mm/dma-mapping.c > > @@ -29,6 +29,14 @@ > > > > #include > > > > +/

Re: [PATCH 1/5] staging: xgifb: fix block comments

2016-03-29 Thread Greg KH
On Sun, Mar 27, 2016 at 03:12:59PM -0400, Clifton Barnes wrote: > fix checkpatch.pl warning about 'Block comments use a trailing */ on a > separate line' and 'Block comments use * on subsequent lines' > > Signed-off-by: Clifton Barnes > --- > drivers/staging/xgifb/vb_init.c| 13 ++-- > driv

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-03-29 Thread Arnd Bergmann
On Tuesday 29 March 2016 15:54:52 Joseph Myers wrote: > On Tue, 29 Mar 2016, Arnd Bergmann wrote: > > > In glibc, I think we need to define fewer entry points, not more. > > Instead of having both lseek and lseek64, only one of them should > > be provided, and that should always take a 64-bit offs

[PATCH 4/5] ARM: dts: omap4-kc1: LEDs support

2016-03-29 Thread Paul Kocialkowski
This adds support for the Kindle Fire (first generation) power button LEDs, that are wired to the TWL6030 PWM outputs. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap4-kc1.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch

[PATCH 5/5] ARM: dts: omap4-kc1: Power off support

2016-03-29 Thread Paul Kocialkowski
This adds support for turning off the main power supply via the TWL6030 on the Kindle Fire (first generation). Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap4-kc1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch/arm/boot/dts/omap4-k

[PATCH 3/5] ARM: dts: omap4-kc1: USB OTG support

2016-03-29 Thread Paul Kocialkowski
This adds support for USB OTG on the Kindle Fire (first generation). Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap4-kc1.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch/arm/boot/dts/omap4-kc1.dts index 9fe4441..0d

[PATCH 1/5] devicetree: bindings: Add vendor prefix for Amazon.com, Inc.

2016-03-29 Thread Paul Kocialkowski
This adds the amazon vendor prefix for Amazon.com, Inc. Signed-off-by: Paul Kocialkowski --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor

[PATCH 0/5] Amazon Kindle Fire (first generation) codename kc1 support series

2016-03-29 Thread Paul Kocialkowski
This series adds basic support for the Amazon Kindle Fire (first generation) codename kc1. A few features such as serial, i2c, the internal eMMC, USB gadget and power button leds. It requires some TWL-related patches to work properly, in particular: * pwm: twl: Reliably disable TWL6030 PWMs * mfd:

[PATCH] ARM: dts: omap3-sniper: Discard deprecated twl4030-power property

2016-03-29 Thread Paul Kocialkowski
This uses ti,system-power-controller instead of the deprecated ti,use_poweroff property for powering off. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap3-sniper.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-sniper.dts b/arch/arm

[PATCH 2/5] ARM: dts: Amazon Kindle Fire (first generation) codename kc1 basic support

2016-03-29 Thread Paul Kocialkowski
The Amazon Kindle Fire (first generation) codename kc1 is a tablet that was released by Amazon back in 2011. It is using an OMAP4430 SoC GP version. This adds devicetree support for the device, with only a few basic features supported, such as debug uart, i2c and internal emmc. Signed-off-by: Pau

[PATCH] ARM: dts: omap3-sniper: Discard deprecated twl4030-power property

2016-03-29 Thread Paul Kocialkowski
This uses ti,system-power-controller instead of the deprecated ti,use_poweroff property for powering off. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/omap3-sniper.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-sniper.dts b/arch/arm

[PATCH 2/2] ARM: OMAP4: Store reboot mode to SAR scratchpad memory before restart

2016-03-29 Thread Paul Kocialkowski
This adds support for storing the reboot mode command to SAR scratchpad memory, at a location compatible with TI kernels, so that bootloaders can grab the reboot mode and act upon it. Currently, upstream U-Boot has support for this feature on OMAP4. Signed-off-by: Paul Kocialkowski --- arch/arm

Re: [PATCH V2 3/3] sched/deadline: Tracepoints for deadline scheduler

2016-03-29 Thread Steven Rostedt
On Tue, 29 Mar 2016 16:12:38 -0300 Daniel Bristot de Oliveira wrote: > On 03/29/2016 02:13 PM, Steven Rostedt wrote: > >> -0 [007] d..3 78377.688969: sched_switch: > >> prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=b > >> next_pid=18973 next_prio=-1 > >

[PATCH 1/2] ARM: OMAP3: Use offset definition and omap_ctrl_writel for boot mode

2016-03-29 Thread Paul Kocialkowski
This introduces offset definitions for scratchpad and scratchpad boot mode to be used with omap_ctrl_writel, fixing a comment suggesting this. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/control.c | 4 +--- arch/arm/mach-omap2/control.h | 3 +++ 2 files changed, 4 insertions(+), 3 d

[PATCH 3/8] mfd: twl-core: Rename TWL4030_CORE Kconfig option to TWL_CORE

2016-03-29 Thread Paul Kocialkowski
Since the twl-core mfd driver is not limited to twl4030 support, but also supports other chips of the TWL family, it makes sense to rename its matching Kconfig opton to a non-model-specific name. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/Kconfig | 2 +- arch/arm/mach-omap2/Mak

[PATCH 4/8] mfd: Add TWL6030 power driver, with minimal support for power off

2016-03-29 Thread Paul Kocialkowski
This adds a TWL6030 power driver, that currently only supports powering off the device when the TWL is used as system power controller. This driver might be extended to support more power-related features of the TWL6030. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/mfd/twl6030-p

[PATCH 8/8] input: twl-pwrbutton: Rename interrupt routine for better consistency

2016-03-29 Thread Paul Kocialkowski
This renames the twl-pwrbutton interrupt routing from powerbutton_irq to twl_pwrbutton_irq, for better consistency with the driver name. Signed-off-by: Paul Kocialkowski --- drivers/input/misc/twl-pwrbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/m

[PATCH 7/8] input: misc: Add TWL6030 power button support to twl-pwrbutton

2016-03-29 Thread Paul Kocialkowski
This renames the twl4030-pwrbutton driver to twl-pwrbutton, since power button handling is very similar on most TWL chips. This also introduces TWL6030 power button support. TWL6030 power button support requires the following additional changes: * Devicetree binding and support * Interrupt unmaski

[PATCH 6/8] ARM: OMAP2+: Select TWL6030_POWER for OMAP4

2016-03-29 Thread Paul Kocialkowski
The TWL6030 is generally used with the OMAP4. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 6ffa7f1..2d67eaf 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/

[PATCH 5/8] ARM: OMAP2+: Only select TWL4030_POWER for OMAP3

2016-03-29 Thread Paul Kocialkowski
The TWL4030 is generally used with the OMAP3, not with OMAP4. The TWL6030 is generally used with the OMAP4 instead. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-oma

Re: [PATCH v2 2/2] mm: rename _count, field of the struct page, to _refcount

2016-03-29 Thread Andrew Morton
On Tue, 29 Mar 2016 11:27:47 +0200 Vlastimil Babka wrote: > > v2: change more _count usages to _refcount > > There's also > Documentation/vm/transhuge.txt talking about ->_count > include/linux/mm.h: * requires to already have an elevated page->_count. > include/linux/mm_types.h:

[PATCH 1/8] mfd: twl-core: Rename struct twl4030_platform_data to twl_platform_data

2016-03-29 Thread Paul Kocialkowski
Since twl4030_platform_data also holds platform data (e.g. regulators) for other TWL chips, it makes sense to rename it to a non-model-specific name. This will also allow hooking more platform data structure to it in the future. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/board-ldp

[PATCH 2/8] mfd: twl-core: Rename some non-model-specific structures, without model name

2016-03-29 Thread Paul Kocialkowski
Some of the structures exposed in the twl_platform_data structure are common to various TWL chips, so it makes sense to rename them to a non-model-specific name. Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/board-rx51-peripherals.c | 4 ++-- arch/arm/mach-omap2/twl-common.c

Re: [PATCH resend v5 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

2016-03-29 Thread Florian Fainelli
On 29/03/16 12:09, Mark Brown wrote: > On Tue, Mar 29, 2016 at 11:46:29AM -0700, Simran Rai wrote: > >> Changes from v4: >> - Fix power suspend function and add power resume function >> - Remove clock initialization code from audio driver to clock framework > > I can't find any sign of anything s

Re: [REGRESSION 4.6-rc1] NFS mounts (using autofs) failing

2016-03-29 Thread Arend van Spriel
On 29-03-16 16:02, Al Viro wrote: > On Tue, Mar 29, 2016 at 01:11:55PM +0200, Arend Van Spriel wrote: >> Hi Al, >> >> Moved to 4.6-rc1 and found NFS mounts were failing moving to the new >> kernel. The NFS mounts are done using autofs. Below is the bisect log >> and attached the kernel .config fi

[PATCH 2/2] hwmon: adc128d818: Implement operation mode 1

2016-03-29 Thread Alexander Koch
Implement chip operation mode 1 (see datasheet sec. 8.4.1) which offers an additional analog input signal on channel 7 but no temperature reading. Signed-off-by: Alexander Koch Michael Hornung --- drivers/hwmon/adc128d818.c | 48 +- 1 file changed, 47

[PATCH 1/2] hwmon: adc128d818: Implement chip mode selection

2016-03-29 Thread Alexander Koch
The ADC128D818 offers four operation modes (see datasheet sec. 8.4.1) which vary in the number of available input signals and their types (differential vs. absolute). The current version of this driver only implements mode 0, this patch prepares implementation of the others. * Introduce device t

[PATCH 0/2] hwmon: adc128d818: Support operation mode 1

2016-03-29 Thread Alexander Koch
The ADC128D818 offers four different chip operation modes which vary in the number and measurement types of the available input signals (see datasheet sec. 8.4.1). The current version of the driver only supports the default chip operation mode (mode 0), providing seven analog values and a temperat

Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

2016-03-29 Thread Matthias Schiffer
On 03/28/2016 10:56 PM, Brian Norris wrote: > On Mon, Mar 28, 2016 at 12:52:51AM +0200, Matthias Schiffer wrote: >> On 03/26/2016 07:57 PM, Matthias Schiffer wrote: >>> On 12/15/2015 07:48 PM, Brian Norris wrote: Spansion and Winbond have occasionally used the same manufacturer ID, and th

Re: [PATCH V2 3/3] sched/deadline: Tracepoints for deadline scheduler

2016-03-29 Thread Daniel Bristot de Oliveira
On 03/29/2016 02:13 PM, Steven Rostedt wrote: >> -0 [007] d..3 78377.688969: sched_switch: >> prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=b >> next_pid=18973 next_prio=-1 >> >b-18973 [007] d..3 78377.688979: sched_deadline_block: >> > n

Re: Applied "regulator: axp20x: support AXP809 variant" to the regulator tree

2016-03-29 Thread kbuild test robot
Hi Mark, [auto build test WARNING on regulator/for-next] [also build test WARNING on v4.6-rc1 next-20160329] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Mark-Brown/Applied-regulator-axp20x

RE: [PATCH] ACPICA: Remove unnecessary "\n" from an ACPI_INFO boot message

2016-03-29 Thread Moore, Robert
Actually, I did in fact put that there to break up the output after the tables are loaded. Is this a problem? > -Original Message- > From: Daniel Bristot de Oliveira [mailto:bris...@redhat.com] > Sent: Monday, March 28, 2016 10:59 AM > To: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; Len

Re: [PATCH resend v5 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

2016-03-29 Thread Mark Brown
On Tue, Mar 29, 2016 at 11:46:29AM -0700, Simran Rai wrote: > Changes from v4: > - Fix power suspend function and add power resume function > - Remove clock initialization code from audio driver to clock framework I can't find any sign of anything since your v4 having been submitted previously so

Tegra boots failing due to as3722 I/O errors

2016-03-29 Thread Mark Brown
Hi, Currently the Jetson TK1 is failing to get regulators for MMC with at least my regulator tree and probably -next also due to: [1.665750] as3722 4-0040: AS3722 with revision 0x1 found [1.682945] +VDDIO_SDMMC3: failed to get the current voltage(-22) [1.689135] as3722-regulator as372

Re: [PATCH] ASoC: intel: make Kconfig selects depend on ACPI

2016-03-29 Thread Randy Dunlap
On 03/29/16 09:51, Mark Brown wrote: > On Tue, Mar 29, 2016 at 09:45:05AM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Prevent SND_SST_IPC_ACPI from being selected when CONFIG_ACPI is >> not enabled. This fixes the kconfig warning: > > These are drivers which can't be instantiated with

Re: [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial

2016-03-29 Thread Stephen Boyd
On 03/24, Nicolas Dechesne wrote: > On Thu, Mar 24, 2016 at 2:48 AM, Stephen Boyd wrote: > > I don't make up the names, but for other qcom sbc products the > > bootloader is looking for sbc there to make sure it picks the right dtb > > blob. So I guess this is _the_ qcom 8064 sbc? Definitely not _

Re: [PATCH] ARM: pxa: fix the number of DMA requestor lines

2016-03-29 Thread Robert Jarzmik
Robert Jarzmik writes: > The number of requestor lines was clamped to 0 for all pxa architectures > in the requestor declaration. Fix this by using the value. > > Fixes: 72b195cb7162 ("ARM: pxa: add the number of DMA requestor lines") > Signed-off-by: Robert Jarzmik > --- > arch/arm/mach-pxa/de

[PATCH] pwm: twl: Reliably disable TWL6030 PWMs

2016-03-29 Thread Paul Kocialkowski
The current TWL6030 code for the TWL PWM driver does not reliably disable the PWM output, as tested with LEDs. The previous commit to that driver introduced that regression. However, it does make sense to disable the PWM clock after resetting the PWM, but for some obscure reason, doing it all at o

[PATCH resend v5 3/3] ASoC: cygnus: Add Cygnus audio DMA driver

2016-03-29 Thread Simran Rai
From: Simran Rai This patch adds Cygnus audio DMA driver. It supports playback and capture modes and uses ringbuffers for data transfer. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: Scott Branden Signed-off-by: Simran

Re: [PATCH v3 1/2] dmaengine: vdma: Add 64 bit addressing support to the driver

2016-03-29 Thread Rob Herring
On Fri, Mar 25, 2016 at 02:46:18PM +0530, Kedareswara rao Appana wrote: > This VDMA is a soft ip, which can be programmed to support > 32 bit addressing or greater than 32 bit addressing. > > When the VDMA ip is configured for 32 bit address space > the buffer address is specified by a single reg

Re: [PATCH v3 13/19] drm: sun4i: Add DT bindings documentation

2016-03-29 Thread Rob Herring
On Tue, Mar 29, 2016 at 12:33:14PM +0200, Maxime Ripard wrote: > Hi Rob, > > On Fri, Mar 25, 2016 at 09:11:18AM -0500, Rob Herring wrote: > > On Wed, Mar 23, 2016 at 05:38:36PM +0100, Maxime Ripard wrote: > > > The display pipeline of the Allwinner A10 is involving several loosely > > > coupled co

Re: [PATCH 3/4] arm64: dts: Move NS2 clock DT nodes to separate DT file

2016-03-29 Thread Markus Mayer
On 29 March 2016 at 00:27, Anup Patel wrote: > For more readabilty and consistency with other Broadcom SoCs, we move > all NS2 clock DT nodes from main SoC DT file to a separate DT file. > > We also update the license header in ns2.dtsi as-per new Broadcom > convention. > > Signed-off-by: Anup Pat

[PATCH resend v5 1/3] ASoC: cygnus: Add DT bindings for Broadcom Cygnus audio

2016-03-29 Thread Simran Rai
From: Simran Rai Add bindings for audio driver in Broadcom Cygnus. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Simran Rai --- .../bindings/sound/brcm,cygnus-audio.txt | 67 1 file chan

[PATCH resend v5 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2016-03-29 Thread Simran Rai
From: Simran Rai This patch adds Cygnus audio DAI driver. It supports I2S, TDM and SPDIF modes and uses three clocks derived from PLL. This patchset has been tested on Cygnus wireless audio bcm958305K board. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-

[PATCH resend v5 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

2016-03-29 Thread Simran Rai
Hi, This patchset contains audio support for Broadcom's Cygnus SoC. It contains DT bindings and core audio driver. The audio driver supports both capture and playback of Audio PCM samples over I2S/TDM interface and provides playback support over SPDIF interface. This patchset is derived from a pr

RE: [PATCH] qed: initialize return rc to avoid returning garbage

2016-03-29 Thread Yuval Mintz
> From: Colin Ian King > > in the case where qed_slowpath_irq_req is not called, rc is not assigned and > so > qed_int_igu_enable will return a garbage value. > Fix this by initializing rc to 0. > > Signed-off-by: Colin Ian King Thanks Colin. Acked-by: Yuval Mintz

[PATCH v2] media: platform: pxa_camera: convert to vb2

2016-03-29 Thread Robert Jarzmik
Convert pxa_camera from videobuf to videobuf2. As the soc_camera was already compatible with videobuf2, the port is quite straightforward. The special case of this code in which the vb2 to prepare is "too big" in terms of size for the new capture format, the pxa_camera will fail. Signed-off-by:

Re: [PATCH] compiler.h: Provide __always_inline to userspace headers too

2016-03-29 Thread Denys Vlasenko
On 03/29/2016 08:23 PM, Josh Boyer wrote: > On Tue, Mar 29, 2016 at 2:14 PM, Denys Vlasenko wrote: >> Recent change to uapi/linux/swab.h needs this. >> >> Signed-off-by: Denys Vlasenko >> CC: Josh Boyer >> CC: Thomas Graf >> CC: Peter Zijlstra >> CC: David Rientjes >> CC: Arnd Bergmann >> CC

Re: [PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support

2016-03-29 Thread Nicolas Dechesne
On Tue, Mar 29, 2016 at 4:51 PM, Bjorn Andersson wrote: >> Am ok, to change, did you get activity leds works with any of these strings >> with WLAN or BT? >> > > I did test them; rx, assoc and radio seems to work. Tx does not tickle > the led, but should probably. > > I didn't find the spec for th

Re: [PATCH] compiler.h: Provide __always_inline to userspace headers too

2016-03-29 Thread Andrew Morton
On Tue, 29 Mar 2016 14:23:57 -0400 Josh Boyer wrote: > On Tue, Mar 29, 2016 at 2:14 PM, Denys Vlasenko wrote: > > Recent change to uapi/linux/swab.h needs this. > > > > Signed-off-by: Denys Vlasenko > > CC: Josh Boyer > > CC: Thomas Graf > > CC: Peter Zijlstra > > CC: David Rientjes > > CC:

[PATCH v9 4/4] tpm: Add documentation for the tpm_vtpm device driver

2016-03-29 Thread Stefan Berger
Add documentation for the tpm_vtpm device driver that implements support for providing TPM functionality to Linux containers. Parts of this documentation were recycled from the Xen vTPM device driver documentation. Update the documentation for the ioctl numbers. Signed-off-by: Stefan Berger CC:

[PATCH] libnvdimm, pfn: fix uuid validation

2016-03-29 Thread Dan Williams
If we detect a namespace has a stale info block in the init path, we should overwrite with the latest configuration. In fact, we already return -ENODEV when the parent uuid is invalid, the same should be done for the 'self' uuid. Otherwise we can get into a condition where userspace is unable to

[PATCH v9 3/4] tpm: Initialize TPM and get durations and timeouts

2016-03-29 Thread Stefan Berger
Add the retrieval of TPM 1.2 durations and timeouts. Since this requires the startup of the TPM, do this for TPM 1.2 and TPM 2. Signed-off-by: Stefan Berger CC: linux-kernel@vger.kernel.org CC: linux-...@vger.kernel.org CC: linux-...@vger.kernel.org --- drivers/char/tpm/tpm_vtpm_proxy.c | 96 +++

[PATCH v9 1/4] tpm: Introduce TPM_CHIP_FLAG_VIRTUAL

2016-03-29 Thread Stefan Berger
Introduce TPM_CHIP_FLAG_VIRTUAL to be used when the chip device has no parent device. Also adapt tpm_chip_alloc so that it can be called with parent device being NULL. Signed-off-by: Stefan Berger Reviewed-by: Jason Gunthorpe Reviewed-by: Jarkko Sakkinen Signed-off-by: Jarkko Sakkinen --- dri

[PATCH v9 2/4] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-29 Thread Stefan Berger
This patch implements a proxy driver for supporting multiple emulated TPMs in a system. The driver implements a device /dev/vtpmx that is used to created a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side that is accessed using a file descriptor returned by an ioctl. The device /d

Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints

2016-03-29 Thread Mark Brown
On Tue, Mar 29, 2016 at 08:05:34PM +0200, Geert Uytterhoeven wrote: > sh_mobile_sdhi ee10.sd: Got WP GPIO > ==> sh_mobile_sdhi ee10.sd: could not set regulator OCR (-22) > gpio_rcar e6055400.gpio: sense irq = 6, type = 3 > sh_mobile_sdhi ee10.sd: mmc0 base a

[PATCH v9 0/4] Multi-instance vTPM proxy driver

2016-03-29 Thread Stefan Berger
The following series of patches implements a multi-instance vTPM proxy driver that can dynamically create TPM 'server' and client device pairs. Using an ioctl on the provided /dev/vtpmx, a client-side vTPM device and a server side file descriptor is created. The file descriptor must be passed to

<    1   2   3   4   5   6   7   8   9   10   >