[EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Maninder Singh
EP-2DAD0AFA905A4ACB804C4F82A001242F On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, the callback handler endlessly runs until the watchpoint is unregistered. The reason for this issue is debug interrupts gets raised before executing the instruction, and after interrupt

Re: CONFIG_ISOLATION=y (was: [PATCH 0/6] support "dataplane" mode for nohz_full)

2015-05-12 Thread Peter Zijlstra
On Tue, May 12, 2015 at 11:10:32AM +0200, Ingo Molnar wrote: > > So I'd vote for Frederic's CONFIG_ISOLATION=y, mostly because this is > a high level kernel feature, so it won't conflict with isolation > concepts in lower level subsystems such as IOMMU isolation - and other > higher level featu

Re: [PATCH v2] staging: panel: fix stackdump

2015-05-12 Thread Sudip Mukherjee
On Tue, May 12, 2015 at 02:27:13PM +0300, Dan Carpenter wrote: > On Tue, May 12, 2015 at 04:45:44PM +0530, Sudip Mukherjee wrote: > > if we load the module, unload and then again try to load the module, we > > will get a stackdump. In the module_exit function we are unregistering > > the device and

Re: [PATCH] gpio: gpio-kempld: Fix get_direction return value

2015-05-12 Thread Linus Walleij
On Mon, May 11, 2015 at 12:46 PM, Michael Brunner wrote: > This patch fixes an inverted return value of the gpio get_direction > function. > > The wrong value causes the direction sysfs entry and GPIO debugfs file > to indicate incorrect GPIO direction settings. In some cases it also > prevents s

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-05-12 Thread Matthias Brugger
2015-05-11 21:23 GMT+02:00 Sascha Hauer : > This adds a power domain driver for the Mediatek SCPSYS unit. > > The System Control Processor System (SCPSYS) has several power > management related tasks in the system. The tasks include thermal > measurement, dynamic voltage frequency scaling (DVFS), i

Re: [PATCH v6 0/9] latched RB-trees and __module_address()

2015-05-12 Thread Peter Zijlstra
On Sat, May 09, 2015 at 03:12:32AM +0930, Rusty Russell wrote: > Ingo Molnar writes: > > * Rusty Russell wrote: > > > >> Peter Zijlstra writes: > >> > This series is aimed at making __module_address() go fast(er). > >> > >> Acked-by: Rusty Russell (module parts) > >> > >> Since all the intere

[tip:locking/core] locking/qrwlock: Rename QUEUE_RWLOCK to QUEUED_RWLOCKS

2015-05-12 Thread tip-bot for Waiman Long
Commit-ID: c7114b4e6c53111d415485875725b60213ffc675 Gitweb: http://git.kernel.org/tip/c7114b4e6c53111d415485875725b60213ffc675 Author: Waiman Long AuthorDate: Mon, 11 May 2015 13:57:11 -0400 Committer: Ingo Molnar CommitDate: Tue, 12 May 2015 09:46:00 +0200 locking/qrwlock: Rename QUEU

Re: [PATCH v2] blackfin: Wire up missing syscalls

2015-05-12 Thread Chen Gang
On 04/22/2015 03:01 PM, Steven Miao wrote: > Applied. Thanks. > Thank you for your work. In next tree 20150511, it only has one applier (me), I guess we need additional appliers (e.g. you), please help check. The related commit is: "4f650a5 blackfin: Wire up missing syscalls" Thanks. > On Mon,

Re: [PATCH] pinctrl: cherryview: Read triggering type from HW if not set when requested

2015-05-12 Thread Linus Walleij
On Tue, May 12, 2015 at 12:35 PM, Mika Westerberg wrote: > If a driver does not set interrupt triggering type when it calls > request_irq(), it means use the pin as the hardware/firmware has > configured it. There are some drivers doing this. One example is > drivers/input/serio/i8042.c that requ

[PATCH/RFC] kbuild: Create a rule for building device tree overlay objects

2015-05-12 Thread Geert Uytterhoeven
This allows to handle device tree overlays like plain device trees. Signed-off-by: Geert Uytterhoeven --- Questions: - Do we want dtso files under arch//boot/dts/, too? - Do we want to move the dts files outside the kernel repository first? scripts/Makefile.lib | 3 +++ 1 file changed,

Re: [PATCH 1/1] usb: Remove Vernier devices from lsusb and hid_ignore_list

2015-05-12 Thread Jiri Kosina
On Mon, 11 May 2015, Dennis O'Brien wrote: > From: Dennis O'Brien > > Removes Vernier Software & Technology devices from the ldusb > driver and the hid_ignore_list table of the usbhid driver in the > Linux tree. These devices will now be supported via the hidraw > driver. > > Signed-off-by: De

Re: lpc18xx: undefined Kconfig option ARCH_LPC18XX

2015-05-12 Thread Linus Walleij
On Tue, May 12, 2015 at 12:48 PM, Valentin Rothberg wrote: > On Tue, May 12, 2015 at 12:40 PM, Linus Walleij > wrote: >> On Wed, May 6, 2015 at 10:02 AM, Valentin Rothberg >> wrote: >> >>> Hi Joachim, >>> >>> there are two of your commits [1, 2] in today's linux-next (i.e., >>> next-20150506).

Re: [PATCH v2 1/3] pagemap: add mmap-exclusive bit for marking pages mapped only here

2015-05-12 Thread Mark Williamson
Hi Konstantin, I hope you won't mind me thinking out loud here on the idea of adding a flag to the v2 pagemap fields... From a kernel PoV, I agree that this seems like the cleanest approach. However, with my application developer hat on: 1. I was hoping we'd be able to backport a compatible fi

[PATCH v3] staging: panel: fix stackdump

2015-05-12 Thread Sudip Mukherjee
if we load the module, unload and then again try to load the module, we will get a stackdump. In the module_exit function we are unregistering the device and releasing the parport. So when we reach the detach function parport is already null and the unregister_reboot_notifier() is never called. Whe

Re: [PATCH] x86: wmi: Remove private %pUL implementation

2015-05-12 Thread Rasmus Villemoes
On Fri, Mar 06 2015, Darren Hart wrote: > On Tue, Feb 24, 2015 at 03:15:30PM +0100, Rasmus Villemoes wrote: >> The work performed by wmi_gtoa is equivalent to simply sprintf(out, >> "%pUL", in), so one could replace its body by this. However, most >> users feed the result directly as a %s argumen

Re: lpc18xx: undefined Kconfig option ARCH_LPC18XX

2015-05-12 Thread Linus Walleij
On Tue, May 12, 2015 at 2:03 PM, Linus Walleij wrote: > - (B) Creating an immutable branch pulled into both trees, which > is better since it means the same hash is in both trees PS: This may seem idea but it's not. It means several subsystem-disparate patches will appear in several pull reque

[PATCH 0/2]: Make FSL EHCI drv as separate module

2015-05-12 Thread Ramneek Mehresh
This patch set makes fsl ehci driver as a separate module from existing ehci-hcd driver. For this, following is done: - make ehci-fsl.c as a seperate entity by compiling it separately - make use of module_init()/module_exit(), and makeing ehci-fsl.c as tristate

[PATCH 1/2] drivers:usb:fsl:Make fsl ehci drv an independent module

2015-05-12 Thread Ramneek Mehresh
Make fsl ehci driver an independent entity from ehci-hcd driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Kconfig| 2 +- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-fsl.c | 116 drivers/usb/host/ehci-hcd.c | 5 -- 4 fi

Re: [Jfs-discussion] [PATCH] fs: cleanup slight list_entry abuse

2015-05-12 Thread Rasmus Villemoes
On Thu, Mar 19 2015, Dave Kleikamp wrote: > On 03/19/2015 11:11 AM, Boaz Harrosh wrote: >> On 03/19/2015 01:28 PM, Rasmus Villemoes wrote: >>> list_entry is just a wrapper for container_of, but it is arguably >>> wrong (and slightly confusing) to use it when the pointed-to struct >>> member is no

[PATCH 2/2] drivers:usb:fsl: Use overrides structure for fsl hc driver

2015-05-12 Thread Ramneek Mehresh
Use overrides structure for fsl ehci host controller driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/ehci-fsl.c | 54 + 1 file changed, 10 insertions(+), 44 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c

Re: [PATCH v2] livepatch: Prevent livepatch to apply the uninitialized patch

2015-05-12 Thread Minfei Huang
On 05/12/15 at 01:41P, Miroslav Benes wrote: > On Tue, 12 May 2015, Minfei Huang wrote: > > > The previous patches can be applied, once the corresponding module is > > loaded. In general, the patch will do relocation (if necessary) and > > obtain/verify function address before we start to enable p

Re: [RFC v2 6/7] x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-05-12 Thread Hanjun Guo
[...] struct pci_root_info { - struct acpi_device *bridge; - char name[16]; - struct pci_controller sd; + struct acpi_pci_root_info_common common; #ifdefCONFIG_PCI_MMCONFIG bool mcfg_added; u16 segment; @@ -165,14 +164,17 @@ static int check_seg

Re: [PATCH v2] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2015-05-12 Thread Robert Richter
Tejun, On 11.05.15 19:18:10, Robert Richter wrote: > > > +static int ahci_init_interrupts(struct pci_dev *pdev, unsigned int > > > n_ports, > > > + struct ahci_host_priv *hpriv) > > > +{ > > > + struct msi_desc *desc; > > > + > > > + __ahci_init_interrupts(pdev, n_po

Re: [PATCH v2] block: discard bdi_unregister() in favour of bdi_destroy()

2015-05-12 Thread Sergey Senozhatsky
> bdi_unregister() now contains very little functionality. > > It contains a "WARN_ON" if bdi->dev is NULL. This warning is of no > real consequence as bdi->dev isn't needed by anything else in the function, > and it triggers if blk_cleanup_queue() -> bdi_destroy() > is called before bdi_unregist

Re: [PATCH] sched: Introduce TASK_NOLOAD and TASK_IDLE

2015-05-12 Thread Peter Zijlstra
On Mon, May 11, 2015 at 10:34:11PM +0300, Julian Anastasov wrote: > On Mon, 11 May 2015, Peter Zijlstra wrote: > > > > - schedule_timeout_idle (instead of schedule_timeout call): > > > __set_current_state(TASK_IDLE); > > > return schedule_timeout(timeout); > > > > > > - we here are really i

[PATCH 0/7 V2] workqueue: cleanup for attr management

2015-05-12 Thread Lai Jiangshan
Hi, This is the V2 version of the V1 pathset. But it is just the updated version of the patch1&2 of the V1 patchset. [1/5 V1] is split into [1/7 V2] and [2/7 V2]. [2/5 V1] is split into [3,4,5,6,7/7 V2]. [1/7] extends the wq_pool_mutex lock region in the apply_workqueue_attrs(). It is a

[PATCH 6/7 V2] workqueue: reuse wq_update_unbound_numa_attrs_buf as temporary attrs

2015-05-12 Thread Lai Jiangshan
tmp_attrs is just temporary attrs, we can use wq_update_unbound_numa_attrs_buf for it like wq_update_unbound_numa(); This change also avoids frequently alloc/free the tmp_attrs when the low level cpumask is being updated. Signed-off-by: Lai Jiangshan --- kernel/workqueue.c | 15 +--

[PATCH 5/7 V2] workqueue: reuse the current default pwq when its attrs unchanged

2015-05-12 Thread Lai Jiangshan
When apply_wqattrs_prepare() is called, it is possible that the default pwq is unaffected. It is always true that only the NUMA affinity is being changed and sometimes true that the low level cpumask is being changed. So we try to reuse the current default pwq when its attrs unchanged. After thi

[PATCH 4/7 V2] workqueue: reuse the current per-node pwq when its attrs unchanged

2015-05-12 Thread Lai Jiangshan
If the cpuamsk is changed, it is possible that only a part of the per-node pwq is affected. This can happen when the user changes the cpumask of a workqueue or the low level cpumask. So we try to reuse the current per-node pwq when its attrs unchanged. Signed-off-by: Lai Jiangshan --- kernel/w

[PATCH 7/7 V2] workqueue: add get_node_unbound_pwq()

2015-05-12 Thread Lai Jiangshan
The calculation and allocation of per-node pwq code in apply_workqueue_attrs() and wq_update_unbound_numa() are highly similar, we merge them into get_node_unbound_pwq(). wq_calc_node_mask() is only used for this calculation and allocation, so it is also moved into get_node_unbound_pwq(). The onl

[PATCH 2/7 V2] workqueue: simplify wq_update_unbound_numa()

2015-05-12 Thread Lai Jiangshan
wq_update_unbound_numa() is known be called with wq_pool_mutex held. But wq_update_unbound_numa() requests wq->mutex before reading wq->unbound_attrs, wq->numa_pwq_tbl[] and wq->dfl_pwq. But these fields were changed to be allowed being read with wq_pool_mutex held. So we simply remove the mutex

[PATCH 1/7 V2] workqueue: wq_pool_mutex protects the attrs-installation

2015-05-12 Thread Lai Jiangshan
Current wq_pool_mutex doesn't proctect the attrs-installation, it results that ->unbound_attrs, ->numa_pwq_tbl[] and ->dfl_pwq can only be accessed under wq->mutex and causes some inconveniences. Example, wq_update_unbound_numa() has to acquire wq->mutex before fetching the wq->unbound_attrs->no_n

[PATCH 3/7 V2] workqueue: introduce get_pwq_unlocked()

2015-05-12 Thread Lai Jiangshan
attrs management code may reuse existed pwq and it has open code to do "lock();get_pwq();unlock()", we move this open code into get_pwq_unlocked(). get_pwq_unlocked() will also be used in later patches to allow apply_wqattrs_prepare() to resue the original default or per-node pwq. Signed-off-by:

Re: [PATCH 4/4] arm64: gicv3: its: Increase FORCE_MAX_ZONEORDER for Cavium ThunderX

2015-05-12 Thread Will Deacon
On Mon, May 11, 2015 at 10:14:38AM +0100, Robert Richter wrote: > On 05.05.15 11:53:29, Will Deacon wrote: > > On Sun, May 03, 2015 at 09:49:32PM +0100, Robert Richter wrote: > > > From: Radha Mohan Chintakuntla > > > > > > In case of ARCH_THUNDER, there is a need to allocate the GICv3 ITS table

Re: CONFIG_ISOLATION=y (was: [PATCH 0/6] support "dataplane" mode for nohz_full)

2015-05-12 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, May 12, 2015 at 11:10:32AM +0200, Ingo Molnar wrote: > > > > So I'd vote for Frederic's CONFIG_ISOLATION=y, mostly because this > > is a high level kernel feature, so it won't conflict with > > isolation concepts in lower level subsystems such as IOMMU > > i

Re: [PATCH 2/2] pwm: add Mediatek display PWM driver support

2015-05-12 Thread Matthias Brugger
Hi YH, 2015-05-11 11:26 GMT+02:00 YH Huang : > Add display PWM driver support to modify backlight for MT8173/MT6595. > > Signed-off-by: YH Huang > --- > drivers/pwm/Kconfig | 9 ++ > drivers/pwm/Makefile| 1 + > drivers/pwm/pwm-disp-mediatek.c | 225 > +++

Re: [PATCH v7 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2015-05-12 Thread wsa
On Wed, May 06, 2015 at 04:37:05PM +0800, Eddie Huang wrote: > From: Xudong Chen > > Add devicetree bindings for Mediatek Soc I2C driver. > > Signed-off-by: Xudong Chen > Signed-off-by: Eddie Huang Sascha, Uwe: Can you ack these patches if you are fine with them? Would be nice since you did q

Re: [PATCH v2 1/2] tools lib traceevent: Export dynamic symbols used by traceevent plugins

2015-05-12 Thread Jiri Olsa
On Tue, May 12, 2015 at 06:41:56AM +, He Kuang wrote: SNIP > $(Q)$(MAKE) $(build)=perf > > -$(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) > - $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $(PERF_IN) $(LIBS) -o $@ > +LD_LIBTRACEEVENT_FLAGS += -Xlinker > --dynamic-list=$(LIBTRACEEVENT_DYNAMIC_LI

Re: [PATCH v9 2/3] leds: ktd2692: add device tree bindings for ktd2692

2015-05-12 Thread Jacek Anaszewski
Hi Ingi, On 05/12/2015 10:37 AM, Ingi Kim wrote: This patch adds the device tree bindings for ktd2692 flash LEDs. Add Optional properties of child node for Flash LED Signed-off-by: Ingi Kim Acked-by: Seung-Woo Kim Reviewed-by: Varka Bhadram --- .../devicetree/bindings/leds/leds-ktd2692.txt

Re: CONFIG_ISOLATION=y (was: [PATCH 0/6] support "dataplane" mode for nohz_full)

2015-05-12 Thread Peter Zijlstra
On Tue, May 12, 2015 at 02:34:40PM +0200, Ingo Molnar wrote: > Yes, that's what I meant: CONFIG_ISOLATION would trigger what is > NO_HZ_FULL today - we could possibly even remove CONFIG_NO_HZ_FULL as > an individual Kconfig option? Ah, as a rename of nohz_full, sure that might work. -- To unsubs

Re: [PATCH v9 3/3] leds: Add ktd2692 flash LED driver

2015-05-12 Thread Jacek Anaszewski
Hi Ingi, On 05/12/2015 10:37 AM, Ingi Kim wrote: This patch adds a driver to support the ktd2692 flash LEDs. ktd2692 can control flash current by ExpressWire interface. Signed-off-by: Ingi Kim Acked-by: Seung-Woo Kim Reviewed-by: Varka Bhadram --- drivers/leds/Kconfig| 9 + driv

Re: [PATCH] ARM: zynq: Set bit 22 in PL310 AuxCtrl register (6395/1)

2015-05-12 Thread Thomas . Betker
> >> This patch is based on the > >> commit 1a8e41cd672f ("ARM: 6395/1: VExpress: Set bit 22 in the PL310 > >> (cache controller) AuxCtlr register") > > > > > > I've been under the impression that this shouldn't be done in the > > kernel, but in the boot loader/firmware: > > > > https://lkml.org

Re: CONFIG_ISOLATION=y (was: [PATCH 0/6] support "dataplane" mode for nohz_full)

2015-05-12 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, May 12, 2015 at 02:34:40PM +0200, Ingo Molnar wrote: > > > Yes, that's what I meant: CONFIG_ISOLATION would trigger what is > > NO_HZ_FULL today - we could possibly even remove CONFIG_NO_HZ_FULL > > as an individual Kconfig option? > > Ah, as a rename of nohz

Re: [PATCH V9 8/8] perf tools: handle PERF_RECORD_LOST_SAMPLES

2015-05-12 Thread Peter Zijlstra
On Mon, May 11, 2015 at 06:27:58PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, May 11, 2015 at 08:40:56PM +, Liang, Kan escreveu: > > > Em Sun, May 10, 2015 at 03:13:15PM -0400, Kan Liang escreveu: > > > > $ perf record -e '{cycles:p,instructions:p}' -c 20003 --no-time > > > > ~/tchain ~/t

Re: [PATCH 2/2] pwm: add Mediatek display PWM driver support

2015-05-12 Thread Matthias Brugger
2015-05-12 14:37 GMT+02:00 Matthias Brugger : > Hi YH, > > 2015-05-11 11:26 GMT+02:00 YH Huang : >> Add display PWM driver support to modify backlight for MT8173/MT6595. >> >> Signed-off-by: YH Huang >> --- >> drivers/pwm/Kconfig | 9 ++ >> drivers/pwm/Makefile| 1 + >>

Re: [PATCH 2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-05-12 Thread leilk liu
Thanks for your review. On Fri, 2015-05-08 at 18:53 +0100, Mark Brown wrote: > On Fri, May 08, 2015 at 04:55:42PM +0800, leilk@mediatek.com wrote: > > From: Leilk Liu > > > > This patch adds basic spi bus for MT8173. > > Please try to only CC relevant people on patches, you've got a very >

Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Will Deacon
On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder Singh wrote: > EP-2DAD0AFA905A4ACB804C4F82A001242F > > On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, > the callback handler endlessly runs until the watchpoint is unregistered. > The reason for this issue is debug int

Re: [PATCH v7 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-05-12 Thread Sascha Hauer
On Wed, May 06, 2015 at 04:37:04PM +0800, Eddie Huang wrote: > This series is for Mediatek SoCs I2C controller common bus driver. > > Earlier MTK SoC ((for example, MT6589, MT8135)) I2C HW has some limitationes. > New generation SoC like MT8173 fix following limitations: > > 1. Only support one i

Re: [PATCH v7 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2015-05-12 Thread Sascha Hauer
Hi Wolfram, On Tue, May 12, 2015 at 02:37:09PM +0200, w...@the-dreams.de wrote: > On Wed, May 06, 2015 at 04:37:05PM +0800, Eddie Huang wrote: > > From: Xudong Chen > > > > Add devicetree bindings for Mediatek Soc I2C driver. > > > > Signed-off-by: Xudong Chen > > Signed-off-by: Eddie Huang >

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-12 Thread William Cohen
On 05/12/2015 01:54 AM, David Long wrote: > On 05/05/15 11:48, Will Deacon wrote: >> On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: >>> On 05/01/15 21:44, William Cohen wrote: Dave Long and I did some additional experimentation to better understand what is condition causes th

[PATCH 07/13] ARM: STi: STiH416: Add Restart support for Orly2

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 9ead8bb..6452d33 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -30,6 +3

[PATCH 13/13] ARM: STi: Ensure requested STi's SysCfg Controlled IRQs are enabled at boot

2015-05-12 Thread Lee Jones
This driver is used to enable System Configuration Register controlled External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs prior to use. Signed-off-by: Lee Jones --- arch/arm/mach-sti/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sti/Kcon

[PATCH 12/13] ARM: STi: STiH407: Enable PMU IRQs

2015-05-12 Thread Lee Jones
This driver is used to enable System Configuration Register controlled External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs prior to use. Here we are enabling PMU IRQs on both channels. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 10

[PATCH 06/13] ARM: STi: STiH407: Add Restart support for Cannes

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 85159b8..46e6a38 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot

[PATCH 11/13] ARM: STi: STiH407: Enable Cortex-A9 PMU support

2015-05-12 Thread Lee Jones
This is ARM's generic Performance Monitoring Unit. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 46e6a38..412206e 100644 --- a/arch/

[PATCH 10/13] ARM: STi: STiH416: Enable PMU IRQs

2015-05-12 Thread Lee Jones
This driver is used to enable System Configuration Register controlled External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs prior to use. Here we are enabling PMU IRQs on both channels. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 10 ++ 1 f

[PATCH 09/13] ARM: STi: STiH416: Enable Cortex-A9 PMU support

2015-05-12 Thread Lee Jones
This is ARM's generic Performance Monitoring Unit. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 6452d33..cc5b78d 100644 --- a/arch/arm/boot/dts/stih416.d

[PATCH 08/13] ARM: multi_v7_defconfig: Enable ST's Power Reset driver

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5dc85db..f632af0 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_d

Re: [PATCH 4/6] nohz: support PR_DATAPLANE_QUIESCE

2015-05-12 Thread Ingo Molnar
* Peter Zijlstra wrote: > > So if then a prctl() (or other system call) could be a shortcut > > to: > > > > - move the task to an isolated CPU > > - make sure there _is_ such an isolated domain available > > > > I.e. have some programmatic, kernel provided way for an > > application to be

Re: [Intel-gfx] Commit 0e32b39c ("drm/i915: add DP 1.2 MST support (v0.7)") breaking DP audio on T440s

2015-05-12 Thread Paul Moore
On Monday, May 11, 2015 04:06:37 AM David Airlie wrote: > - Original Message - > > From: "Jani Nikula" > > To: "Paul Moore" , "Dave Airlie" > > , intel-...@lists.freedesktop.org Cc: "Daniel > > Gultsch" , linux-kernel@vger.kernel.org Sent: Monday, > > 11 May, 2015 6:01:49 PM > > Subject: R

[PATCH 03/13] ARM: STi: STiH416: Add DT nodes for PWM

2015-05-12 Thread Lee Jones
Supply top level nodes for the STiH416 based development boards. The Pinctrl configuration has already been applied, so the only missing piece of the DT puzzle is for a board's DTB to enable the nodes. Signed-off-by: Ajit Pal Singh Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 4

[PATCH] kdb: match return value to function signature

2015-05-12 Thread Nicholas Mc Guire
wrong type unsigned long != long Patch was compile tested with x86_64_defconfig + CONFIG_KGDB=y, CONFIG_KGDB_KDB=y Patch is against 4.1-rc3 (localversion-next is -next-20150512) Signed-off-by: Nicholas Mc Guire --- kernel/debug/kdb/kdb_support.c | 14 +++--- 1 file changed, 7 insert

[PATCH 05/13] ARM: multi_v7_defconfig: Enable ST's PWM driver

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index a841847..5dc85db 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_d

[PATCH 02/13] ARM: STi: STiH416: Add Pinctrl settings for PWM

2015-05-12 Thread Lee Jones
Supply the Pinctrl configuration to enable PWM{0,1} lines on STiH416 based development boards. Signed-off-by: Ajit Pal Singh Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 50 ++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/

[PATCH 00/13] ARM: STi: Clear-up dangling patches

2015-05-12 Thread Lee Jones
These patches have all been on the list for some time now. I've taken the liberty of collecting them all up to send as a single batch. Lee Jones (13): ARM: STi: STiH407: Add DT nodes for for PWM ARM: STi: STiH416: Add Pinctrl settings for PWM ARM: STi: STiH416: Add DT nodes for PWM ARM: ST

[PATCH 04/13] ARM: STi: STiH416-b2020e: Enable PWM on the B2020 Rev-E

2015-05-12 Thread Lee Jones
All the infrastructure is now in place for ST's PWM controller. This patch takes the final step and enables the IP on the 2020 Rev-E development platform. Signed-off-by: Ajit Pal Singh Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416-b2020e.dts | 10 ++ 1 file changed, 10 inserti

[PATCH 01/13] ARM: STi: STiH407: Add DT nodes for for PWM

2015-05-12 Thread Lee Jones
Supply top level nodes for the STiH407 based development boards. The Pinctrl configuration has already been applied, so the only missing piece of the DT puzzle is for a board's DTB to enable the nodes. Signed-off-by: Ajit Pal Singh Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407.dtsi | 2

[PATCH v2 00/12] mfd: Add support for Clocksource to LPC set

2015-05-12 Thread Lee Jones
ST's Low Power Controller (LPC) controls three devices; watchdog, RTC and a Clocksource Timer. Only one of the devices can be used at any one time, which is enforced by the Device Driver model. This patchset provides support for the Clocksource driver. Watchdog and RTC are already in -next. Le

[PATCH v2 04/12] clocksource: bindings: Provide bindings for ST's LPC Clocksource device

2015-05-12 Thread Lee Jones
On current ST platforms the LPC controls a number of functions including Watchdog and Real Time Clock. This patch provides the bindings used to configure LPC in Clocksource mode. Signed-off-by: Lee Jones --- .../devicetree/bindings/timer/st,stih407-lpc | 28 ++ 1 file

Re: [PATCH 0/3] cpuidle: updates related to tick_broadcast_enter() failures

2015-05-12 Thread Rafael J. Wysocki
On Tuesday, May 12, 2015 10:41:35 AM Daniel Lezcano wrote: > On 05/12/2015 01:31 AM, Rafael J. Wysocki wrote: > > On Monday, May 11, 2015 07:40:41 PM Daniel Lezcano wrote: > >> On 05/10/2015 01:15 AM, Rafael J. Wysocki wrote: > >>> On Saturday, May 09, 2015 10:33:05 PM Rafael J. Wysocki wrote: > >>

[PATCH v2 10/12] ARM: STi: DT: STih407: Switch LPC mode from RTC to Clocksource

2015-05-12 Thread Lee Jones
This aligns with the internal configuration. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 2b2315d..bf1c7f5 100644 --- a/a

Re: [PATCH v7 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-05-12 Thread wsa
> +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Please sort the includes to avoid dupl

[PATCH v2 11/12] ARM: STi: Enable LPC Clocksource

2015-05-12 Thread Lee Jones
This timer can be used as the system (tick) timer. Signed-off-by: Lee Jones --- arch/arm/mach-sti/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig index 3b1ac46..cb886de 100644 --- a/arch/arm/mach-sti/Kconfig +++ b/arch/arm/mach-st

[PATCH v2 08/12] rtc: bindings: Supply knowledge of a third supported device - clocksource

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt b/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt index 73407f50..daf882

[PATCH v2 12/12] ARM: STi: Update platform level menuconfig 'help'

2015-05-12 Thread Lee Jones
Encompass newer STiH4{07,10} and STiH418 SoC based platforms. Acked-by: Peter Griffin Signed-off-by: Lee Jones --- arch/arm/mach-sti/Kconfig | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig index cb886de..2a3bfaa

[PATCH v2 07/12] rtc: st: Update IP layout information to include Clocksource

2015-05-12 Thread Lee Jones
Initial submission adding support for this IP only included Watchdog and the Real-Time Clock. Now the third (and final) device is enabled this trivial patch is required to update the comment in the RTC driver to encompass Clocksource. Acked-by: Alexandre Belloni Signed-off-by: Lee Jones --- dr

[PATCH v2 09/12] MAINTAINERS: Add the LPC Clocksource to STi maintained driver list

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2bc71e7..af9e952 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1454,6 +1454,7 @@ S:Maintained F: arch/arm/mach-sti/ F: arch/arm/boot/dts/sti* F: dri

Re: Possible RAID6 regression with ASYNC_TX_DMA enabled in 4.1

2015-05-12 Thread Maxime Ripard
Hi Shaohua, On Sun, May 10, 2015 at 11:26:38PM -0700, Shaohua Li wrote: > On Thu, May 07, 2015 at 02:57:02PM +0200, Maxime Ripard wrote: > > Hi, > > > > I'm currently trying to add support for the PQ operations on the > > marvell XOR engine, in dmaengine, obviously to be able to use async_tx > >

Re: [PATCH 2/2] pwm: add Mediatek display PWM driver support

2015-05-12 Thread Sascha Hauer
On Mon, May 11, 2015 at 05:26:22PM +0800, YH Huang wrote: > + > +static int mtk_disp_pwm_probe(struct platform_device *pdev) > +{ > + struct mtk_disp_pwm_chip *pwm; The struct mtk_disp_pwm_chip * is named 'mpc' in the other functions. For consistency reasons you should do that here aswell. >

Re: [tip:locking/core] locking/pvqspinlock: Replace xchg() by the more descriptive set_mb()

2015-05-12 Thread Peter Zijlstra
On Tue, May 12, 2015 at 10:45:29AM +0200, Peter Zijlstra wrote: > On Mon, May 11, 2015 at 10:50:42AM -0700, Linus Torvalds wrote: > > On Mon, May 11, 2015 at 7:54 AM, Peter Zijlstra > > wrote: > > > > > > Hmm, so I looked at the set_mb() definitions and I figure we want to do > > > something like

Re: [PATCH v7 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-05-12 Thread wsa
> + if (i2c->irq_stat & I2C_RS_TRANSFER) > + dev_dbg(i2c->dev, "addr: %x, restart transfer interrupt.\n", > + msgs->addr); I'd tend to leave out this debug message. But you may leave it if you like. Rest of the patch looks okay. Thanks! signature.asc

Re: [PATCH v2 1/3] gpio / ACPI: Add support for retrieving GpioInt resources from a device

2015-05-12 Thread Antonio Ospite
On Wed, 6 May 2015 13:29:06 +0300 Mika Westerberg wrote: > ACPI specification knows two types of GPIOs: GpioIo and GpioInt. The latter > is used to describe that a given device interrupt line is connected to a > specific GPIO pin. Typical ACPI _CRS entry for such device looks like > below: > >

[PATCH v2 06/12] watchdog: bindings: Supply knowledge of a third supported device - clocksource

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt b/Documentation/devicetree/bindings/watchdog/st_lpc_wdt.txt index 388c

[PATCH v2 02/12] clocksource: sti: Provide support for the ST LPC Clocksource IP

2015-05-12 Thread Lee Jones
This IP is shared with Watchdog and RTC functionality. All 3 of these devices are mutually exclusive from one another i.e. Only 1 IP can be used at any given time. We use the device-driver model combined with a DT 'mode' property to enforce this. The ST LPC Clocksource IP can be used as the syst

[PATCH v2 03/12] clocksource: sti: Provide 'use timer as sched clock' capability

2015-05-12 Thread Lee Jones
Signed-off-by: Lee Jones --- drivers/clocksource/clksrc_st_lpc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c index 1ad1714..90f5bb8 100644 --- a/drivers/clocksource/clksrc_st_lpc.c +++ b/drivers/clocksource

[PATCH v2 05/12] watchdog: st_wdt: Update IP layout information to include Clocksource

2015-05-12 Thread Lee Jones
Initial submission adding support for this IP only included Watchdog and the Real-Time Clock. Now the third (and final) device is enabled this trivial patch is required to update the comment in the Watchdog driver to encompass Clocksource. Reviewed-by: Guenter Roeck Signed-off-by: Lee Jones ---

[PATCH v6 0/2] pci: drop msi disable on shutdown

2015-05-12 Thread Michael S. Tsirkin
Fam Zheng noticed that pci shutdown disables msi and msix of a device. This was intended to fix kexec with fusion devices but is no longer necessary, and can in theory be harmful. See individual patches for the detailed explanation. Please review, and consider for 4.2. Eric, I would especially

[PATCH v6 1/2] PCI/MSI: Don't disable MSI/MSI-X at shutdown

2015-05-12 Thread Michael S. Tsirkin
d52877c7b1af ("pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2") disabled MSI/MSI-X at device shutdown to address a kexec problem. The change made by the above commit is no longer necessary: it was superceded by commit d5dea7d95c48 ("PCI: msi: Disable msi interrupts when we initialize

[PATCH v2 01/12] mfd: dt-bindings: Provide human readable define for Clocksource mode

2015-05-12 Thread Lee Jones
ST's Low Power Controller can now operate in three supported modes; Watchdog, Real Time Clock and most recently as a Clocksource. This new define will allow the LPC IP to be configured for Clocksource from DT. Signed-off-by: Lee Jones --- include/dt-bindings/mfd/st-lpc.h | 1 + 1 file changed,

[PATCH v6 2/2] PCI/MSI: Make pci_msi_shutdown(), pci_msix_shutdown() static

2015-05-12 Thread Michael S. Tsirkin
pci_msi_shutdown() and pci_msix_shutdown() are now internal to drivers/pci/msi.c; make them static. Signed-off-by: Michael S. Tsirkin Signed-off-by: Bjorn Helgaas --- include/linux/pci.h | 4 drivers/pci/msi.c | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/inclu

Re: [PATCH V9 8/8] perf tools: handle PERF_RECORD_LOST_SAMPLES

2015-05-12 Thread Arnaldo Carvalho de Melo
Em Tue, May 12, 2015 at 02:43:44PM +0200, Peter Zijlstra escreveu: > On Mon, May 11, 2015 at 06:27:58PM -0300, Arnaldo Carvalho de Melo wrote: > > I disagree, since the support is there, we need to have it in > > hists->events_stats[PERF_RECORD_LOST_SAMPLES]. > > But that can be done in a follow u

Re: [PATCH 3/6] dataplane nohz: run softirqs synchronously on user entry

2015-05-12 Thread Paul E. McKenney
On Tue, May 12, 2015 at 11:32:02AM +0200, Peter Zijlstra wrote: > On Mon, May 11, 2015 at 04:13:16PM -0400, Chris Metcalf wrote: > > The thing you want to avoid is having two processes both > > runnable at once > > Right, because as soon as nr_running > 1 we kill the entire nohz_full > thing. RT o

Re: [PATCH v12 00/21] Re-introduce h8300 architecture

2015-05-12 Thread Guenter Roeck
On 05/11/2015 09:53 PM, Yoshinori Sato wrote: At Mon, 11 May 2015 10:50:27 -0700, Guenter Roeck wrote: On Mon, May 11, 2015 at 03:26:19PM +0900, Yoshinori Sato wrote: Changes for v12 - IRQ chip convert to OF - dts cleanup - some headers use generic - rebase to v4.1-rc3 Configurations in arch

Re: [PATCH v2 2/3] i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned

2015-05-12 Thread wsa
On Wed, May 06, 2015 at 01:29:07PM +0300, Mika Westerberg wrote: > This is the convention used in most parts of the kernel including DT > counterpart of I2C slave enumeration. To make things consistent do the same > for ACPI I2C slave enumeration path as well. > > Signed-off-by: Mika Westerberg

Re: [PATCH v2 3/3] i2c / ACPI: Assign IRQ for devices that have GpioInt automatically

2015-05-12 Thread wsa
On Wed, May 06, 2015 at 01:29:08PM +0300, Mika Westerberg wrote: > Following what DT already does. If the device does not have ACPI Interrupt > resource but instead it has one or more GpioInt resources listed below it, > we take the first GpioInt resource, convert it to suitable Linux IRQ number >

Re: [alsa-devel] [RFC PATCH 00/14] ASoC: qcom: add support to apq8016 audio

2015-05-12 Thread Srinivas Kandagatla
Hi Kenneth, On 12/05/15 05:06, Kenneth Westfield wrote: On Tue, May 05, 2015 at 11:54:16PM -0700, Srinivas Kandagatla wrote: Hi Kenneth, On 06/05/15 06:47, Kenneth Westfield wrote: I will test the patches and let you know by Wednesday. Also, I posted some comments, but Patrick should be pos

Re: [PATCH 2/6] nohz: dataplane: allow tick to be fully disabled for dataplane

2015-05-12 Thread Paul E. McKenney
On Tue, May 12, 2015 at 11:26:07AM +0200, Peter Zijlstra wrote: > On Fri, May 08, 2015 at 01:58:43PM -0400, Chris Metcalf wrote: > > While the current fallback to 1-second tick is still helpful for > > maintaining completely correct kernel semantics, processes using > > prctl(PR_SET_DATAPLANE) sema

Fwd: Re: Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Vaneet Narang
On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder Singh wrote: >> EP-2DAD0AFA905A4ACB804C4F82A001242F >> >> On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, >> the callback handler endlessly runs until the watchpoint is unregistered. >> The reason for this issue is debu

[PATCH] MAINTAINERS: Add Arnd Bergmann as Syscon reviewer

2015-05-12 Thread Lee Jones
The System Configuration (syscon) driver is an important one, which effects many ARM-SoC based platforms. I'm adding Arnd as a primary reviewer as he is highly competent in this area and has a keen interest in ARM-SoC. Signed-off-by: Lee Jones --- MAINTAINERS | 7 +++ 1 file changed, 7 inse

Re: [PATCH] force inlining of spinlock ops

2015-05-12 Thread Denys Vlasenko
On 05/12/2015 01:43 PM, Ingo Molnar wrote: >>> Furtermore, what is the size win on x86 defconfig with these options >>> set? >> >> CONFIG_OPTIMIZE_INLINING=y is in defconfig. >> >> Size difference for CC_OPTIMIZE_FOR_SIZE: >> >> textdata bss dechex filename >> 12335864 1746152

  1   2   3   4   5   6   7   8   9   10   >