Re: [alsa-devel] [PATCH] sound: pci: au88x0: printk replacement

2014-09-09 Thread Takashi Iwai
At Mon, 8 Sep 2014 22:48:03 +0530, Sudip Mukherjee wrote: > > as pr_* macros are more preffered over printk, so printk replaced > with corresponding pr_* macros. > this patch will generate warning from checkpatch as it only did printk > replacement and didnot fixed other style issues. > > Signe

Re: [PATCH RESEND v4] sched: fix llc shared map unreleased during cpu hotplug

2014-09-09 Thread Mike Galbraith
Hm, this patchlet seems to be having trouble taking wing. (tosses it up in the air.. flap yer little wings patchlet) I thought you had changed the title to.. x86,cpu-hotplug: clear llc_shared_mask at CPU hotplug ..due to Peter saying sched is only a consumer, but v4 somehow reverted back to bei

Re: [GIT PULL] EFI urgent fixes

2014-09-09 Thread Matt Fleming
On Tue, 09 Sep, at 07:07:49AM, Ingo Molnar wrote: > > So please only put the 3 regression fixes into efi-urgent, the > rest can go into the v3.18 pile. OK, I'll sort that out. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH] f2fs: Fix recover when nid of non-inode dnode < nid of inode

2014-09-09 Thread Jaegeuk Kim
Hi, On Tue, Sep 09, 2014 at 01:39:30PM +0800, Huang Ying wrote: > On Mon, 2014-09-08 at 22:23 -0700, Jaegeuk Kim wrote: > > Hi Huang, > > > > On Mon, Sep 08, 2014 at 07:38:26PM +0800, Huang Ying wrote: > > > For fsync, if the nid of a non-inode dnode < nid of inode and the > > > inode is not chec

