[PATCH 05/13] net: mvneta: add xmit_more support

2015-11-21 Thread Marcin Wojtas
From: Simon Guinot Basing on xmit_more flag of the skb, TX descriptors can be concatenated before flushing. This commit delay Tx descriptor flush if the queue is running and if there is more skb's to send. Signed-off-by: Simon Guinot --- drivers/net/ethernet/marvell/mvneta.c | 11 ---

[PATCH 01/13] net: mvneta: add configuration for MBUS windows access protection

2015-11-21 Thread Marcin Wojtas
This commit adds missing configuration of MBUS windows access protection in mvneta_conf_mbus_windows function - a dedicated variable for that purpose remained there unused since v3.8 initial mvneta support. Because of that the register contents were inherited from the bootloader. Signed-off-by:

[PATCH 04/13] net: mvneta: enable suspend/resume support

2015-11-21 Thread Marcin Wojtas
This commit introduces suspend/resume routines used for both in 'standby' and 'mem' modes. For the latter, in which registers' contents are lost, following steps are performed: * in suspend - update port statistics and, if interface is running, detach netif, clean the queues, disable cpu

[PATCH 03/13] net: mvneta: fix bit assignment in MVNETA_RXQ_CONFIG_REG

2015-11-21 Thread Marcin Wojtas
MVNETA_RXQ_HW_BUF_ALLOC bit which controls enabling hardware buffer allocation was mistakenly set as BIT(1). This commit fixes the assignment. Signed-off-by: Marcin Wojtas Cc: # v3.8+ --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] [media] s5p-mfc: constify s5p_mfc_codec_ops structures

2015-11-21 Thread Julia Lawall
The s5p_mfc_codec_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |2 +- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c|4 ++--

[PATCH 06/13] net: mvneta: enable mixed egress processing using HR timer

2015-11-21 Thread Marcin Wojtas
Mixed approach allows using higher interrupt threshold (increased back to 15 packets), useful in high throughput. In case of small amount of data or very short TX queues HR timer ensures releasing buffers with small latency. Along with existing tx_done processing by coalescing interrupts this

[PATCH 07/13] bus: mvebu-mbus: provide api for obtaining IO and DRAM window information

2015-11-21 Thread Marcin Wojtas
This commit enables finding appropriate mbus window and obtaining its target id and attribute for given physical address in two separate routines, both for IO and DRAM windows. This functionality is needed for Armada XP/38x Network Controller's Buffer Manager and PnC configuration. Signed-off-by:

[PATCH 08/13] ARM: mvebu: enable SRAM support in mvebu_v7_defconfig

2015-11-21 Thread Marcin Wojtas
Signed-off-by: Marcin Wojtas --- arch/arm/configs/mvebu_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/mvebu_v7_defconfig b/arch/arm/configs/mvebu_v7_defconfig index c6729bf..fe57e20 100644 --- a/arch/arm/configs/mvebu_v7_defconfig +++

[PATCH 09/13] net: mvneta: bm: add support for hardware buffer management

2015-11-21 Thread Marcin Wojtas
Buffer manager (BM) is a dedicated hardware unit that can be used by all ethernet ports of Armada XP and 38x SoC's. It allows to offload CPU on RX path by sparing DRAM access on refilling buffer pool, hardware-based filling of descriptor ring data and better memory utilization due to HW

[PATCH 10/13] ARM: mvebu: add buffer manager nodes to armada-38x.dtsi

2015-11-21 Thread Marcin Wojtas
Armada 38x network controller supports hardware buffer management (BM). Since it is now enabled in mvneta driver, appropriate nodes can be added to armada-38x.dtsi - for the actual common BM unit (bm@c8000) and its internal SRAM (bm-bppi), which is used for indirect access to buffer pointer ring

[PATCH 13/13] ARM: mvebu: enable buffer manager support on Armada XP boards

2015-11-21 Thread Marcin Wojtas
Since mvneta driver supports using hardware buffer management (BM), in order to use it, board files have to be adjusted accordingly. This commit enables BM on AXP-DB and AXP-GP in same manner - because number of ports on those boards is the same as number of possible pools, each port is supposed

[PATCH 02/13] net: mvneta: enable IP checksum with jumbo frames for Armada 38x on Port0

2015-11-21 Thread Marcin Wojtas
The Ethernet controller found in the Armada 38x SoC's family support TCP/IP checksumming with frame sizes larger than 1600 bytes, however only on port 0. This commit enables this feature by using 'marvell,armada-xp-neta' in 'ethernet@7' node. Signed-off-by: Marcin Wojtas Cc: # v3.18+ ---

[PATCH 12/13] ARM: mvebu: add buffer manager nodes to armada-xp.dtsi

2015-11-21 Thread Marcin Wojtas
Armada XP network controller supports hardware buffer management (BM). Since it is now enabled in mvneta driver, appropriate nodes can be added to armada-xp.dtsi - for the actual common BM unit (bm@c) and its internal SRAM (bm-bppi), which is used for indirect access to buffer pointer ring

