Re: [RFC PATCH 00/10] OMAP: GPMC: NAND: Introduce GPMC APIs for OMAP NAND

2014-07-10 Thread Tony Lindgren
* Roger Quadros [140709 05:39]: > Hi, > > The following hardware modules/registers are meant for NAND controller driver > usage: > - NAND I/O control (NAND address, data, command registers) > - Prefetch/Write-post engine > - ECC/BCH engine > > However, these registers sit in the GPMC controller'

Re: [PATCH 1/2] staging: rtl8723au: core: rtw_ap.c - removed NULL pointer check before kfree()

2014-07-10 Thread Anil Shashikumar Belur
On Thursday 10 July 2014 11:25 AM, Anil Belur wrote: > From: Anil Belur > > - as kfree() internally check for NULL, additional check it not > required. > Sorry - please ignore this patch set, they are already fixed by someone else recently. -- To unsubscribe from this list: send the line "unsub

Re: [PATCH V2] ARM: dts: Restructure imx6qdl-wandboard.dtsi for new rev C1 board.

2014-07-10 Thread Shawn Guo
On Tue, Jul 08, 2014 at 12:48:16PM -0600, George Joseph wrote: > The rev C1 Wandboard uses the Broadcom 4330 for WiFi and Bluetooth instead of > the 4329. This changes the PADS assigned for the control lines. Another > side effect of the change is that on the rev C1 board, usdhc driver can't > de

Re: [PATCH 6/6] tty: serial: Add 8250-core based omap driver

2014-07-10 Thread Tony Lindgren
* Sebastian Andrzej Siewior [140709 10:52]: > > v1…v2: > - added runtime PM. Could somebody could plese double check > this? I seems to be enabled and nothing explodes. However > serial_omap_get_context_loss_count() & enable_wakeup() are > NULL pointer (in the omap-s

Re: [PATCH] Allow increasing the buffer-head per-CPU LRU size

2014-07-10 Thread Andrew Morton
On Thu, 10 Jul 2014 08:51:17 +0200 Sebastien Buisson wrote: > Allow increasing the buffer-head per-CPU LRU size to allow efficient > filesystem operations that access many blocks for each transaction. > For example, creating a file in a large ext4 directory with quota > enabled will accesses mul

Re: [PATCH v4 01/10] mmc: sdhci-st: Intial support for ST SDHCI controller

2014-07-10 Thread Ulf Hansson
On 9 July 2014 17:07, Peter Griffin wrote: > This platform driver adds initial support for the SDHCI host controller > found on STMicroelectronics SoCs. > > It has been tested on STiH41x b2020 platforms currently. > > Signed-off-by: Giuseppe Cavallaro > Signed-off-by: Peter Griffin > Acked-by: L

Re: [PATCH v4 02/10] mmc: sdhci-st: ST Microelectronics SDHCI binding documentation.

2014-07-10 Thread Ulf Hansson
On 9 July 2014 17:07, Peter Griffin wrote: > This patch adds the device tree binding documentation for the ST > SDHCI driver. It documents the differences between the core properties > described by mmc.txt and the properties used by the sdhci-st driver. > > Signed-off-by: Giuseppe Cavallaro > Sig

linux-next: Tree for Jul 10

2014-07-10 Thread Stephen Rothwell
Hi all, Changes since 20140709: My fixes tree contains: powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64 The net tree lost its build failure. The net-next tree lost its build failure. The staging tree still had its build failure for which I disabled a driver. The akpm-current

Re: [PATCH] Allow increasing the buffer-head per-CPU LRU size

2014-07-10 Thread Sebastien Buisson
Le 10/07/2014 09:07, Andrew Morton a écrit : This hardwires 16 if ext4"a and 8 otherwise. There's no way for anyone to alter this decision if they think it will be helpful (or harmful) in their setup. In fact I do not know how to let experienced people alter the value without confusing the o

Re: [PATCH v2] of: Support CONFIG_CMDLINE_EXTEND config option

2014-07-10 Thread John Stultz
On Fri, Jan 13, 2012 at 11:15 PM, Doug Anderson wrote: > The old logic assumes CMDLINE_FROM_BOOTLOADER vs. CMDLINE_FORCE and > ignores CMDLINE_EXTEND. Here's the old logic: > > - CONFIG_CMDLINE_FORCE=true > CONFIG_CMDLINE > - dt bootargs=non-empty: > dt bootargs > - dt bootargs=empty, @da

Re: [PATCH 2/2] sched: Rewrite per entity runnable load average tracking

2014-07-10 Thread Yuyang Du
Thanks, Peter. On Wed, Jul 09, 2014 at 08:45:43PM +0200, Peter Zijlstra wrote: > Nope :-).. we got rid of that lock for a good reason. > > Also, this is one area where I feel performance really trumps > correctness, we can fudge the blocked load a little. So the > sched_clock_cpu() difference is

Re: [PATCH] Documentation: devres: Sort managed interfaces