Re: [PATCH v4 4/6] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-09 Thread tangchen
Hi Gleb, On 09/03/2014 11:04 PM, Gleb Natapov wrote: On Wed, Sep 03, 2014 at 09:42:30AM +0800, tangchen wrote: Hi Gleb, On 09/03/2014 12:00 AM, Gleb Natapov wrote: .. +static void vcpu_reload_apic_access_page(struct kvm_vcpu *vcpu) +{ + /* +* apic access page could be migrat

Re: [PATCH] Staging: octeon-hcd: removed unwanted return from void functions

2014-09-09 Thread Dan Carpenter
On Mon, Sep 08, 2014 at 09:09:14PM +0200, Nitin Kuppelur wrote: > Hi Aaro, > > Thanks for review. I will correct the commit log length and resend the patch. > > About the __cvmx_usb_perform_complete(): > Here return statement has associated label. Due to which it will add > compilation warning. S

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 07:59 AM, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > >> Hi Ingo, >> >> Please consider pulling, >> >> - Arnaldo >> >> The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47: >> >> Merge branch 'rfc/perf' into perf/core, because it's ready

Re: [PATCH/RFC 2/5] PM / Domains: Add DT bindings for the R-Mobile System Controller

2014-09-09 Thread Geert Uytterhoeven
Hi Khiem-san, On Tue, Sep 9, 2014 at 12:44 AM, Khiem Nguyen wrote: >> + - #address-cells: Must be 1, >> + - #address-cells: Must be 0. > > Should it be "#size-cells: Must be 0." ? Yes, obviously. Thanks, will fix. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeve

Re: [PATCH] Hibernate: Do not assume the first e820 area to be RAM

2014-09-09 Thread Pavel Machek
On Tue 2014-09-09 00:52:55, Rafael J. Wysocki wrote: > On Monday, August 11, 2014 06:50:52 PM Lee, Chun-Yi wrote: > > In arch/x86/kernel/setup.c::trim_bios_range(), the codes introduced > > by 1b5576e6 (base on d8a9e6a5), it updates the first 4Kb of memory > > to be E820_RESERVED region. That's bec

Re: [PATCH RESEND v4] sched: fix llc shared map unreleased during cpu hotplug

2014-09-09 Thread Wanpeng Li
Hi Mike, On Tue, Sep 09, 2014 at 09:06:32AM +0200, Mike Galbraith wrote: >Hm, this patchlet seems to be having trouble taking wing. > >(tosses it up in the air.. flap yer little wings patchlet) > >I thought you had changed the title to.. > >x86,cpu-hotplug: clear llc_shared_mask at CPU hotplug > >.

linux-next: Tree for Sep 9

2014-09-09 Thread Stephen Rothwell
Hi all, Changes since 20140908: New trees: kselftest-fixes and kselftest The v4l-dvb tree gained a build failure so I used the version from next-20140908. The wireless-next tree still had its build failure for which I applied a suggested fix patch. The drm tree still had its build failure for

Re: [PATCH v2 4/4] staging: ozwpan: use kmalloc_array over kmalloc with multiply

2014-09-09 Thread Tobias Klauser
On 2014-09-08 at 21:02:49 +0200, Adrian Nicoara wrote: > Cleanup checkpatch.pl warnings. Please state which warning this is fixing. Same goes for patches 1-3. > Signed-off-by: Adrian Nicoara > --- > > Somehow I missed the comment Tobias made on the line indentation. I fixed the > patch, and ad

[PATCH] drivers: target: target_core_transport.c: build warning

2014-09-09 Thread Sudip Mukherjee
build is giving : warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [enabled by default] the snprintf after the strlen is trying to put the "Unsupported" string at the end of exising string. so len should give the string length here Signed-off-by: Sudip Mukherjee

Re: [PATCH 1/2] x86, gpio: Increase ARCH_NR_GPIOs to 512

2014-09-09 Thread Linus Walleij
On Mon, Sep 8, 2014 at 1:47 PM, Mika Westerberg wrote: > Some newer Intel SoCs like Braswell already have more than 256 GPIOs > available so the default limit is exceeded. In order to support these add > back the custom GPIO header with limit of 512 GPIOs for x86. > > Signed-off-by: Mika Westerbe

Re: [RESEND PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-09 Thread Matti Vaittinen
On Mon, Sep 08, 2014 at 07:26:57AM -0400, ext Jason Cooper wrote: > Matti, > > On Mon, Sep 08, 2014 at 10:32:24AM +0300, Matti Vaittinen wrote: > > --- > > Here. Otherwise, it'll get included in the commit message, which I > don't think was your intention. Ok, thanks. > > > .../devicetree/bi

Re: [PATCH v2 4/4] staging: ozwpan: use kmalloc_array over kmalloc with multiply

2014-09-09 Thread Dan Carpenter
On Mon, Sep 08, 2014 at 03:02:49PM -0400, Adrian Nicoara wrote: > Cleanup checkpatch.pl warnings. > > Signed-off-by: Adrian Nicoara > --- > > Somehow I missed the comment Tobias made on the line indentation. I fixed the > patch, and added here as a reply - the previous patch should be ignored. >

How to remove a tasklet_struct from tasklet_vec?

2014-09-09 Thread jingguo yao
tasklet_kill clears TASKLET_STATE_SCHED bit. tasklet_action reconstructs the tasklet_vec with TASKLET_STATE_SCHED bit cleared. But it does not remove any tasklet_struct from tasklet_vec. tasklet_kill_immediate can remove a tasklet_struct form tasklet_vec. But it can only run when CPU state is CPU_

Re: [PATCH] drivers: target: target_core_transport.c: build warning

2014-09-09 Thread Sudip Mukherjee
tifier_type); > ret = -EINVAL; > -- > 1.8.1.2 > please discard this patch. This is based on next-20140908 , and the issue has been corrected in next-20140909. thanks sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH v8 00/18] 8250-core based serial driver for OMAP + DMA

2014-09-09 Thread Sebastian Andrzej Siewior
On 09/08/2014 07:55 PM, Tony Lindgren wrote: > * Tony Lindgren [140908 10:41]: >> * Sebastian Andrzej Siewior [140905 12:03]: >>> This is my complete queue fo the omap serial driver based on the 8250 core >>> code. I played with it on beagle bone, am335x-evm and dra7xx including DMA. >>> The runt

Re: [PATCH 2/3] phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family

2014-09-09 Thread Peter Griffin
Hi Kishon, Thanks for reviewing :-) > > +On STiH410, we have to use the DWC3 port#2 with a picoPHY to manage USB2 > > +devices. The USB2 Controller will use the ports #0 and #1. > > + > > +This is to document the DT parameters to be passed from the blob in that > > case. > > + > > +Required prop

Re: [RESEND 2/5] PCIe, AER: Replenish missed AER status bits for AER driver

2014-09-09 Thread Chen, Gong
On Fri, Sep 05, 2014 at 05:15:43PM -0600, Bjorn Helgaas wrote: > Date: Fri, 5 Sep 2014 17:15:43 -0600 > From: Bjorn Helgaas > To: "Chen, Gong" > Cc: rdun...@infradead.org, b...@alien8.de, tony.l...@intel.com, > linux-...@vger.kernel.org, linux-kernel@vger.kernel.org > Subject: Re: [RESEND 2/5] P

Re: [PATCH 2/4] mfd/axp2xx: extend axp20x to support axp288 pmic

2014-09-09 Thread Maxime Ripard
Hi Jacob, I think it would have been nice to have CC'd Carlo Caione, the original writer of the driver on this. On Mon, Sep 08, 2014 at 03:24:04PM -0700, Jacob Pan wrote: > XPower AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar > to AXP202/209, AXP288 comes with USB charger,

[PATCH 2/2] leds: trigger: gpio: make ledtrig-gpio useable with GPIO drivers requiring threaded irqs

2014-09-09 Thread Lothar Waßmann
When trying to use the LED GPIO trigger with e.g. the PCA953x GPIO driver, request_irq() fails with -EINVAL, because the GPIO driver requires a nested interrupt handler. Use request_any_context_irq() to be able to use any GPIO driver as LED trigger. Signed-off-by: Lothar Waßmann --- drivers/led

make ledtrig-gpio useable with GPIO drivers requiring threaded irqs

2014-09-09 Thread Lothar Waßmann
These patches make it possible to use the ledtrig-gpio driver with GPIO drivers that require threaded IRQs (like the PCA953x I2C driver). It has been tested with a PCA9554 chip on an i.MX28 module. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH -v2] f2fs: Remove lock from check_valid_map

2014-09-09 Thread Jaegeuk Kim
On Tue, Sep 09, 2014 at 01:43:46PM +0800, Huang Ying wrote: > On Mon, 2014-09-08 at 22:13 -0700, Jaegeuk Kim wrote: > > Hi Huang, > > > > On Mon, Sep 08, 2014 at 03:36:35PM +0800, huang ying wrote: > > > Hi, Jaegeuk, > > > > > > On Mon, Sep 8, 2014 at 11:50 AM, Jaegeuk Kim wrote: > > > > > > >

[PATCH 1/2] leds: trigger: gpio: fix warning in gpio trigger for gpios whose accessor function may sleep

2014-09-09 Thread Lothar Waßmann
When using a GPIO driver whose accessor functions may sleep (e.g. an I2C GPIO extender like PCA9554) the following warning is issued: WARNING: CPU: 0 PID: 665 at drivers/gpio/gpiolib.c:2274 gpiod_get_raw_value+0x3c/0x48() Modules linked in: CPU: 0 PID: 665 Comm: kworker/0:2 Not tainted 3.16.0-karo

Re: [PATCH 1/2] x86, gpio: Increase ARCH_NR_GPIOs to 512

2014-09-09 Thread H. Peter Anvin
Isn't this exactly what ida is for? Sent from my tablet, pardon any formatting problems. > On Sep 9, 2014, at 0:24, Linus Walleij wrote: > > On Mon, Sep 8, 2014 at 1:47 PM, Mika Westerberg > wrote: > >> Some newer Intel SoCs like Braswell already have more than 256 GPIOs >> available so the d

Re: [PATCH RESEND v4] sched: fix llc shared map unreleased during cpu hotplug

2014-09-09 Thread H. Peter Anvin
I didn't look at it that hard since it claimed to be a sched patch. I prioritize things in my inbox which say x86 for obvious reasons. Since I have over 12,000 unread messages in my inbox alone... Sent from my tablet, pardon any formatting problems. > On Sep 9, 2014, at 0:24, Wanpeng Li wrot

Re: [PATCH] Input: synaptics - add support for ForcePads

2014-09-09 Thread Hans de Goede
Hi, On 09/08/2014 06:55 PM, Dmitry Torokhov wrote: > ForcePads are found on HP EliteBook 1040 laptops. They lack any kind of > physical buttons, instead they generate primary button click when user > presses somewhat hard on the surface of the touchpad. Unfortunately they > also report primary but

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Stephane Eranian
On Tue, Sep 9, 2014 at 9:14 AM, Adrian Hunter wrote: > On 09/09/2014 07:59 AM, Ingo Molnar wrote: >> >> * Arnaldo Carvalho de Melo wrote: >> >>> Hi Ingo, >>> >>> Please consider pulling, >>> >>> - Arnaldo >>> >>> The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47: >>

Re: [RESEND RFC 5/5] PCIe, AER: Update initial value of UC error mask

2014-09-09 Thread Chen, Gong
On Fri, Sep 05, 2014 at 05:34:21PM -0600, Bjorn Helgaas wrote: > Date: Fri, 5 Sep 2014 17:34:21 -0600 > From: Bjorn Helgaas > To: "Chen, Gong" > Cc: rdun...@infradead.org, b...@alien8.de, tony.l...@intel.com, > linux-...@vger.kernel.org, linux-kernel@vger.kernel.org > Subject: Re: [RESEND RFC 5/

[PATCH v2] pinctrl: st: remove gpiochip in failure cases

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Srinivas Kandagatla CC: Srinivas Kandagatla CC: Maxime Coquelin CC: Patrice Chotard CC: Linus Walleij CC: Bjorn Andersson Signed-off-by: Pramod Gurav --- Changes since v1: Dropped

[PATCH] Input: atmel_mxt_ts: Add of node type to the i2c table

2014-09-09 Thread Sjoerd Simons
For i2c devices in OF the modalias exposed to userspace is i2c:, for the Maxtouch driver this is i2c:maxtouch. Add maxtouch to the i2c id table such that userspace can correctly load the module for the device and drop the OF table as it's not needed for i2c devices. Signed-off-by: Sjoerd Simons

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 10:45 AM, Stephane Eranian wrote: > On Tue, Sep 9, 2014 at 9:14 AM, Adrian Hunter wrote: >> On 09/09/2014 07:59 AM, Ingo Molnar wrote: >>> >>> * Arnaldo Carvalho de Melo wrote: >>> Hi Ingo, Please consider pulling, - Arnaldo The following chan

Re: [PATCH v4 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-09-09 Thread Hans de Goede
Hi, On 09/08/2014 06:39 PM, Kumar Gala wrote: > Add support for the Qualcomm AHCI SATA controller that exists on several > SoC and specifically the IPQ806x family of chips. The IPQ806x SATA support > requires the associated IPQ806x SATA PHY Driver to be enabled as well. If I'm reading this drive

[PATCH v1] pinctrl: lantiq: Release gpiochip resources in fail case

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove and gpiochip_remove in failure cases. CC: John Crispin CC: Linus Walleij Signed-off-by: Pramod Gurav --- Changes since v1: Dropped call to of_gpiochip_remove() when ltq_pinctrl_register fails as gpiochip_remove() calls of_gpiochi

Re: [PATCH] GICv3: Fixing 32 bit compatibility

2014-09-09 Thread Uwe Kleine-König
Hello Robert, On Mon, Sep 08, 2014 at 04:11:19PM +0200, Robert Richter wrote: > From: Robert Richter > > Fixing 32 bit compatibility by using ULL for u64 constants. > > Signed-off-by: Robert Richter > --- > drivers/irqchip/irq-gic-v3.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(

Re: [PATCH] x86_64: Add memcpy32_toio to write to PCI MMIO

2014-09-09 Thread Clemens Ladisch
Subhransu S. Prusty wrote: > This is needed because the hardware Which hardware? Every x86-64 CPU ever built by AMD, Intel, and VIA? > does not support 64-bit moveq insructions while writing to PCI MMIO. > +#ifndef CONFIG_X86_64 > +#define MEMCPY_TOIO memcpy_toio > +#else > +#define MEMCPY_TOIO

[PATCH v2] pinctrl: lantiq: Release gpiochip resources in fail case

2014-09-09 Thread Pramod Gurav
This patch releases gpiochip resources with of_gpiochip_remove and gpiochip_remove in failure cases. CC: John Crispin CC: Linus Walleij Signed-off-by: Pramod Gurav --- Changes since v1: Dropped call to of_gpiochip_remove() when ltq_pinctrl_register fails as gpiochip_remove() calls of_gpiochi

[GIT PULL v2] EFI urgent fixes

2014-09-09 Thread Matt Fleming
Folks, this is a resend of the EFI urgent pull request from yesterday with the non-regression-fixing patches dropped as Ingo requested. The patches fix two regressions introduced during the merge window, and one introduced in -rc2. The following changes since commit 52addcf9d6669fa439387610bc65c92

Re: [PATCH -v2] f2fs: Remove lock from check_valid_map

2014-09-09 Thread Huang Ying
On Tue, 2014-09-09 at 00:41 -0700, Jaegeuk Kim wrote: > On Tue, Sep 09, 2014 at 01:43:46PM +0800, Huang Ying wrote: > > On Mon, 2014-09-08 at 22:13 -0700, Jaegeuk Kim wrote: > > > Hi Huang, > > > > > > On Mon, Sep 08, 2014 at 03:36:35PM +0800, huang ying wrote: > > > > Hi, Jaegeuk, > > > > > > >

Re: [PATCH v5 3/4] ARM: dts: add rk3288 dwc2 controller support

2014-09-09 Thread Heiko Stübner
Am Freitag, 8. August 2014, 17:53:45 schrieb Heiko Stübner: > Am Freitag, 8. August 2014, 08:45:16 schrieb Doug Anderson: > > Kever, > > > > On Thu, Aug 7, 2014 at 8:55 PM, Kever Yang > > wrote: > > > rk3288 has two kind of usb controller, this add the dwc2 controller > > > for otg and host1. >

Question about bcache buckets utilization

2014-09-09 Thread Lulina (A)
Hi! Kent Overstreet, I tested bcache branch for jens: http://evilpiepirate.org/git/linux-bcache.git/log/?h=for-jens I have a question about buckets utilization, can you help me to resolve it? This is the test fio cmd: fio -name iops -rw=randwrite -iodepth=32 -numjobs=1 -filename=/dev/bcache0 -io

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-09 Thread Uwe Kleine-König
On Mon, Sep 08, 2014 at 01:44:48PM +0200, Robert Richter wrote: > From: Robert Richter > > Raising the current maximum limit to 64. This is needed for Cavium's > Thunder systems that will have at least 48 cores per die. > > The change keeps the current memory footprint in cpu mask structures. >

RE: [f2fs-dev] f2fs get_dnode_of_data oops

2014-09-09 Thread Chao Yu
Hi Jaegeuk, Looks good to me! One nitpick, how about judging this condition before we lock ->i_mutex to avoid unneeded lock contention and invoking of i_size_read()? Thanks, Yu > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, September 09, 2014 12:42

Re: bit fields && data tearing

2014-09-09 Thread Arnd Bergmann
On Monday 08 September 2014 19:27:14 H. Peter Anvin wrote: > On 09/08/2014 03:43 PM, James Bottomley wrote: > > > > This was years ago (possibly decades). We had to implement in-kernel > > unaligned traps for the networking layer because it could access short > > and int fields that weren't of th

Re: [PATCH 1/4] mfd/axp20x: rename files to support more devices

2014-09-09 Thread Lee Jones
On Mon, 08 Sep 2014, Jacob Pan wrote: > More XPowers PMIC devices can be supported by extending this driver, so > rename it to axp2xx to cover axp288 variant. > > Signed-off-by: Jacob Pan > --- > drivers/mfd/Kconfig| 7 +- > drivers/mfd/Makefile | 2 +- > drivers/mfd/axp20x.c

Re: [PATCH v3 3/4] mfd: max77693: add haptic of_compatible in mfd_cell

2014-09-09 Thread Lee Jones
On Fri, 05 Sep 2014, Jaewon Kim wrote: > This patch add haptic of_compatible in order to use the haptic > device driver using Devicetree. > > Signed-off-by: Jaewon Kim > Acked-by: Chanwoo Choi > --- > drivers/mfd/max77693.c |5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > di

Re: [PATCH v4 08/22] perf: Add AUX record

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:05PM +0300, Alexander Shishkin wrote: > When there's new data in the AUX space, output a record indicating its > offset and size and weather it was truncated to fix in the ring buffer. This patch is too late; it should have been before the patch adding perf_aux_output

Re: [PATCH v3 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-09 Thread Lee Jones
On Mon, 08 Sep 2014, Octavian Purdila wrote: > On Mon, Sep 8, 2014 at 7:30 PM, Johan Hovold wrote: > > On Mon, Sep 08, 2014 at 06:57:29PM +0300, Octavian Purdila wrote: > >> On Mon, Sep 8, 2014 at 5:44 PM, Johan Hovold wrote: > >> > >> > >> > >> Hi Johan, > >> > >> Again, thanks for the detaile

Re: [PATCH v3 0/9] Tegra xHCI support

2014-09-09 Thread Tomeu Vizoso
On 8 September 2014 18:22, Andrew Bresticker wrote: > On Mon, Sep 8, 2014 at 8:34 AM, Tomeu Vizoso wrote: >> On 2 September 2014 23:34, Andrew Bresticker wrote: >>> >>> Tested on Venice2, Jetson TK1, and Big with a variety of USB2.0 and >>> USB3.0 memory sticks and ethernet dongles using control

Re: [PATCH] ARM: dts: Add SPI nodes to rk3288

2014-09-09 Thread Heiko Stübner
Am Freitag, 5. September 2014, 09:53:11 schrieb Doug Anderson: > From: huang lin > > This adds basic SPI nodes to the base rk3288 device tree file. > > A few notes: > * It's assumed that most users of the SPI ports are using chip select > 0. Thus the default pinctrl for the ports enables chip

Re: [PATCH v3 5/5] irqchip: gic: Add support for IPI FIQ

2014-09-09 Thread Daniel Thompson
On 08/09/14 17:23, Russell King - ARM Linux wrote: > On Mon, Sep 08, 2014 at 04:28:35PM +0100, Daniel Thompson wrote: >> @@ -604,8 +731,19 @@ static void gic_raise_softirq(const struct cpumask >> *mask, unsigned int irq) >> { >> int cpu; >> unsigned long flags, map = 0; >> +unsigned

Re: [PATCH v3 0/5] arm: Implement arch_trigger_all_cpu_backtrace

2014-09-09 Thread Daniel Thompson
On 08/09/14 17:24, Russell King - ARM Linux wrote: > On Mon, Sep 08, 2014 at 04:28:30PM +0100, Daniel Thompson wrote: >> * Restructured to sit nicely on a similar FYI patchset from Russell >> King. It now effectively replaces the work in progress final patch >> with something much more complete

Re: [PATCH v2] ARM: dts: Add mshc aliases for rk3288

2014-09-09 Thread Heiko Stübner
Am Mittwoch, 3. September 2014, 16:05:23 schrieb Doug Anderson: > It's convenient (and less confusing to people reading logs) if the > eMMC port on rk3288 is consistenly marked with mmc0 and the sdmmc port > on rk3288 is consistently marked with mmc1. Add the appropriate > aliases. Added to my v3

[PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2014-09-09 Thread Lothar Waßmann
When using e.g. the matrix_keymap driver with the gpio-pca953x driver, the following warning may be issued when a keypress is detected: WARNING: CPU: 0 PID: 3 at kernel/irq/manage.c:677 irq_nested_primary_handler+0x18/0x2c() Primary handler called for nested irq 245 Modules linked in: evbug ci_hdr

[PATCH] Input: matrix_keypad - make driver useable with GPIO drivers requiring threaded irqs

2014-09-09 Thread Lothar Waßmann
When trying to use the matrix-keypad driver with GPIO drivers that require nested irq handlers (e.g. I2C GPIO adapters like PCA9554), request_irq() fails because the GPIO driver requires a threaded interrupt handler. Use request_any_context_irq() to be able to use any GPIO driver as keypad driver.

Re: [PATCH v4 09/22] perf: Support overwrite mode for AUX area

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:06PM +0300, Alexander Shishkin wrote: > This adds support for overwrite mode in the AUX area, which means "keep > collecting data till you're stopped". It does not depend on data buffer's > overwrite mode, so that it doesn't lose sideband data that is instrumental > fo

[PATCH] mmc: mmci_qcom_dml: fix is never less than zero warning.

2014-09-09 Thread Srinivas Kandagatla
This patch fixes a typo which resulted in 'is never less than zero warning' reported by static checker. drivers/mmc/host/mmci_qcom_dml.c:131 dml_hw_init() warn: unsigned 'producer_id' is never less than zero. drivers/mmc/host/mmci_qcom_dml.c 121 /* Initialize the dml hardware

Re: [PATCH 4/5] rtc: at91sam9: retain slow clock and check its rate

2014-09-09 Thread Nicolas Ferre
On 08/09/2014 21:37, Boris BREZILLON : > On Mon, 8 Sep 2014 21:22:18 +0200 > Boris BREZILLON wrote: > >> On Mon, 8 Sep 2014 19:33:38 +0200 >> Alexandre Belloni wrote: >> >>> On 03/09/2014 at 10:45:33 +0200, Boris Brezillon wrote : The RTT block is using the slow clock and expect it to run a

[PATCH 0/6] usb: dwc2/gadget: bugfixes for gadget driver

2014-09-09 Thread Robert Baldyga
Hi, I have splitted my patchset "usb: dwc2/gadget: fix series" into two series. This patch series contains fixes for dwc2/gadget driver. It's intended for 3.17-final. I will also send this patches backported for stable. Best regard Robert Baldyga Kamil Debski (2): usb: dwc2/gadget: fix phy dis

[PATCH 6/6] usb: dwc2/gadget: avoid disabling ep0

2014-09-09 Thread Robert Baldyga
Endpoint 0 should not be disabled, so we start loop counter from number 1. Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 43fd3d5..ce6071d 100644 --- a/dri

[PATCH 2/6] usb: dwc2/gadget: fix phy initialization sequence

2014-09-09 Thread Robert Baldyga
From: Kamil Debski In the Generic PHY Framework a NULL phy is considered to be a valid phy thus the "if (hsotg->phy)" check does not give us the information whether the Generic PHY Framework is used. In addition to the above this patch also removes phy_init from probe and phy_exit from remove. T

[PATCH 5/6] usb: dwc2/gadget: assign TX FIFO dynamically

2014-09-09 Thread Robert Baldyga
Because we have not enough memory to have each TX FIFO of size at least 3072 bytes (the maximum single packet size with 3 transactions per microframe), we create four FIFOs of lenght 1024, and four of length 3072 bytes, and assing them to endpoints dynamically according to maxpacket size value of g

[PATCH 0/6] usb: dwc2/gadget: improvements for gadget driver

2014-09-09 Thread Robert Baldyga
Hi, I have splitted my patchset "usb: dwc2/gadget: fix series" into two series. This patch series contains improvements for dwc2/gadget driver. It's intended for 3.18. Andrzej Pietrasiewicz (1): usb: dwc2/gadget: Fix comment text Kamil Debski (1): usb: dwc2/gadget: move phy bus legth initial

RE: [PATCH v2 1/1] iommu/amd: set iommu for early mapped ioapic/hpet

2014-09-09 Thread Su, Friendy
Hi, Joerg, > The problem you describe here should also be fixed by this (simpler) > patch. Can you test this please? The running result of this patch is correct. My opinion is we should avoid modifying the original data "early_ioapic_map[i].devid" and "devid from IVHD" since they are original d

[PATCH 2/6] usb: dwc2/gadget: Fix comment text

2014-09-09 Thread Robert Baldyga
From: Andrzej Pietrasiewicz Adjust the debug text to the name of the printed variable. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/d

[PATCH 6/6] usb: dwc2/gadget: disable clock when it's not needed

2014-09-09 Thread Robert Baldyga
When device is stopped or suspended clock is not needed so we can disable it for this time. Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 29d7561..94f7a3f 100644

Re: [PATCH v10 07/10] OF: Introduce helper function for getting PCI domain_nr

2014-09-09 Thread Liviu Dudau
On Tue, Sep 09, 2014 at 06:54:21AM +0100, Yijing Wang wrote: > >>> on new requests. This function gets called quite a lot and I'm trying not > >>> to > >>> make it too heavy weight. > >> > >> Generally, nothing should be accessing the same DT value frequently. > >> It should get cached somewhere.

[PATCH 1/6] usb: dwc2/gadget: move phy bus legth initialization

2014-09-09 Thread Robert Baldyga
From: Kamil Debski This patch moves the part of code that initializes the PHY bus width. This results in simpler code and removes the need to check whether the Generic PHY Framework is used. Signed-off-by: Kamil Debski Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drivers

[PATCH 4/6] usb: dwc2/gadget: ensure that all fifos have correct memory buffers

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski Print warning if FIFOs are configured in such a way that they don't fit into the SPRAM available on the s3c hsotg module. Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/core.h | 1 + drivers/usb/dwc2/gadget.c | 15 ++-

[PATCH 3/6] usb: dwc2/gadget: hide some not really needed debug messages

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski Some DWC2/s3c-hsotg debug messages are really useless for typical user, so hide them behind dev_dbg(). Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dri

Re: [PATCH v4 09/22] perf: Support overwrite mode for AUX area

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:06PM +0300, Alexander Shishkin wrote: > diff --git a/kernel/events/ring_buffer.c b/kernel/events/ring_buffer.c > index 925f369947..5006caba63 100644 > --- a/kernel/events/ring_buffer.c > +++ b/kernel/events/ring_buffer.c > @@ -294,9 +295,22 @@ void perf_aux_output_en

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo I am very sorry Arnaldo but 2 patches are older versions, namely: perf tools: Build programs to copy 32-bit compatibility VDSOs perf tools: Add support for 32-bit

Re: [PATCH] eeepc-laptop: remove possible use of uninitialized value

2014-09-09 Thread Paul Bolle
Hi Darren, On Sat, 2014-09-06 at 23:17 +0200, Rafael J. Wysocki wrote: > On Friday, September 05, 2014 07:17:57 PM Darren Hart wrote: > > On Thu, Sep 04, 2014 at 09:08:08AM +0200, Paul Bolle wrote: > > [...] > > > static ssize_t store_sys_acpi(struct device *dev, int cm, > > > @@ -278,12 +276,13

[PATCH 5/6] usb: dwc2/gadget: delay enabling irq once hardware is configured properly

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski This patch fixes kernel panic/interrupt storm/etc issues if bootloader left s3c-hsotg module in enabled state. Now interrupt handler is enabled only after proper configuration of hardware registers. Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drive

[PATCH 4/6] usb: dwc2/gadget: do not call disconnect method in pullup

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski This leads to potential spinlock recursion in composite framework, other udc drivers also don't call it directly from pullup method. Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 1 - 1 file changed, 1 deletion(-) diff --

[PATCH 3/6] usb: dwc2/gadget: break infinite loop in endpoint disable code

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski This patch fixes possible freeze caused by infinite loop in interrupt context. Signed-off-by: Marek Szyprowski Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/ga

[PATCH 1/6] usb: dwc2/gadget: fix phy disable sequence

2014-09-09 Thread Robert Baldyga
From: Kamil Debski When the driver is removed s3c_hsotg_phy_disable is called three times instead of once. This results in decreasing of the phy reference counter below zero and thus consecutive inserts of the module fails. This patch removes calls to s3c_hsotg_phy_disable from s3c_hsotg_remove

Re: [PATCH] fs: don't remove inotify watchers from alive inode-s

2014-09-09 Thread Jan Kara
On Tue 09-09-14 02:27:12, Al Viro wrote: > On Mon, Sep 08, 2014 at 04:01:56PM +0400, Andrey Vagin wrote: > > Currently watchers are removed in dentry_iput(), if n_link is zero. > > But other detries can be linked with this inode. For example if we > > create two hard links, open the first one and s

Re: [RFC PATCH v2] clockevents: re-calculate event when cpu enter idle

2014-09-09 Thread Leo Yan
On 09/04/2014 09:25 AM, Leo Yan wrote: Below flow will have the redundant interrupts for broadcast timer: 1. Process A starts a hrtimer with 100ms timeout, then Process A will wait on the waitqueue to sleep; 2. The CPU which Process A runs on will enter idle and call notify CLOCK_EVT_NO

[PATCH v2 0/4] Add picoPHY usb phy driver found on stih407 family SoC's

2014-09-09 Thread Peter Griffin
This series adds support for the picoPHY usb phy which is used by the usb2 and usb3 host controllers when controlling usb2/1.1 devices. It is found on stih407 family SoC's from the consumer electronics devision of STMicroelectronics. Changes since v1: - Remove reference to stih410 in dt document

[PATCH v2 3/4] MAINTAINERS: Add phy-stih407-usb.c file to ARCH/STI architecture

2014-09-09 Thread Peter Griffin
This patch adds the new phy-stih407-usb.c usb phy driver found on STMicroelectronics stih407 consumer electronics SoC's into the STI arch section of the maintainers file. Signed-off-by: Peter Griffin --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS in

[PATCH v2 4/4] ARM: multi_v7_defconfig: Enable stih407 usb picophy

2014-09-09 Thread Peter Griffin
This patch enables the picoPHY usb phy which is used by the usb2 and usb3 host controllers when controlling usb2/1.1 devices. It is found in stih407 family SoC's from STMicroelectronics. Signed-off-by: Peter Griffin --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) d

[PATCH v2 1/4] phy: phy-stih407-usb: Add usb picoPHY driver found on stih407 SoC family

2014-09-09 Thread Peter Griffin
This is the generic phy driver for the picoPHY ports used by the USB2 and USB3 Host controllers when controlling usb2/1.1 devices. It is found on STiH407 SoC family from STMicroelectronics. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin --- drivers/phy/Kconfig | 8 ++

[PATCH v2 2/4] phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family

2014-09-09 Thread Peter Griffin
This patch adds the dt documentation for the usb picophy found on stih407 SoC family available from STMicroelectronics. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin --- .../devicetree/bindings/phy/phy-stih407-usb.txt| 30 ++ 1 file changed, 30 insertio

Re: [PATCH 1/3 v2] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-09 Thread Shevchenko, Andriy
On Tue, 2014-09-09 at 01:50 +, Chen, Alvin wrote: > > On Friday 05 September 2014 12:02:01 Shevchenko, Andriy wrote: > > > > irq = irq_of_parse_and_map(node, 0); If (!irq) { > > > > pp->irq = -1; > > > > return; > > > > } else { > > > > pp->irq = irq; > > > > } > > > > Then the code looks stran

[PATCH] hwmon: (htu21) Use the nohold mode to read out values

2014-09-09 Thread Bernhard Walle
On my Raspberry Pi, the driver doesn't work. Every read fails with -EIO. Reading the data sheet and experimenting a bit made me finding out that using the nohold mode works. The Raspberry Pi I²C chip seems to have problems with slaves blocking the SCK line. In any case, freeing the bus while perfo

[PATCH] net:bonding: Add missing space in bonding driver parameter description

2014-09-09 Thread Masanari Iida
This patch adds missing space between "interface" and "by" in bonding module parameter description. Signed-off-by: Masanari Iida --- drivers/net/bonding/bond_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main

Re: [PATCH v4 16/22] perf: Add rb_{alloc,free}_kernel api

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:13PM +0300, Alexander Shishkin wrote: > Events that generate AUX data can also be created by the kernel. In this > case, some in-kernel infrastructure is needed to store and copy this data. Oh, do tell. You really need to work on these changelogs.. pgpnSzfKNV6H9.pg

Re: [PATCH v2 1/4] phy: phy-stih407-usb: Add usb picoPHY driver found on stih407 SoC family

2014-09-09 Thread Arnd Bergmann
On Tuesday 09 September 2014 10:00:15 Peter Griffin wrote: > This is the generic phy driver for the picoPHY ports used by the > USB2 and USB3 Host controllers when controlling usb2/1.1 devices. It > is found on STiH407 SoC family from STMicroelectronics. > > Signed-off-by: Giuseppe Cavallaro > Si

Re: [PATCH v4 11/22] perf: add ITRACE_START record to indicate that tracing has started

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:08PM +0300, Alexander Shishkin wrote: > For counters such as instruction tracing, it is useful for the decoder > to know which tasks are running when the event is first scheduled in, > before the first sched_switch. > > To single out such instruction tracing pmus, thi

Re: [PATCH v4 19/22] perf: Add infrastructure for using AUX data in perf samples

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:16PM +0300, Alexander Shishkin wrote: > AUX data can be used to annotate other perf events by including it in > sample records when PERF_SAMPLE_AUX flag is set. In this case, a kernel > counter is created for each such event and trace data is retrieved > from it and st

Re: [PATCH] GICv3: Fixing 32 bit compatibility

2014-09-09 Thread Robert Richter
On 09.09.14 10:00:42, Uwe Kleine-König wrote: > On Mon, Sep 08, 2014 at 04:11:19PM +0200, Robert Richter wrote: > > @@ -479,7 +479,7 @@ static void gic_raise_softirq(const struct cpumask > > *mask, unsigned int irq) > > smp_wmb(); > > > > for_each_cpu_mask(cpu, *mask) { > > -

Re: [PATCH v4 20/22] perf: Allocate ring buffers for inherited per-task kernel events

2014-09-09 Thread Peter Zijlstra
On Wed, Aug 20, 2014 at 03:36:17PM +0300, Alexander Shishkin wrote: > When a new event is inherited from a per-task kernel event that has a > ring buffer, allocate a new buffer for this event so that data from the > child task is collected and can later be retrieved for sample annotation > or whatn

[PATCH] ARM: at91: enable new AIC driver even if the old one is selected

2014-09-09 Thread Boris BREZILLON
The new AIC driver is currently only selected when only DT board support is enabled (and not when both DT and non-DT boards are supported), thus, when booting a "DT + non-DT" kernel with a dtb, the irqchip is never initialized/registered which then triggers a panic. Signed-off-by: Boris BREZILLON

[REGRESSION 3.17] scsi (uas) disks no longer using tagged command queuing

2014-09-09 Thread Hans de Goede
Hi All, While working on making error handling in the uas driver more robust, I noticed that all the commands being send to a sata ssd hooked up over uas were untagged, where I would expect tcq to be used, as that is the big advantage of uas over usb-storage / bot. Taking the uas.c file from 3.17

Re: [PATCH v2 3/8] phy: miphy28lp: Provide support for the MiPHY28lp Generic PHY

2014-09-09 Thread Gabriel Fernandez
Hi Kishon, Thanks for reviewing. BR Gabriel On 8 September 2014 17:12, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 03 September 2014 09:07 PM, Gabriel FERNANDEZ wrote: >> The MiPHY28lp is a Generic PHY which can serve various SATA or PCIe >> or USB3 devices. >> >> Signed-off-by: alexa

Re: [resend PATCH 1/3] pinctrl: dra7: dt-bindings: add pin off modes for dra7 SoC

2014-09-09 Thread Mugunthan V N
On Tuesday 09 September 2014 01:02 AM, Nishanth Menon wrote: > A) There is no OFF mode on DRA7. in sleep state use mode 15 (gated). > B) when using this for wakeup - use pinctrl wakeup handling to do the > wakeup. Will drop this patch and use mode 15 in sleep mode and submit v2 patch series Regar

Re: [PATCH v10 07/10] OF: Introduce helper function for getting PCI domain_nr

2014-09-09 Thread Arnd Bergmann
On Tuesday 09 September 2014 09:46:21 Liviu Dudau wrote: > On Tue, Sep 09, 2014 at 06:54:21AM +0100, Yijing Wang wrote: > > >>> on new requests. This function gets called quite a lot and I'm trying > > >>> not to > > >>> make it too heavy weight. > > >> > > >> Generally, nothing should be accessin

  1   2   3   4   5   6   7   8   9   10   >