[PATCH 11/13] ARM: mvebu: enable buffer manager support on Armada 38x boards

2015-11-21 Thread Marcin Wojtas
Since mvneta driver supports using hardware buffer management (BM), in order to use it, board files have to be adjusted accordingly. This commit enables BM on: * A385-DB-AP - each port has its own pool for long and common pool for short packets, * A388-DB - to each port unique 'short' and 'long'

[PATCH 00/13] mvneta Buffer Management and enhancements

2015-11-21 Thread Marcin Wojtas
Hi, Hereby I submit a patchset that introduces various fixes and support for new features and enhancements to the mvneta driver: 1. First three patches are minimal fixes, stable-CC'ed. 2. Suspend to ram ('s2ram') support. Due to some stability problems Thomas Petazzoni's patches did not get

[PATCH] nfsd: recover: constify nfsd4_client_tracking_ops structures

2015-11-21 Thread Julia Lawall
The nfsd4_client_tracking_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- fs/nfsd/netns.h |2 +- fs/nfsd/nfs4recover.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-21 Thread Pavel Machek
On Wed 2015-11-11 17:10:46, Frank Rowand wrote: > Adding devicetree list. > > Thread starts at > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/354459.html > > On 11/5/2015 8:17 AM, Tony Lindgren wrote: > > * Pali Rohár [151105 03:41]: > >> On Tuesday 13 October 2015 16:37:46

[GIT pull] perf fixes for 4.4

2015-11-21 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus A couple of fixes for perf tools: - Build system updates - Plug a memory leak in an error path of perf probe - Tear down probes

Re: multi-codec support for arizona-ldo1 was Re: System with multiple arizona (wm5102) codecs

2015-11-21 Thread Pavel Machek
On Mon 2015-11-16 14:11:42, Charles Keepax wrote: > On Sat, Nov 14, 2015 at 10:16:33PM +0100, Pavel Machek wrote: > > HiOn Sat 2015-11-14 18:49:40, Mark Brown wrote: > > > On Sat, Nov 14, 2015 at 06:59:16PM +0100, Pavel Machek wrote: > > > > > > > Well, mfd_core.c seems to call

[GIT pull] x86 fixes for 4.4

2015-11-21 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus This update contains: - MPX updates for handling 32bit processes - A fix for a long standing bug in 32bit signal frame handling related

Re: [PATCH 2/3] clk: let of_clk_get_parent_name() fail for invalid clock-indices

2015-11-21 Thread Masahiro Yamada
Hi Stephen, 2015-11-21 2:45 GMT+09:00 Stephen Boyd : > On 11/20, Masahiro Yamada wrote: >> Currently, of_clk_get_parent_name() returns a wrong parent clock name >> when "clock-indices" property exists and the given index is not found >> in the property. In this case, NULL should be returned. >>

