Re: [PATCH v3] HID: New hid-cp2112 driver

2014-01-17 Thread David Herrmann
Hi This patch is in a much better state than before! I have a bunch of comments below, mostly nitpicks and coding-style issues. If you fix the coding style and minor issues below, I think we can merge it. Thanks David On Thu, Jan 16, 2014 at 10:52 PM, David Barksdale dbarksd...@uplogix.com

Re: [PATCH 3.13-rc5] module: Add missing newline in printk call.

2014-01-17 Thread Tetsuo Handa
Rusty, would you pick up this patch? This message was added in 3.13-rc1. Thus, should be fixed in 3.13. Tetsuo Handa wrote: From cc90e27d5cda227e7a0cbeb5de3cc1cbb1595dfa Mon Sep 17 00:00:00 2001 From: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Date: Mon, 23 Dec 2013 15:52:42 +0900

Re: [PATCH] libahci: correct a misleading comment

2014-01-17 Thread Tejun Heo
On Fri, Jan 17, 2014 at 12:43:20PM +0100, Lukasz Dorau wrote: There is an error in a comment introduced by: commit fa070ee6dc70bcc19737a2406d741b089b3149d5 libahci: fix turning on LEDs in ahci_start_port() Correct it. Signed-off-by: Lukasz Dorau lukasz.do...@intel.com ---

Notification

2014-01-17 Thread United Nations Development Programme
UNDP is fighting poverty, building democratic societies ,for help/Grant send your Complete Informations -- 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

Re: [PATCH] mm/kmemleak: add support for re-enable kmemleak at runtime

2014-01-17 Thread Catalin Marinas
On Fri, Jan 17, 2014 at 09:40:02AM +, Jianguo Wu wrote: Now disabling kmemleak is an irreversible operation, but sometimes we may need to re-enable kmemleak at runtime. So add a knob to enable kmemleak at runtime: echo on /sys/kernel/debug/kmemleak It is irreversible for very good

Re: [PATCH 1/3] ACPI / idle: Move idle_boot_override out of the arch directory

2014-01-17 Thread Sudeep Holla
On 17/01/14 02:03, Hanjun Guo wrote: Move idle_boot_override out of the arch directory to be a single enum including both platforms values, this will make it rather easier to avoid ifdefs around which definitions are for which processor in generally used ACPI code. IDLE_FORCE_MWAIT for IA64

