Re: [PATCH 3/4] perf, callchain: Add generic report parse callchain callback function

2014-04-07 Thread Jiri Olsa
On Mon, Apr 07, 2014 at 02:15:21PM +0900, Namhyung Kim wrote: > Hi Jiri and Don, > > On Sun, 6 Apr 2014 14:11:29 +0200, Jiri Olsa wrote: > > On Fri, Apr 04, 2014 at 03:31:19PM -0400, Don Zickus wrote: > >> On Thu, Apr 03, 2014 at 02:57:32PM +0900, Namhyung Kim wrote: > >> > On Mon, 24 Mar 2014 15:

Re: [PATCH 09/20] of/fdt: create common debugfs

2014-04-07 Thread Michal Simek
On 04/07/2014 02:42 AM, Rob Herring wrote: > On Fri, Apr 4, 2014 at 9:11 AM, Michal Simek wrote: >> On 04/04/2014 03:32 PM, Rob Herring wrote: >>> On Fri, Apr 4, 2014 at 8:22 AM, Michal Simek wrote: On 04/04/2014 03:00 PM, Rob Herring wrote: > On Fri, Apr 4, 2014 at 7:16 AM, Michal Simek

[PATCH] perf probe: Use dwarf_getcfi_elf() instead of dwarf_getcfi()

2014-04-07 Thread Namhyung Kim
The dwarf_getcfi() only checks .debug_frame section for CFI, but as most binaries only have .eh_frame it'd return NULL and it makes some variables inaccessible. Using dwarf_getcfi_elf (along with dwarf_getelf()) allows to show and add probe to more variables. Cc: Masami Hiramatsu Signed-off-by:

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-07 Thread Benjamin Herrenschmidt
On Fri, 2014-04-04 at 09:18 -0700, Dave Hansen wrote: > On 04/03/2014 11:27 PM, Madhavan Srinivasan wrote: > > This patch creates infrastructure to move the FAULT_AROUND_ORDER > > to arch/ using Kconfig. This will enable architecture maintainers > > to decide on suitable FAULT_AROUND_ORDER value ba

[PATCH RESEND 1/2] clk: s2mps11: Add missing of_node_put and of_clk_del_provider

2014-04-07 Thread Krzysztof Kozlowski
Add of_clk_del_provider to remove previously registered clock provider. Add of_node_put to decrement the ref count of clock nodes. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/clk-s2mps11.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/clk/

[PATCH RESEND 2/2] clk: s2mps11: Remove useless check for clk_table

2014-04-07 Thread Krzysztof Kozlowski
There is no need for checking if 'clk_table' is not NULL twice (first after allocation and second at the end of probe()). Also move allocation of this 'clk_table' to probe from s2mps11_clk_parse_dt as this is logical place for it. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/clk-s2mps11.c

Re: [PATCH 1/1] x86/platform/hyperv: When on Hyper-v use NULL legacy PIC

2014-04-07 Thread Olaf Hering
On Thu, Apr 03, K. Y. Srinivasan wrote: > + printk(KERN_INFO "HyperV: Using null_legacy_pic\n"); Maybe this printk can be removed as well, unless its valuable info. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [tip:sched/core] sched/numa: Move task_numa_free() to __put_task_struct()

2014-04-07 Thread Mike Galbraith
On Mon, 2014-04-07 at 07:29 +0200, Mike Galbraith wrote: > I'm not getting it. > > I moved task_numa_free() from one interrupts enabled spot to another. > But, with numa=fake=4 and lockdep enabled, not only does lockdep gripe, > my little box locks up on splat. Saying spin_lock/unlock_irq() did

[PATCH v2] powerpc 32: Provides VIRT_CPU_ACCOUNTING

2014-04-07 Thread Christophe Leroy
This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. Unlike PPC64, PPC32 doesn't use the PACA convention. Therefore the implementation is taken from the IA64 architecture. It is based on additional information added to the Task Info structure. Signed-off-by: Christophe Leroy Index: b/ar

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-07 Thread Harini Katakam
Hi Peter, On Sun, Apr 6, 2014 at 5:13 AM, Peter Crosthwaite wrote: > On Sat, Apr 5, 2014 at 4:05 PM, Harini Katakam > wrote: >> Hi Peter, >> >> On Sat, Apr 5, 2014 at 4:44 AM, Peter Crosthwaite >> wrote: >>> On Sat, Apr 5, 2014 at 12:30 AM, Harini Katakam >>> wrote: Hi, On Fri,

Re: [PATCH 0/2] Microsoft Surface Type/Touch Cover 2 fixes

2014-04-07 Thread Jiri Kosina
On Mon, 31 Mar 2014, Benjamin Tissoires wrote: > well, this is a series which should fix the current state of the Surface > 2 touch cover. The first one has been reported by Derya and the second > one fixes the problem for this device and the future ones. Thanks Benjamin, queuing this for 3.15

Re: [PATCH V7 1/1] drivers/gpio: Altera soft IP GPIO driver and devicetree binding

2014-04-07 Thread Tien Hock Loh
On Wed, Mar 19, 2014 at 6:09 PM, Tien Hock Loh wrote: > On Fri, Mar 7, 2014 at 11:14 PM, Josh Cartwright wrote: >> On Mon, Mar 03, 2014 at 06:27:43PM +0800, [email protected] wrote: >>> From: Tien Hock Loh >>> >>> Add driver support for Altera GPIO soft IP, including interrupts and I/O. >>> Teste