wilc_wfi_cfgoperations.c:undefined reference to `cfg80211_ready_on_channel'

2015-11-21 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3ad5d7e06a96d54a55acb5ab25938a06814605c8 commit: bcc43a4b5ed75285aeacf2cf8d9b96d6379fb429 staging/wilc: fix Kconfig dependencies, second try date: 5 weeks ago config: i386-randconfig-x0-11221258 (attached

Re: [PATCH 3/3] clk: split of_clk_get_parent_name() into two functions

2015-11-21 Thread Masahiro Yamada
Hi Stephen, 2015-11-21 9:37 GMT+09:00 Stephen Boyd : > On 11/20, Masahiro Yamada wrote: >> Currently, there is no function to get the clock name of the given >> node. Create a new helper function, of_clk_get_name(). This is >> useful to get the clock name where "clock-indices" property is

[PATCH] Staging: fbtft: fbtft-core: Removed unnecessary checks

2015-11-21 Thread Nizam Haider
The driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Nizam Haider --- drivers/staging/fbtft/fbtft-core.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index

[PATCH] USB: quirks: Fix another ELAN touchscreen

2015-11-21 Thread Adrien Vergé
Like other buggy models that had their fixes [1], the touchscreen with id 04f3:21b8 from ELAN Microelectronics needs the device-qualifier quirk. Otherwise, it fails to respond, blocks the boot for a random amount of time and pollutes dmesg with: [ 2887.373196] usb 1-5: new full-speed USB device

[PATCH 1/2] arch: consolidate CONFIG_STRICT_DEVM in lib/Kconfig.debug

2015-11-21 Thread Dan Williams
Let all the archs that implement CONFIG_STRICT_DEVM use a common definition in lib/Kconfig.debug. Note, the 'depends on !SPARC' is due to sparc not implementing devmem_is_allowed(). Cc: Kees Cook Cc: Russell King Cc: Catalin Marinas Cc: Will Deacon Cc: Benjamin Herrenschmidt Cc: Martin

[PATCH 2/2] restrict /dev/mem to idle io memory ranges

2015-11-21 Thread Dan Williams
This effectively promotes IORESOURCE_BUSY to IORESOURCE_EXCLUSIVE semantics by default. If userspace really believes it is safe to access the memory region it can also perform the extra step of disabling an active driver. This protects device address ranges with read side effects and otherwise

Re: [PATCH v4 01/12] usb: xhci: add sysfs file for xHCI debug port

2015-11-21 Thread Lu Baolu
On 11/20/2015 10:33 PM, Mathias Nyman wrote: On 17.11.2015 08:38, Lu Baolu wrote: This patch adds a sysfs file for users to check 1) whether the debug capability is implemented by hardware; 2) if supported, which state does it stay at. With a host that supports debug port, a file named

[PATCH LINUX v3 09/10] tty: xuartps: Only handle RX IRQs when RX is enabled

2015-11-21 Thread Soren Brinkmann
Ignore RX-related interrupts if RX is not enabled. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index

[PATCH LINUX v3 04/10] tty: xuartps: Clear interrupt status register in shutdown

2015-11-21 Thread Soren Brinkmann
When shutting down the UART, clear the interrupt status register. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 6a7cd4e057ae..ef114d7a0623

[PATCH LINUX v3 01/10] tty: xuartps: Beautify read-modify writes

2015-11-21 Thread Soren Brinkmann
Non-functional, formatting changes to ease reading the code. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index

[PATCH LINUX v3 05/10] tty: xuartps: Improve startup function

2015-11-21 Thread Soren Brinkmann
The startup function is supposed to initialize the UART for receiving. Hence, don't enable the TX part. Also, protect HW accesses with the port lock. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 20 1 file changed, 12 insertions(+), 8 deletions(-)

[PATCH LINUX v3 03/10] tty: xuartps: Don't consider circular buffer when enabling transmitter

2015-11-21 Thread Soren Brinkmann
Restarting the transmitter even if the circ buffer is empty may be necessary to push out remaining data when the port is restarted after being stopped. Cc: Peter Hurley Signed-off-by: Soren Brinkmann --- v3: - changed this patch to not always enable the transmitter, but keep the check for

[PATCH LINUX v3 02/10] tty: xuartps: Use spinlock to serialize HW access

2015-11-21 Thread Soren Brinkmann
Instead of disabling the IRQ, use the spin lock to serialize accesses to the HW. This protects the driver from interference of non-IRQ callbacks with each other and makes the driver more consistent in its serialization method. Signed-off-by: Soren Brinkmann ---

[PATCH LINUX v3 10/10] tty: xuartps: Cleanup: Reformat if-else

2015-11-21 Thread Soren Brinkmann
Convert an if-else into the more common early return on error, reducing the indent level of the happy path. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 124 ++--- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git

[PATCH LINUX v3 00/10] tty: xuartps: Fix lock ups

2015-11-21 Thread Soren Brinkmann
Hi, here is v3 of this series. It's largely the same as before, but I adjusted 'tty: xuartps: Don't consider circular buffer when enabling transmitter' according to Peter's suggestions. I also spent some time trying to get Peter's test for flow control and xchar running. The xchar thing fails

[PATCH LINUX v3 08/10] tty: xuartps: Move RX path into helper function

2015-11-21 Thread Soren Brinkmann
Move RX-related IRQ handling into a helper function. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 50 +- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c

[PATCH LINUX v3 07/10] tty: xuartps: Acquire port lock for shutdown

2015-11-21 Thread Soren Brinkmann
Shutting down the UART port can happen while console operations are in progress. Holding the port lock serializes these operations and avoids the UART HW to be disabled in the middle of console prints. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 6 ++ 1 file

[PATCH LINUX v3 06/10] tty: xuartps: Keep lock for whole ISR

2015-11-21 Thread Soren Brinkmann
The RX path in the interrupt handler released a lock unnecessarily. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index

Re: [PATCH 4/4] MIPS: bmips: Convert bcm63xx_wdt to use WATCHDOG_CORE

2015-11-21 Thread Guenter Roeck
On 11/21/2015 01:44 PM, Simon Arlott wrote: On 21/11/15 21:32, Guenter Roeck wrote: On 11/21/2015 11:05 AM, Simon Arlott wrote: Convert bcm63xx_wdt to use WATCHDOG_CORE and add a device tree binding. Adds support for the time left value and provides a more effective interrupt handler based on

Re: [PATCH v4 2/3] usb: phy: msm: fix connect/disconnect bug for dragonboard OTG port

2015-11-21 Thread Bjorn Andersson
On Fri 20 Nov 15:47 PST 2015, Tim Bird wrote: > Add support for async_irq to wake up driver from low power mode. > Without this, the power management code never calls resume. > Remove a spurious interrupt enable in the driver resume function. > > Signed-off-by: Tim Bird Sorry Tim for missing

Re: [PATCH v4 4/5] clk: qcom: Add RPM clock controller driver

2015-11-21 Thread Bjorn Andersson
On Fri 20 Nov 16:39 PST 2015, Stephen Boyd wrote: > On 11/19, Georgi Djakov wrote: > > diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > > b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > > new file mode 100644 > > index ..bd0fd0cd50dc > > --- /dev/null

Re: [PATCH 3/3] drm/panel: Add Panasonic VVX10F034N00 MIPI DSI panel

2015-11-21 Thread Bjorn Andersson
On Fri, Oct 30, 2015 at 5:38 PM, wrote: Ping? > From: Werner Johansson > > This adds support for the Panasonic panel found in some Xperia Z2 > tablets. > > Signed-off-by: Werner Johansson > Signed-off-by: Bjorn Andersson > --- > drivers/gpu/drm/panel/Kconfig | 10 + >

Re: [PATCH 1/3] drm/dsi: Add support for Turn on/Shutdown peripheral packets

2015-11-21 Thread Bjorn Andersson
On Fri, Oct 30, 2015 at 5:38 PM, wrote: Ping? > From: Werner Johansson > > The MIPI_DSI_TURN_ON_PERIPHERAL and MIPI_DSI_SHUTDOWN_PERIPHERAL > packets are required for some panels, one example being the > Panasonic VVX10F034N00 panel. > > Signed-off-by: Werner Johansson > Signed-off-by: Bjorn

collect2: error: ld returned 1 exit status

2015-11-21 Thread kbuild test robot
Hi Anton, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 707b4f493e77638387f29d5ea35e383c418e710d commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang date: 5 months

ERROR: "rational_best_approximation" [drivers/tty/serial/8250/8250_mid.ko] undefined!

2015-11-21 Thread kbuild test robot
Hi Heikki, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 707b4f493e77638387f29d5ea35e383c418e710d commit: d9eda9bab237259b06690652b145d19e0ce37a77 serial: 8250_pci: Intel MID UART support to its own driver date:

Re: [PATCH] pwm: Avoid double mutex lock on pwm_enable

2015-11-21 Thread Krzysztof Kozlowski
2015-11-22 3:14 GMT+09:00 Anand Moon : > Hi Krzysztof, > > On 21 November 2015 at 18:37, Krzysztof Kozlowski > wrote: >> 2015-11-21 21:11 GMT+09:00 Anand Moon : >>> hi Krzysztof, >>> >>> On 21 November 2015 at 15:22, Krzysztof Kozlowski >>> wrote: 2015-11-21 18:40 GMT+09:00 Anand Moon :

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-21 Thread Finn Thain
On Sat, 21 Nov 2015, Ondrej Zary wrote: > On Saturday 21 November 2015 02:58:57 Finn Thain wrote: > > > > > I gather that your setup here is a QUANTUM LP240S target with Domex > > 3181 (DTC-436) card and g_NCR5380 module. I've been testing a similar > > setup: QUANTUM LPS540S target with a

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-21 Thread Arnd Bergmann
On Sunday 22 November 2015 00:14:14 Arnd Bergmann wrote: > On Saturday 21 November 2015 22:11:36 Måns Rullgård wrote: > > Arnd Bergmann writes: > > > On Saturday 21 November 2015 20:45:38 Måns Rullgård wrote: > > >> On 21 November 2015 20:39:58 GMT+00:00, Arnd Bergmann > > >> wrote: > > >> > >

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-21 Thread Arnd Bergmann
On Saturday 21 November 2015 22:11:36 Måns Rullgård wrote: > Arnd Bergmann writes: > > On Saturday 21 November 2015 20:45:38 Måns Rullgård wrote: > >> On 21 November 2015 20:39:58 GMT+00:00, Arnd Bergmann > >> wrote: > >> > >> The ARM ARM says anything with virt has idiv, lpae doesn't matter.

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-21 Thread Ondrej Zary
On Saturday 21 November 2015 14:01:39 Ondrej Zary wrote: > On Saturday 21 November 2015 02:58:57 Finn Thain wrote: > > > > Hi Ondrej, > > > > On Fri, 20 Nov 2015, Ondrej Zary wrote: > > > > > On Friday 20 November 2015 02:41:19 Finn Thain wrote: > > > > > > > > > > > > My tests involved 3

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-21 Thread Måns Rullgård
Arnd Bergmann writes: > On Saturday 21 November 2015 20:45:38 Måns Rullgård wrote: >> On 21 November 2015 20:39:58 GMT+00:00, Arnd Bergmann wrote: >> >On Friday 20 November 2015 17:23:14 Stephen Boyd wrote: >> >> This is a respin of a patch series from about a year ago[1]. I >> >realized >> >>

[PATCH] nfsd: constify nfsd4_callback_ops structure

2015-11-21 Thread Julia Lawall
The nfsd4_callback_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- fs/nfsd/nfs4callback.c |2 +- fs/nfsd/nfs4layouts.c |4 ++-- fs/nfsd/nfs4state.c|4 ++-- fs/nfsd/state.h|4 ++-- 4 files

Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Delete unnecessary checks before the function call "kfree_skb"

2015-11-21 Thread Marek Lindner
On Sunday, November 15, 2015 09:43:26 SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Nov 2015 08:04:43 +0100 > > The kfree_skb() function tests whether its argument is NULL and then > returns immediately. Thus the test around the calls is not needed. > > This issue was detected

Re: [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: Delete an unnecessary check before the function call "batadv_softif_vlan_free_ref"

2015-11-21 Thread Marek Lindner
On Tuesday, November 03, 2015 21:52:58 SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 3 Nov 2015 19:20:34 +0100 > > The batadv_softif_vlan_free_ref() function tests whether its argument is > NULL and then returns immediately. Thus the test around the call is not > needed. > > This

Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Less checks in batadv_tvlv_unicast_send()

2015-11-21 Thread Marek Lindner
On Sunday, November 15, 2015 09:45:51 SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Nov 2015 09:00:42 +0100 > > * Let us return directly if a call of the batadv_orig_hash_find() function > returned a null pointer. > > * Omit the initialisation for the variable "skb" at the

Re: [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: Split a condition check

2015-11-21 Thread Marek Lindner
On Tuesday, November 03, 2015 21:54:35 SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 3 Nov 2015 20:41:02 +0100 > > Let us split a check for a condition at the beginning of the > batadv_is_ap_isolated() function so that a direct return can be performed > in this function if the

Re: [PATCH 4/4] MIPS: bmips: Convert bcm63xx_wdt to use WATCHDOG_CORE

2015-11-21 Thread Simon Arlott
On 21/11/15 21:32, Guenter Roeck wrote: > On 11/21/2015 11:05 AM, Simon Arlott wrote: >> Convert bcm63xx_wdt to use WATCHDOG_CORE and add a device tree binding. >> >> Adds support for the time left value and provides a more effective >> interrupt handler based on the watchdog warning interrupt

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-21 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 20, 2015 at 01:18:55PM -0800, Brian Robbins escreveu: > > > On Fri, 20 Nov 2015, Peter Zijlstra wrote: > > > On Thu, Nov 19, 2015 at 11:45:45PM +, Brian Robbins wrote: > > > > > Thank you for the feedback. The file format is similar to PE, but is > > > not identical. So, we

Re: [PATCH] drivers: staging: vme: Fixed code style issues

2015-11-21 Thread Joe Perches
On Sat, 2015-11-21 at 23:26 +0200, Egor Uleyskiy wrote: trivia: Some might consider this patch fixes too many issues in one patch and should be broken up into a patch series. > > diff --git a/drivers/staging/vme/devices/vme_pio2_core.c > > b/drivers/staging/vme/devices/vme_pio2_core.c [] >

Re: [PATCH 4/4] MIPS: bmips: Convert bcm63xx_wdt to use WATCHDOG_CORE

2015-11-21 Thread Guenter Roeck
On 11/21/2015 11:05 AM, Simon Arlott wrote: Convert bcm63xx_wdt to use WATCHDOG_CORE and add a device tree binding. Adds support for the time left value and provides a more effective interrupt handler based on the watchdog warning interrupt behaviour. This removes the unnecessary software

[PATCH] drivers: staging: vme: Fixed code style issues

2015-11-21 Thread Egor Uleyskiy
From: Egor Uleyskiy * Fixed indention * Deleted extra empty lines * Constructions that looks like card = kzalloc(sizeof(struct pio2_card), GFP_KERNEL); are changed to card = kzalloc(sizeof(*card), GFP_KERNEL); Signed-off-by: Egor Uleyskiy ---

Re: [PATCH V3 2/6] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-11-21 Thread Suravee Suthikulpanit
Hi Marc, On 11/19/15 06:08, Marc Zyngier wrote: On Wed, 21 Oct 2015 11:47:25 -0700 Suravee Suthikulpanit wrote: Hi Suravee, Sorry it took so long to get to this series. Comments below. No worry. This patch introduces pci_host_bridge_acpi_msi_domain(), which returns the MSI domain of

Re: Linux Plumbers 2016 Call for Organizers

2015-11-21 Thread Grant Likely
Hi all, On behalf of the TAB, I'm happy to announce the planning committee for the Linux Plumbers conference on the week of October 31st to November 4th in Santa Fe, New Mexico, USA. Jes Sorensen - Chair James Bottomley - Treasurer Paul McKenney - Program Committee Chair Guy Lunardi - Events

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-21 Thread Arnd Bergmann
On Saturday 21 November 2015 20:45:38 Måns Rullgård wrote: > On 21 November 2015 20:39:58 GMT+00:00, Arnd Bergmann wrote: > >On Friday 20 November 2015 17:23:14 Stephen Boyd wrote: > >> This is a respin of a patch series from about a year ago[1]. I > >realized > >> that we already had most of the

Re: [PATCH 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-11-21 Thread Arnd Bergmann
On Friday 20 November 2015 17:17:15 Joshua Henderson wrote: > +/* PIC32 specific clks */ > +pic32_clktree { > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0x1f801200 0x200>; > + compatible = "microchip,pic32-clk"; > + interrupts = <12>; > + ranges;

Re: [PATCH 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-11-21 Thread Arnd Bergmann
On Friday 20 November 2015 17:17:13 Joshua Henderson wrote: > +Example > +--- > + > +evic: interrupt-controller@1f81 { > +compatible = "microchip,evic-v2"; > +interrupt-controller; > +#interrupt-cells = <3>; > +reg = <0x1f81 0x1000>; > +

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-21 Thread Måns Rullgård
On 21 November 2015 20:39:58 GMT+00:00, Arnd Bergmann wrote: >On Friday 20 November 2015 17:23:14 Stephen Boyd wrote: >> This is a respin of a patch series from about a year ago[1]. I >realized >> that we already had most of the code in recordmcount to figure out >> where we make calls to

Re: [PATCH v4 3/4] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-21 Thread Andrew F. Davis
On 11/21/2015 07:37 AM, Mark Brown wrote: On Thu, Nov 19, 2015 at 05:01:41PM -0600, Andrew F. Davis wrote: Add support for TPS65086 PMIC regulators. The regulators set consists of 3 Step-down Controllers, 3 Step-down Converters, 3 LDOs, 3 Load Switches, and a Sink and Source LDO. The output

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-21 Thread Arnd Bergmann
On Friday 20 November 2015 17:23:14 Stephen Boyd wrote: > This is a respin of a patch series from about a year ago[1]. I realized > that we already had most of the code in recordmcount to figure out > where we make calls to particular functions, so recording where > we make calls to the integer

Foreign Investment Partnership

2015-11-21 Thread Mrs. Cadence Mufaro
Please see attachment for details. Mrs. Cadence Mufaro.pdf Description: Adobe PDF document

Re: [PATCH 9/9] netfilter: implement xt_cgroup cgroup2 path match

2015-11-21 Thread Jan Engelhardt
On Saturday 2015-11-21 19:54, Florian Westphal wrote: > >The only other question I have is wheter PATH_MAX might be a possible >ABI breaker in future. It would have to be guaranteed that this is the >same size forever, else you'd get strange errors on rule insertion if >the sizes of the kernel

Re: [RFC PATCH v1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2015-11-21 Thread Heiko Stuebner
Hi Yakir, Am Mittwoch, 11. November 2015, 15:47:32 schrieb Yakir Yang: > Signed-off-by: Yakir Yang > --- > .../display/rockchip/inno_hdmi-rockchip.txt| 50 > ++ > 1 file changed, 50 insertions(+) > create mode 100644 >

Re: [PATCH v3 1/1] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-21 Thread Jean Delvare
Hi Corentin, On Wed, 18 Nov 2015 13:55:56 +0100, LABBE Corentin wrote: > The simple_strtoul function is marked as obsolete. > This patch replace it by kstrtou8. > > Signed-off-by: LABBE Corentin Reviewed-by: Jean Delvare Tested-by: Jean Delvare Note: when there's a single patch you don't

Re: [PATCH v3 1/1] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-21 Thread Jean Delvare
Hi Andy, On Wed, 18 Nov 2015 18:26:25 +0200, Andy Shevchenko wrote: > On Wed, Nov 18, 2015 at 2:55 PM, LABBE Corentin > wrote: > > The simple_strtoul function is marked as obsolete. > > This patch replace it by kstrtou8. > > > > Only one concern. simple_strto* goes through the string until it

Re: imx6dl clock setup incorrectness

2015-11-21 Thread Fabio Estevam
On Thu, Nov 19, 2015 at 11:56 AM, Nikita Yushchenko wrote: > Hi > > While working with board with imx6s cpu, with kernel based on linux-imx > imx_3.14.28_1.0.0_ga branch, I noticed this message in boot log: > >> failed to set parent of clk gpu2d_core_sel to pll2_pfd1_594m > > > I looked into it

[PATCH 2/2] x86/mce: Make usable address checks Intel-only

2015-11-21 Thread Borislav Petkov
From: Borislav Petkov Date: Sat, 21 Nov 2015 19:52:39 +0100 Subject: [PATCH 2/2] x86/mce: Make usable address checks Intel-only The MCi_MISC bitfield definitions mce_usable_address() checks are Intel-only. Make them so. While at it, move mce_usable_address() up, before all its callers and get

Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended

2015-11-21 Thread Pali Rohár
On Saturday 21 November 2015 15:16:15 Gabriele Mazzotta wrote: > Some BIOSes unconditionally send an ACPI notification to RBTN when > the system is resuming from suspend. This makes dell-rbtn send an > input event to userspace as if a function key was pressed. Prevent > this by ignoring all the

[PATCH 1/2] x86/mce: Add the missing memory error check on AMD

2015-11-21 Thread Borislav Petkov
From: Borislav Petkov Date: Sat, 21 Nov 2015 11:29:05 +0100 Subject: [PATCH 1/2] x86/mce: Add the missing memory error check on AMD We simply need to look at the extended error code when detecting whether the error is of type memory. Signed-off-by: Borislav Petkov ---

Re: [UNTESTED PATCH] x86, mce: Avoid double entry of deferred errors into the genpool.

2015-11-21 Thread Borislav Petkov
On Wed, Nov 11, 2015 at 02:01:51PM -0800, Tony Luck wrote: > We used to have a special ring buffer for deferred errors that > was used to mark problem pages. We replaced that with a genpool. > Then later converted mce_log() to also use the same genpool. As > a result we end up adding all deferred

[PATCH 4/4] MIPS: bmips: Convert bcm63xx_wdt to use WATCHDOG_CORE

2015-11-21 Thread Simon Arlott
Convert bcm63xx_wdt to use WATCHDOG_CORE and add a device tree binding. Adds support for the time left value and provides a more effective interrupt handler based on the watchdog warning interrupt behaviour. This removes the unnecessary software countdown timer and replaces the use of

[PATCH 3/4] watchdog: Add brcm,bcm6345-wdt device tree binding

2015-11-21 Thread Simon Arlott
Add device tree binding for the BCM6345 watchdog. This uses the BCM6345 timer for its warning interrupt. Signed-off-by: Simon Arlott --- .../bindings/watchdog/brcm,bcm6345-wdt.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644

[PATCH 2/4] MIPS: bmips: Add bcm6345-l2-timer interrupt controller

2015-11-21 Thread Simon Arlott
Add the BCM6345 timer as an interrupt controller so that it can be used by the watchdog to warn that its timer will expire soon. Support for clocksource/clockevents is not implemented as the timer interrupt is not per CPU (except on the BCM6318) and the MIPS clock is better. This could be added

[PATCH 1/4] clocksource: Add brcm,bcm6345-timer device tree binding

2015-11-21 Thread Simon Arlott
Add device tree binding for the BCM6345 timer. This is required for the BCM6345 watchdog which needs to respond to one of the timer interrupts. Signed-off-by: Simon Arlott --- .../bindings/timer/brcm,bcm6345-timer.txt | 57 ++ 1 file changed, 57 insertions(+)

Re: [PATCH 9/9] netfilter: implement xt_cgroup cgroup2 path match

2015-11-21 Thread Florian Westphal
Tejun Heo wrote: > On Sat, Nov 21, 2015 at 05:56:06PM +0100, Florian Westphal wrote: > > > +struct xt_cgroup_info_v1 { > > > + __u8has_path; > > > + __u8has_classid; > > > + __u8invert_path; > > > + __u8invert_classid; > > > + char

Re: [PATCH 2/2] keys, trusted: seal with a policy

2015-11-21 Thread Jarkko Sakkinen
On Tue, Nov 17, 2015 at 06:27:22PM +0200, Jarkko Sakkinen wrote: > Support for sealing with a authorization policy. > > Two new options for trusted keys: > > * 'policydigest=': provide an auth policy digest for sealing. > * 'policyhandle=': provide a policy session handle for unsealing. I think

Re: [PATCH 06/40] staging: lustre: remove uses of IS_ERR_VALUE()

2015-11-21 Thread Dan Carpenter
On Fri, Nov 20, 2015 at 06:35:42PM -0500, James Simmons wrote: > @@ -1577,15 +1578,20 @@ static int mdc_ioc_changelog_send(struct obd_device > *obd, >* New thread because we should return to user app before >* writing into our pipe >*/ > - rc =

Re: [PATCH V4] acpi: add support for extended IRQ to PCI link

2015-11-21 Thread Sinan Kaya
On 11/18/2015 10:13 PM, Sinan Kaya wrote: > The ACPI compiler uses the extended format when used > interrupt numbers are greater than 256. The PCI link code > currently only supports simple interrupt format. The IRQ > numbers are represented using 32 bits when extended IRQ > syntax. This patch

Re: [PATCH V5 2/3] dma: add Qualcomm Technologies HIDMA management driver

2015-11-21 Thread Sinan Kaya
On 11/16/2015 10:58 AM, Arnd Bergmann wrote: >> .../devicetree/bindings/dma/qcom_hidma_mgmt.txt| 61 >> drivers/dma/qcom/Kconfig | 10 + >> drivers/dma/qcom/Makefile | 1 + >> drivers/dma/qcom/hidma_mgmt.c | 306

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-21 Thread Vladimir Zapolskiy
On 21.11.2015 06:40, Cory Tusar wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/19/2015 12:50 AM, Vladimir Zapolskiy wrote: >> Hi Cory, >> >> On 19.11.2015 05:29, Cory Tusar wrote: >>> This commit implements bindings in the eeprom_93xx46 driver allowing >>> device word size and

Re: [PATCH 1/2] clk: rockchip: dmc: support rk3399 dmc clock driver

2015-11-21 Thread Heiko Stuebner
Hi Lin, Am Freitag, 20. November 2015, 09:37:15 schrieb hl: > On 20/11/15 05:47, Heiko Stuebner wrote: > > Hi Lin, > > > > Am Donnerstag, 19. November 2015, 18:21:10 schrieb Lin Huang: > >> support rk3399 dmc clock driver. Note, ddr set rate function will > >> use dcf controller which run in ATF,

Re: [PATCH 3/4] iio: adc: spmi-vadc: add missing of_node_put

2015-11-21 Thread Jonathan Cameron
On 18/11/15 22:04, Julia Lawall wrote: > for_each_available_child_of_node performs an of_node_get on each iteration, > so a break out of the loop requires an of_node_put. > > A simplified version of the semantic patch that fixes this problem is as > follows (http://coccinelle.lip6.fr): > > // >

Re: [PATCH] iio: Move IIO Dummy Driver out of staging

2015-11-21 Thread Jonathan Cameron
On 21/11/15 18:15, Lars-Peter Clausen wrote: > On 10/09/2015 03:31 PM, Cristina Opriceana wrote: >> diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig >> index 6d5b38d..85de198 100644 >> --- a/drivers/staging/iio/Kconfig >> +++ b/drivers/staging/iio/Kconfig >> @@ -17,32 +17,32

Re: [RFC 8/9] iio: buffer: allow for last-second trigger spawning from device driver

2015-11-21 Thread Jonathan Cameron
On 19/11/15 09:15, Marc Titinger wrote: > On 18/11/2015 19:55, Jonathan Cameron wrote: >> On 18/11/15 14:38, Marc Titinger wrote: >>> The hrtimer sw-trigger allow for polling mode on devices w/o hard irq >>> trigger source, but setting the frequency from userland for both the >>> hrtimer trigger

Re: [PATCH] iio: Move IIO Dummy Driver out of staging

2015-11-21 Thread Lars-Peter Clausen
On 10/09/2015 03:31 PM, Cristina Opriceana wrote: > diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig > index 6d5b38d..85de198 100644 > --- a/drivers/staging/iio/Kconfig > +++ b/drivers/staging/iio/Kconfig > @@ -17,32 +17,32 @@ source "drivers/staging/iio/meter/Kconfig" >

Re: [PATCH] pwm: Avoid double mutex lock on pwm_enable

2015-11-21 Thread Anand Moon
Hi Krzysztof, On 21 November 2015 at 18:37, Krzysztof Kozlowski wrote: > 2015-11-21 21:11 GMT+09:00 Anand Moon : >> hi Krzysztof, >> >> On 21 November 2015 at 15:22, Krzysztof Kozlowski >> wrote: >>> 2015-11-21 18:40 GMT+09:00 Anand Moon : hi Krzysztof, On 21 November 2015 at

Re: [RFC 6/9] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors

2015-11-21 Thread Jonathan Cameron
On 18/11/15 14:38, Marc Titinger wrote: > Basic support or direct IO raw read, with averaging attribute. > Values are RAW, INT_PLUS_MICRO (Volt/Ampere/Watt). > > Output of iio_info: > > iio:device0: ina226 > 4 channels found: > power3: (input) > 1 channel-specific

[PATCH v2 1/1] stop_machine: Remove stop_cpus_lock and lg_double_lock/unlock()

2015-11-21 Thread Oleg Nesterov
stop_two_cpus() and stop_cpus() use stop_cpus_lock to avoid the deadlock, we need to ensure that the stopper functions can't be queued "backwards" from one another. This doesn't look nice; if we use lglock then we do not really need stopper->lock, cpu_stop_queue_work() could use lg_local_lock()

[PATCH v2 0/1] stop_machine: Remove stop_cpus_lock and lg_double_lock/unlock()

2015-11-21 Thread Oleg Nesterov
On 11/15, Oleg Nesterov wrote: > > I am also going to rediff/resend my old patch which removes lglock > from stop_machine.c, but it probably needs more discussion so I'll > send it separately. Please see V2. It is much simpler, and it doesn't need cond_resched(). To me this looks better than

[PATCH 0/6] pinctrl: pxa: add pxa27x pin control support

2015-11-21 Thread Robert Jarzmik
Hi Linus, I've been working on this for some time now, it's time pxa archtecture gets a proper pin control support. This serie provides support for pxa27x architecture, and paves the way to pxa2xx one. I've tested this on my pxa27x board, in both device-tree and non device-tree builds. It's

  1   2   3   4   5   >