Re: [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-17 Thread Maxime Ripard
Hi Arnd, On Wed, Jan 15, 2014 at 10:40:56AM +0100, Arnd Bergmann wrote: On Wednesday 15 January 2014 10:10:06 Maxime Ripard wrote: On Thu, Jan 09, 2014 at 04:34:04PM +0100, Gerardo Di Iorio wrote: Change the AllWinner A1X SOCs to Allwinner Sunxi SOCs Signed-off-by: Gerardo Di Iorio

Re: [PATCH 2/4] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-17 Thread Maxime Ripard
Hi Josh, On Thu, Jan 16, 2014 at 12:15:28PM -0600, Josh Cartwright wrote: On Thu, Jan 16, 2014 at 06:11:23PM +0100, Maxime Ripard wrote: The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use by the

RE: [PATCH] libahci: correct a misleading comment

2014-01-17 Thread Dorau, Lukasz
On Friday, January 17, 2014 1:00 PM Tejun Heo t...@kernel.org wrote: On Fri, Jan 17, 2014 at 12:43:20PM +0100, Lukasz Dorau wrote: There is an error in a comment introduced by: commit fa070ee6dc70bcc19737a2406d741b089b3149d5 libahci: fix turning on LEDs in ahci_start_port()

Re: [PATCH v6] Bluetooth: Add hci_h4p driver

2014-01-17 Thread Pavel Machek
Hi! Add hci_h4p bluetooth driver to bluetooth-next. This device is used for example on Nokia N900 cell phone. Signed-off-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Pavel Machek pa...@ucw.cz Thanks-to: Sebastian Reichel s...@debian.org Thanks-to: Joe Perches j...@perches.com

Re: [PATCH(v2)] commoncap: don't alloc the credential unless needed in cap_task_prctl

2014-01-17 Thread Tetsuo Handa
James, would you pick up this patch? Tetsuo Handa wrote: James, please apply. Kevin, does cause OOM mean something like the OOM killer or kmalloc() failure is triggerred by frequent prctl() requests by userspace applications? If yes, we should backport to stable as this affects any 2.6.29

Re: ipv6: default route for link local address is not added while assigning a address

2014-01-17 Thread Hannes Frederic Sowa
Hi! On Fri, Jan 17, 2014 at 02:04:26PM +0530, sohny thomas wrote: Any updates on my reply, Any more info is required. Can this be pulled into the kernel tree? Your patch was posted to the wrong mailing list. Please repost to net...@vger.kernel.org so

Re: [PATCH] dcache: fix d_splice_alias handling of aliases

2014-01-17 Thread Christoph Hellwig
On Wed, Jan 15, 2014 at 10:17:49AM -0500, J. Bruce Fields wrote: From: J. Bruce Fields bfie...@redhat.com d_splice_alias can create duplicate directory aliases (in the !new case), or (in the new case) d_move without holding appropriate locks. d_materialise_unique deals with both of these

Re: [PATCH] net: sk == 0xffffffff fix - not for commit

2014-01-17 Thread Andrzej Pietrasiewicz
W dniu 16.01.2014 17:29, Eric Dumazet pisze: On Thu, 2014-01-16 at 16:21 +0100, Andrzej Pietrasiewicz wrote: W dniu 10.12.2013 15:25, Eric Dumazet pisze: On Tue, 2013-12-10 at 07:55 +0100, Andrzej Pietrasiewicz wrote: W dniu 09.12.2013 16:31, Eric Dumazet pisze: On Mon, 2013-12-09 at 12:47

Re: [RFT][PATCH] ACPI / init: Run acpi_early_init() before efi_enter_virtual_mode() (was: Re: [RFC PATCH 00/14] Support timezone of ACPI TAD and EFI TIME)

2014-01-17 Thread Matt Fleming
On Sun, 12 Jan, at 11:05:46AM, Matt Fleming wrote: On Sun, 12 Jan, at 01:30:23AM, Rafael J. Wysocki wrote: On Saturday, December 21, 2013 12:21:48 PM Matt Fleming wrote: On Fri, 20 Dec, at 11:18:56PM, Rafael J. Wysocki wrote: I'm not sure 100%, but I *think* we need to do that with

Re: [PATCH] ASoC: wm8804: Allow control of master clock divider in PLL generation

2014-01-17 Thread Mark Brown
On Tue, Jan 14, 2014 at 08:34:10PM +0100, Daniel Matuschek wrote: WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower This patch doesn't apply against current code.

Re: [PATCH 00/16] perf tools: Add libdw DWARF unwind support

2014-01-17 Thread Jiri Olsa
ping ;-) thanks, jirka On Tue, Jan 07, 2014 at 01:47:17PM +0100, Jiri Olsa wrote: hi, adding libdw DWARF unwind support, which is part of just released elfutils package 0.158. We can now compile perf to have either libunwind DWARF unwind, (which is still default) or the new one libdw

[PATCH 00/20] Make ACPI core running on ARM64

2014-01-17 Thread Hanjun Guo
This patch set trys to make ACPI core running on ARM64. 1. Why ACPI is needed ? ACPI provides standard interfaces for power managment, themal control, device enumeration and configuration and etc. So ACPI can make OS and hardware decoupling and make people upgrade software or hardware more

[PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-17 Thread Hanjun Guo
Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. pcibios_penalize_isa_irq() is arch dependent, introduce asm/pci.h to include it. Since ACPI on X86 and IA64 depends on PCI,

Re: [PATCH 00/16] perf tools: Add libdw DWARF unwind support

2014-01-17 Thread Jean Pihet
Hi Jiri, Let me start on it next week. Is that OK? Thx for the reminder, I had not entirely forgotten it though ;p Regards, Jean On 17 January 2014 13:24, Jiri Olsa jo...@redhat.com wrote: ping ;-) thanks, jirka On Tue, Jan 07, 2014 at 01:47:17PM +0100, Jiri Olsa wrote: hi, adding

[PATCH 02/20] ARM64 : Add dummy asm/cpu.h

2014-01-17 Thread Hanjun Guo
ACPI requires a cpu.h, add a dummy one copied from arm. This will need updated or replaced as ACPI based cpu hotplug or cpu topology for armv8 is worked out. Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/cpu.h |

Input: edt-ft5x06: Add DT support

2014-01-17 Thread Lothar Waßmann
Changes wrt. v1: addressed the comments from Jingoo Han and Mark Rutland - added another patch to convert the driver to use devm_* functions - removed sysfs reference from bindings documentation - changed '_' to '-' in property name - added 'edt,' prefix to properties names - added sanity check

[PATCHv3 2/4] Input: edt_ft5x06: use devm_* functions where appropriate

2014-01-17 Thread Lothar Waßmann
Simplify the error path and remove() function by using devm_* functions for requesting gpios and irq and allocating memory. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/input/touchscreen/edt-ft5x06.c | 66 +++- 1 files changed, 23

[PATCH 03/20] ARM64 / ACPI: Introduce the skeleton of _PDC related for ARM64

