[PATCH v3 2/5] usb: gadget: midi: avoid redundant f_midi_set_alt() call

2015-07-13 Thread Robert Baldyga
Function midi registers two interfaces with single set_alt() function which means that f_midi_set_alt() is called twice when configuration is set. That means that endpoint initialization and ep request allocation is done two times. To avoid this problem we do such things only once, for interface

[PATCH v5 2/3] pwm: add MediaTek display PWM driver support

2015-07-13 Thread YH Huang
Add display PWM driver support to modify backlight for MT8173 and MT6595. The PWM has one channel to control the brightness of the display. When the (high_width / period) is closer to 1, the screen is brighter; otherwise, it is darker. Signed-off-by: YH Huang --- drivers/pwm/Kconfig|

[PATCH v5 0/3] Add MediaTek display PWM driver

2015-07-13 Thread YH Huang
This patch series add the use of display PWM driver, documentation and device tree for Mediatek SoCs. The driver is used to support the backlight of the panel. This is based on v4.2-rc1. The clock definitions (CLK_MM_DISP_PWM*) are added by James Liao's patch: clk: mediatek: Add subsystem

[PATCH v3 5/5] usb: gadget: atmel_usba_udc: add missing ret value check

2015-07-13 Thread Robert Baldyga
Add missing return value check. In case of error print debug message and return error code. Signed-off-by: Robert Baldyga Acked-by: Nicolas Ferre Acked-by: Michal Nazarewicz --- drivers/usb/gadget/udc/atmel_usba_udc.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v5 3/3] arm64: dts: mt8173: add MT8173 display PWM driver support node

2015-07-13 Thread YH Huang
Add display PWM node in mt8173-evb.dts and mt8173.dtsi. Signed-off-by: YH Huang --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 15 +++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22 ++ 2 files changed, 37 insertions(+) diff --git

RE: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-13 Thread Phil Edworthy
Hi Sergei, On 10 July 2015 17:36, Sergei wrote: > Hello. > > On 07/07/2015 02:55 PM, Phil Edworthy wrote: > > > Instead of statically selecting the PHY connection to either the > > USBHS (Function) or PCI0 (Host) IP blocks, this change allows the > > dts to specifiy gpio pins for the vbus and

Re: [PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-13 Thread Christoph Hellwig
On Mon, Jul 13, 2015 at 03:52:53PM +0900, Sergey Senozhatsky wrote: > Why? In some sense, shrinker callbacks are just a way to be nice. > No one writes a driver just to be able to handle shrinker calls. An > ability to react to those calls is just additional option; it does > not directly affect

[PATCH v3 4/5] staging: emxx_udc: add missing usb_ep_set_maxpacket_limit()

2015-07-13 Thread Robert Baldyga
Since maxpacket_limit was introduced all UDC drivers should use usb_ep_set_maxpacket_limit() function instead of setting maxpacket value manually. ep.maxpacket_limit contains actual maximum maxpacket value supported by hardware which is needed by epautoconf. Signed-off-by: Robert Baldyga

[PATCH v3 0/5] usb: gadget: miscellaneous fixes

2015-07-13 Thread Robert Baldyga
Hello, This patch set contains few small bugfixes found in usb gadget functions and UDC drivers. The most important is the [1] as it fixes bug causing BUG_ON() in f_fs driver. Remaining patches contain minor fixes. [1] usb: gadget: ffs: call functionfs_unbind() if _ffs_func_bind() fails Best

[PATCH v3 1/5] usb: gadget: ffs: call functionfs_unbind() if _ffs_func_bind() fails

2015-07-13 Thread Robert Baldyga
Function ffs_do_functionfs_bind() calls functionfs_bind() which allocates usb request and increments refcounts. These things needs to be cleaned up by if further steps of initialization fail by calling functionfs_unbind(). Signed-off-by: Robert Baldyga Acked-by: Michal Nazarewicz ---

Re: [PATCH v5] clk: change clk_ops' ->determine_rate() prototype

2015-07-13 Thread Tero Kristo
On 07/08/2015 03:57 AM, Stephen Boyd wrote: On 07/07, Boris Brezillon wrote: Clock rates are stored in an unsigned long field, but ->determine_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported using negative error codes), which can lead to long

Re: [PATCH 2/3] [PATCH 2/3] kexec: split kexec_load syscall from kexec core code

2015-07-13 Thread Geert Uytterhoeven
On Mon, Jul 13, 2015 at 4:13 AM, wrote: > Because there's general code need CONFIG_KEXEC_CORE, so I updated all the > architecture Kconfig with a new option KEXEC_CORE, and let KEXEC selects > KEXEC_CORE in arch Kconfig. Also updated general kernel code with > to kexec_load syscall. > >

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-13 Thread Jörg Otte
2015-07-13 9:58 GMT+02:00 Maarten Lankhorst : > Op 13-07-15 om 09:42 schreef Jörg Otte: >> 2015-07-13 9:23 GMT+02:00 Maarten Lankhorst >> : >>> Op 13-07-15 om 08:22 schreef Daniel Vetter: On Sun, Jul 12, 2015 at 09:52:51AM -0700, Linus Torvalds wrote: > On Sun, Jul 12, 2015 at 1:03 AM,