Re: [tip:x86/reboot] [PATCH] x86: Try the BIOS reboot method before the PCI reboot method

2014-04-07 Thread Li, Aubrey
On 2014/4/7 2:40, H. Peter Anvin wrote: > > No question. The question at hand is if we should do it after all other > non-terminal (BIOS, triple) methods have been tried. > The reboot sequence before the change is: (1) ACPI (2) KEYBOARD (3) ACPI (4) KEYBOARD (5) TRIPLE The reboot sequence after

Re: [PATCH] arm64: fix !CONFIG_COMPAT build failures

2014-04-07 Thread Jean Pihet
On 7 April 2014 00:27, Catalin Marinas wrote: > On Sat, Apr 05, 2014 at 03:25:49PM +0100, Mark Salter wrote: >> Recent arm64 builds using CONFIG_ARM64_64K_PAGES are failing with: >> >> arch/arm64/kernel/perf_regs.c: In function 'perf_reg_abi': >> arch/arm64/kernel/perf_regs.c:41:2: error: impl

Re: [PATCH] Route keyboard LEDs through the generic LEDs layer.

2014-04-07 Thread Samuel Thibault
Dmitry Torokhov, le Sun 06 Apr 2014 19:10:15 -0700, a écrit : > On Mon, Mar 31, 2014 at 02:23:23PM +0200, Samuel Thibault wrote: > > This permits to reassign keyboard LEDs to something else than keyboard > > "leds" > > state, by adding keyboard led and modifier triggers connected to a series > > o