2014-01-17 Thread Hanjun Guo
The _PDC (Processor Driver Capabilities) object provides OSPM a mechanism to convey to the platform the capabilities supported by OSPM for processor power management. OSPM evaluates _PDC prior to evaluating any other processor power management objects returning configuration information. This

[PATCHv3 4/4] Input: edt-ft5x06 adjust reset delays according to datasheet

2014-01-17 Thread Lothar Waßmann
The FT5x06 datasheet specifies a minimum reset width of 5ms and a delay between deassertion of reset and start of reporting of 300ms. Adjust the delays to conform to the datasheet. With the original delays I sometimes experienced communication timeouts when initializing the controller.

[PATCHv3 3/4] Input: edt-ft5x06: Add DT support

2014-01-17 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../bindings/input/touchscreen/edt-ft5x06.txt | 29 + drivers/input/touchscreen/edt-ft5x06.c | 121 +--- 2 files changed, 132 insertions(+), 18 deletions(-) create mode 100644

[PATCHv3 1/4] DT: Add vendor prefix for Emerging Display Technologies

2014-01-17 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 04/20] ARM64 / ACPI: Introduce arm_core.c and its related head file

2014-01-17 Thread Hanjun Guo
Introduce arm_core.c and its related head file, after this patch, we can get ACPI tables from firmware on ARM64 now. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org ---

[PATCH 05/20] ARM64 / ACPI: Introduce lowlevel suspend function

2014-01-17 Thread Hanjun Guo
Lowlevel suspend function is needed for ACPI based suspend/resume, introduce ARM related lowlevel function in this patch. Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h |4

Re: [PATCH 00/16] perf tools: Add libdw DWARF unwind support

2014-01-17 Thread Jiri Olsa
On Fri, Jan 17, 2014 at 01:27:53PM +0100, Jean Pihet wrote: Hi Jiri, Let me start on it next week. Is that OK? great ;-) thanks jirka Thx for the reminder, I had not entirely forgotten it though ;p Regards, Jean On 17 January 2014 13:24, Jiri Olsa jo...@redhat.com wrote: ping

[PATCH 06/20] ARM64 / ACPI: Introduce some PCI functions when PCI is enabled

2014-01-17 Thread Hanjun Guo
Introduce some PCI functions to make ACPI can be compiled when CONFIG_PCI is enabled, these functions should be revisited when implemented on ARM64. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/Makefile |1 + arch/arm64/pci/Makefile |1 +

[PATCH 07/20] ARM64 / ACPI: Enable ARM64 in Kconfig

2014-01-17 Thread Hanjun Guo
Add Kconfigs to build ACPI on ARM64, and make ACPI runable on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depends on X86 || IA64, and implement it on ARM/ARM64 in the furture. In order to make arm-core.c can both run on ARM and ARM64, introduce

Re: powerpc/hugetlb: BUG: using smp_processor_id() in preemptible

2014-01-17 Thread Nikita Yushchenko
Could you try this? powerpc/hugetlb: replace __get_cpu_var with get_cpu_var Replace __get_cpu_var safely with get_cpu_var to avoid the following call trace: Confirmed, no more acktraces. Nikita -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH 08/20] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2014-01-17 Thread Hanjun Guo
ACPI reduced hardware mode is disabled by default, but ARM64 can only run properly in ACPI hardware reduced mode at now, so select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org ---

[PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-17 Thread Hanjun Guo
Implement core functions for parsing MADT table to get the information about GIC cpu interface and GIC distributor to prepare for SMP and GIC initialization. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h |3 + drivers/acpi/plat/arm-core.c | 139

[PATCH 10/20] ARM64 / ACPI: Enumerate possible/present CPU set and map logical cpu id to APIC id

2014-01-17 Thread Hanjun Guo
When boot the kernel with MADT, the cpu possible and present sets should be enumerated for later smp initialization. The logic cpu id maps to APIC id (GIC id) is also implemented, it is needed for acpi processor drivers. Signed-off-by: Hanjun Guo hanjun@linaro.org ---

[PATCH 11/20] ARM64 / ACPI: Get the enable method for SMP initialization

2014-01-17 Thread Hanjun Guo
ACPI has no flag to indicate different enable methods for SMP initialization, but it indicates that spin-table is supported at now because of the Parked Protocol shows that there is parked address in GIC structure. In order to boot the system with ACPI if DT is not available, we set the default

[PATCH 12/20] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2014-01-17 Thread Hanjun Guo
Parked Address in GIC structure can be used as cpu release address for spin table SMP initialisation. This patch gets parked address from MADT and use it for SMP initialisation when DT is not available. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h |

Re: [PATCH] net: sk == 0xffffffff fix - not for commit

2014-01-17 Thread Andrzej Pietrasiewicz
W dniu 17.01.2014 13:18, Andrzej Pietrasiewicz pisze: W dniu 16.01.2014 17:29, Eric Dumazet pisze: On Thu, 2014-01-16 at 16:21 +0100, Andrzej Pietrasiewicz wrote: W dniu 10.12.2013 15:25, Eric Dumazet pisze: On Tue, 2013-12-10 at 07:55 +0100, Andrzej Pietrasiewicz wrote: W dniu 09.12.2013

[PATCH 13/20] ARM64 / ACPI: Define ACPI_IRQ_MODEL_GIC needed for arm

2014-01-17 Thread Hanjun Guo
Needed because arm uses GIC which is defined in ACPI 5.0 spec. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/bus.c |3 +++ drivers/acpi/plat/arm-core.c |6 +- include/linux/acpi.h |1 + 3 files

[PATCH 14/20] Irqchip / gic: Set as default domain so we can access from ACPI

2014-01-17 Thread Hanjun Guo
Only one GIC is supported in ACPI 5.0, even cascade GIC is not supported. So if we set the GIC as the default domain then we can access it for IRQ mapping within the ACPI code. Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org ---

[PATCH 15/20] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2014-01-17 Thread Hanjun Guo
This API is similar to DT based irq_of_parse_and_map but does link parent/child IRQ controllers. This is tested for primary GIC PPI and GIC SPI interrupts and not for secondary child irq controllers. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Signed-off-by: Hanjun Guo

[PATCH 16/20] ACPI / GIC: Initialize GIC using the information in MADT

2014-01-17 Thread Hanjun Guo
In MADT table, there are GIC cpu interface base address and GIC distributor base address, use them to convert GIC to ACPI. Only GICC and GICD are described in ACPI 5.0, and only one GIC is supported at now. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/irq.c |6

[PATCH 18/20] clocksource / acpi: Add macro CLOCKSOURCE_ACPI_DECLARE

2014-01-17 Thread Hanjun Guo
From: Amit Daniel Kachhap amit.dan...@samsung.com This macro does the same job as CLOCKSOURCE_OF_DECLARE. The device name from the ACPI timer table is matched with all the registered timer controllers and matching initialisation routine is invoked. Signed-off-by: Amit Daniel Kachhap

[PATCH 17/20] clocksource / arch_timer: Use ACPI GTDT table to initialize arch timer

2014-01-17 Thread Hanjun Guo
ACPI GTDT (Generic Timer Description Table) contains information for arch timer initialization, this patch use this table to probe arm timer. GTDT table is used for ARM/ARM64 only, please refer to chapter 5.2.24 of ACPI 5.0 spec for detailed inforamtion Signed-off-by: Amit Daniel Kachhap

[PATCH 19/20] clocksource / ACPI: Introduce clocksource_acpi_init() using CLOCKSOURCE_ACPI_DECLARE

2014-01-17 Thread Hanjun Guo
acpi_table_parse() will find table with table id and run handler on it. So we use CLOCKSOURCE_ACPI_DECLARE to decalare timer tables and glue its handler, then initialize them in clocksource_acpi_init(). Signed-off-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Amit Daniel Kachhap

Re: [slub shrink] 0f6934bf16: +191.9% vmstat.system.cs

2014-01-17 Thread Fengguang Wu
Hi Dave, I retested the will-it-scale/read2 case with perf profile enabled, and here are the new comparison results. It shows that there are increased overheads in shmem_getpage_gfp(). If you'd like to collect more data, feel free to tell me. 9a0bb2966efbf30 0f6934bf1695682e7ced973f6

[PATCH 20/20] ARM64 / clocksource: Use clocksource_acpi_init()

2014-01-17 Thread Hanjun Guo
Use clocksource_acpi_init() on ARM64 to initialise timers in ACPI way when DT is not available. Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/time.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/kernel/time.c b/arch/arm64/kernel/time.c index

Re: [PATCH 2/2] NFSv4.1: Fix a race in nfs4_write_inode

2014-01-17 Thread Peng Tao
On Fri, Jan 17, 2014 at 1:11 AM, Trond Myklebust trond.mykleb...@primarydata.com wrote: On Jan 16, 2014, at 10:49, Peng Tao bergw...@gmail.com wrote: On Tue, Jan 14, 2014 at 2:45 AM, Trond Myklebust trond.mykleb...@primarydata.com wrote: void pnfs_set_lo_fail(struct pnfs_layout_segment *lseg)

Re: [ipc] 5769cf63: LTP semget02 TFAILs

2014-01-17 Thread Stephen Rothwell
[ Just adding Andrew to the cc list ] On Fri, 17 Jan 2014 18:24:28 +0800 Fengguang Wu fengguang...@intel.com wrote: Hi Davidlohr, We noticed LTP test failures ltp.msgget02.1.TFAIL ltp.semget02.2.TFAIL ltp.semget02.3.TFAIL and the first bad commit is commit

Re: [PATCH v8] Staging: comedi: convert while loop to timeout in ni_mio_common.c

2014-01-17 Thread Ian Abbott
On 2014-01-16 18:27, Chase Southwood wrote: This patch for ni_mio_common.c changes out a while loop for a timeout, which is preferred. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- Okay, back to v2, basically. I fixed the checkpatch warning from v2, and added the error checking

Re: Baytrail problems (was Re: Linux 3.13-rc8)

2014-01-17 Thread Rafael J. Wysocki
On Thursday, January 16, 2014 05:01:19 PM Rafael J. Wysocki wrote: On Thursday, January 16, 2014 10:29:45 AM Linus Walleij wrote: On Thu, Jan 16, 2014 at 2:49 AM, Linus Torvalds torva...@linux-foundation.org wrote: Adding in the appropriate people... On Tue, Jan 14, 2014 at 7:01 PM,

[PATCH net-next v3 7/8] net: stmmac: Use driver data and callbacks tied with compatible strings

2014-01-17 Thread Chen-Yu Tsai
The stmmac driver core allows passing feature flags and callbacks via platform data. Add a similar stmmac_of_data to pass flags and callbacks tied to compatible strings. This allows us to extend stmmac with glue layers for different SoCs. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[PATCH net-next v3 0/8] net: stmmac: Add Allwinner A20 GMAC ethernet

2014-01-17 Thread Chen-Yu Tsai
Hi, This is v3 of the Allwinner A20 GMAC glue layer for stmmac. I have split the series into stmmac driver changes for net-next, and clock and DT patches for their respective trees. The Allwinner A20 SoC integrates an early version of dwmac IP from Synopsys. On top of that is a hardware glue

[PATCH net-next v3 2/8] net: stmmac: Add support for optional reset control

2014-01-17 Thread Chen-Yu Tsai
The DWMAC has a reset assert line, which is used on some SoCs. Add an optional reset control to stmmac driver core. To support reset control deferred probing, this patch changes the driver probe function to return the actual error, instead of just -EINVAL. Signed-off-by: Chen-Yu Tsai

[PATCH net-next v3 1/8] net: stmmac: Enable stmmac main clock when probing hardware

2014-01-17 Thread Chen-Yu Tsai
The stmmac driver does not enable the main clock during the probe phase. If the clock was not enabled by the boot loader or was disabled by the kernel, hardware features and the MDIO bus would not be probed properly. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[PATCH net-next v3 8/8] net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's

2014-01-17 Thread Chen-Yu Tsai
The Allwinner A20 has an ethernet controller that seems to be an early version of Synopsys DesignWare MAC 10/100/1000 Universal, which is supported by the stmmac driver. Allwinner's GMAC requires setting additional registers in the SoC's clock control unit. The exact version of the DWMAC IP that

[PATCH net-next v3 5/8] net: stmmac: Honor DT parameter to force DMA store and forward mode

2014-01-17 Thread Chen-Yu Tsai
snps,force_sf_dma_mode is documented in stmmac device tree bindings, but is never handled by the driver. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH net-next v3 6/8] net: stmmac: Deprecate snps,phy-addr and auto-detect PHY address