2014-07-10 Thread Geert Uytterhoeven
Hi Greg, On Thu, Jul 10, 2014 at 1:32 AM, Greg Kroah-Hartman wrote: > On Wed, Jul 09, 2014 at 05:26:18PM +0200, Geert Uytterhoeven wrote: >> Sort the list of managed interfaces and their lists of methods >> alphabetically, to reduce the risk of merge conflicts and duplicates. >> >> Signed-off-by:

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-10 Thread Lee Jones
On Thu, 10 Jul 2014, amit daniel kachhap wrote: > Adding MFD maintainers. Why, what for? > On Tue, Jul 8, 2014 at 5:57 PM, Amit Daniel Kachhap > wrote: > > This patch makes the regulator description macro take minimum and > > steps voltage as parameter. In this way many repeated macros can be >

[PATCH 1/3] drm/nouveau/clk: make therm and volt devices optional

2014-07-10 Thread Alexandre Courbot
Allow the clock subsystem to operate even if voltage and thermal devices are not set for the device (for people with watercooling! ;)) Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/core/subdev/clock/base.c | 36 +++- 1 file changed, 22 insertions(+), 14 deletio

[PATCH 0/3] drm/gk20a: support for reclocking

2014-07-10 Thread Alexandre Courbot
This series adds support for reclocking on GK20A. The first two patches touch the clock subsystem to allow GK20A to operate, by making the presence of the thermal and voltage devices optional, and allowing pstates to be provided directly instead of being probed using the BIOS (which Tegra does not

[PATCH 3/3] drm/gk20a: reclocking support

2014-07-10 Thread Alexandre Courbot
Add support for reclocking on GK20A, using a statically-defined pstates table. The algorithms for calculating the coefficients and setting the clocks are directly taken from the ChromeOS kernel. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile | 1 + driv

[PATCH 2/3] drm/nouveau/clk: support for non-BIOS pstates

2014-07-10 Thread Alexandre Courbot
Make nouveau_clock_create() take new two optional arguments: an array of pstates and its size. When these are specified, nouveau_clock_create() will use the provided pstates instead of probing them using the BIOS. This is useful for platforms which do not provide a BIOS, like Tegra. Signed-off-by

Re: [RFC/PATCH RESEND -next 01/21] Add kernel address sanitizer infrastructure.

2014-07-10 Thread Andrey Ryabinin
On 07/09/14 18:26, Christoph Lameter wrote: > On Wed, 9 Jul 2014, Andrey Ryabinin wrote: > >> + >> +Markers of unaccessible bytes could be found in mm/kasan/kasan.h header: >> + >> +#define KASAN_FREE_PAGE 0xFF /* page was freed */ >> +#define KASAN_PAGE_REDZONE 0xFE /* redzone for

Re: [PATCH] usb: usb5303: make use of uninitialized err variable

2014-07-10 Thread Geert Uytterhoeven
Hi Greg, On Thu, Jul 10, 2014 at 12:46 AM, Greg Kroah-Hartman wrote: > On Mon, Jun 02, 2014 at 07:45:25PM +0200, Emil Goode wrote: >> The variable err is not initialized here, this patch uses it >> to store an eventual error value from devm_clk_get(). >> >> Signed-off-by: Emil Goode >> Acked-by:

Re: [RFC PATCH v2 3/5] rtc: add qpnp rtc driver

2014-07-10 Thread Stanimir Varbanov
Hi Stephen, On 07/09/2014 09:07 PM, Stephen Boyd wrote: > On 07/03/14 06:14, Stanimir Varbanov wrote: >> A 32bits RTC is housed inside PMIC. The RTC driver uses QPNP >> SPMI interface to communicate with the PMIC RTC module. >> >> The RTC device is divided into two sub-peripherals: >> - RTC read-

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-10 Thread Hugh Dickins
On Wed, 9 Jul 2014, Sasha Levin wrote: > On 07/09/2014 08:47 AM, Sasha Levin wrote: > >> > So it would again help to see stacks of other tasks, to see who holds > >> > the i_mutex and where it's stuck... > > The stacks print got garbled due to having large amount of tasks and too > > low of a > >

Re: [PATCH] video: backlight: jornada720_lcd.c: Cleaning up variable that is never used

2014-07-10 Thread Lee Jones
On Thu, 10 Jul 2014, Jingoo Han wrote: > On Thursday, July 10, 2014 7:08 AM, Rickard Strandqvist wrote: > > 2014-07-09 18:30 GMT+02:00 Lee Jones : > > > On Mon, 07 Jul 2014, Rickard Strandqvist wrote: > > > > > >> Variable ar assigned a value that is never used. > > >> I have also removed all the

Re: [PATCH] usbnet: smsc95xx: add reset_resume function with reset operation

2014-07-10 Thread David Miller
From: Joonyoung Shim Date: Thu, 10 Jul 2014 11:49:42 +0900 > The smsc95xx needs to resume with reset operation. Otherwise it causes > system hang by network error like below after resume. This case appears > on odroid u3 board. > > [9.727600] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dro

Re: [PATCH net-next v2] r8152: support jumbo frame for RTL8153

2014-07-10 Thread David Miller
From: Hayes Wang Date: Thu, 10 Jul 2014 10:58:54 +0800 > The maximum jumbo frame size for RTL8153 is 9K bytes. > Change the max rx packet size to 9K. > Change the use of the shared fifo from 6K (default) to 12K for tx. > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: se

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-10 Thread Ian Kent
On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > autofs4 currently doesn't support RCU-walk - it immediately > aborts any attempt at RCU-walk to force REF-walk for path name > lookup. > > This can cause a significant performance impact on multi-core > systems. > I have a client with a test ca

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-10 Thread Ian Kent
On Thu, 2014-07-10 at 15:43 +0800, Ian Kent wrote: > > Thanks for your effort Bruce, Oh boy, where did that come from, sorry Neil, ;) > Ian > -- 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