Re: [PATCH v6 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-04-07 Thread Paul Bolle
On Thu, 2014-03-20 at 09:20 +, Lee Jones wrote: > This is a new driver. It's used to communicate with a special type of > optimised Serial Flash Controller called the FSM. The FSM uses a subset > of the SPI protocol to communicate with supported NOR-Flash devices. > > Acked-by Angus Clark > S

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Arnd Bergmann
On Monday 07 April 2014 08:38:28 Mike Looijmans wrote: > index 34aef81..43b90c1 100644 > --- a/drivers/mmc/host/sdhci.c > +++ b/drivers/mmc/host/sdhci.c > @@ -2972,6 +2972,8 @@ int sdhci_add_host(struct sdhci_host *host) > host->vqmmc = regulator_get_optional(mmc_dev(mmc), "vqmmc"); >

Re: [PATCH -mm 2/3] lockdep: mark rwsem_acquire_read as recursive

2014-04-07 Thread Peter Zijlstra
On Sun, Apr 06, 2014 at 07:33:51PM +0400, Vladimir Davydov wrote: > rw_semaphore implementation allows recursing calls to down_read, but > lockdep thinks that it doesn't. As a result, it will complain > false-positively, e.g. if we do not observe some predefined locking > order when taking an rw se

Re: [tip:sched/core] sched/numa: Move task_numa_free() to __put_task_struct()

2014-04-07 Thread Peter Zijlstra
On Mon, Apr 07, 2014 at 09:30:30AM +0200, Mike Galbraith wrote: > - double_lock(&my_grp->lock, &grp->lock); > + BUG_ON(irqs_disabled()); > + double_lock_irq(&my_grp->lock, &grp->lock); So either make this: local_irq_disable(); double_lock(); or > > for (i = 0

Re: [V5 0/4] perf: New conditional branch filter

2014-04-07 Thread Anshuman Khandual
On 03/25/2014 09:46 PM, Andi Kleen wrote: >> Hey Arnaldo, >> >> Do you have any comments or suggestions on this ? Have not received any >> response on these proposed patch series yet. Thank you. > > I read it earlier and it looks good to me. Hey Andi, Can I add your "Reviewed-by" or "Acked-by" t

[PATCH] imx-drm: imx-drm-core: Fix imx_drm_encoder_get_mux_id

2014-04-07 Thread Philipp Zabel
The decoder mux id is equal to the port id of the encoder's input port that is connected to the given crtc, not to the endpoint id (which is arbitrary and usually zero). Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/imx-drm-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH -mm 2/3] lockdep: mark rwsem_acquire_read as recursive

2014-04-07 Thread Vladimir Davydov
On 04/07/2014 12:13 PM, Peter Zijlstra wrote: > On Sun, Apr 06, 2014 at 07:33:51PM +0400, Vladimir Davydov wrote: >> rw_semaphore implementation allows recursing calls to down_read, but >> lockdep thinks that it doesn't. As a result, it will complain >> false-positively, e.g. if we do not observe s

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Liviu Dudau
On Sat, Apr 05, 2014 at 01:19:53AM +0100, Bjorn Helgaas wrote: > On Fri, Mar 14, 2014 at 03:34:27PM +, Liviu Dudau wrote: > > Some architectures do not share x86 simple view of the PCI I/O space > > and instead use a range of addresses that map to bus addresses. For > > some architectures these

[GIT PULL] MFD pull-request for v3.15

2014-04-07 Thread Lee Jones
Hi Linus, The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-for-linus-3.15 for you to fetch changes up to 2d28ca

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Liviu Dudau
On Sun, Apr 06, 2014 at 10:49:53AM +0100, Benjamin Herrenschmidt wrote: > On Fri, 2014-04-04 at 18:19 -0600, Bjorn Helgaas wrote: > > > Introduce a pci_register_io_range() helper function that can be used > > > by the architecture code to keep track of the I/O ranges described by the > > > PCI bind

Re: [tip:sched/core] sched/numa: Move task_numa_free() to __put_task_struct()

2014-04-07 Thread Mike Galbraith
On Mon, 2014-04-07 at 10:16 +0200, Peter Zijlstra wrote: > On Mon, Apr 07, 2014 at 09:30:30AM +0200, Mike Galbraith wrote: > > - double_lock(&my_grp->lock, &grp->lock); > > + BUG_ON(irqs_disabled()); > > + double_lock_irq(&my_grp->lock, &grp->lock); > > So either make this: > > local

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-07 Thread Liviu Dudau
On Sat, Apr 05, 2014 at 01:00:07AM +0100, Bjorn Helgaas wrote: > On Fri, Mar 14, 2014 at 03:34:30PM +, Liviu Dudau wrote: > > Make it easier to discover the domain number of a bus by storing > > the number in pci_host_bridge for the root bus. Several architectures > > have their own way of stor

[PATCH] driver core: Move driver_data back to struct device

2014-04-07 Thread Jean Delvare
Having to allocate memory as part of dev_set_drvdata() is a problem because that memory may never get freed if the device itself is not created. So move driver_data back to struct device. This is a partial revert of commit b4028437. Signed-off-by: Jean Delvare Cc: Greg Kroah-Hartman --- Greg, w

Re: [PATCH] i2c-designware: Mask interrupts during i2c controller enable

2014-04-07 Thread Westerberg, Mika
On Sun, Apr 06, 2014 at 06:58:18PM +0100, One Thousand Gnomes wrote: > On Sat, 5 Apr 2014 09:13:16 +0300 > "Westerberg, Mika" wrote: > > > On Sat, Apr 05, 2014 at 12:54:33AM +0300, Du, Wenkai wrote: > > > >Interrupt masking is done already after each transaction. > > > > > > At end of transfer,

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-07 Thread sundeep subbaraya
Hi Michal, On Thu, Apr 3, 2014 at 8:53 PM, Michal Simek wrote: >>> +struct xusb_udc { >>> +struct usb_gadget gadget; >>> +struct xusb_ep ep[8]; >>> +struct usb_gadget_driver *driver; >>> +struct cmdbuf ch9cmd; >>> +u32 usb_state; >>> +u32 remote_wkp; >>> +unsigned int

Re: [PATCH v2 0/2] i2c-designware-pci: Add Haswell ULT device support

2014-04-07 Thread Mika Westerberg
On Sun, Apr 06, 2014 at 05:31:04PM +0200, Wolfram Sang wrote: > On Sun, Apr 06, 2014 at 04:54:24PM +0300, Kirill A. Shutemov wrote: > > On Mon, Oct 21, 2013 at 07:14:28PM +0300, Mika Westerberg wrote: > > > On Mon, Oct 21, 2013 at 08:05:42AM -0700, Benson Leung wrote: > > > > Fixed 25Mhz clock inst

[PATCH] perf: Prevent false warning in perf_swevent_add

2014-04-07 Thread Jiri Olsa
The perf cpu offline callback takes down all cpu context events and releases swhash->swevent_hlist. This could race with task context software event being just scheduled on this cpu via perf_swevent_add while cpu hotplug code already cleaned up event's data. The race happens in the gap between th

Re: 3.14 tc oops

2014-04-07 Thread Daniel Borkmann
[Kelly, please also cc netdev] On 04/07/2014 07:56 AM, Cong Wang wrote: On Thu, Apr 3, 2014 at 9:24 AM, Cong Wang wrote: On Wed, Apr 2, 2014 at 7:24 AM, Kelly Anderson wrote: Hi, I hit a kernel oops when starting traffic control on my armv7 router, I don't think the architecture is related,

Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-04-07 Thread Maxime Ripard
Hi, On Thu, Jan 23, 2014 at 11:16:01AM -0800, Curt Brune wrote: > Create a new hardware class under /sys/class/eeprom_dev > > EEPROM drivers can register their devices with the eeprom_dev class > during instantiation. > > The registered devices show up as: > > /sys/class/eeprom_dev/eeprom0 >

Re: [PATCH v6 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-04-07 Thread Lee Jones
> > This is a new driver. It's used to communicate with a special type of > > optimised Serial Flash Controller called the FSM. The FSM uses a subset > > of the SPI protocol to communicate with supported NOR-Flash devices. > > > > Acked-by Angus Clark > > Signed-off-by: Lee Jones > > This patch

Re: [tip:sched/core] sched/numa: Move task_numa_free() to __put_task_struct()

2014-04-07 Thread Mike Galbraith
On Mon, 2014-04-07 at 10:16 +0200, Peter Zijlstra wrote: > On Mon, Apr 07, 2014 at 09:30:30AM +0200, Mike Galbraith wrote: > > - double_lock(&my_grp->lock, &grp->lock); > > + BUG_ON(irqs_disabled()); > > + double_lock_irq(&my_grp->lock, &grp->lock); > > So either make this: > > local

Re: Things I wish I'd known about Inotify

2014-04-07 Thread Jan Kara
On Sun 06-04-14 11:00:29, Michael Kerrisk (man-pages) wrote: > On 04/04/2014 02:43 PM, Jan Kara wrote: > > On Fri 04-04-14 09:35:50, Michael Kerrisk (man-pages) wrote: > >> On 04/03/2014 10:52 PM, Jan Kara wrote: > >>> On Thu 03-04-14 08:34:44, Michael Kerrisk (man-pages) wrote: > > [...] > > >>>

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-07 Thread Benjamin Herrenschmidt
On Mon, 2014-04-07 at 09:46 +0100, Liviu Dudau wrote: > > *My* strategy is to get rid of pci_domain_nr(). I don't see why we need > to have arch specific way of providing the number, specially after looking > at the existing implementations that return a value from a variable that > is never touch

Re: GFS2: Pull request (merge window)

2014-04-07 Thread Steven Whitehouse
Hi, On Fri, 2014-04-04 at 14:52 -0700, Linus Torvalds wrote: > On Tue, Apr 1, 2014 at 4:15 PM, Steven Whitehouse wrote: > > > > Please consider pulling the following changes > > This pull request is also missing shortlog and diffstat, like Jeff > Layton's did. Did we have some tooling failure, o

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Benjamin Herrenschmidt
On Mon, 2014-04-07 at 09:35 +0100, Liviu Dudau wrote: > Thanks for the summary, is really useful as I was recently looking > into code in that > area. One thing I was trying to understand is why ppc needs _IO_BASE > at all rather > than using the generic PCI_IOBASE? Perhaps because our code preda

Re: [PATCH v6 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-04-07 Thread Paul Bolle
On Mon, 2014-04-07 at 10:11 +0100, Lee Jones wrote: > > > diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig > > > index 0128138..1210bc2 100644 > > > --- a/drivers/mtd/devices/Kconfig > > > +++ b/drivers/mtd/devices/Kconfig > > > @@ -210,6 +210,14 @@ config MTD_DOCG3 > > >

[PATCH -mm v2 0/2] slab: cleanup mem hotplug synchronization

2014-04-07 Thread Vladimir Davydov
Hi, kmem_cache_{create,destroy,shrink} need to get a stable value of cpu/node online mask, because they init/destroy/access per-cpu/node kmem_cache parts, which can be allocated or destroyed on cpu/mem hotplug. To protect against cpu hotplug, these functions use {get,put}_online_cpus. However, the

[PATCH -mm v2 2/2] slab: get_online_mems for kmem_cache_{create,destroy,shrink}

2014-04-07 Thread Vladimir Davydov
When we create a sl[au]b cache, we allocate kmem_cache_node structures for each online NUMA node. To handle nodes taken online/offline, we register memory hotplug notifier and allocate/free kmem_cache_node corresponding to the node that changes its state for each kmem cache. To synchronize between

[PATCH -mm v2 1/2] mem-hotplug: implement get/put_online_mems

2014-04-07 Thread Vladimir Davydov
{un}lock_memory_hotplug, which is used to synchronize against memory hotplug, is currently backed by a mutex, which makes it a bit of a hammer - threads that only want to get a stable value of online nodes mask won't be able to proceed concurrently. Also, it imposes some strong locking ordering rul

Re: [PATCH] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-07 Thread Srivatsa S. Bhat
Hi Michael, On 04/04/2014 09:18 AM, Michael wang wrote: > Hi, Srivatsa > > Thanks for your reply :) > > On 04/03/2014 04:50 PM, Srivatsa S. Bhat wrote: > [snip] >> >> Now, the interesting thing to note here is that, if CPU0's node was already >> set as node0, *nothing* should go wrong, since its

[PATCH TRIVIAL] memcg: un-export __memcg_kmem_get_cache

2014-04-07 Thread Vladimir Davydov
It is only used in slab and should not be used anywhere else so there is no need in exporting it. Signed-off-by: Vladimir Davydov --- mm/memcontrol.c |1 - 1 file changed, 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index b4b6aef562fa..874594f57c90 100644 --- a/mm/memcontro

Re: [PATCH 6/7] gpio: dwapb: use a second irq chip

2014-04-07 Thread Sebastian Andrzej Siewior
On 03/25/2014 10:36 PM, Sebastian Hesselbarth wrote: >> @@ -242,17 +244,28 @@ static void dwapb_configure_irqs(struct dwapb_gpio >> *gpio, >> irq_gc->reg_base = gpio->regs; >> irq_gc->private = gpio; >> >> -ct = irq_gc->chip_types; >> -ct->chip.irq_ack = irq_gc_ack_set_bit; >>

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-07 Thread Liviu Dudau
On Mon, Apr 07, 2014 at 10:14:18AM +0100, Benjamin Herrenschmidt wrote: > On Mon, 2014-04-07 at 09:46 +0100, Liviu Dudau wrote: > > > > *My* strategy is to get rid of pci_domain_nr(). I don't see why we need > > to have arch specific way of providing the number, specially after looking > > at the

[PATCH 2/5] gpio: dwapb: use irq_linear_revmap() for the faster lookup

2014-04-07 Thread Sebastian Andrzej Siewior
According to irq_linear_revmap() comment, it is slightly faster compared to irq_find_mapping() since we don't use a radix tree but a linear mapping. Signed-off-by: Sebastian Andrzej Siewior --- drivers/gpio/gpio-dwapb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH 3/5] gpio: dwapb: use irq_gc_lock() for locking instead bc's lock

2014-04-07 Thread Sebastian Andrzej Siewior
The generic irq chip uses irq_gc_lock() for locking so the enable/startup and type callbacks should use the same lock. None of those registers (polarity, mask, enable) are used by the gpio part. Signed-off-by: Sebastian Andrzej Siewior --- drivers/gpio/gpio-dwapb.c | 20 +++- 1 f

[PATCH 1/5] gpio: dwapb: drop irq_setup_generic_chip()

2014-04-07 Thread Sebastian Andrzej Siewior
The driver calls irq_alloc_domain_generic_chips() which creates a gc and adds it to gc_list. The driver later then calls irq_setup_generic_chip() which also initializes the gc and adds it to the gc_list() and this corrupts the list. Enable LIST_DEBUG and you see the kernel complain. This isn't requ

[PATCH 5/5] gpio: dwapb: use d->mask instead od BIT(bit)

2014-04-07 Thread Sebastian Andrzej Siewior
d->mask contains exact the same information as BIT(bit) so we could save a few cycles here. Signed-off-by: Sebastian Andrzej Siewior --- drivers/gpio/gpio-dwapb.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/

patches for the synopsys gpio controller, rount 3

2014-04-07 Thread Sebastian Andrzej Siewior
Hi, my queue, updated with latest comments I recevied. #1 fixes a list corruption bug #4 enabled mixed edge/level user the dts changes are not part of the series as I believe that they have been already picked up by the maintainer(s). Sebastian -- To unsubscribe from this list: send the line "u

[PATCH 4/5] gpio: dwapb: use a second irq chip

2014-04-07 Thread Sebastian Andrzej Siewior
Right new have one irq chip running always in level mode. It would nicer to have two irq chips where one is handling level type interrupts and the other one is doing edge interrupts. So we can have at runtime two users where one is using edge and the other level. Signed-off-by: Sebastian Andrzej S

Re: [PATCH] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-07 Thread Srivatsa S. Bhat
Hi Michael, On 04/02/2014 08:59 AM, Michael wang wrote: > During the testing, we encounter below WARN followed by Oops: > > WARNING: at kernel/sched/core.c:6218 > ... > NIP [c0101660] .build_sched_domains+0x11d0/0x1200 > LR [c0101358] .build_sched_domains+0

Re: bdi: lockdep warning in bdi_queue_work

2014-04-07 Thread Jan Kara
Hello, On Fri 04-04-14 18:06:37, Sasha Levin wrote: > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel I've stumbled on the following: > > [ 323.192041] INFO: trying to register non-static key. > [ 323.193083] the code is fine but needs lockdep annotation.

Re: Boot crash fix for 68030

2014-04-07 Thread Luís Henriques
On Sun, Apr 06, 2014 at 11:34:46AM +0200, Geert Uytterhoeven wrote: > Please queue the two commits below for stable: > - The second commit fixes a boot crash on 68030, > - The first commit is a prerequisite for the second. > > This fix is needed on all versions that contain commit > e4f2dfbb5e

Re: cscope: issue with symlinks in tools/testing/selftests/powerpc/copyloops/

2014-04-07 Thread Neil Horman
On Thu, Apr 03, 2014 at 03:16:15PM +0200, Yann Droneaud wrote: > Hi, > > I'm using cscope to browse kernel sources, but I'm facing warnings from > the tool since following commit: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=22d651dcef536c75f75537290bf3da5038e68b6

proc net statistics

2014-04-07 Thread Ken O'Brien
Hi, I was under the impression that statistics reported in /proc/{$pid}/net/dev were specific to that process, but the values appear to be globals, i.e., identical for all processes. Is this a bug? Regards, Ken signature.asc Description: This is a digitally signed message part

[PATCH] slub: fix memcg_propagate_slab_attrs

2014-04-07 Thread Vladimir Davydov
After creating a cache for a memcg we should initialize its sysfs attrs with the values from its parent. That's what memcg_propagate_slab_attrs is for. Currently it's broken - we clearly muddled root-vs-memcg caches there. Let's fix it up. Signed-off-by: Vladimir Davydov --- mm/slub.c | 11 +++

Re: [PATCH 08/20] of/fdt: consolidate built-in dtb section variables

2014-04-07 Thread James Hogan
On 03/04/14 23:16, Rob Herring wrote: > From: Rob Herring > > Unify the various architectures __dtb_start and __dtb_end definitions > moving them into of_fdt.h. > > Signed-off-by: Rob Herring > Cc: Vineet Gupta > Cc: James Hogan > Cc: Ralf Baechle > Cc: Jonas Bonn > Cc: Chris Zankel > Cc:

Re: [PATCH v6 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-04-07 Thread Lee Jones
> > > > diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig > > > > index 0128138..1210bc2 100644 > > > > --- a/drivers/mtd/devices/Kconfig > > > > +++ b/drivers/mtd/devices/Kconfig > > > > @@ -210,6 +210,14 @@ config MTD_DOCG3 > > > > M-Systems and now Sandisk. The sup

Re: [GIT PULL] please pull file locking changes for 3.15

2014-04-07 Thread Jeff Layton
On Mon, 7 Apr 2014 11:37:06 +1000 Stephen Rothwell wrote: > Hi Jeff, > > On Fri, 4 Apr 2014 20:56:24 -0400 Jeff Layton wrote: > > > > Thanks for the feedback and for pulling this in anyway. I'll make sure > > to do all of that on subsequent pull requests. > > Also, please don't rebase what you

[PATCHv3] bq2415x_charger: Fix Atomic Sleep Bug

2014-04-07 Thread Sebastian Reichel
Move sysfs_notify and i2c_transfer calls from bq2415x_notifier_call to bq2415x_timer_work to avoid sleeping in atomic context. This fixes the following bug: [ 7.667449] Workqueue: events power_supply_changed_work [ 7.673034] [] (unwind_backtrace+0x0/0xe0) from [] (show_stack+0x10/0x14) [ 7.68209

Re: [PATCH 08/16] backlight: pwm_bl: set pwm polarity when using platform data

2014-04-07 Thread Thierry Reding
On Wed, Mar 19, 2014 at 02:03:21PM +0100, Alexandre Belloni wrote: > Set inversed polarity when .pwm_active_low is set in the platform_data. With > device tree, this is taken care of by of_pwm_xlate_with_flags(), called from > of_pwm_get(). > > Signed-off-by: Alexandre Belloni > --- > drivers/vi

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Arnd Bergmann
On Monday 07 April 2014 19:13:28 Benjamin Herrenschmidt wrote: > On Mon, 2014-04-07 at 09:35 +0100, Liviu Dudau wrote: > > Thanks for the summary, is really useful as I was recently looking > > into code in that > > area. One thing I was trying to understand is why ppc needs _IO_BASE > > at all rat

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run callsb

2014-04-07 Thread Peter Zijlstra
On Fri, Apr 04, 2014 at 11:26:28AM -0400, David Miller wrote: > From: Peter Zijlstra > Date: Fri, 4 Apr 2014 17:19:42 +0200 > > > The proper way to fix the dev_deactivate_many() is to use wait_event(), > > polling for that state is just daft. Afaict there is no reason the qdisc > > code could not

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run callsb

2014-04-07 Thread Peter Zijlstra
On Fri, Apr 04, 2014 at 11:28:50AM -0400, David Miller wrote: > From: Peter Zijlstra > Date: Fri, 4 Apr 2014 17:19:42 +0200 > > > And the above loop in tcp_output() is a plain memory deadlock, you > > should not loop on allocations like that. If the allocation fails; > > propagate the error. > >

[PATCH] arch:unicore32:mm: add devmem_is_allowed() to support STRICT_DEVMEM

2014-04-07 Thread Chen Gang
unicore32 supports STRICT_DEVMEM, so it needs devmem_is_allowed(), like some of other architectures have done (e.g. arm, powerpc, x86 ...). The related error with allmodconfig: CC drivers/char/mem.o drivers/char/mem.c: In function ‘range_is_allowed’: drivers/char/mem.c:69: error: imp

Re: [PATCH 09/16] avr32/at32ap: switch to the generic PWM framework

2014-04-07 Thread Thierry Reding
On Wed, Mar 19, 2014 at 03:18:20PM +0100, Hans-Christian Egtvedt wrote: > Around Wed 19 Mar 2014 14:03:22 +0100 or thereabout, Alexandre Belloni wrote: > > Switch to the pwm/pwm-atmel driver instead of misc/atmel_pwm > > > > Signed-off-by: Alexandre Belloni > > Acked-by: Hans-Christian Egtvedt

Re: 3.13.?: Strange / dangerous fan policy...

2014-04-07 Thread Rafael J. Wysocki
On Monday, April 07, 2014 01:17:51 AM Manuel Krause wrote: > On 2014-04-06 04:43, Guenter Roeck wrote: > > On 04/05/2014 07:37 PM, Manuel Krause wrote: > >> On 2014-04-01 01:47, Guenter Roeck wrote: > >>> On 03/31/2014 04:37 PM, Manuel Krause wrote: > On 2014-03-20 21:21, Manuel Krause wrote:

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-04-07 Thread Thierry Reding
On Wed, Mar 19, 2014 at 12:09:46AM +0100, Alexandre Belloni wrote: > On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote : > > On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni > > wrote: > > > Set inversed polarity when .active_low is set in the platform_data. With > > > device > > > tree, this is

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-07 Thread Arnd Bergmann
On Monday 07 April 2014 09:31:20 Liviu Dudau wrote: > On Sat, Apr 05, 2014 at 01:19:53AM +0100, Bjorn Helgaas wrote: > > > Host bridges on x86 could have MMIO apertures that turn CPU memory accesses > > into PCI port accesses. We could implement any number of I/O port spaces > > this way, by makin

Re: [PATCHv3 1/3] pwm: make the PWM_POLARITY flag in DTB optional

2014-04-07 Thread Thierry Reding
On Wed, Apr 02, 2014 at 07:53:50AM +0200, Sascha Hauer wrote: > On Fri, Mar 28, 2014 at 09:48:58AM +0100, Lothar Waßmann wrote: [...] > > @@ -183,8 +173,11 @@ static void of_pwmchip_add(struct pwm_chip *chip) > > return; > > > > if (!chip->of_xlate) { > > - chip->of_xlat

[GIT PULL] CPU hotplug notifiers installation fixes for v3.15-rc1

2014-04-07 Thread Rafael J. Wysocki
Hi Linus, Please consider pulling from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ cpu-hotplug-3.15-rc1 to receive CPU hotplug notifiers registration fixes for v3.15-rc1 with top-most commit a0e247a8059223593f9c5c3d5c1fd50eedf415c0 net/iucv/iucv.c: Fix CPU hotplug cal

[GIT PULL] ARC updates for 3.15 rc1

2014-04-07 Thread Vineet Gupta
Hi Linus, Please pull ARC changes for 3.15 merge window. Thx, -Vineet ---> The following changes since commit b098d6726bbfb94c06d6e1097466187afddae61f: Linux 3.14-rc8 (2014-03-24 19:31:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/ker

[PATCH] drivers: staging: removing never #def'd BP_PROC_SUPPORT

2014-04-07 Thread Jan Moskyto Matejka
BP_PROC_SUPPORT was never defined so removing all the #ifdef'd code including the bp_proc_create() function. Signed-off-by: Jan Moskyto Matejka --- drivers/staging/silicom/bpctl_mod.c | 39 - 1 file changed, 39 deletions(-) diff --git a/drivers/staging/silico

[PATCH] Revert "drm/i915: fix build warning on 32-bit (v2)"

2014-04-07 Thread Jan Moskyto Matejka
This reverts commit 60f2b4af1258c05e6b037af866be81abc24438f7. The same warning has been fixed in e5081a538a565284fec5f30a937d98e460d5e780 and these two commits got merged in 74e99a84de2d0980320612db8015ba606af42114 which caused another warning. Simply, the reverted commit casted the pointer differ

[PATCH] Revert "drm/i915: fix build warning on 32-bit (v2)"

2014-04-07 Thread Jan Moskyto Matejka
This reverts commit 60f2b4af1258c05e6b037af866be81abc24438f7. The same warning has been fixed in e5081a538a565284fec5f30a937d98e460d5e780 and these two commits got merged in 74e99a84de2d0980320612db8015ba606af42114 which caused another warning. Simply, the reverted commit casted the pointer differ

[Query] tick-oneshot: Why do we need to disable interrupts for reading tick_cpu_device.mode

2014-04-07 Thread Viresh Kumar
Hi Thomas, I found this piece of code in tick-oneshot.c: +int tick_oneshot_mode_active(void) +{ + unsigned long flags; + int ret; + + local_irq_save(flags); + ret = __get_cpu_var(tick_cpu_device).mode == TICKDEV_MODE_ONESHOT; + local_irq_restore(flags); + + ret

[PATCH] drivers:cpufreq:unicore32: fix typo issue for 'clk'

2014-04-07 Thread Chen Gang
Need use 'clk' instead of 'mclk', which is the original removed local variable. The related original commit: "652ed95 cpufreq: introduce cpufreq_generic_get() routine" The related error with allmodconfig for unicore32: CC drivers/cpufreq/unicore2-cpufreq.o drivers/cpufreq/unicore2-

Re: [PATCH] ACPI: Update the ownership and developers for ACPI in Kconfig

2014-04-07 Thread Rafael J. Wysocki
On Thursday, April 03, 2014 08:37:30 PM Hanjun Guo wrote: > The UEFI Forum included the ACPI spec in its portfolio in October 2013 > and will host future spec iterations, following the ACPI v5.0a release. > > A UEFI Forum working group named ACPI Specification Working Group (ASWG) > has been estab

Re: [PATCH] drivers:cpufreq:unicore32: fix typo issue for 'clk'

2014-04-07 Thread Viresh Kumar
On 7 April 2014 17:34, Chen Gang wrote: > Need use 'clk' instead of 'mclk', which is the original removed local > variable. > > The related original commit: > > "652ed95 cpufreq: introduce cpufreq_generic_get() routine" > > The related error with allmodconfig for unicore32: > > CC drive

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Mike Looijmans
On 04/07/2014 10:11 AM, Arnd Bergmann wrote: On Monday 07 April 2014 08:38:28 Mike Looijmans wrote: index 34aef81..43b90c1 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2972,6 +2972,8 @@ int sdhci_add_host(struct sdhci_host *host) host->vqmmc = regulator_get_

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Ben Dooks
On 07/04/14 13:09, Mike Looijmans wrote: On 04/07/2014 10:11 AM, Arnd Bergmann wrote: On Monday 07 April 2014 08:38:28 Mike Looijmans wrote: index 34aef81..43b90c1 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2972,6 +2972,8 @@ int sdhci_add_host(struct sdhci_host *ho

Re: [PATCH v2 2/5] ARM: zynq: dt: Convert to preprocessor includes

2014-04-07 Thread Mike Looijmans
On 04/07/2014 07:58 AM, Michal Simek wrote: Hi Soren, On 04/05/2014 01:14 AM, Soren Brinkmann wrote: Convert all Zynq DT files to the dtc preprocessor include syntax. This allows to include header files in the devicetrees like other SoC-types already do. Inspired-by: Steffen Trumtrar (http:/

[PATCH 1/2] regulator: s5m8767: Fix carried over ena_gpio assignment

2014-04-07 Thread Krzysztof Kozlowski
During registration of regulators if external control for regulator was set in DTS the ena_gpio and ena_gpio_flags fields of regulator_config were set to proper values. However the same regulator_config was used in next iterations of loop so the ena_gpio fields carried over to next regulators. Th

[PATCH 2/2] regulator: s5m8767: Remove regulator_dev pointer from state container

2014-04-07 Thread Krzysztof Kozlowski
Don't store pointer to regulator_dev returned by devm_regulator_register() in state container. It isn't used anywhere outside of probe. Signed-off-by: Krzysztof Kozlowski --- drivers/regulator/s5m8767.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/driv

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Ben Dooks
On 07/04/14 13:16, Ben Dooks wrote: On 07/04/14 13:09, Mike Looijmans wrote: On 04/07/2014 10:11 AM, Arnd Bergmann wrote: On Monday 07 April 2014 08:38:28 Mike Looijmans wrote: index 34aef81..43b90c1 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2972,6 +2972,8 @@ int

Re: [V5 0/4] perf: New conditional branch filter

2014-04-07 Thread Andi Kleen
On Mon, Apr 07, 2014 at 01:50:26PM +0530, Anshuman Khandual wrote: > On 03/25/2014 09:46 PM, Andi Kleen wrote: > >> Hey Arnaldo, > >> > >> Do you have any comments or suggestions on this ? Have not received any > >> response on these proposed patch series yet. Thank you. > > > > I read it earlier

Re: [PATCH v2 2/5] ARM: zynq: dt: Convert to preprocessor includes

2014-04-07 Thread Michal Simek
Hi Mike, On 04/07/2014 02:17 PM, Mike Looijmans wrote: > On 04/07/2014 07:58 AM, Michal Simek wrote: >> Hi Soren, >> >> On 04/05/2014 01:14 AM, Soren Brinkmann wrote: >>> Convert all Zynq DT files to the dtc preprocessor include syntax. >>> This allows to include header files in the devicetrees li

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Arnd Bergmann
On Monday 07 April 2014 13:18:54 Ben Dooks wrote: > On 07/04/14 13:16, Ben Dooks wrote: > > On 07/04/14 13:09, Mike Looijmans wrote: > >> On 04/07/2014 10:11 AM, Arnd Bergmann wrote: > >>> On Monday 07 April 2014 08:38:28 Mike Looijmans wrote: > index 34aef81..43b90c1 100644 > --- a/drive

Re: [PATCH 5/5] gpio: dwapb: use d->mask instead od BIT(bit)

2014-04-07 Thread Gerhard Sittig
On Mon, 2014-04-07 at 12:13 +0200, Sebastian Andrzej Siewior wrote: > > d->mask contains exact the same information as BIT(bit) so we could save > a few cycles here. ISTR that the benefit of saving cycles was questioned in previous review comments. On ARM, the shift "comes for free". I'm not sa

Re: [GIT PULL] please pull file locking changes for 3.15

2014-04-07 Thread Stephen Rothwell
Hi Jeff, On Mon, 7 Apr 2014 07:11:30 -0400 Jeff Layton wrote: > > On Mon, 7 Apr 2014 11:37:06 +1000 > Stephen Rothwell wrote: > > > On Fri, 4 Apr 2014 20:56:24 -0400 Jeff Layton wrote: > > > > > > Thanks for the feedback and for pulling this in anyway. I'll make sure > > > to do all of that on

Re: [PATCH 3.2 00/18] 3.2.57-rc1 review

2014-04-07 Thread Ben Hutchings
On Sun, 2014-04-06 at 20:55 -0700, Guenter Roeck wrote: > On 04/06/2014 04:35 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.57 release. > > There are 18 patches in this series, which will be posted as responses > > to this one. If anyone has any issues with

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-04-07 Thread Mike Looijmans
On 04/07/2014 02:25 PM, Arnd Bergmann wrote: On Monday 07 April 2014 13:18:54 Ben Dooks wrote: On 07/04/14 13:16, Ben Dooks wrote: On 07/04/14 13:09, Mike Looijmans wrote: On 04/07/2014 10:11 AM, Arnd Bergmann wrote: On Monday 07 April 2014 08:38:28 Mike Looijmans wrote: index 34aef81..43b9

Re: [PATCH] scsi: lpfc: lpfc_init: use kcalloc for allocating memory

2014-04-07 Thread Matei Oprea
Any comments on this ? ᐧ On Tue, Mar 18, 2014 at 10:51 PM, Matei Oprea wrote: > It's easier to use kcalloc for allocating arrays. While at it > also remove useless casting value. > > Signed-off-by: Matei Oprea > Cc: ROSEdu Kernel Community > --- > drivers/scsi/lpfc/lpfc_init.c |4 ++-- > 1

Re: [PATCH] staging: cxt1e1: hwprobe: fix incorrect type in assignment

2014-04-07 Thread Matei Oprea
Any comments on this ? ᐧ On Sun, Mar 23, 2014 at 2:13 PM, Matei Oprea wrote: > This patch fixes "incorrect type in argument 1" warning from sparse. > > Signed-off-by: Matei Oprea > Cc: ROSEdu Kernel Community > --- > drivers/staging/cxt1e1/hwprobe.c |6 +++--- > drivers/staging/cxt1e

Re: [PATCH 1/2] regulator: s5m8767: Fix carried over ena_gpio assignment

2014-04-07 Thread Mark Brown
On Mon, Apr 07, 2014 at 02:15:23PM +0200, Krzysztof Kozlowski wrote: > During registration of regulators if external control for regulator was > set in DTS the ena_gpio and ena_gpio_flags fields of regulator_config > were set to proper values. Applied, thanks. signature.asc Description: Digital

Re: [PATCH 2/2] regulator: s5m8767: Remove regulator_dev pointer from state container

2014-04-07 Thread Mark Brown
On Mon, Apr 07, 2014 at 02:15:24PM +0200, Krzysztof Kozlowski wrote: > Don't store pointer to regulator_dev returned by > devm_regulator_register() in state container. It isn't used anywhere > outside of probe. Applied, thanks. signature.asc Description: Digital signature

  1   2   3   4   5   >