2014-01-17 Thread Chen-Yu Tsai
The snps,phy-addr device tree property is non-standard, and should be removed in favor of proper phy node support. Remove it from the binding documents and warn if the property is still used. Most PHYs respond to address 0, but a few don't, so auto-detect PHY address by default, to make up for

[PATCH net-next v3 4/8] blackfin: Update stmmac callback signatures

2014-01-17 Thread Chen-Yu Tsai
stmmac callbacks have been extended for better separation. Update them to avoid breakage. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/blackfin/mach-bf609/boards/ezkit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c

[PATCH net-next v3 3/8] net: stmmac: Allocate and pass soc/board specific data to callbacks

2014-01-17 Thread Chen-Yu Tsai
The current .init and .exit callbacks requires access to driver private data structures. This is not a good seperation and abstraction. Instead, we add a new .setup callback for allocating private data, and pass the returned pointer to the other callbacks. Signed-off-by: Chen-Yu Tsai

Re: Baytrail problems (was Re: Linux 3.13-rc8)

2014-01-17 Thread Rafael J. Wysocki
On Friday, January 17, 2014 02:38:32 PM Rafael J. Wysocki wrote: On Thursday, January 16, 2014 05:01:19 PM Rafael J. Wysocki wrote: On Thursday, January 16, 2014 10:29:45 AM Linus Walleij wrote: On Thu, Jan 16, 2014 at 2:49 AM, Linus Torvalds torva...@linux-foundation.org wrote:

Re: [PATCH 2/4] sched: Fix race in idle_balance()