Re: [PATCH] powerpc: Fail remap_4k_pfn() if PFN doesn't fit inside PTE

2014-07-10 Thread Madhusudanan Kandasamy
Hi Stephen, Thanks for the suggestion, I'll send a new patch. On Thursday 10 July 2014 04:19 AM, Stephen Rothwell wrote: > Hi Madhusudanan, > > On Wed, 09 Jul 2014 21:38:31 +0530 Madhusudanan Kandasamy > wrote: >> >> diff --git a/arch/powerpc/include/asm/pte-hash64-64k.h >> b/arch/powerpc/inc

Re: [RFC/PATCH RESEND -next 11/21] mm: slub: share slab_err and object_err functions

2014-07-10 Thread Andrey Ryabinin
On 07/09/14 18:29, Christoph Lameter wrote: > On Wed, 9 Jul 2014, Andrey Ryabinin wrote: > >> Remove static and add function declarations to mm/slab.h so they >> could be used by kernel address sanitizer. > > Hmmm... This is allocator specific. At some future point it would be good > to move erro

Re: [RFC/PATCH RESEND -next 12/21] mm: util: move krealloc/kzfree to slab_common.c

2014-07-10 Thread Andrey Ryabinin
On 07/09/14 18:32, Christoph Lameter wrote: > On Wed, 9 Jul 2014, Andrey Ryabinin wrote: > >> To avoid false positive reports in kernel address sanitizer krealloc/kzfree >> functions shouldn't be instrumented. Since we want to instrument other >> functions in mm/util.c, krealloc/kzfree moved to sl

[PATCH v3] clocksource: document some basic timekeeping concepts

2014-07-10 Thread Linus Walleij
This adds some documentation about clock sources, clock events, the weak sched_clock() function and delay timers that answers questions that repeatedly arise on the mailing lists. Cc: Thomas Gleixner Cc: Nicolas Pitre Cc: Colin Cross Cc: John Stultz Cc: Peter Zijlstra Cc: Ingo Molnar Signed-

Re: [PATCH v2 00/14] AT91: PIT: Cleanups and move to drivers/clocksource

2014-07-10 Thread Maxime Ripard
Hi Daniel, On Tue, Jul 01, 2014 at 11:33:13AM +0200, Maxime Ripard wrote: > Hi everyone, > > This series cleans up the PIT driver in order for it to not depend on > anything in mach-at91 anymore, and in the end move it out of > mach-at91. > > Along the way, these patches also do a bit of cleanup

Re: [PATCHv3 2/2] Add force_epp module option for parport_pc.

2014-07-10 Thread Matwey V. Kornilov
On Wed, 9 Jul 2014, Greg KH wrote: On Mon, Jul 07, 2014 at 11:01:51AM +0400, Matwey V. Kornilov wrote: From cf37d0cc4d51da5c0b368e1f5ab05082c041d1e1 Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" Date: Wed, 25 Jun 2014 01:08:45 +0400 Subject: [PATCHv3 2/2] Add force_epp module option f

Re: [RFC v2 0/5] Per-user clock constraints

2014-07-10 Thread Tomeu Vizoso
On 07/09/2014 10:16 PM, Tomasz Figa wrote: Hi Tomeu, On 03.07.2014 16:38, Tomeu Vizoso wrote: Hello, here is another round for commenting, not very different from the first one. Something I forgot to mention before is that the function rename was performed by the scripts in: http://cgit.coll

[PATCH v8 1/4] arm: fiq: Add callbacks to manage FIQ routings

2014-07-10 Thread Daniel Thompson
Currently enable_fiq/disable_fiq use a simple offset to convert an IRQ virq into a FIQ virq. This is too inflexible for multi-platform kernels and makes runtime error checking impossible. We solve this by introducing a flexible mapping that allows interrupt controllers that support FIQ to register

[PATCH v8 0/4] arm: KGDB NMI/FIQ support

2014-07-10 Thread Daniel Thompson
This patchset makes it possible to use kgdb's NMI infrastructure on ARM platforms. The patches have been previously circulated as part of a large patchset mixing together ARM architecture code and driver changes (http://thread.gmane.org/gmane.linux.ports.arm.kernel/333901 ). This patchset is drama

[PATCH v8 4/4] ARM: Add KGDB/KDB FIQ debugger generic code

2014-07-10 Thread Daniel Thompson
From: Anton Vorontsov The FIQ debugger may be used to debug situations when the kernel stuck in uninterruptable sections, e.g. the kernel infinitely loops or deadlocked in an interrupt or with interrupts disabled. By default KGDB FIQ is disabled in runtime, but can be enabled with kgdb_fiq.enabl

[PATCH v8 3/4] ARM: Move some macros from entry-armv to entry-header

2014-07-10 Thread Daniel Thompson
From: Anton Vorontsov Just move the macros into header file as we would want to use them for KGDB FIQ entry code. The following macros were moved: - svc_entry - usr_entry - kuser_cmpxchg_check - vector_stub To make kuser_cmpxchg_check actually work across different files, we also have to m

