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

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:

[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:

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. >

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

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

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 > --- >

[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) [

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

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

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:

[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

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

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: > >

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 >

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

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]

[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

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

[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

[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

[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

[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

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

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; >>

[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 ---

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

[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

[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

[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,

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 > > >

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

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,

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

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 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

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: 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

[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

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

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] 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: [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(_grp->lock, >lock); > > + BUG_ON(irqs_disabled()); > > + double_lock_irq(_grp->lock, >lock); > > So either make this: > > local_irq_disable();

[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,

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

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(_grp->lock, >lock); > > + BUG_ON(irqs_disabled()); > > + double_lock_irq(_grp->lock, >lock); > > So either make this: > > local_irq_disable();

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

[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

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

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

[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: [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"

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(_grp->lock, >lock); > + BUG_ON(irqs_disabled()); > + double_lock_irq(_grp->lock, >lock); So either make this: local_irq_disable(); double_lock(); or > > for (i = 0; i <

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

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 >

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] 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 > >

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:

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

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, th...@altera.com wrote: >>> From: Tien Hock Loh >>> >>> Add driver support for Altera GPIO soft IP, including interrupts and I/O. >>>

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 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,

[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:

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

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

[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

[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

[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

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

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

Re: [PATCH v7 1/2] can: xilinx CAN controller support

2014-04-07 Thread Michal Simek
On 04/02/2014 03:13 PM, Kedareswara rao Appana wrote: > This patch adds xilinx CAN controller support. > This driver supports both ZYNQ CANPS and Soft IP > AXI CAN controller. > > Signed-off-by: Kedareswara rao Appana > --- > Changes for v7: > - Updated the driver with review comments. > - Moved

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

2014-04-07 Thread Mike Looijmans
If vmmc or vqmmc regulators are controlled by an I2C device, the request for the regulator is likely to fail because the I2C bus has not been probed yet. The sdhci then incorrectly assumes that the user never wanted to use a regulator anyway and continues without ever enabling or configuring the

Re: [PATCH] arm, kvm: fix double lock on cpu_add_remove_lock

2014-04-07 Thread Srivatsa S. Bhat
On 04/06/2014 11:06 PM, Ming Lei wrote: > The patch of "arm, kvm: Fix CPU hotplug callback registration" > in -next tree holds the lock before calling the two functions: > > kvm_vgic_hyp_init() > kvm_timer_hyp_init() > > and both the two functions are calling register_cpu_notifier()

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

2014-04-07 Thread Mike Looijmans
If vmmc or vqmmc regulators are controlled by an I2C device, the request for the regulator is likely to fail because the I2C bus has not been probed yet. The sdhci then incorrectly assumes that the user never wanted to use a regulator anyway and continues without ever enabling or configuring the

[patch] clk: st: NULL dereference on error in st_of_clkgen_vcc_setup()

2014-04-07 Thread Dan Carpenter
There are two allocations where, if they fail, then we end up dereferencing the NULL pointer in the error handling code. Fixes: 94885faf9dbc ('clk: st: Support for DIVMUX and PreDiv Clocks') Signed-off-by: Dan Carpenter diff --git a/drivers/clk/st/clkgen-mux.c b/drivers/clk/st/clkgen-mux.c

Re: [PATCH 0/5] Volatile Ranges (v12) & LSF-MM discussion fodder

2014-04-07 Thread Minchan Kim
On Wed, Apr 02, 2014 at 03:27:44PM -0400, Johannes Weiner wrote: > On Wed, Apr 02, 2014 at 08:31:13PM +0200, Andrea Arcangeli wrote: > > Hi everyone, > > > > On Tue, Apr 01, 2014 at 09:03:57PM -0700, John Stultz wrote: > > > So between zero-fill and SIGBUS, I think SIGBUS makes the most sense. If

Re: [PATCH v2] axs_nand - add driver for NAND controller used on Synopsys AXS dev boards

2014-04-07 Thread Alexey Brodkin
Hi Ezequiel, On Fri, 2014-04-04 at 11:09 -0300, Ezequiel Garcia wrote: > On Apr 04, Alexey Brodkin wrote: > > Signed-off-by: Alexey Brodkin > > > > Maybe it would be nice adding some driver description here, so the commit > log actually says something useful about the commit. Well, I thought

Re: [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support

2014-04-07 Thread Raghavendra K T
On 04/02/2014 06:57 PM, Waiman Long wrote: N.B. Sorry for the duplicate. This patch series were resent as the original one was rejected by the vger.kernel.org list server due to long header. There is no change in content. v7->v8: - Remove one unneeded atomic operation from the

Re: [PATCH 0/5] Volatile Ranges (v12) & LSF-MM discussion fodder

2014-04-07 Thread Minchan Kim
Hello Andrea, On Wed, Apr 02, 2014 at 08:31:13PM +0200, Andrea Arcangeli wrote: > Hi everyone, > > On Tue, Apr 01, 2014 at 09:03:57PM -0700, John Stultz wrote: > > So between zero-fill and SIGBUS, I think SIGBUS makes the most sense. If > > you have a third option you're thinking of, I'd of

Re: [RFC PATCH] virtio-net: reset virtqueue affinity when doing cpu hotplug

2014-04-07 Thread Igor Mammedov
On Thu, 27 Dec 2012 11:43:30 +0800 Wanlong Gao wrote: > On 12/27/2012 11:28 AM, Jason Wang wrote: > > On 12/26/2012 06:19 PM, Wanlong Gao wrote: > >> On 12/26/2012 06:06 PM, Jason Wang wrote: > >>> On 12/26/2012 03:06 PM, Wanlong Gao wrote: > Add a cpu notifier to virtio-net, so that we can

Re: [PATCH 06/10] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-04-07 Thread Michal Simek
On 04/05/2014 12:58 PM, Pankaj Dubey wrote: > On 04/03/2014 06:07 PM, Sylwester Nawrocki wrote: >> On 02/04/14 14:15, Michal Simek wrote: There were some patches posted for syscon to make it available in earlier system initialization stage: https://lkml.org/lkml/2014/2/19/218 >>> I

Re: [PATCH 06/10] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-04-07 Thread Michal Simek
On 04/05/2014 12:58 PM, Pankaj Dubey wrote: On 04/03/2014 06:07 PM, Sylwester Nawrocki wrote: On 02/04/14 14:15, Michal Simek wrote: There were some patches posted for syscon to make it available in earlier system initialization stage: https://lkml.org/lkml/2014/2/19/218 I haven't finished

Re: [RFC PATCH] virtio-net: reset virtqueue affinity when doing cpu hotplug

2014-04-07 Thread Igor Mammedov
On Thu, 27 Dec 2012 11:43:30 +0800 Wanlong Gao gaowanl...@cn.fujitsu.com wrote: On 12/27/2012 11:28 AM, Jason Wang wrote: On 12/26/2012 06:19 PM, Wanlong Gao wrote: On 12/26/2012 06:06 PM, Jason Wang wrote: On 12/26/2012 03:06 PM, Wanlong Gao wrote: Add a cpu notifier to virtio-net, so

Re: [PATCH 0/5] Volatile Ranges (v12) LSF-MM discussion fodder

2014-04-07 Thread Minchan Kim
Hello Andrea, On Wed, Apr 02, 2014 at 08:31:13PM +0200, Andrea Arcangeli wrote: Hi everyone, On Tue, Apr 01, 2014 at 09:03:57PM -0700, John Stultz wrote: So between zero-fill and SIGBUS, I think SIGBUS makes the most sense. If you have a third option you're thinking of, I'd of course be

Re: [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support

2014-04-07 Thread Raghavendra K T
On 04/02/2014 06:57 PM, Waiman Long wrote: N.B. Sorry for the duplicate. This patch series were resent as the original one was rejected by the vger.kernel.org list server due to long header. There is no change in content. v7-v8: - Remove one unneeded atomic operation from the

Re: [PATCH v2] axs_nand - add driver for NAND controller used on Synopsys AXS dev boards

2014-04-07 Thread Alexey Brodkin
Hi Ezequiel, On Fri, 2014-04-04 at 11:09 -0300, Ezequiel Garcia wrote: On Apr 04, Alexey Brodkin wrote: Signed-off-by: Alexey Brodkin abrod...@synopsys.com Maybe it would be nice adding some driver description here, so the commit log actually says something useful about the commit.

Re: [PATCH 0/5] Volatile Ranges (v12) LSF-MM discussion fodder

2014-04-07 Thread Minchan Kim
On Wed, Apr 02, 2014 at 03:27:44PM -0400, Johannes Weiner wrote: On Wed, Apr 02, 2014 at 08:31:13PM +0200, Andrea Arcangeli wrote: Hi everyone, On Tue, Apr 01, 2014 at 09:03:57PM -0700, John Stultz wrote: So between zero-fill and SIGBUS, I think SIGBUS makes the most sense. If you

[patch] clk: st: NULL dereference on error in st_of_clkgen_vcc_setup()

2014-04-07 Thread Dan Carpenter
There are two allocations where, if they fail, then we end up dereferencing the NULL pointer in the error handling code. Fixes: 94885faf9dbc ('clk: st: Support for DIVMUX and PreDiv Clocks') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/clk/st/clkgen-mux.c

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

2014-04-07 Thread Mike Looijmans
If vmmc or vqmmc regulators are controlled by an I2C device, the request for the regulator is likely to fail because the I2C bus has not been probed yet. The sdhci then incorrectly assumes that the user never wanted to use a regulator anyway and continues without ever enabling or configuring the

Re: [PATCH] arm, kvm: fix double lock on cpu_add_remove_lock

2014-04-07 Thread Srivatsa S. Bhat
On 04/06/2014 11:06 PM, Ming Lei wrote: The patch of arm, kvm: Fix CPU hotplug callback registration in -next tree holds the lock before calling the two functions: kvm_vgic_hyp_init() kvm_timer_hyp_init() and both the two functions are calling register_cpu_notifier() to

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

2014-04-07 Thread Mike Looijmans
If vmmc or vqmmc regulators are controlled by an I2C device, the request for the regulator is likely to fail because the I2C bus has not been probed yet. The sdhci then incorrectly assumes that the user never wanted to use a regulator anyway and continues without ever enabling or configuring the

Re: [PATCH v7 1/2] can: xilinx CAN controller support

2014-04-07 Thread Michal Simek
On 04/02/2014 03:13 PM, Kedareswara rao Appana wrote: This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com --- Changes for v7: - Updated the driver with review comments.

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:32:56

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 mon...@monstr.eu wrote: On 04/04/2014 03:32 PM, Rob Herring wrote: On Fri, Apr 4, 2014 at 8:22 AM, Michal Simek mon...@monstr.eu wrote: On 04/04/2014 03:00 PM, Rob Herring wrote: On Fri, Apr 4, 2014 at

[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

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 based on

[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 k.kozlow...@samsung.com --- drivers/clk/clk-s2mps11.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[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 k.kozlow...@samsung.com ---

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