2014-01-17 Thread Peter Zijlstra
On Fri, Jan 17, 2014 at 10:04:02AM +0100, Daniel Lezcano wrote: The scheduler main function 'schedule()' checks if there are no more tasks on the runqueue. Then it checks if a task should be pulled in the current runqueue in idle_balance() assuming it will go to idle otherwise. But the

[PATCH] Bluetooth: add module name for btwilink

2014-01-17 Thread Pavel Machek
Btwilink help did not include module name, add it. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig index 11a6104..f5ce64e 100644 --- a/drivers/bluetooth/Kconfig +++ b/drivers/bluetooth/Kconfig @@ -241,5 +241,6 @@ config BT_WILINK

Why is (2 2) true? Is it a gcc bug?

2014-01-17 Thread Dorau, Lukasz
Hi My story is very simply... I applied the following patch: diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -698,8 +698,11 @@ static int isci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)

[PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable()

2014-01-17 Thread Prarit Bhargava
kbuild, 0day kernel build service, outputs the warning: arch/x86/kernel/irq.c:333:1: warning: the frame size of 2056 bytes is larger than 2048 bytes [-Wframe-larger-than=] because check_irq_vectors_for_cpu_disable() allocates two cpumasks on the stack. Fix this by using cpumask_var_t, the

Re: [PATCH 2/4] sched: Fix race in idle_balance()

2014-01-17 Thread Daniel Lezcano
On 01/17/2014 02:33 PM, Peter Zijlstra wrote: On Fri, Jan 17, 2014 at 10:04:02AM +0100, Daniel Lezcano wrote: The scheduler main function 'schedule()' checks if there are no more tasks on the runqueue. Then it checks if a task should be pulled in the current runqueue in idle_balance() assuming

Re: Deadlock in do_page_fault() on ARM (old kernel)

2014-01-17 Thread Russell King - ARM Linux
On Wed, Jan 15, 2014 at 08:13:04PM -0500, Alan Ott wrote: So my questions are: 1. Why don't I see a full backtrace beyond the exception stack? It's the same when dump_stack() is called manually. No idea - it looks like you're not using frame pointers, but are using the unwinder. Full

ACPI and PM queue for 3.14-rc1

2014-01-17 Thread Rafael J. Wysocki
Hello Everybody, Below is the log of changes I have queued up for the first ACPI and power management pull request for 3.14-rc1. If you have posted something in the last minute in the hope it will make it to that list, I have to disappoint you: It won't. If that is a fix, it may be pushed in

RE: Why is (2 2) true? Is it a gcc bug?

2014-01-17 Thread Dorau, Lukasz
On Friday, January 17, 2014 2:37 PM Dorau, Lukasz lukasz.do...@intel.com wrote: Hi My story is very simply... I applied the following patch: diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -698,8

debugging head.S

2014-01-17 Thread Darryl
I am trying to build 3.12.6 for an OMAP3-based board (debug console on UART 3) Enabling DEBUG in arch/arm/boot/compressed/head.S and with CONFIG_DEBUG_LL_INCLUDE=debug/omap2plus.S compiling (well, actually, assembling) gives the following (slightly reformatted):

[GIT] floppy

2014-01-17 Thread Jiri Kosina
Jens, please consider pulling git://git.kernel.org/pub/scm/linux/kernel/git/jikos/linux-block.git for-jens into your for-3.14/drivers branch to receive Jiri Kosina (1): floppy: bail out in open() if drive is not responding to block0 read drivers/block/floppy.c | 36

Re: Why is (2 2) true? Is it a gcc bug?

2014-01-17 Thread Richard Weinberger
On Fri, Jan 17, 2014 at 2:37 PM, Dorau, Lukasz lukasz.do...@intel.com wrote: Hi My story is very simply... I applied the following patch: diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -698,8 +698,11 @@

Re: [PATCH 06/20] ARM64 / ACPI: Introduce some PCI functions when PCI is enabled

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hanjun Guo wrote: +++ b/arch/arm64/pci/Makefile @@ -0,0 +1 @@ +obj-y += pci.o diff --git a/arch/arm64/pci/pci.c b/arch/arm64/pci/pci.c new file mode 100644 index 000..4e46790 --- /dev/null +++ b/arch/arm64/pci/pci.c @@ -0,0 +1,33 @@

Re: [BUG] perf stat: corrupts memory when using PMU cpumask

2014-01-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 17, 2014 at 10:00:20AM +0100, Stephane Eranian escreveu: Hi, I have been debugging a NULL pointer issue with perf stat unit/scale code and in the process I ran into what appeared like a double-free issue reported by glibc. It took me a while to realize that it was because of

Re: [BUG] perf stat: corrupts memory when using PMU cpumask

2014-01-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 17, 2014 at 10:00:20AM +0100, Stephane Eranian escreveu: The issue boils down to the fact that evsels have their file descriptors closed twice nowadays. Once in __run_per_stat() via perf_evsel__close_fd() and twice in perf_evlist__close(). Now, calling close() twice is okay.

Re: [PATCH 4/4] sched: Idle task shortcut optimization

2014-01-17 Thread Peter Zijlstra
On Fri, Jan 17, 2014 at 10:04:04AM +0100, Daniel Lezcano wrote: + schedstat_inc(rq, sched_goidle); +#ifdef CONFIG_SMP + /* Trigger the post schedule to do an idle_enter for CFS */ + rq-post_schedule = 1; +#endif + return rq-idle; Urgh, that retains the stupid idle crap like

Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-17 Thread Vivek Goyal
On Fri, Jan 17, 2014 at 04:59:13PM +1100, Benjamin Herrenschmidt wrote: On Thu, 2014-01-16 at 20:52 -0800, Eric W. Biederman wrote: I think we have largely survied until now because kdump is so popular and kdump winds up having to reinitialize devices from any random state. kdump also

Re: [PATCH 09/20] ARM64 / ACPI: Implement core functions for parsing MADT table

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hanjun Guo wrote: +/* + * Local interrupt controller address, + * GIC cpu interface base address on ARM/ARM64 + */ +static u64 acpi_lapic_addr __initdata; If it's cpu local, don't you need more than one address to support SMP? Also, the variable appears to be

Re: [PATCH 04/20] ARM64 / ACPI: Introduce arm_core.c and its related head file

2014-01-17 Thread Will Deacon
On Fri, Jan 17, 2014 at 12:24:58PM +, Hanjun Guo wrote: Introduce arm_core.c and its related head file, after this patch, we can get ACPI tables from firmware on ARM64 now. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by:

Re: [PATCH 18/20] clocksource / acpi: Add macro CLOCKSOURCE_ACPI_DECLARE

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hanjun Guo wrote: From: Amit Daniel Kachhap amit.dan...@samsung.com This macro does the same job as CLOCKSOURCE_OF_DECLARE. The device name from the ACPI timer table is matched with all the registered timer controllers and matching initialisation routine is

Re: [PATCH 12/20] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hanjun Guo wrote: +/* Parked Address in ACPI GIC structure */ +static u64 parked_address[NR_CPUS]; Please use the per_cpu infrastructure rather than NR_CPUS long arrays. Arnd -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH 1/1] iMX gpio: Allow reading back of pin status if configured as gpio output