[PATCH v8 2/4] arm: fiq: Allow ACK and EOI to be passed to the intc

2014-07-10 Thread Daniel Thompson
Modern ARM interrupt controllers require an ACK as interrupts are taken and an EOI on completion. The FIQ code currently does not provide any API to perform this. This patch provides this API, implemented by adding two callbacks to the fiq_chip structure. Signed-off-by: Daniel Thompson Acked-by:

[PATCH v2] Documentation: devres: Sort managed interfaces

2014-07-10 Thread Geert Uytterhoeven
everything became quiet. v2: - Rebased against next-20140710 --- Documentation/driver-model/devres.txt | 114 +- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index

[PATCH v2 0/2] Support apq8064 global clock control

2014-07-10 Thread Srinivas Kandagatla
These two patches add full support for apq8064 in the global clock controller driver. The first patch has already been on the list so I've picked it up and resent because the second patch depends on it. Am resending the series with the fix to my patch. Changes since v1: - fixed comment lo

Re: [PATCH 4/6] x86-mce: Add spinlocks to prevent duplicated MCP and CMCI reports.

2014-07-10 Thread Borislav Petkov
On Wed, Jul 09, 2014 at 11:32:53PM +, Luck, Tony wrote: > *) AMD cpus (they don't do CMCI at all, do they??) They have something similar. See arch/x86/kernel/cpu/mcheck/mce_amd.c -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from

[PATCH v7 00/33] Provide netdev naming-policy via sysfs

2014-07-10 Thread Tom Gundersen
This picks up the patch series where David Herrmann left off, incorporating the feedback from David Miller. Overview (see Patch 1 for more details): Patch 1: Introduce the enums, documentation and userspace API Patch 2: Hook up with device renaming Patch 3: change the alloc_netdev*() API to take

[PATCH v7 06/33] net: set name assign type for names passed directly from userspace

2014-07-10 Thread Tom Gundersen
Such names should be NET_NAME_USER, in case the emptystring is given we fallback to an enumerated name. Signed-off-by: Tom Gundersen --- drivers/net/bonding/bond_main.c | 3 ++- drivers/net/tun.c | 9 ++--- drivers/tty/n_gsm.c | 10 +++--- net/atm/br2684.c

[PATCH v7 01/33] net: add name_assign_type netdev attribute

2014-07-10 Thread Tom Gundersen
Based on a patch by David Herrmann. The name_assign_type attribute gives hints where the interface name of a given net-device comes from. These values are currently defined: NET_NAME_ENUM: The ifname is provided by the kernel with an enumerated suffix, typically based on order of discove

[PATCH v7 32/33] net: x25_asy - set name assign type

2014-07-10 Thread Tom Gundersen
Names are given by the first available X.25 channel, so order of device creation matters. Signed-off-by: Tom Gundersen --- drivers/net/wan/x25_asy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index df6c073..2821f8

[PATCH v7 31/33] net: slcan - set name assign type

2014-07-10 Thread Tom Gundersen
Names are given by the first available SLCAN channel, so order of device creation matters. Signed-off-by: Tom Gundersen Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Cc: linux-...@vger.kernel.org --- drivers/net/can/slcan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH v7 23/33] net: openvswitch - set name assign type

2014-07-10 Thread Tom Gundersen
Signed-off-by: Tom Gundersen Cc: Pravin Shelar Cc: d...@openvswitch.org --- net/openvswitch/datapath.c | 1 + net/openvswitch/vport-internal_dev.c | 2 +- net/openvswitch/vport.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net/openvswitch/datapath

[PATCH v7 25/33] net: infiniband - steal ifname label

2014-07-10 Thread Tom Gundersen
Use the same assign type, as the name we are basing our new name on. Signed-off-by: Tom Gundersen Cc: Tom Tucker Cc: Steve Wise Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: linux-r...@vger.kernel.org --- drivers/infiniband/hw/amso1100/c2_provider.c | 2 +- 1 file changed, 1 inser

[PATCH v7 29/33] net: brcmfmac - set name assign type

2014-07-10 Thread Tom Gundersen
The name is given by the firmware, so we assume it is predictable. Signed-off-by: Tom Gundersen Cc: Brett Rudley Cc: Arend van Spriel Cc: "Franky (Zhenhui) Lin" Cc: Hante Meuleman Cc: John Linville Cc: linux-wirel...@vger.kernel.org Cc: brcm80211-dev-l...@broadcom.com --- drivers/net/wirele

[PATCH v7 33/33] net: slip - set name assign type

2014-07-10 Thread Tom Gundersen
Names are given by the first available SLIP channel, so order of device creation matters. Signed-off-by: Tom Gundersen Cc: Tyler Hall --- drivers/net/slip/slip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c index 05387b1..

[PATCH v7 30/33] net: ppp - set name assign type

2014-07-10 Thread Tom Gundersen
The ifname is of the form pppX where X is the unit number. This is even set by userspace, or userspace requests the kernel to chose one, which is then returned to userspace. Either way the creating user knows the name, so we treat both cases as if the user had explicitly chosen the name and label i

[PATCH v7 28/33] net: dsa - set name assign type

