Re: [PATCH] percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix

2014-09-09 Thread Ted Percival
Tejun Heo tj at kernel.org writes: On Mon, Sep 08, 2014 at 06:46:47PM -0500, Christoph Lameter wrote: I already acked a patch like this today. It isn't in my inbox. It was [PATCH] x86, apic: Fix unmasked CPU initialization http://www.spinics.net/lists/kernel/msg1820725.html Sorry you

Re: [PATCH V3] irqchip:gic: change access of gicc_ctrl register to read modify write.

2014-09-09 Thread Arun Chandran
On Mon, Sep 8, 2014 at 10:27 PM, Feng Kan f...@apm.com wrote: On Mon, Sep 8, 2014 at 1:52 AM, Arun Chandran achand...@mvista.com wrote: Hi Feng, Is this patch still needed to fix perf calltrace? Yes, if the someone decide to run the secure mode of the GIC, which is what is present in the

Re: [PATCH RESEND v7 2/2] usb: gadget: f_fs: virtual endpoint address mapping

2014-09-09 Thread Robert Baldyga
On 09/08/2014 03:47 PM, Felipe Balbi wrote: Hi, On Mon, Sep 08, 2014 at 09:57:00AM +0200, Robert Baldyga wrote: This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications

[PATCH 0/2] fixes for struct clk_core migration

2014-09-09 Thread Mike Turquette
A few build issues have popped up with more extensive testing of the patches to split the clock framework into a proper provider/consumer relationship. [0] The first patch adapts Intel's LPSS driver to use the clock provider APIs. If no one objects to this patch then I will fold it into Tomeu's

[PATCH 1/2] acpi: lpss: convert from struct clk to struct clk_core

2014-09-09 Thread Mike Turquette
Looks like this driver was missed during the original mass driver rework[0]. This patch converts the LPSS driver to the new clock provider data type (struct clk_core). If there are no objections I propose to roll this patch into a rebase of that patch[0] in my tree. [0]

[PATCH 2/2] asm-generic: COMMON_CLK defines __clk_{get,put}

2014-09-09 Thread Mike Turquette
If CONFIG_COMMON_CLK is selected then __clk_get and __clk_put are defined in drivers/clk/clk.c and declared in include/linux/clkdev.h. Sylwester's series[0] to properly support clk_{get,put} in the common clock framework made changes to the asm-specific clkdev.h headers, but not the asm-generic

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-09 Thread Jon Masters
On 09/01/2014 01:35 PM, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver

Re: [coreboot] [PATCH] x86: add coreboot framebuffer support

2014-09-09 Thread Gerd Hoffmann
Hi, Yes, efifb has the same semantics. We just need some ID with clear documentation saying sth like implies framebuffer without anything else so that noone will get an idea to plug e.g. vga hooks into it. Want to make a patch? Attached. Can someone test with the patched

Re: [PATCH] sched: Reset bandwith on task when switching from SCHED_DEADLINE away

2014-09-09 Thread Daniel Wagner
Hi Juri, On 09/08/2014 05:13 PM, Juri Lelli wrote: thanks a lot for your patch. I'd actually have a slightly different fix for the same problem. I'm actually baking a small patchset that I should be able to release in the next few days. I'd say we could wait for that to happen and then

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-09 Thread Jon Masters
On 09/03/2014 06:30 AM, Marc Zyngier wrote: On 02/09/14 16:45, Hanjun Guo wrote: This value is for max processors entries in MADT, and we will use it to scan MADT for SMP/GIC Init, I just make it big enough for GICv3/4. since ACPI core will stop scan MADT if the real numbers of processors

[PATCH v8 3/3] usb: gadget: f_fs: virtual endpoint address mapping

2014-09-09 Thread Robert Baldyga
This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications changes user space API, so to enable them user have to switch on the FUNCTIONFS_VIRTUAL_ADDR flag in descriptors.