2014-01-17 Thread Waibel Georg
From cb384950a1153e856ec03109a5156e660a89bf6d Mon Sep 17 00:00:00 2001 From: Georg Waibel georg.wai...@sensor-technik.de Date: Fri, 17 Jan 2014 14:51:38 +0100 Subject: [PATCH 1/1] iMX gpio: Allow reading back of pin status if configured as gpio output Register PSR was used to read the pin status

Re: [PATCH 02/20] ARM64 : Add dummy asm/cpu.h

2014-01-17 Thread Sudeep Holla
On 17/01/14 12:24, Hanjun Guo wrote: ACPI requires a cpu.h, add a dummy one copied from arm. This will need updated or replaced as ACPI based cpu hotplug or cpu topology for armv8 is worked out. Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo

Re: [PATCH, RFC 07/30] [media] radio-cadet: avoid interruptible_sleep_on race

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Hans Verkuil wrote: @@ -323,25 +324,32 @@ static ssize_t cadet_read(struct file *file, char __user *data, size_t count, lo struct cadet *dev = video_drvdata(file); unsigned char readbuf[RDS_BUFFER]; int i = 0; + DEFINE_WAIT(wait);

Re: [PATCH 4/4] sched: Idle task shortcut optimization

2014-01-17 Thread Peter Zijlstra
On Fri, Jan 17, 2014 at 10:04:04AM +0100, Daniel Lezcano wrote: @@ -2679,11 +2715,8 @@ need_resched: pre_schedule(rq, prev); - if (unlikely(!rq-nr_running)) - rq-idle_stamp = idle_balance(rq) ? 0 : rq_clock(rq); - put_prev_task(rq, prev); - next =

Re: [PATCH 00/16] perf tools: Add libdw DWARF unwind support

2014-01-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 17, 2014 at 01:24:31PM +0100, Jiri Olsa escreveu: ping ;-) I'll try and test this this afternoon to possibly get it in the next pull req, after the one I'll do shortly thanks, jirka On Tue, Jan 07, 2014 at 01:47:17PM +0100, Jiri Olsa wrote: hi, adding libdw DWARF unwind

Re: [PATCH] of: add function to count number of u32 elements in a property