2014-07-10 Thread Tom Gundersen
The name is given by the firmware, so we assume it is predictable. Signed-off-by: Tom Gundersen Cc: Fabian Godehardt Cc: Florian Fainelli --- net/dsa/dsa.c | 3 ++- net/dsa/dsa_priv.h | 3 ++- net/dsa/slave.c| 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ne

[PATCH v7 27/33] net: tile - set name assign type

2014-07-10 Thread Tom Gundersen
The name is obtained from the 'hardware', so consider it predictable. Signed-off-by: Tom Gundersen Cc: Chris Metcalf --- drivers/net/ethernet/tile/tilegx.c | 7 --- drivers/net/ethernet/tile/tilepro.c | 13 +++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/driv

[PATCH v7 24/33] net: vlan - set name assign type

2014-07-10 Thread Tom Gundersen
When deriving the name from the real device, inherit the assign type, otherwise set PREDICTABLE as the name will be uniquely determined by the VLANID. Signed-off-by: Tom Gundersen Cc: Patrick McHardy --- net/8021q/vlan.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/

[PATCH v7 26/33] net: ipoib - set name assign type

2014-07-10 Thread Tom Gundersen
When naming a device based on a combination of the parent device, and the upsr-supplied key, inherit the name assign type from the parent. Signed-off-by: Tom Gundersen Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Erez Shitrit Cc: Michal Schmidt Cc: Jim Foraker Cc: linux-r...@vger

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-10 Thread NeilBrown
On Thu, 10 Jul 2014 15:43:40 +0800 Ian Kent wrote: > On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: > > autofs4 currently doesn't support RCU-walk - it immediately > > aborts any attempt at RCU-walk to force REF-walk for path name > > lookup. > > > > This can cause a significant performance

[PATCH v7 22/33] net: hamradio - set name assign type

2014-07-10 Thread Tom Gundersen
The hamradio devices are created the same way with the same names on module init time so should therefore be PREDICTABLE rather than ENUM. Signed-off-by: Tom Gundersen Cc: Thomas Sailer Cc: Joerg Reuter Cc: Jean-Paul Roubelat Cc: Wenliang Fan Cc: linux-h...@vger.kernel.org --- drivers/net/ha

[PATCH v7 20/33] net: irlan - set name assign type

2014-07-10 Thread Tom Gundersen
Signed-off-by: Tom Gundersen Cc: Samuel Ortiz Cc: Dragos Foianu --- include/net/irda/irlan_eth.h | 2 +- net/irda/irlan/irlan_common.c | 2 +- net/irda/irlan/irlan_eth.c| 7 --- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/net/irda/irlan_eth.h b/include/net/ir

[PATCH v7 19/33] net: isdn - set name assign type

2014-07-10 Thread Tom Gundersen
Signed-off-by: Tom Gundersen Cc: Karsten Keil --- drivers/isdn/i4l/isdn_common.c | 4 ++-- drivers/isdn/i4l/isdn_net.c| 10 +- drivers/isdn/i4l/isdn_net.h| 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/i

[PATCH v7 18/33] net: arcdev - label alloc_arcdev names

2014-07-10 Thread Tom Gundersen
Let the drivers pass in the name assign type. They all get the name as a module parameter. Signed-off-by: Tom Gundersen Cc: Dan Carpenter Cc: Paul Gortmaker --- drivers/net/arcnet/arc-rimi.c | 2 +- drivers/net/arcnet/arcnet.c | 8 ++-- drivers/net/arcnet/com20020-isa.c | 2 +- d

[PATCH v7 21/33] net: batman-adv - set name assign type

2014-07-10 Thread Tom Gundersen
Signed-off-by: Tom Gundersen Cc: Marek Lindner Cc: Simon Wunderlich Cc: Antonio Quartulli Cc: b.a.t.m@lists.open-mesh.org --- net/batman-adv/hard-interface.c | 5 +++-- net/batman-adv/hard-interface.h | 3 ++- net/batman-adv/soft-interface.c | 9 ++--- net/batman-adv/soft-interface.h |

[PATCH v7 15/33] net: xen-netback - set name assign type

2014-07-10 Thread Tom Gundersen
The name contains then xen handle, which is not guaranteed to be stable between restarts, so label this NET_NAME_ENUM. Signed-off-by: Tom Gundersen Cc: Ian Campbell Cc: Wei Liu Cc: xen-de...@lists.xenproject.org --- drivers/net/xen-netback/interface.c | 4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH v7 15/33] net: xen-netback - set name assign type

2014-07-10 Thread Varka Bhadram
On 07/10/2014 01:47 PM, Tom Gundersen wrote: The name contains then xen handle, which is not guaranteed to be stable between restarts, so label this NET_NAME_ENUM. Signed-off-by: Tom Gundersen Cc: Ian Campbell Cc: Wei Liu Cc: xen-de...@lists.xenproject.org --- drivers/net/xen-netback/interf

Re: [PATCH v3 3/4] ARM: EXYNOS: cpuidle: add secure firmware support to AFTR mode code

2014-07-10 Thread Krzysztof Kozlowski
On 09.07.2014 19:17, Bartlomiej Zolnierkiewicz wrote: * Move cp15 registers saving to exynos_save_cp15() helper and add additional helper usage to do_idle firmware method. * Use sysram_ns_base_addr + 0x24/0x20 addresses instead of the default ones used by exynos_cpu_set_boot_vector() on bo