[PATCH v8 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-09-09 Thread Robert Baldyga
Up to now, when endpoint addresses in descriptors were non-consecutive, there were created redundant files, which could cause problems in kernel, when user tried to read/write to them. It was result of fact that maximum endpoint address was taken as total number of endpoints in funciton. This

[PATCH v8 0/3] usb: gadget: f_fs: userspace API fixes and improvements

2014-09-09 Thread Robert Baldyga
Hi Felipe, I have finally prepated patchset that should apply and build with your testing/next tree. Best regards Robert Baldyga Changelog: v8: - add patch usb: gadget: f_fs: fix the redundant ep files problem to make it possible to apply to Felipe tree v7: - return proper value from

[PATCH v8 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-09-09 Thread Robert Baldyga
This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga r.bald...@samsung.com Acked-by: Michal Nazarewicz min...@mina86.com --- drivers/usb/gadget/function/f_fs.c | 23

Re: [PATCH 1/4] kaslr: check user's config too when handle relocations

2014-09-09 Thread Baoquan He
On 09/05/14 at 10:11am, Kees Cook wrote: I don't think this is correct. If you look at a02150610776 (x86, relocs: Move ELF relocation handling to C), we always did relocations on 32-bit when CONFIG_RELOCATABLE was set, so I think this will fail badly on 32-bit. 64-bit only needs relocation

Re: [PATCH] intel_pstate: track and export frequency residency stats via sysfs.

2014-09-09 Thread Viresh Kumar
On Tue, Sep 9, 2014 at 11:02 AM, Anup Chenthamarakshan an...@chromium.org wrote: I had initially tried reusing cpufreq_stats.c to export stats. Calling cpufreq_stats_update() via the cpufreq notifier added some amount of overhead while switching frequencies. Specifically, looking up the index

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-09 Thread Jon Masters
On 09/03/2014 10:57 AM, Arnd Bergmann wrote: On Wednesday 03 September 2014 11:26:14 Tomasz Nowicki wrote: In particular, the ACPI tables describing the irqchip have no way to identify the GIC at all, if I read the spec correctly, you have to parse the tables, ioremap the registers and then

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-09 Thread Jon Masters
On 09/03/2014 02:42 PM, Arnd Bergmann wrote: On Monday 01 September 2014 22:57:51 Hanjun Guo wrote: + /* Collect CPU base addresses */ + count = acpi_parse_entries(sizeof(struct acpi_table_madt), + gic_acpi_parse_madt_cpu, table, +

Re: [PATCH v2 0/5] Add max77802 support for Peach boards

2014-09-09 Thread Javier Martinez Canillas
Hello Kukjin, On 09/09/2014 05:47 AM, kg...@kernel.org wrote: Javier Martinez Canillas wrote: Any comments on this series? Looks good to me but I just wanted to get ack from chrome guy, Doug? But since Naveen tested, it should be fine I think. I'll take the series. Great, thanks!

[PATCH] MAINTAINERS: Move Xillybus out of staging

2014-09-09 Thread Eli Billauer
Signed-off-by: Eli Billauer eli.billa...@gmail.com --- MAINTAINERS | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f040e7f..95bcdee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8789,12 +8789,6 @@ M: Arnaud Patard

Re: Kernel 3.16.0 USB crash

2014-09-09 Thread Claudio Bizzarri
Hi to all, I've installed new 3.16.2 kernel, and now: - if I use an USB 3.0 cable I've same crash as said using 3.16.1 version; - if I use an USB 2.0 cable works, I've made a complete backup without any problem. As told, tell me if I can help your works to determine how to resolve this bug.

Re: [PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt

2014-09-09 Thread Borislav Petkov
On Mon, Sep 08, 2014 at 12:09:12PM -0700, H. Peter Anvin wrote: Are you genuinely saying we shouldn't document this command line parameter? Sorry, it really doesn't work that way. My intent is to keep this one from getting abused for the wrong reasons. Not documenting it is probably not going

Re: [PATCH] mmc: dw_mmc: add support for ARM64

2014-09-09 Thread Ulf Hansson
On 29 August 2014 12:24, Alim Akhtar alim.akh...@samsung.com wrote: There are upcoming ARM64 SoCs with dw_mmc host controller. Signed-off-by: Alim Akhtar alim.akh...@samsung.com --- drivers/mmc/host/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Linaro-acpi] [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-09 Thread Jon Masters
Hi Arnd, On 09/03/2014 11:09 AM, Arnd Bergmann wrote: On Wednesday 03 September 2014 01:00:23 Rafael J. Wysocki wrote: Our intention is specifically not to use random incompatible bindings in that. We'd rather have a common venue and process for establishing new bindings for both DT and

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.

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

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

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

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

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. So I am

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 a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47: Merge branch 'rfc/perf' into perf/core, because it's ready for

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 khiem.nguyen...@renesas.com 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

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 because

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

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 anico...@uwaterloo.ca wrote: Cleanup checkpatch.pl warnings. Please state which warning this is fixing. Same goes for patches 1-3. Signed-off-by: Adrian Nicoara anico...@uwaterloo.ca --- Somehow I missed the comment Tobias made on the line

[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 mika.westerb...@linux.intel.com 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.

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.

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 anico...@uwaterloo.ca --- Somehow I missed the comment Tobias made on the line indentation. I fixed the patch, and added here as a reply - the previous patch

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

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

2014-09-09 Thread Sudip Mukherjee
has been corrected in next-20140909. thanks sudip -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 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 t...@atomide.com [140908 10:41]: * Sebastian Andrzej Siewior bige...@linutronix.de [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

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

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 bhelg...@google.com To: Chen, Gong gong.c...@linux.intel.com Cc: rdun...@infradead.org, b...@alien8.de, tony.l...@intel.com, linux-...@vger.kernel.org,

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

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 to

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 jaeg...@kernel.org wrote: Hi,

[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

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 linus.wall...@linaro.org wrote: On Mon, Sep 8, 2014 at 1:47 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: Some newer Intel SoCs like Braswell

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

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 button

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 adrian.hun...@intel.com wrote: On 09/09/2014 07:59 AM, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit

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 bhelg...@google.com To: Chen, Gong gong.c...@linux.intel.com Cc: rdun...@infradead.org, b...@alien8.de, tony.l...@intel.com, linux-...@vger.kernel.org,

[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 srinivas.kandaga...@gmail.com CC: Srinivas Kandagatla srinivas.kandaga...@linaro.com CC: Maxime Coquelin maxime.coque...@st.com CC: Patrice Chotard

[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:node type, 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:

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 adrian.hun...@intel.com wrote: On 09/09/2014 07:59 AM, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following

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 driver

[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 blo...@openwrt.org CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- Changes since v1: Dropped call to of_gpiochip_remove()

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 rrich...@cavium.com Fixing 32 bit compatibility by using ULL for u64 constants. Signed-off-by: Robert Richter rrich...@cavium.com --- drivers/irqchip/irq-gic-v3.c | 4 ++-- 1 file

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 blo...@openwrt.org CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- Changes since v1: Dropped call to of_gpiochip_remove()

[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

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, On Mon, Sep 8, 2014

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 kever.y...@rock-chips.com wrote: rk3288 has two kind of usb controller, this add the dwc2 controller for otg

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

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 rrich...@cavium.com 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

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 PM

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 the

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 jacob.jun@linux.intel.com --- drivers/mfd/Kconfig| 7 +- drivers/mfd/Makefile | 2 +-

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 jaewon02@samsung.com Acked-by: Chanwoo Choi cw00.c...@samsung.com --- drivers/mfd/max77693.c |5 - 1 file changed,

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

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 jo...@kernel.org 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 jo...@kernel.org wrote: snip Hi Johan, Again, thanks

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

2014-09-09 Thread Tomeu Vizoso
On 8 September 2014 18:22, Andrew Bresticker abres...@chromium.org wrote: On Mon, Sep 8, 2014 at 8:34 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote: On 2 September 2014 23:34, Andrew Bresticker abres...@chromium.org wrote: Tested on Venice2, Jetson TK1, and Big with a variety of USB2.0 and

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 h...@rock-chips.com 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

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 long

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

[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

[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

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 for

[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 boris.brezil...@free-electrons.com wrote: On Mon, 8 Sep 2014 19:33:38 +0200 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: On 03/09/2014 at 10:45:33 +0200, Boris Brezillon wrote : The

[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

[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 r.bald...@samsung.com --- 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

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

2014-09-09 Thread Robert Baldyga
From: Kamil Debski k.deb...@samsung.com 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

[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

[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

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 data

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

2014-09-09 Thread Robert Baldyga
From: Andrzej Pietrasiewicz andrze...@samsung.com Adjust the debug text to the name of the printed variable. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1

[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 r.bald...@samsung.com --- 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

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

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

2014-09-09 Thread Robert Baldyga
From: Kamil Debski k.deb...@samsung.com 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 k.deb...@samsung.com Signed-off-by: Marek Szyprowski

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

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski m.szyprow...@samsung.com 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 m.szyprow...@samsung.com Signed-off-by: Robert Baldyga r.bald...@samsung.com ---

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

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski m.szyprow...@samsung.com Some DWC2/s3c-hsotg debug messages are really useless for typical user, so hide them behind dev_dbg(). Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/dwc2/gadget.c | 4

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

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

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

2014-09-09 Thread Robert Baldyga
From: Marek Szyprowski m.szyprow...@samsung.com 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

  1   2   3   4   5   6   7   8   9   10   >