2014-01-17 Thread Rob Herring
On Thu, Jan 16, 2014 at 12:04 PM, Heiko Stübner he...@sntech.de wrote: The need to know the number of array elements in a property is a common pattern. To prevent duplication of open-coded implementations add a helper function that also centralises strict sanity checking and DTB format

Re: [PATCH net] net: core: orphan frags before queuing to slow qdisc

2014-01-17 Thread Eric Dumazet
On Fri, 2014-01-17 at 17:42 +0800, Jason Wang wrote: Many qdiscs can queue a packet for a long time, this will lead an issue with zerocopy skb. It means the frags will not be orphaned in an expected short time, this breaks the assumption that virtio-net will transmit the packet in time. So

Re: [PATCH] perf tools: Fix JIT profiling on heap

2014-01-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 17, 2014 at 04:44:04PM +0900, Namhyung Kim escreveu: On Thu, 16 Jan 2014 20:23:27 +, Gaurav Jain wrote: On 1/16/14, 9:37 AM, Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Thu, Jan 16, 2014 at 10:49:31AM +0900, Namhyung Kim escreveu: Gaurav reported that perf

Re: [PATCH v3] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-17 Thread Linus Walleij
On Thu, Jan 16, 2014 at 11:44 AM, Lars Poeschel la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de This adds interrupt functionality for i2c chips to the driver. They can act as a interrupt-controller and generate interrupts, if the inputs change. This is tested with a

[PATCH] mm: Improve documentation of page_order

2014-01-17 Thread Mel Gorman
Developers occasionally try and optimise PFN scanners by using page_order but miss that in general it requires zone-lock. This has happened twice for compaction.c and rejected both times. This patch clarifies the documentation of page_order and adds a note to compaction.c why page_order is not

Re: Multiple CCR definitions

2014-01-17 Thread Balaji T K
On Friday 17 January 2014 12:09 AM, Nishanth Menon wrote: +linux-omap as well. On Thu, Jan 16, 2014 at 7:07 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Tue, Sep 10, 2013 at 11:05 PM, Linux Kernel Mailing List linux-kernel@vger.kernel.org wrote: mmc: omap_hsmmc: use the generic

RE: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst [NEW HARDWARE]

2014-01-17 Thread David Laight
From: walt Oy, Sarah! ;) I put the ASMedia adapter in my older amd64 machine, and, well, the stupid thing Just Works(TM) with kernel 3.12.7! (Yes, with the same disk docking station, too.) I can't believe the adapter works perfectly in a different computer. Have you seen this kind of

Re: [PATCH 12/20] ARM64 / ACPI: Use Parked Address in GIC structure for spin table SMP initialisation

2014-01-17 Thread Tomasz Nowicki
On 01/17/14 15:15, Arnd Bergmann wrote: On Friday 17 January 2014, Hanjun Guo wrote: +/* Parked Address in ACPI GIC structure */ +static u64 parked_address[NR_CPUS]; Please use the per_cpu infrastructure rather than NR_CPUS long arrays. Actually, per_cpu areas are initialized a bit later. If

[RFC/RFT][PATCH 5/5] PM / QoS: Add type to dev_pm_qos_add_ancestor_request() arguments

2014-01-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Rework dev_pm_qos_add_ancestor_request() so that device PM QoS type is passed to it as the third argument and make it support the DEV_PM_QOS_LATENCY_TOLERANCE device PM QoS type (in addition to DEV_PM_QOS_RESUME_LATENCY). That will allow the

Re: [PATCH] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-17 Thread Philip Balister
On 01/16/2014 12:53 PM, Srikanth Thokala wrote: This is the driver for the AXI Video Direct Memory Access (AXI VDMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type video target peripherals. The core provides efficient

[RFC/RFT][PATCH 2/5] PM / QoS: Add no_constraints_value field to struct pm_qos_constraints

2014-01-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add a new field, no_constraints_value, to struct pm_qos_constraints representing a list of PM QoS constraint requests to be returned by pm_qos_get_value() when that list of requests is empty. That field will be equal to default_value for all of

[RFC/RFT][PATCH 0/5] PM / QoS: Introduce latency tolerance device PM QoS type

2014-01-17 Thread Rafael J. Wysocki
Hi All, On some platforms hardware may switch to an energy-saving mode on the fly on the basis of certain utilization metrics used by it. That usually is desirable from the energy conservation standpoint, but it generally causes latencies to increase which may adversely affect some operations.

[RFC/RFT][PATCH 4/5] ACPI / LPSS: Support for device latency tolerance PM QoS

2014-01-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add a new routine, acpi_lpss_set_ltr(), for setting latency tolerance values for LPSS devices having LTR (Latency Tolerance Reporting) registers. Modify acpi_lpss_platform_notify() to set the LPSS devices' power.set_latency_tolerance callback

<    1   2   3   4   5   6   7   >