[PATCH v7 17/33] net: airo - set name assign type

2014-07-10 Thread Tom Gundersen
alloc_netdev is first called without a name, before the name and name assign type is open-coded later. Signed-off-by: Tom Gundersen Cc: John Linville Cc: linux-wirel...@vger.kernel.org --- drivers/net/wireless/airo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/airo.

[PATCH v7 16/33] net: gdm_lte - set name assign type

2014-07-10 Thread Tom Gundersen
Devices are named according to the scheme lteXpdnY, where Y is the nic type, and X is the normal enumeration, so the scheme is NET_NAME_ENUM. Signed-off-by: Tom Gundersen Cc: Greg Kroah-Hartman Cc: Won Kang Cc: Rashika Kheria Cc: de...@driverdev.osuosl.org --- drivers/staging/gdm724x/gdm_lte.

[PATCH v2 2/2] clk: qcom: Fully support apq8064 global clock control

2014-07-10 Thread Srinivas Kandagatla
From: Stephen Boyd Add in the handful of new clocks and introduce a new reset table with the few new resets. Signed-off-by: Stephen Boyd --- drivers/clk/qcom/gcc-msm8960.c | 573 ++- include/dt-bindings/clock/qcom,gcc-msm8960.h | 11 + include/dt-bindings

[PATCH] backlight: jornada720: Minimise code duplication and handle errors better

2014-07-10 Thread Lee Jones
Rickard Strandqvi's ran a code analysis application which found that jornada_lcd_get_contrast(() and jornada_lcd_set_contrast() contained some code duplication (calling the same functions during various code execution paths) and failed to return errors in a consistent manner. This patch aims to si

[PATCH v7 14/33] net: caif_serial - set name assign type

2014-07-10 Thread Tom Gundersen
The name is uniquely determined by the name of the TTY. Signed-off-by: Tom Gundersen Cc: Dmitry Tarnyagin --- drivers/net/caif/caif_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/caif/caif_serial.c b/drivers/net/caif/caif_serial.c index 27bbc56..4432462

[PATCH v7 13/33] net: mrt - set name assign type

2014-07-10 Thread Tom Gundersen
We have one device per routing table, so the naming is predictable. Signed-off-by: Tom Gundersen Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy --- net/ipv4/ipmr.c | 2 +- net/ipv6/ip6mr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v7 07/33] net: rtnetlink - make create_link take name_assign_type

2014-07-10 Thread Tom Gundersen
Signed-off-by: Tom Gundersen --- drivers/net/veth.c | 11 --- include/net/rtnetlink.h | 1 + net/core/rtnetlink.c| 12 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index b4a10bc..5058700 100644 --- a/drivers

[PATCH v2 1/2] clk: qcom: add clocks necessary for apq8064 sdcc

2014-07-10 Thread Srinivas Kandagatla
This patch adds clocks necessary for SD card controller on apq8064 SOC. Without this patch the clocks are not visible to the sdcc driver. Signed-off-by: Srinivas Kandagatla Reviewed-by: Kumar Gala --- drivers/clk/qcom/gcc-msm8960.c | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v7 12/33] net: af_rose - set name assign type

2014-07-10 Thread Tom Gundersen
A given number of indistinguishable interfaces are allocated at init time, so consider their names predictable. Signed-off-by: Tom Gundersen Cc: linux-h...@vger.kernel.org --- net/rose/af_rose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rose/af_rose.c b/net/rose/af_

[PATCH v7 11/33] net: af_netrom - set name assign type

2014-07-10 Thread Tom Gundersen
A given number of indistinguishable interfaces are allocated at init time, so consider their names predictable. Signed-off-by: Tom Gundersen Cc: Ralf Baechle Cc: linux-h...@vger.kernel.org --- net/netrom/af_netrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netrom/

[PATCH v7 08/33] net: nl80211 - make rdev_add_virtual_intf take name_assign_type

2014-07-10 Thread Tom Gundersen
Pass the value down and set it at the same place the name itself is set. Signed-off-by: Tom Gundersen Cc: Johannes Berg Cc: John Linville --- drivers/net/wireless/ath/ath6kl/cfg80211.c| 6 -- drivers/net/wireless/ath/ath6kl/cfg80211.h| 1 + drivers/net/wireless/at

[PATCH v7 10/33] net: dummy - set name assign type

2014-07-10 Thread Tom Gundersen
A fixed number of indistinguishable dummy devices are allocated at module init time, the names are therefore PREDICTABLE rather than ENUM. Signed-off-by: Tom Gundersen Cc: dingtianhong Cc: Tan Xiaojun Cc: WANG Cong --- drivers/net/dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v7 09/33] net: nl802154 - make add_iface take name assign type

2014-07-10 Thread Tom Gundersen
Signed-off-by: Tom Gundersen Cc: Dmitry Eremin-Solenikov Cc: linux-zigbee-de...@lists.sourceforge.net --- include/net/wpan-phy.h | 4 +++- net/ieee802154/nl-phy.c| 5 - net/mac802154/ieee802154_dev.c | 7 --- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a

[PATCH v7 05/33] net: set name assign type for names assigned using a static string