Re: [RFC][PATCH] fs: Prevent syncing frozen file system

2015-07-13 Thread Jan Kara
On Fri 10-07-15 22:42:40, Lukáš Czerner wrote: > On Fri, 10 Jul 2015, Jan Kara wrote: > > > Date: Fri, 10 Jul 2015 16:25:25 +0200 > > From: Jan Kara > > To: Dave Chinner > > Cc: Lukas Czerner , v...@zeniv.linux.org.uk, > > bfie...@fieldses.org, linux-kernel@vger.kernel.org, > >

Re: [RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-13 Thread Gioh Kim
@@ -51,6 +54,66 @@ extern void compaction_defer_reset(struct zone *zone, int order, bool alloc_success); extern bool compaction_restarting(struct zone *zone, int order); +static inline bool mobile_page(struct page *page) +{ + return page->mapping &&

[Patch v2 02/10] drbd: Add option zap_devices to new-current-uuid

2015-07-13 Thread Nick Wang
Using zeroing out device instead of initial full sync of device. Can be useful in high latency network environment. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_nl.c | 9 +

[Patch v2 08/10] drbd: Function to work with packet P_ZERO_OUT

2015-07-13 Thread Nick Wang
Using packet P_ZERO_OUT to update zero out status of peer node. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_receiver.c | 36 1 file changed, 36 insertions(+)

[Patch v2 05/10] drbd: Functions to notify peer node to zero out

2015-07-13 Thread Nick Wang
Notify peer node to start zeroing out device. Update state of peer node when both nodes are finished zeroing. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_int.h | 2 ++ drbd/drbd_main.c | 19

[Patch v2 04/10] drbd: New packet P_ZERO_OUT

2015-07-13 Thread Nick Wang
Using packet P_ZERO_OUT to get peer node's result of zeroing out. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_int.h | 5 + drbd/drbd_main.c | 28

[Patch v2 07/10] drbd: Flags for background drbd device work

2015-07-13 Thread Nick Wang
Background drbd device work for zeroing out device. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_int.h| 3 +++ drbd/drbd_worker.c | 6 ++ 2 files changed, 9 insertions(+) diff --git

[Patch v2 06/10] drbd: Wapper for zeroing out device by worker

2015-07-13 Thread Nick Wang
Wapper functions for drbd_device_post_work to start zeroing out device. Change state when both node finish zeroing. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_int.h| 2 ++ drbd/drbd_worker.c

[Patch v2 09/10] drbd: Handle zero out command from peer node

2015-07-13 Thread Nick Wang
Recevie P_UUID flag 16 for starting zero out device, P_UUID flag 32 after both side finished zeroing, Change state to uptodate. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_receiver.c | 33

[Patch v2 03/10] drbd: A function to zero out drbd backing device

2015-07-13 Thread Nick Wang
The function can be used to zero out the whole backing device. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_int.h| 1 + drbd/drbd_worker.c | 21 + 2 files changed, 22

[Patch v2 10/10] drbd: Handle new-current-uuid --zap-devices

2015-07-13 Thread Nick Wang
Zap devices for zeroing out device on both side instead of initial full sync. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_nl.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)

[Patch v2 00/10] Zero out devices instead of initial full sync

2015-07-13 Thread Nick Wang
Patch set is based on drbd-8.4 859e34a9, have already compiled/tested against SLES12. If this feature can be merged into upstream, please ignore v1, since v1 may caused pingACK timeout when zeroing out large device. Compare to v1, changes are as follow: 1. Using drbd_device_post_work to zero

[Patch v2 01/10] drbd: Fix the wrong logic of moving history

2015-07-13 Thread Nick Wang
Logic of moving history is wrong. May overlap history when more than two history. If won't extent more that two history. The loop can be delete. Signed-off-by: Nick Wang CC: Philipp Reisner CC: Lars Ellenberg CC: drbd-...@lists.linbit.com CC: linux-kernel@vger.kernel.org --- drbd/drbd_main.c

[PATCH 4/4] mm: remove direct calling of migration

2015-07-13 Thread Gioh Kim
From: Gioh Kim Migration is completely generalized so that migrating mobile page is processed with lru-pages in move_to_new_page. Signed-off-by: Gioh Kim Acked-by: Rafael Aquini --- mm/migrate.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c

[PATCH 3/4] mm/balloon: apply mobile page migratable into balloon

2015-07-13 Thread Gioh Kim
From: Gioh Kim Apply mobile page migration into balloon driver. The balloong driver has an anonymous inode that manages address_space_operation for page migration. Compaction calls interfaces of mobile page migration instead of calling balloon migration directly. Signed-off-by: Gioh Kim

[PATCH 2/4] mm/compaction: enable mobile-page migration

2015-07-13 Thread Gioh Kim
From: Gioh Kim Add framework to register callback functions and check page mobility. There are some modes for page isolation so that isolate interface has arguments of page address and isolation mode while putback interface has only page address as argument. Signed-off-by: Gioh Kim Acked-by:

[PATCH 0/4] enable migration of driver pages

2015-07-13 Thread Gioh Kim
From: Gioh Kim Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory

[PATCH 1/4] fs/anon_inodes: new interface to create new inode

2015-07-13 Thread Gioh Kim
From: Gioh Kim The anon_inodes has already complete interfaces to create manage many anonymous inodes but don't have interface to get new inode. Other sub-modules can create anonymous inode without creating and mounting it's own pseudo filesystem. Signed-off-by: Gioh Kim Acked-by: Rafael

Re: [PATCH v2] sched: let __sched_period() use rq's nr_running

2015-07-13 Thread Byungchul Park
On Mon, Jul 13, 2015 at 09:07:01AM +0200, Mike Galbraith wrote: > On Mon, 2015-07-13 at 09:56 +0900, Byungchul Park wrote: > > > and i agree with that it makes latency increase for non-grouped tasks. > > It's not only a latency hit for the root group, it's across the board. > > I suspect an

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-13 Thread Peter Zijlstra
On Fri, Jul 10, 2015 at 10:03:07AM +, He Kuang wrote: > include/trace/events/bpf.h | 30 ++ > include/uapi/linux/bpf.h | 7 +++ > kernel/trace/bpf_trace.c | 23 +++ > samples/bpf/bpf_helpers.h | 2 ++ > 4 files changed, 62

[PATCH v3] mfd: add Intel Broxton Whiskey Cove PMIC driver

2015-07-13 Thread qipeng.zha
From: "qipeng.zha" Add MFD core driver for Intel Broxton Whiskey Cove PMIC, which is specially accessed by hardware IPC, not a generic I2C device Signed-off-by: qipeng.zha --- change in v3 implement ipc regmap r/w callback in pmic driver, since there dropped before patch of implement virtual

Re: [PATCH v2] sched: let __sched_period() use rq's nr_running

2015-07-13 Thread Peter Zijlstra
On Fri, Jul 10, 2015 at 05:11:30PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > __sched_period() returns a period which a rq can have. the period has to be > stretched by the number of task *the rq has*, when nr_running > nr_latency. > otherwise, task slice can be very smaller

Re: V4.1-RC build error after commit 77a3c6f

2015-07-13 Thread Laurent Pinchart
Hi Larry, On Sunday 12 July 2015 20:35:32 Larry Finger wrote: > On 07/12/2015 06:10 PM, Laurent Pinchart wrote: > > Hi Larry, > > > > Thank you for the report. > > > > On Saturday 11 July 2015 16:27:36 Larry Finger wrote: > >> Beginning with the commit in the subject, I get the following build

Re: [PATCH 3/3] mfd: max77686: Split out regulator part from the DT binding

2015-07-13 Thread Javier Martinez Canillas
Hello Krzysztof, On 07/13/2015 10:03 AM, Krzysztof Kozlowski wrote: > On 13.07.2015 16:42, Javier Martinez Canillas wrote: >> The Maxim MAX77686 PMIC is a multi-function device with regulators, >> clocks and a RTC. The DT bindings for the clocks are in a separate >> file but the bindings for the

Re: [PATCH 2/3] mfd: Add DT binding for Maxim MAX77802 IC

2015-07-13 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for the feedback. On 07/13/2015 09:53 AM, Krzysztof Kozlowski wrote: > On 13.07.2015 16:42, Javier Martinez Canillas wrote: >> The MAX77802 is a chip that contains regulators, 2 32kHz clocks, >> a RTC and an I2C interface to program the individual components. >> >>

Re: [PATCH 5/6] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-07-13 Thread Krzysztof Kozlowski
On 13.07.2015 16:50, Vaibhav Hiremath wrote: > > > On Saturday 11 July 2015 12:46 PM, Krzysztof Kozlowski wrote: >> W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: >>> 88PM860 family of device supports dual phase mode on BUCK1 supply >>> providing total 6A capacity. >>> Note that by default

Re: [PATCH v3 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2015-07-13 Thread Peter Chen
On Mon, Jul 13, 2015 at 01:26:23PM +0530, Sumit Semwal wrote: > Hi Peter, > > On 8 June 2015 at 14:02, Peter Chen wrote: > > On Mon, Jun 08, 2015 at 12:37:00PM +0530, Sumit Semwal wrote: > >> H Peter, Felipe, > >> > >> On 14 January 2015 at 06:56, Peter Chen wrote: > >> > On Tue, Jan 13, 2015

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Sebastian Reichel
[+cc Michael Welling , author of all omap-spi patches between 4.1 and 4.2-rc1] Hi, On Sun, Jul 12, 2015 at 11:44:25PM -0700, Tony Lindgren wrote: > * Pali Rohár [150711 05:07]: > > Hello, > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > broken and cause kernel

Re: [PATCH v4 0/8] iio:mma8452: improve driver and support more chips

2015-07-13 Thread Martin Kepplinger
Am 2015-07-09 um 10:51 schrieb Martin Kepplinger: > Am 2015-07-06 um 14:34 schrieb Martin Kepplinger: >> This is version 4 of the mma8452 driver improvements. This version removes >> one patch that changed the iio event type for existing users. It can be >> dealt with seperately and this series

Re: [PATCH] ARC: make sure instruction_pointer() returns unsigned value

2015-07-13 Thread Vineet Gupta
On Monday 13 July 2015 12:55 PM, Alexey Brodkin wrote: > Currently instruction_pointer() returns pt_regs->ret and so return value > is of type "long", which implicitly stands for "signed long". > > While that's perfectly fine when dealing with 32-bit values if return > value of

Hi.,

2015-07-13 Thread gkaila...@qq.com
Hi, This is purely humanitarian offer, kindly reply for details. Regards, Ms.Gu. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [PATCH 3/3] mfd: max77686: Split out regulator part from the DT binding

2015-07-13 Thread Krzysztof Kozlowski
On 13.07.2015 16:42, Javier Martinez Canillas wrote: > The Maxim MAX77686 PMIC is a multi-function device with regulators, > clocks and a RTC. The DT bindings for the clocks are in a separate > file but the bindings for the regulators are inside the mfd part. > > To make it consistent with the

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-13 Thread Maarten Lankhorst
Op 13-07-15 om 09:42 schreef Jörg Otte: > 2015-07-13 9:23 GMT+02:00 Maarten Lankhorst > : >> Op 13-07-15 om 08:22 schreef Daniel Vetter: >>> On Sun, Jul 12, 2015 at 09:52:51AM -0700, Linus Torvalds wrote: On Sun, Jul 12, 2015 at 1:03 AM, Jörg Otte wrote: > BUG: unable to handle kernel

Re: [PATCH v3 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2015-07-13 Thread Sumit Semwal
Hi Peter, On 8 June 2015 at 14:02, Peter Chen wrote: > On Mon, Jun 08, 2015 at 12:37:00PM +0530, Sumit Semwal wrote: >> H Peter, Felipe, >> >> On 14 January 2015 at 06:56, Peter Chen wrote: >> > On Tue, Jan 13, 2015 at 10:18:02AM -0600, Felipe Balbi wrote: >> >> On Tue, Jan 13, 2015 at

Re: [RFC v4 00/25] Re-use nvram module

2015-07-13 Thread Geert Uytterhoeven
Hi Finn, On Sun, Jul 12, 2015 at 12:25 PM, Finn Thain wrote: > The generic NVRAM module, drivers/char/generic_nvram, implements a > /dev/nvram misc device. It is used only by 32-bit PowerPC platforms and > isn't generic enough to be more widely used. [...] Thanks for your work! How are we

Re: [PATCH 2/3] mfd: Add DT binding for Maxim MAX77802 IC

2015-07-13 Thread Krzysztof Kozlowski
On 13.07.2015 16:42, Javier Martinez Canillas wrote: > The MAX77802 is a chip that contains regulators, 2 32kHz clocks, > a RTC and an I2C interface to program the individual components. > > The are already DT bindings for the regulators and clocks and > these reference to a

Re: [PATCH 5/6] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-07-13 Thread Vaibhav Hiremath
On Saturday 11 July 2015 12:46 PM, Krzysztof Kozlowski wrote: W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: 88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch adds

Re: [PATCH 1/3] mfd: max77686: Don't suggest in binding to use a deprecated property

2015-07-13 Thread Krzysztof Kozlowski
On 13.07.2015 16:42, Javier Martinez Canillas wrote: > The regulator-compatible property from the regulator DT binding was > deprecated. But the max77686 DT binding doc still suggest to use it > instead of the regulator node name's which is the correct approach. > > Signed-off-by: Javier Martinez

Re: [PATCH 3/6] mfd: devicetree: bindings: 88pm800: Add DT property for 32KHz output enable

2015-07-13 Thread Krzysztof Kozlowski
On 13.07.2015 16:38, Vaibhav Hiremath wrote: > > > On Monday 13 July 2015 01:01 PM, Krzysztof Kozlowski wrote: >> On 13.07.2015 16:24, Vaibhav Hiremath wrote: >>> >>> >>> On Saturday 11 July 2015 12:41 PM, Krzysztof Kozlowski wrote: W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: >

[PATCH 0/3] mfd: Improve DT binding docs for max77686 and max77802

2015-07-13 Thread Javier Martinez Canillas
Hello Lee, This series contains some improvements for the Device Tree bindings of the Maxim MAX77686 and MAX77802 multi-function devices. Patch #1 changes the max77686 binding to not suggest using a deprecated property of the regulator DT binding. Patch #2 adds a DT binding for the mfd portion

[PATCH 1/3] mfd: max77686: Don't suggest in binding to use a deprecated property

2015-07-13 Thread Javier Martinez Canillas
The regulator-compatible property from the regulator DT binding was deprecated. But the max77686 DT binding doc still suggest to use it instead of the regulator node name's which is the correct approach. Signed-off-by: Javier Martinez Canillas ---

[PATCH 3/3] mfd: max77686: Split out regulator part from the DT binding

2015-07-13 Thread Javier Martinez Canillas
The Maxim MAX77686 PMIC is a multi-function device with regulators, clocks and a RTC. The DT bindings for the clocks are in a separate file but the bindings for the regulators are inside the mfd part. To make it consistent with the clocks portion of the binding and because is more natural to look

[PATCH 2/3] mfd: Add DT binding for Maxim MAX77802 IC

2015-07-13 Thread Javier Martinez Canillas
The MAX77802 is a chip that contains regulators, 2 32kHz clocks, a RTC and an I2C interface to program the individual components. The are already DT bindings for the regulators and clocks and these reference to a bindings/mfd/max77802.txt file, that didn't exist, for the details about the PMIC.

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-13 Thread Jörg Otte
2015-07-13 9:23 GMT+02:00 Maarten Lankhorst : > Op 13-07-15 om 08:22 schreef Daniel Vetter: >> On Sun, Jul 12, 2015 at 09:52:51AM -0700, Linus Torvalds wrote: >>> On Sun, Jul 12, 2015 at 1:03 AM, Jörg Otte wrote: BUG: unable to handle kernel NULL pointer dereference at 0009

Re: net: fec: Ensure clocks are enabled while using mdio bus

2015-07-13 Thread Shawn Guo
On Sat, Jul 11, 2015 at 3:07 AM, Tyler Baker wrote: > Hi Andrew, > > The kernelci.org system reported[1][2][3] new imx6 boot failures in > next-20150710. I've bisected[4] these failures to 6c3e921b18ed "net: > fec: Ensure clocks are enabled while using mdio bus". Reverting this > commit on top of

Re: [PATCH 3/6] mfd: devicetree: bindings: 88pm800: Add DT property for 32KHz output enable

2015-07-13 Thread Vaibhav Hiremath
On Monday 13 July 2015 01:01 PM, Krzysztof Kozlowski wrote: On 13.07.2015 16:24, Vaibhav Hiremath wrote: On Saturday 11 July 2015 12:41 PM, Krzysztof Kozlowski wrote: W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: 88PM800 family of device supports output of 32KHz clock (low jitter) on

Re: [PATCH] Add support for reading SMBIOS Slot number for PCI devices

2015-07-13 Thread Jean Delvare
Hi Jordan, On Fri, 10 Jul 2015 17:02:46 -0500, Jordan Hargrave wrote: > From: Jordan Hargrave > > There currently isn't an easy way to determine which PCI devices belong to > system slots. This patch adds support to read SMBIOS Type 9 (System Slots). I'm wondering, can't you use dmidecode or

[PATCH v3] ASoC: Add support for NAU8825 codec to ASoC

2015-07-13 Thread Chih-Chiang Chang
The NAU88L25 is an ultra-low power high performance audio codec designed for smartphone, tablet PC, and other portable devices by Nuvoton, now add linux driver support for it. Signed-off-by: Chih-Chiang Chang --- v3->v2: - fix the wrong definition of reg_default - fix the flow of

Re: lockup when C1E and high-resolution timers enabled

2015-07-13 Thread Christoph Fritz
Hi, the whole error (freeze under heavy IO when C1E enabled) here is referable to motherboard 'GA-970A-UD3P (rev. 1.0)', changing it to a 'Asus M5A97 PLUS' fixes my problems here. I'm not sure if this GA-970A board is just broken or has some general problems. Thanks -- chf -- To unsubscribe

Re: [PATCH v3 01/10] KVM: MMU: fix decoding cache type from MTRR

2015-07-13 Thread Paolo Bonzini
On 12/07/2015 20:59, Xiao Guangrong wrote: > > > On 07/13/2015 01:33 AM, Alex Williamson wrote: >> On Wed, 2015-05-13 at 14:42 +0800, Xiao Guangrong wrote: >>> There are some bugs in current get_mtrr_type(); >>> 1: bit 1 of mtrr_state->enabled is corresponding bit 11 of >>>

Re: [PATCH 3/6] mfd: devicetree: bindings: 88pm800: Add DT property for 32KHz output enable

2015-07-13 Thread Krzysztof Kozlowski
On 13.07.2015 16:24, Vaibhav Hiremath wrote: > > > On Saturday 11 July 2015 12:41 PM, Krzysztof Kozlowski wrote: >> W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: >>> 88PM800 family of device supports output of 32KHz clock (low jitter) >>> on CLK32K2/3 pin which can be supplied to other

Re: [PATCH v3 0/3] ARM: OMAP2+: wkup_m3_rproc support patches

2015-07-13 Thread Tony Lindgren
* Tony Lindgren [150713 00:28]: > * Dave Gerlach [150709 12:53]: > > Tony, > > On 04/01/2015 02:47 PM, Dave Gerlach wrote: > > > This series adds the mach-omap2 code and DT nodes for v3 of the > > > wkup_m3_rproc driver submitted here [1]. pdata-quirks patch requires > > > the pdata added with

Re: [PATCH v3 0/3] ARM: OMAP2+: wkup_m3_rproc support patches

2015-07-13 Thread Tony Lindgren
* Dave Gerlach [150709 12:53]: > Tony, > On 04/01/2015 02:47 PM, Dave Gerlach wrote: > > This series adds the mach-omap2 code and DT nodes for v3 of the > > wkup_m3_rproc driver submitted here [1]. pdata-quirks patch requires > > the pdata added with patch 4 of the aforementioned series. Based on

[PATCH] ARC: make sure instruction_pointer() returns unsigned value

2015-07-13 Thread Alexey Brodkin
Currently instruction_pointer() returns pt_regs->ret and so return value is of type "long", which implicitly stands for "signed long". While that's perfectly fine when dealing with 32-bit values if return value of instruction_pointer() gets assigned to 64-bit variable sign extension may happen.

Re: [PATCH 3/6] mfd: devicetree: bindings: 88pm800: Add DT property for 32KHz output enable

2015-07-13 Thread Vaibhav Hiremath
On Saturday 11 July 2015 12:41 PM, Krzysztof Kozlowski wrote: W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: 88PM800 family of device supports output of 32KHz clock (low jitter) on CLK32K2/3 pin which can be supplied to other peripherals on the board. This patch adds the devicetree

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-13 Thread Maarten Lankhorst
Op 13-07-15 om 08:22 schreef Daniel Vetter: > On Sun, Jul 12, 2015 at 09:52:51AM -0700, Linus Torvalds wrote: >> On Sun, Jul 12, 2015 at 1:03 AM, Jörg Otte wrote: >>> BUG: unable to handle kernel NULL pointer dereference at 0009 >>> IP: [] 0xbd3447bb >> Ugh. Please enable

Re: [PATCH 21/22] staging: rtl8192e: Make rtllib_rx_mgt() static

2015-07-13 Thread Sudip Mukherjee
On Sun, Jul 12, 2015 at 10:29:31PM +0200, Mateusz Kulikowski wrote: > Function is not referenced outside of rtllib_rx.c > > Signed-off-by: Mateusz Kulikowski > --- > drivers/staging/rtl8192e/rtllib.h| 3 --- > drivers/staging/rtl8192e/rtllib_rx.c | 10 +++--- > 2 files changed, 7

Re: [PATCH v2] arm64: dts: mt8173: Add afe device node

2015-07-13 Thread Koro Chen
On Thu, 2015-07-09 at 18:45 +0800, Daniel Kurtz wrote: > On Thu, Jul 9, 2015 at 11:32 AM, Koro Chen wrote: > > This adds afe (audio front end) device node to the MT8173 dtsi file. > > > > Signed-off-by: Koro Chen > > Reviewed-by: Daniel Kurtz > > I believe this patch depends on the fix in: >

Re: [PATCH 3/3] IRQ: Print "unexpected IRQ" messages consistently across architectures

2015-07-13 Thread Geert Uytterhoeven
On Mon, Jul 13, 2015 at 12:02 AM, Bjorn Helgaas wrote: > Many architectures use a variant of "unexpected IRQ trap at vector %x" to > log unexpected IRQs. This is confusing because (a) it prints the Linux IRQ > number, but "vector" more often refers to a CPU vector number, and (b) it > prints the

Re: [PATCH 03/12] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2015-07-13 Thread Tony Lindgren
* Roger Quadros [150710 05:26]: > Since the Interrupt Events are used only by the NAND driver, > there is no point in managing the Interrupt registers > in the GPMC driver and complicating it with irqchip modeling. I don't think it's a good idea to allow external drivers to tinker directly with

Re: [PATCH 2/6] mfd: 88pm800: Add init time initial configuration support

2015-07-13 Thread Vaibhav Hiremath
On Saturday 11 July 2015 12:23 PM, Krzysztof Kozlowski wrote: W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: This patch adds init time configuration of 88PM800/805 and 88PM860. It includes, - Enable BUCK clock gating in low power mode - Full mode support for BUCK2 and 4 - Enable

Re: [PATCH-v3 02/11] i2c: pxa: No need to set slave addr for i2c master mode reset

2015-07-13 Thread Vaibhav Hiremath
On Friday 10 July 2015 08:26 PM, Wolfram Sang wrote: On Fri, Jul 10, 2015 at 07:55:31PM +0530, Vaibhav Hiremath wrote: On Friday 10 July 2015 07:44 PM, Wolfram Sang wrote: On Fri, Jul 10, 2015 at 06:08:43PM +0530, Vaibhav Hiremath wrote: On Friday 10 July 2015 01:41 PM, Wolfram Sang

Re: [PATCH v2] sched: let __sched_period() use rq's nr_running

2015-07-13 Thread Mike Galbraith
On Mon, 2015-07-13 at 09:56 +0900, Byungchul Park wrote: > and i agree with that it makes latency increase for non-grouped tasks. It's not only a latency hit for the root group, it's across the board. I suspect an overloaded group foo/bar/baz would prefer small slices over a large wait as well.

[PATCH] PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding

2015-07-13 Thread Javier Martinez Canillas
The exynos-ppmu driver is only a clock consumer and not a clock provider but its Device Tree binding listed #clock-cells as an optional property. Signed-off-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH v1 10/10] core: platform: use fwnode_driver_match_device()

2015-07-13 Thread Tomeu Vizoso
On 11 July 2015 at 04:47, Rafael J. Wysocki wrote: > On Friday, July 10, 2015 02:53:53 PM Tomeu Vizoso wrote: >> On 2 July 2015 at 01:46, Rafael J. Wysocki wrote: >> > On Tuesday, June 30, 2015 04:55:08 PM Tomeu Vizoso wrote: >> >> Instead of calling both of_driver_match_device() and >> >>

Re: [PATCH 2/2] mpt2sas: Refcount fw_events and fix unsafe list usage

2015-07-13 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-13 Thread Sergey Senozhatsky
On (07/12/15 23:33), Christoph Hellwig wrote: > On Sun, Jul 12, 2015 at 11:47:32AM +0900, Sergey Senozhatsky wrote: > > Yes, but the main difference here is that it seems that shrinker users > > don't tend to treat shrinker registration failures as fatal errors and > > just continue with shrinker

Re: [PATCH 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage

2015-07-13 Thread Christoph Hellwig
On Sat, Jul 11, 2015 at 09:24:55PM -0700, Calvin Owens wrote: > These objects can be referenced concurrently throughout the driver, we > need a way to make sure threads can't delete them out from under each > other. This patch adds the refcount, and refactors the code to use it. > > Additionally,

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-07-13 Thread Stefan Agner
On 2015-07-12 08:47, maitysancha...@gmail.com wrote: > Hello Jonathan, > > On 15-07-11 18:39:10, Jonathan Cameron wrote: >> On 10/07/15 19:06, maitysancha...@gmail.com wrote: >> > Hello Shawn, >> > >> > On 15-07-10 16:53:24, Shawn Guo wrote: >> >> On Wed, Jun 24, 2015 at 02:03:41PM +0530,

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Tony Lindgren
* Pali Rohár [150711 05:07]: > Hello, > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > broken and cause kernel oops... > > Basically wifi, touchscreen and rtc drivers not working... > > Here are some relevant snippets form dmesg: > > [ 13.933959] Unhandled fault:

Re: [PATCH v2] xen/blkfront: convert to blk-mq APIs

2015-07-13 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] acpi-cpufreq: Add a miss ifdef CONFIG_X86_ACPI_CPUFREQ_CPB

2015-07-13 Thread Pan Xinhui
hi, Rafeal thanks for your reply. :) On 2015年07月11日 04:44, Rafael J. Wysocki wrote: > Hi, > > On Fri, Jul 10, 2015 at 7:50 AM, Pan Xinhui wrote: >> >> If CONFIG_X86_ACPI_CPUFREQ_CPB has not been defined, the placeholder for >> cpb is not needed. Add ifdef around it. >> >> Signed-off-by:

Re: [PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-13 Thread Christoph Hellwig
On Sun, Jul 12, 2015 at 11:47:32AM +0900, Sergey Senozhatsky wrote: > Yes, but the main difference here is that it seems that shrinker users > don't tend to treat shrinker registration failures as fatal errors and > just continue with shrinker functionality disabled. And it makes sense. > > (copy

Re: [PATCH 2/2] ARM: dts: dra7x-evm: Prevent glitch on DCAN1 pinmux

2015-07-13 Thread Tony Lindgren
* Marc Kleine-Budde [150712 12:22]: > On 07/09/2015 08:34 PM, Marc Kleine-Budde wrote: > > On 07/07/2015 04:27 PM, Roger Quadros wrote: > >> Driver core sets "default" pinmux on on probe and CAN driver > >> sets "sleep" pinmux during register. This causes a small window > >> where the CAN pins

Re: [PATCH] Doc: pps: Fix file name in pps.txt

2015-07-13 Thread Rodolfo Giometti
On Mon, Jul 13, 2015 at 12:29:11PM +0900, Masanari Iida wrote: > This patch fix a file name of example code. > > Signed-off-by: Masanari Iida Signed-off-by: Rodolfo Giometti -- HCE Engineering e-mail: giome...@hce-engineering.com GNU/Linux Solutions

Re: [4.2.0-rc1-00201-g59c3cb5] Regression: kernel NULL pointer dereference

2015-07-13 Thread Daniel Vetter
On Sun, Jul 12, 2015 at 09:52:51AM -0700, Linus Torvalds wrote: > On Sun, Jul 12, 2015 at 1:03 AM, Jörg Otte wrote: > > > > BUG: unable to handle kernel NULL pointer dereference at 0009 > > IP: [] 0xbd3447bb > > Ugh. Please enable KALLSYMS to get sane symbols. > > But yes,

Re: linux-next: build warning after merge of the sound-asoc tree

2015-07-13 Thread Valentin Rothberg
Hi, On Mon, Jul 13, 2015 at 5:23 AM, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > warning: (SND_SOC_ALL_CODECS) selects SND_SOC_STI_SAS which has unmet direct > dependencies (SOUND && !M68K

Re: [PATCH v2 2/2] drm/rockchip: Drop owner assignment from platform_driver

2015-07-13 Thread Mark yao
On 2015年07月10日 18:37, Krzysztof Kozlowski wrote: platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Split owner removal from rockchip to separate patch (spotted by Mark Yao). ---

[PATCH v8 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-13 Thread Jianwei Wang
This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a value that cannot be used as a token in programming languages.

[PATCH v8 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-13 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v8 2/4] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-13 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + MAINTAINERS

[PATCH v8 3/4] arm/dts/ls1021a: Add DCU dts node

2015-07-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- .../devicetree/bindings/drm/fsl-dcu/fsl,dcu.txt | 20 MAINTAINERS

[PATCH 3/4] mm/balloon: apply mobile page migratable into balloon

2015-07-13 Thread Gioh Kim
From: Gioh Kim guru...@hanmail.net Apply mobile page migration into balloon driver. The balloong driver has an anonymous inode that manages address_space_operation for page migration. Compaction calls interfaces of mobile page migration instead of calling balloon migration directly.

Re: [RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-13 Thread Gioh Kim
@@ -51,6 +54,66 @@ extern void compaction_defer_reset(struct zone *zone, int order, bool alloc_success); extern bool compaction_restarting(struct zone *zone, int order); +static inline bool mobile_page(struct page *page) +{ + return page-mapping

[RFCv2 PATCH 0/8] Introducing ACPI support for GICv2m

2015-07-13 Thread Suravee Suthikulpanit
ACPI core patches for ARM64 are now upstreamed in 4.1. The PCI support patches for ARM64 ACPI are also in progress. I am sending out this RFC to introduce ACPI support for GICv2m. This would allow MSI to work when booting ACPI. There are some modifications to the irq_domain and acpi/gsi code.

[RFCv2 PATCH 1/8] irqdomain: Introduce irq_domain_ops.init_alloc_info

2015-07-13 Thread Suravee Suthikulpanit
Currently, when calling irq_domain_alloc_irqs() on ARM64, it uses struct of_phandle_args to pass irq information. However, this is not appropriate for ACPI since of_phandle_args is specific to DT. Therefore, this patch introduces a new function pointer, irq_domain_ops.init_alloc_info, which can

[RFCv2 PATCH 2/8] gic: Introduce gic_init_irq_alloc_info()

2015-07-13 Thread Suravee Suthikulpanit
Currently, gic_irq_domain_alloc assumes that the arg parameter must be a pointer to of_phandle_args. This is not appropriate for using with ACPI. Furthermore, there are several irq mappings (i.e. SPI, PPI, and GSI), which can be used when allocating GIC irqs. This can be confusing when used in

<    4   5   6   7   8   9   10   11   12   13   >