2014-07-10 Thread Tom Gundersen
This covers the trivial case: alloc_netdev(_, "bar", NET_NAME_PREDICTABLE, _); Signed-off-by: Tom Gundersen --- drivers/media/dvb-core/dvb_net.c | 2 +- drivers/misc/sgi-xp/xpnet.c | 2 +- drivers/net/caif/caif_virtio.c | 2 +- drivers/net/eql.c| 4 ++-- drivers/net/loopb

[PATCH v7 04/33] net: set name assign type for names assigned using a static template

2014-07-10 Thread Tom Gundersen
This covers the trivial case: alloc_netdev(_, "foo%d", NET_NAME_ENUM, _); Signed-off-by: Tom Gundersen --- drivers/firewire/net.c| 2 +- drivers/hsi/clients/ssi_protocol.c| 3 ++- drivers/net/caif/caif_spi.c | 4 ++-- drivers/net/can/dev.c

[PATCH v7 02/33] net: set name assign type for renamed devices

2014-07-10 Thread Tom Gundersen
Based on a patch from David Herrmann. This is the only place devices can be renamed. Signed-off-by: Tom Gundersen Reviewed-by: David Herrmann --- net/core/dev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/net/core/dev.c b/net/core/dev.c index 30eedf6..7765ec5 100644 --- a/net/co

Re: [RFC PATCH v2 1/5] mfd: qpnp: add support for Qualcomm QPNP PMICs

2014-07-10 Thread Lee Jones
On Wed, 09 Jul 2014, Stanimir Varbanov wrote: > Hi Lee, > > Thanks for the comments. > > On 07/09/2014 05:34 PM, Lee Jones wrote: > > On Thu, 03 Jul 2014, Stanimir Varbanov wrote: > >> From: Josh Cartwright > >> > >> The Qualcomm QPNP PMIC chips are components used with the > >> Snapdragon 800

[PATCH V2] powerpc: Fail remap_4k_pfn() if PFN doesn't fit inside PTE

2014-07-10 Thread Madhusudanan Kandasamy
V2 : Rewritten to avoid helper function as suggested by Stephen Rothwell. remap_4k_pfn() silently truncates upper bits of input 4K PFN if it cannot be contained in PTE. This leads invalid memory mapping and could result in a system crash when the memory is accessed. This patch fails remap_4k_pfn()

[PATCH] x86,cpu-hotplug: assign same CPU number to readded CPU

2014-07-10 Thread Yasuaki Ishimatsu
llc_shared_map is not cleared even if CPU is offline or hot removed. So when hot-plugging CPU and assigning new CPU number to hot-added CPU, the mask has wrong value. The mask is used by CSF schduler to create sched_domain. So it breaks CFS scheduler. Here is a example on my system. My system has

Re: [PATCH v7 00/33] Provide netdev naming-policy via sysfs

2014-07-10 Thread David Miller
It is not reasonable to expect people to review such a large number of patches at one time. Split your series up into logical, and more reasonably sized chunks. I'd say 14 or 15 at a time is the limit. I'm not even looking at this series until you submit it more reasonably. Thank you. -- To un

Re: WARNING: CPU: 2 PID: 1 at arch/x86/mm/ioremap.c:171 __ioremap_caller+0x290/0x2fa()

2014-07-10 Thread Peter Zijlstra
On Wed, Jul 09, 2014 at 12:48:05PM -0700, Fabio Coatti wrote: > In data mercoledì 9 luglio 2014 11:54:21, Greg Kroah-Hartman ha scritto: > > > Try cc:ing everyone on that patch, with the original information you > > provided, and the linux-kernel mailing list. Those developers should be > > able

Re: [PATCH v2 2/2] virtio: rng: ensure reads happen after successful probe

2014-07-10 Thread Herbert Xu
On Wed, Jul 09, 2014 at 12:18:36PM -0400, Jason Cooper wrote: > On Sat, Jul 05, 2014 at 11:04:53AM +0530, Amit Shah wrote: > > The hwrng core asks for random data in the hwrng_register() call itself > > from commit d9e7972619. This doesn't play well with virtio -- the > > DRIVER_OK bit is only set

Re: [RESEND PATCH v4 2/2] arm64: Add seccomp support

2014-07-10 Thread Will Deacon
On Thu, Jul 10, 2014 at 05:33:50AM +0100, AKASHI Takahiro wrote: > Will, > > > (1) Updating syscallno based on w8, but this ties us to the current ABI > > and could get messy if this register changes in the future. > > So, is this the conclusion that I should follow? I think so, with the

[RFC PATCH 2/2] devicetree: Add devicetree bindings documentation for Zynq QSPI

2014-07-10 Thread Harini Katakam
Add bindings documentation for Zynq QSPI driver. Signed-off-by: Harini Katakam --- .../devicetree/bindings/spi/spi-zynq-qspi.txt | 28 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt diff --git a/Documentat

Re: [RFC/PATCH RESEND -next 13/21] mm: slub: add allocation size field to struct kmem_cache

2014-07-10 Thread Andrey Ryabinin
On 07/09/14 18:33, Christoph Lameter wrote: > On Wed, 9 Jul 2014, Andrey Ryabinin wrote: > >> When caller creates new kmem_cache, requested size of kmem_cache >> will be stored in alloc_size. Later alloc_size will be used by >> kerenel address sanitizer to mark alloc_size of slab object as >> acce

[RFC PATCH 1/2] spi: Add support for Zynq QSPI controller

2014-07-10 Thread Harini Katakam
This patch adds support for QSPI controller used by Zynq. Signed-off-by: Harini Katakam --- drivers/spi/Kconfig |6 + drivers/spi/Makefile|1 + drivers/spi/spi-zynq-qspi.c | 854 +++ 3 files changed, 861 insertions(+) create mode

Re: [PATCH v7 31/33] net: slcan - set name assign type

2014-07-10 Thread Marc Kleine-Budde
On 07/10/2014 10:17 AM, Tom Gundersen wrote: > Names are given by the first available SLCAN channel, so order > of device creation matters. > > Signed-off-by: Tom Gundersen > Cc: Wolfgang Grandegger > Cc: Marc Kleine-Budde > Cc: linux-...@vger.kernel.org Acked-by: Marc Kleine-Budde -- Pengu

Re: WARNING: CPU: 2 PID: 1 at arch/x86/mm/ioremap.c:171 __ioremap_caller+0x290/0x2fa()

2014-07-10 Thread Peter Zijlstra
On Thu, Jul 10, 2014 at 10:44:21AM +0200, Peter Zijlstra wrote: > On Wed, Jul 09, 2014 at 12:48:05PM -0700, Fabio Coatti wrote: > > In data mercoledì 9 luglio 2014 11:54:21, Greg Kroah-Hartman ha scritto: > > > > > Try cc:ing everyone on that patch, with the original information you > > > provided

Re: [PATCH v7 04/33] net: set name assign type for names assigned using a static template

2014-07-10 Thread Marc Kleine-Budde
On 07/10/2014 10:17 AM, Tom Gundersen wrote: > This covers the trivial case: > > alloc_netdev(_, "foo%d", NET_NAME_ENUM, _); > > Signed-off-by: Tom Gundersen > --- > drivers/net/can/dev.c | 2 +- > diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c > index 9f91fcb..2

[RFC PATCH 0/2] Zynq QSPI RFC

2014-07-10 Thread Harini Katakam
Xilinx Zynq uses a QSPI controller that is based on the Cadence SPI IP. This controller implements all the functionality required to support Quad SPI NOR flash devices. This driver along with the MTD layer is used to support flash devices. This series is for the following purposes: - RFC of the Qu

Re: [PATCH v2 2/2] virtio: rng: ensure reads happen after successful probe

2014-07-10 Thread Amit Shah
On (Wed) 09 Jul 2014 [12:18:36], Jason Cooper wrote: > On Sat, Jul 05, 2014 at 11:04:53AM +0530, Amit Shah wrote: > > The hwrng core asks for random data in the hwrng_register() call itself > > from commit d9e7972619. This doesn't play well with virtio -- the > > DRIVER_OK bit is only set by virti

Re: WARNING: CPU: 2 PID: 1 at arch/x86/mm/ioremap.c:171 __ioremap_caller+0x290/0x2fa()

2014-07-10 Thread Peter Zijlstra
On Thu, Jul 10, 2014 at 10:52:08AM +0200, Peter Zijlstra wrote: > On Thu, Jul 10, 2014 at 10:44:21AM +0200, Peter Zijlstra wrote: > > On Wed, Jul 09, 2014 at 12:48:05PM -0700, Fabio Coatti wrote: > > > In data mercoledì 9 luglio 2014 11:54:21, Greg Kroah-Hartman ha scritto: > > > > > > > Try cc:in

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-07-10 Thread Linus Walleij
On Tue, Jul 8, 2014 at 5:55 PM, Sören Brinkmann wrote: > I fully agree and you don't have to convince me. But to a lot of our > customers that are used to use FPGAs, SOCs and Linux are pretty new. You > see a lot of scary stuff. Accessing /dev/mem seems to be a lot of > people's big hammer soluti

Re: [PATCH][v2] crypto: caam - Check for CAAM block presence before registering with crypto layer

2014-07-10 Thread Herbert Xu
On Mon, Jul 07, 2014 at 10:42:12AM +0530, Ruchika Gupta wrote: > The layer which registers with the crypto API should check for the presence of > the CAAM device it is going to use. If the platform's device tree doesn't > have > the required CAAM node, the layer should return an error and not reg

Re: [PATCH v3] crypto: caam - fix memleak in caam_jr module

2014-07-10 Thread Herbert Xu
On Mon, Jul 07, 2014 at 11:52:41AM +0300, Cristian Stoica wrote: > This patch fixes a memory leak that appears when caam_jr module is unloaded. > > Cc: # 3.13+ > Signed-off-by: Cristian Stoica Patch applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://

Re: [PATCH v7 15/33] net: xen-netback - set name assign type

2014-07-10 Thread Ian Campbell
On Thu, 2014-07-10 at 10:17 +0200, Tom Gundersen wrote: > The name contains then xen handle, which is not guaranteed to be > stable between restarts, so label this NET_NAME_ENUM. FWIW the N'th interface for domain with domid D will always be named vifD.N. If you reboot domain D then it's domid wi

  1   2   3   4   5   6   7   8   9   10   >