RE: [PATCH 3/6] net: thunderx: Increase transmit queue length

2015-12-02 Thread Pavel Fedin
Hello! > > swiotlb: coherent allocation failed for device 0002:01:08.4 size=4198400 > > CPU: 2 PID: 3655 Comm: NetworkManager Tainted: GW O4.2.6+ #201 > > Hardware name: Cavium ThunderX CN88XX > > Are you sure 4.2.6 kernel is suitable for backporting this patch aimed > for linux-4.5

Re: [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-02 Thread Jarkko Sakkinen
On Tue, Dec 01, 2015 at 03:22:23PM -0700, Jason Gunthorpe wrote: > On Tue, Dec 01, 2015 at 11:33:51PM +0200, Jarkko Sakkinen wrote: > > > I went through the patches and didn't see anything that would shock me > > enough not to apply the patches in the current if they also work when > > tested *but

Re: [PATCH] ARM: dts: vf610: use reset values for L2 cache latencies

2015-12-02 Thread Shawn Guo
On Mon, Nov 30, 2015 at 05:59:26PM -0800, Stefan Agner wrote: > Linux on Vybrid used several different L2 latencies so far, none > of them seem to be the right ones. According to the application note > AN4947 ("Understanding Vybrid Architecture"), the tag portion runs > on CPU clock and is inside t

Re: [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-02 Thread Jarkko Sakkinen
On Tue, Dec 01, 2015 at 05:15:14PM -0800, Peter Huewe wrote: > > > Am 1. Dezember 2015 14:22:23 PST, schrieb Jason Gunthorpe > : > >On Tue, Dec 01, 2015 at 11:33:51PM +0200, Jarkko Sakkinen wrote: > > > >> I went through the patches and didn't see anything that would shock > >me > >> enough not

Re: [PATCH v4 net 0/6] Marvell Armada XP/370/38X Neta fixes

2015-12-02 Thread Gregory CLEMENT
Hi David, On mer., déc. 02 2015, David Miller wrote: > From: Marcin Wojtas > Date: Mon, 30 Nov 2015 13:27:40 +0100 > >> I'm sending v4 with corrected commit log of the last patch, in order >> to avoid possible conflicts between the branches as suggested by >> Gregory Clement. > > Series appli

Re: [PATCH v2] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Jiri Olsa
On Wed, Dec 02, 2015 at 02:42:21PM +0900, Namhyung Kim wrote: > Backtrace is a crucial info for debugging. And upcoming refcnt > tracking facility also wants to use it. > > So instead of relying on glibc's backtrace_symbols[_fd] which misses > some (static) functions , use our own symbol searchin

Re: [PATCH] oom_kill: add option to disable dump_stack()

2015-12-02 Thread Michal Hocko
On Tue 01-12-15 15:43:53, Andrew Morton wrote: [...] > > diff --git a/mm/oom_kill.c b/mm/oom_kill.c > > index 1ecc0bc..bdbf83b 100644 > > --- a/mm/oom_kill.c > > +++ b/mm/oom_kill.c > > @@ -42,6 +42,7 @@ > > int sysctl_panic_on_oom; > > int sysctl_oom_kill_allocating_task; > > int sysctl_oom_dum

Re: [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-02 Thread Uwe Kleine-König
Hello, Cc += gregkh On Wed, Dec 02, 2015 at 10:11:14AM +0200, Jarkko Sakkinen wrote: > On Tue, Dec 01, 2015 at 03:22:23PM -0700, Jason Gunthorpe wrote: > > On Tue, Dec 01, 2015 at 11:33:51PM +0200, Jarkko Sakkinen wrote: > > > > > I went through the patches and didn't see anything that would sho

Re: [RFC v02 00/15] dmaengine: New 'universal' API for requesting channel

2015-12-02 Thread Arnd Bergmann
On Wednesday 02 December 2015 10:22:09 Vinod Koul wrote: > > > > > > This legacy mode needs changes in platform code, in dmaengine drivers > > > > and > > > > finally the dmaengine user drivers can be converted: > > > > > > Are you marking the current APIs as dericated in the end of this series

Re: [PATCH] block: add calls to split trace point

2015-12-02 Thread Mike Krinkin
Hi Jens, i would like to check status of the patch, will the patch be applied? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH 00/13] mvneta Buffer Management and enhancements

2015-12-02 Thread Marcin Wojtas
Hi Florian, Can you please describe in more details, what would you expect from such special abstraction layer regarding buffer managers? I'd like to understand more of your expectations and evaluate possible work. Best regards, Marcin 2015-11-30 17:25 GMT+01:00 David Miller : > From: Marcin Woj

Re: [PATCH] perf record: Add snapshot mode support for perf's regular events

2015-12-02 Thread Wangnan (F)
Hi Peter, On 2015/11/25 17:27, Peter Zijlstra wrote: On Tue, Nov 24, 2015 at 10:00:31PM +0800, Yunlong Song wrote: In our patch, we create and maintain a user space ring buffer to store perf's tracing info, instead of directly writing to perf.data file as before. In snapshot mode, only a SIGUSR

[PATCH] perf tools: bug fix, an error of parsing 'man..*' config variable.

2015-12-02 Thread Taeung Song
To add new man viewer, configs like 'man..cmd', 'man..path' can be set into config file (~/.perfconfig). But parsing config file is stopped because the config variable contains '.' character i.e. If setting 'man.xman.cmd' into config file, [man] gman.cmd = gman when launching perf an err

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-02 Thread Arnd Bergmann
On Wednesday 02 December 2015 02:35:03 Yury Norov wrote: > On Tue, Dec 01, 2015 at 11:39:42PM +0100, Arnd Bergmann wrote: > > On Wednesday 02 December 2015 00:29:04 Yury Norov wrote: > > I'm not sure I understand this part. What changes specifically do we need? > > > > For kernel: > > di

[PATCH v2] kexec: Set KEXEC_TYPE_CRASH before sanity_check_segment_list()

2015-12-02 Thread Xunlei Pang
sanity_check_segment_list() checks KEXEC_TYPE_CRASH flag to ensure all the segments of the loaded crash kernel are winthin the kernel crash resource limits, so set the flag beforehand. Signed-off-by: Xunlei Pang Acked-by: Dave Young --- v1 -> v2: Improved some comments. kernel/kexec.c | 10 +++

Re: [PATCH Resend] VMW_PVSCSI: Fix the issue of DMA-API related warnings.

2015-12-02 Thread Johannes Thumshirn
Hi Josh, On Tue, 2015-12-01 at 11:34 -0500, Josh Boyer wrote: > The driver is missing calls to pci_dma_mapping_error() after > performing the DMA mapping, which caused DMA-API warning to > show up in dmesg's output. Though that happens only when > DMA_API_DEBUG option is enabled. This change fixes

[PATCH] iio: exynos-adc: fix irqf_oneshot.cocci warnings

2015-12-02 Thread Valentin Rothberg
Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. So pass the IRQF_ONESHOT flag in this case. Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Signed-of

Re: [TESTPATCH] xhci: fix usb2 resume timing and races.

2015-12-02 Thread Mathias Nyman
On 01.12.2015 17:47, Alan Stern wrote: On Mon, 30 Nov 2015, Mathias Nyman wrote: usb2 ports need to signal resume for 20ms before moving to U0 state. Both device and host can initiate resume. On host initated resume port is set to resume state, sleep 20ms, and finally set port to U0 state. T

[PATCH v3 bis 12/25] mtd: nand: use the mtd instance embedded in struct nand_chip

2015-12-02 Thread Boris Brezillon
struct nand_chip now embeds an mtd device. Patch all drivers to make use of this mtd instance instead of using the instance embedded in their private struct or dynamically allocated. Signed-off-by: Boris Brezillon Cc: Julia Lawall --- Most of those changes were generated with the coccinelle scri

[PATCH v3 17/25] mtd: nand: remove useless mtd->priv = chip assignments

2015-12-02 Thread Boris Brezillon
mtd_to_nand() now uses the container_of() approach to transform an mtd_info pointer into a nand_chip one. Drop useless mtd->priv assignments from NAND controller drivers. Signed-off-by: Boris Brezillon --- Patch generated with the following coccinelle script: ---8< virtual patch @@ struct m

Re: [PATCH v5 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices

2015-12-02 Thread Adrien Vergé
Thank you all for your help on this. Adrien -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2 17/25] mtd: nand: remove useless mtd->priv = chip assignments

2015-12-02 Thread Boris Brezillon
Hi Brian, On Tue, 1 Dec 2015 14:17:47 -0800 Brian Norris wrote: > On Tue, Dec 01, 2015 at 12:03:14PM +0100, Boris Brezillon wrote: > > mtd_to_nand() now uses the container_of() approach to transform an > > mtd_info pointer into a nand_chip one. Drop useless mtd->priv > > assignments from NAND co

Re: [radeon r100] when ring test fails, provide users with option to test

2015-12-02 Thread Christian König
On 02.12.2015 04:14, Michel Dänzer wrote: On 01.12.2015 19:01, Pavel Machek wrote: On Mon 2015-11-30 09:39:54, Christian König wrote: On 29.11.2015 23:22, Pavel Machek wrote: On Sun 2015-11-29 20:48:53, Christian König wrote: On 28.11.2015 21:58, Pavel Machek wrote: Ring test failure is ofte

Re: [PATCH] ftrace: Remove use of control list and ops

2015-12-02 Thread Jiri Olsa
On Tue, Dec 01, 2015 at 11:56:55AM -0500, Steven Rostedt wrote: SNIP > -static void ftrace_ops_recurs_func(unsigned long ip, unsigned long parent_ip, > +static void ftrace_ops_assist_func(unsigned long ip, unsigned long parent_ip, > struct ftrace_ops *op, struct p

Re: [PATCH 1/9] drm: Create a driver hook for allocating GEM object structs.

2015-12-02 Thread Daniel Vetter
On Tue, Dec 01, 2015 at 12:35:50PM -0800, Eric Anholt wrote: > The CMA helpers had no way for a driver to extend the struct with its > own fields. Since the CMA helpers are mostly "Allocate a > drm_gem_cma_object, then fill in a few fields", it's hard to write as > pure helpers without passing in

Re: [BISECTED] rcu_sched self-detected stall since 3.17

2015-12-02 Thread Vladimir Murzin
On 01/12/15 13:04, Peter Zijlstra wrote: > Sorry for the delay and thanks for the reminder! > > On Fri, Nov 20, 2015 at 03:35:38PM +, Vladimir Murzin wrote: >> commit 743162013d40ca612b4cb53d3a200dff2d9ab26e >> Author: NeilBrown >> Date: Mon Jul 7 15:16:04 2014 +1000 >> >> sched: Remove

RE: [PATCH 3/6] net: thunderx: Increase transmit queue length

2015-12-02 Thread Pavel Fedin
Hello! > Probably you might have to set "coherent_pool" size in bootargs to a > higher value. > Can you please check. I have tried to do this. I was able to enlarge the pool up to 4MB, and still got allocation failures. At 8MB pool preallocation stops working: --- cut --- Call trace: [] __allo

Re: [PATCH v3] arm64: dts: add all hi6220 i2c nodes

2015-12-02 Thread Xinwei Kong
On 2015/12/2 15:34, Shawn Guo wrote: > On Wed, Dec 02, 2015 at 02:29:09PM +0800, Xinwei Kong wrote: >> This patch adds all I2C nodes for the Hi6220 SoC. This hi6220 Soc >> use this I2C IP of Synopsys Designware for HiKey board. >> >> Signed-off-by: Xinwei Kong >> --- >> arch/arm64/boot/dts/hisi

Re: [PATCH v2 0/3] tpm_tis: Clean up force module parameter

2015-12-02 Thread Peter Huewe
Am 2. Dezember 2015 00:14:23 PST, schrieb Jarkko Sakkinen : >On Tue, Dec 01, 2015 at 05:15:14PM -0800, Peter Huewe wrote: >> >> >> Am 1. Dezember 2015 14:22:23 PST, schrieb Jason Gunthorpe >: >> >On Tue, Dec 01, 2015 at 11:33:51PM +0200, Jarkko Sakkinen wrote: >> > >> >> I went through the pat

Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC

2015-12-02 Thread Heikki Krogerus
Hi Felipe, > IMHO, this should be creating a child device instead of calling > intel_usb_mux_register() directly. That way, your mux driver could > actually _be_ a driver. Seems like all you need to do from this point is > a register a simple platform_device which is a child of xhci, see > platfor

Re: [PATCH 2/2] usb: pci-quirks: register USB mux found on Cherrytrail SOC

2015-12-02 Thread Heikki Krogerus
Hi, > > @@ -1029,9 +1030,36 @@ static void quirk_usb_handoff_xhci(struct pci_dev > > *pdev) > > writel(val, base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET); > > > > hc_init: > > - if (pdev->vendor == PCI_VENDOR_ID_INTEL) > > + if (pdev->vendor == PCI_VENDOR_ID_INTEL) { > >

Re: [RESEND PATCH] arm64: bpf: add 'store immediate' instruction

2015-12-02 Thread Will Deacon
On Tue, Dec 01, 2015 at 02:20:40PM -0800, Shi, Yang wrote: > On 11/30/2015 2:24 PM, Yang Shi wrote: > >aarch64 doesn't have native store immediate instruction, such operation > >has to be implemented by the below instruction sequence: > > > >Load immediate to register > >Store register > > > >Signe

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-02 Thread Yury Norov
On Wed, Dec 02, 2015 at 09:37:05AM +0100, Arnd Bergmann wrote: > On Wednesday 02 December 2015 02:35:03 Yury Norov wrote: > > On Tue, Dec 01, 2015 at 11:39:42PM +0100, Arnd Bergmann wrote: > > > On Wednesday 02 December 2015 00:29:04 Yury Norov wrote: > > > I'm not sure I understand this part. What

Re: [PATCH v2] mm: fix warning in comparing enumerator

2015-12-02 Thread Yaowei Bai
On Wed, Dec 02, 2015 at 08:07:42AM +0900, Naoya Horiguchi wrote: > On Tue, Dec 01, 2015 at 02:25:50PM -0800, David Rientjes wrote: > > On Tue, 1 Dec 2015, Naoya Horiguchi wrote: > > I saw the following warning when building mmotm-2015-11-25-17-08. > > mm/page_alloc.c:4185:16: warning: comparison

[PATCH v2] clk: imx5: ipu_di_sel clocks can set parent rates

2015-12-02 Thread linux-kernel-dev
From: Patrick Brünn To obtain exact pixel clocks, allow the DI clock selectors to influence the PLLs that they are derived from. Commit 4591b13289b5 ("ARM: i.MX6: ipu_di_sel clocks can set parent rates") did this for i.MX6. Port it to enable high display resolutions on i.MX53 based platforms suc

Re: [PATCH v2 16/16] i2c: designware: Convert to use unified device property API

2015-12-02 Thread Andy Shevchenko
On Wed, 2015-12-02 at 02:28 +0100, Rafael J. Wysocki wrote: > On Tuesday, December 01, 2015 12:33:51 PM Andy Shevchenko wrote: > > On Mon, 2015-11-30 at 20:58 +0100, Wolfram Sang wrote: > > > On Mon, Nov 30, 2015 at 05:11:44PM +0200, Andy Shevchenko wrote: > > > What is the bug fix here describe

Re: [PATCH v2] doc: efi-stub.txt: Fix arm64 paths

2015-12-02 Thread Matt Fleming
On Mon, 30 Nov, at 09:36:54AM, Alan Ott wrote: > Update documented paths for arm64 files to match current tree. > > Signed-off-by: Alan Ott > --- > Documentation/efi-stub.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/efi-stub.txt b/Documentation/

Re: [PATCH 11/40] staging: lustre: DLC Feature dynamic net config

2015-12-02 Thread Dan Carpenter
On Fri, Nov 20, 2015 at 06:35:47PM -0500, James Simmons wrote: > + > + return 0; > > failed4: > - lnet_ping_target_fini(); > - failed3: > the_lnet.ln_refcount = 0; > + lnet_ping_md_unlink(pinfo, &md_handle); > + lnet_ping_info_free(pinfo); > + failed3: > lnet_accepto

Re: [PATCH] mm/hugetlb resv map memory leak for placeholder entries

2015-12-02 Thread Dmitry Vyukov
FWIW, I see this leak also with mlock, mmap, get_mempolicy and page faults. So it is not specific only to the new fancy mlock2. On Wed, Dec 2, 2015 at 8:12 AM, Hillf Danton wrote: >> >> Dmitry Vyukov reported the following memory leak >> >> unreferenced object 0x88002eaafd88 (size 32): >>

Re: WARNING in shmem_evict_inode

2015-12-02 Thread Hugh Dickins
On Mon, 23 Nov 2015, Dmitry Vyukov wrote: > On Mon, Nov 9, 2015 at 9:55 AM, Dmitry Vyukov wrote: > > Hello, > > > > The following program: > > > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > > #include > > #include > > #include > > #include > > > > #define SYS_memfd_cr

[PATCH v1 03/10] dt-bindings: document the MPS2 UART bindings

2015-12-02 Thread Vladimir Murzin
This adds documentation of device tree bindings for the UART found on ARM MPS2 platform Signed-off-by: Vladimir Murzin Acked-by: Rob Herring ; + interrupts = <0 1 12>; + clocks = <&sysclk>; +}; + + + -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

[PATCH v1 06/10] ARM: mps2: introduce MPS2 platform

2015-12-02 Thread Vladimir Murzin
The Cortex-M Prototyping System (or V2M-MPS2) is designed for prototyping and evaluation Cortex-M family of processors including the latest Cortex-M7 It comes with a range of useful peripherals including 8MB single cycle SRAM, 16MB PSRAM, Ethernet, QSVGA touch screen panel, 4bit RGB VGA connector,

[PATCH v1 09/10] ARM: dts: introduce MPS2 AN385/AN386

2015-12-02 Thread Vladimir Murzin
Application Notes 385 and 386 shares the same memory map and features except the CPU is used. AN385 is supplied with Cortex-M3 CPU and AN386 is supplied with Cortex-M4. Signed-off-by: Vladimir Murzin --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/mps2-an385.dts | 90 +

[PATCH v1 10/10] ARM: dts: introduce MPS2 AN399/AN400

2015-12-02 Thread Vladimir Murzin
Application Notes 399 and 400 shares the same memory map and features. Both are shipped with Cortex-M7 and have the same peripheral as AN385/AN386, but with different location of PSRAM and Ethernet controller. Signed-off-by: Vladimir Murzin --- arch/arm/boot/dts/Makefile |4 +- arch/a

[PATCH v1 08/10] ARM: configs: add MPS2 defconfig

2015-12-02 Thread Vladimir Murzin
This patch adds a new config for MPS2 platform. Signed-off-by: Vladimir Murzin --- arch/arm/configs/mps2_defconfig | 112 +++ 1 file changed, 112 insertions(+) create mode 100644 arch/arm/configs/mps2_defconfig diff --git a/arch/arm/configs/mps2_defconfig b

[PATCH v1 05/10] serial: mps2-uart: add support for early console

2015-12-02 Thread Vladimir Murzin
This adds support early console for MPS2 UART which can be enabled via earlycon=mps2,0x40004000 Signed-off-by: Vladimir Murzin --- drivers/tty/serial/Kconfig |1 + drivers/tty/serial/mps2-uart.c | 30 ++ 2 files changed, 31 insertions(+) diff --git a/driver

Re: [PATCH v2 16/16] i2c: designware: Convert to use unified device property API

2015-12-02 Thread Mika Westerberg
On Wed, Dec 02, 2015 at 11:23:40AM +0200, Andy Shevchenko wrote: > On Wed, 2015-12-02 at 02:28 +0100, Rafael J. Wysocki wrote: > > On Tuesday, December 01, 2015 12:33:51 PM Andy Shevchenko wrote: > > > On Mon, 2015-11-30 at 20:58 +0100, Wolfram Sang wrote: > > > > On Mon, Nov 30, 2015 at 05:11:44PM

[PATCH v1 07/10] ARM: mps2: add low-level debug support

2015-12-02 Thread Vladimir Murzin
Add low-level debug support for MPS2, so that earlyprintk can be enabled for debugging early boot issues. Signed-off-by: Vladimir Murzin --- arch/arm/Kconfig.debug| 12 +++- arch/arm/include/debug/mps2.S | 27 +++ 2 files changed, 38 insertions(+), 1 d

Re: [PATCH 3/3] Addition of binding for firmware signals on peach-pi

2015-12-02 Thread Martyn Welch
On 01/12/15 23:51, Krzysztof Kozlowski wrote: On 02.12.2015 04:12, Martyn Welch wrote: The peach pi has a GPIO connected to the firmware write protect, developer mode and recovery mode lines. This patch adds the required nodes to the device tree to configure the pinmuxing and allow these to be

[PATCH v1 04/10] serial: mps2-uart: add MPS2 UART driver

2015-12-02 Thread Vladimir Murzin
This driver adds support to the UART controller found on ARM MPS2 platform. Signed-off-by: Vladimir Murzin --- drivers/tty/serial/Kconfig | 12 + drivers/tty/serial/Makefile |1 + drivers/tty/serial/mps2-uart.c | 596 ++ include/uapi/linux/

[PATCH v1 01/10] dt-bindings: document the MPS2 timer bindings

2015-12-02 Thread Vladimir Murzin
This adds documentation of device tree bindings for the timers found on ARM MPS2 platform. Signed-off-by: Vladimir Murzin Acked-by: Rob Herring --- .../devicetree/bindings/timer/arm,mps2-timer.txt | 28 1 file changed, 28 insertions(+) create mode 100644 Documentation/

[PATCH v1 00/10] Support for Cortex-M Prototyping System

2015-12-02 Thread Vladimir Murzin
Hi, This patch series provide the basic support for running ucLinux on V2M-MPS2 platform. With these patches applied ucLinux can be run on both HW and FVP models with Cortex-M3/M4/M7 configurations. Board description: http://infocenter.arm.com/help/topic/com.arm.doc.100112_0100_03_en/arm_versat

[PATCH v1 02/10] clockevents/drivers: add MPS2 Timer driver

2015-12-02 Thread Vladimir Murzin
MPS2 platform has simple 32 bits general purpose countdown timers. The driver uses the first detected timer as a clocksource and the rest of the timers as a clockevent Signed-off-by: Vladimir Murzin --- drivers/clocksource/Kconfig |5 + drivers/clocksource/Makefile |1 + driver

Re: [PATCH v2] Add support for monitoring Chrome OS firmware signals

2015-12-02 Thread Martyn Welch
On 02/12/15 06:08, Jeremiah Mahler wrote: Martyn, On Tue, Dec 01, 2015 at 08:19:46PM +, Martyn Welch wrote: Select Chromebooks have gpio attached to signals used to cause the firmware to enter alternative modes of operation and/or control other device [...] + +static int chromeos_firmwa

Re: [PATCH v5 08/10] spi: expose master transfer size limitation.

2015-12-02 Thread Michal Suchanek
On 2 December 2015 at 00:12, Mark Brown wrote: > On Tue, Dec 01, 2015 at 04:51:06PM -, Michal Suchanek wrote: > >> +static inline size_t >> +spi_max_transfer_size(struct spi_device *spi) >> +{ >> + struct spi_master *master = spi->master; >> + if (!master->max_transfer_size) >> +

Re: libata-core: devslp fails on ATP mSATA

2015-12-02 Thread Andreas Werner
On Tue, Dec 01, 2015 at 02:04:10PM -0500, Tejun Heo wrote: > On Tue, Dec 01, 2015 at 11:17:15AM -0500, Tejun Heo wrote: > > So, I suppose this is a fallout from 9faa643855df ("libata: use > > READ_LOG_DMA_EXT"). The description just says "we should try use it" > > but is there any benefit from usi

Re: Asterisk deadlocks since Kernel 4.1

2015-12-02 Thread Stefan Priebe - Profihost AG
Hi, here are the results. It works with 4.1. It works with 4.2. It does not work with 4.1.13. git bisect tells me it stopped working after those two commits were applied: commit d48623677191e0f035d7afd344f92cf880b01f8e Author: Herbert Xu Date: Tue Sep 22 11:38:56 2015 +0800 netlink: Rep

Re: [PATCH 12/40] staging: lustre: Dynamic LNet Configuration (DLC) IOCTL changes

2015-12-02 Thread Dan Carpenter
On Fri, Nov 20, 2015 at 06:35:48PM -0500, James Simmons wrote: > +int libcfs_ioctl_getdata_len(const struct libcfs_ioctl_hdr __user *arg, > + __u32 *len) > +{ > + struct libcfs_ioctl_hdr hdr; > > - orig_len = hdr->ioc_len; > - if (copy_from_user(buf, arg, hdr-

Re: [PATCH] mac80211_hwsim: missing NULL check

2015-12-02 Thread Johannes Berg
On Mon, 2015-11-30 at 12:46 +0530, Rahul Jain wrote: > From: Amit Khatri > > txrate variable might be NULL and passing inside function > without NULL check. Applied. However, this comes with a big BUT. I seems to always be rewriting your static checker patches, or asking for clarification, rewo

Re: [PATCH v2 16/16] i2c: designware: Convert to use unified device property API

2015-12-02 Thread Wolfram Sang
On Wed, Dec 02, 2015 at 11:33:41AM +0200, Mika Westerberg wrote: > On Wed, Dec 02, 2015 at 11:23:40AM +0200, Andy Shevchenko wrote: > > On Wed, 2015-12-02 at 02:28 +0100, Rafael J. Wysocki wrote: > > > On Tuesday, December 01, 2015 12:33:51 PM Andy Shevchenko wrote: > > > > On Mon, 2015-11-30 at 20

Re: [PATCH v5 08/10] spi: expose master transfer size limitation.

2015-12-02 Thread Michal Suchanek
On 1 December 2015 at 20:58, Mark Brown wrote: > On Tue, Dec 01, 2015 at 04:51:06PM -, Michal Suchanek wrote: >> On some SPI controllers it is not feasible to transfer arbitrary amount >> of data at once. >> >> When the limit on transfer size is a few kilobytes at least it makes >> sense to us

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-12-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Dec 01, 2015 at 05:11:25PM +0100, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > > so I think the problem here is that the RSP does not match up to the > > > > RIP. We > > > > can either pass along the original RIP+RSP, or the fixed up one - b

Re: MPT2SAS boot fail... due to silently loosing the driver

2015-12-02 Thread Ingo Molnar
* Martin K. Petersen wrote: > > "Ingo" == Ingo Molnar writes: > > Ingo> So you need to make it interactive, with a short help text that > Ingo> explains to users that this is legacy option only, and that they > Ingo> should enable the MPT3SAS option if they want to configure things > Ingo>

Re: [RFC v02 03/15] dmaengine: core: Introduce new, universal API to request a channel

2015-12-02 Thread Peter Ujfalusi
On 12/01/2015 07:00 PM, Tony Lindgren wrote: >> I see. The dm81xx basically am33xx/am43xx? > > Yeah similar to am33xx with different clocks and with a bunch of accelerators. > >> Actually I would prefer to use the dmaengine's event router framework and we >> do have support for the am33xx/am43xx

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-02 Thread Yury Norov
On Tue, Nov 17, 2015 at 10:57:52PM +0100, Arnd Bergmann wrote: It looks, all them are needed. > > +asmlinkage long compat_sys_mmap2_wrapper(void); > > +#define sys_mmap2 compat_sys_mmap2_wrapper This wrapper checks alignement of pgoff, if page sise is greater than 4K > > +a

Re: [RFC v02 04/15] dmaengine: edma: Add support for DMA filter mapping to slave devices

2015-12-02 Thread Peter Ujfalusi
On 12/02/2015 06:37 AM, Vinod Koul wrote: > On Tue, Dec 01, 2015 at 09:20:28PM +0100, Arnd Bergmann wrote: >> On Tuesday 01 December 2015 22:52:12 Vinod Koul wrote: >>> On Mon, Nov 30, 2015 at 03:45:34PM +0200, Peter Ujfalusi wrote: Add support for providing device to filter_fn mapping so clie

[PATCH v2 0/5] net: thunderx: Miscellaneous fixes

2015-12-02 Thread Sunil Goutham
From: Sunil Goutham This patch series contains fixes for various issues observed with BGX and NIC drivers. Changes from v1: - Fixed comment syle in the first patch of the series - Removed 'Increase transmit queue length' patch from the series, will recheck if it's a driver or system issue and

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

2015-12-02 Thread Marcin Wojtas
Hi Simon, I checked using hrtimer_is_queued instead of a custom flag and it resulted in ~20kpps drop in my setup. timer_scheduled flag is cleared in the tasklet, so no timer can be scheduled until the tasklet is executed. hr_timer flags do not cover this situation, so much more timers are enqueued

[PATCH v2 5/5] net: thunderx: Enable BGX LMAC's RX/TX only after VF is up

2015-12-02 Thread Sunil Goutham
From: Sunil Goutham Enable or disable BGX LMAC's RX/TX based on corresponding VF's status. If otherwise, when multiple LMAC's physical link is up then packets from all LMAC's whose corresponding VF is not yet initialized will get forwarded to VF0. This is due to VNIC's default configuration where

[PATCH v2 2/5] net: thunderx: Wait for delayed work to finish before destroying it

2015-12-02 Thread Sunil Goutham
From: Thanneeru Srinivasulu While VNIC or BGX driver teardown, wait for already scheduled delayed work to finish before destroying it. Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic_main.c|3 +-- drivers/net/ethernet/caviu

[PATCH v2 3/5] net: thunderx: Set CQ timer threshold properly

2015-12-02 Thread Sunil Goutham
From: Sunil Goutham Properly set CQ timer threshold and also set it to 2us. With previous incorrect settings it was set to 0.5us which is too less. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h |5 ++--- drivers/net/ethernet/cavium/thunder/nicvf_queues

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-02 Thread Arnd Bergmann
On Wednesday 02 December 2015 03:24:30 Yury Norov wrote: > On Tue, Dec 01, 2015 at 12:30:56PM +0100, Arnd Bergmann wrote: > > On Tuesday 01 December 2015 12:01:12 Andreas Schwab wrote: > > > Arnd Bergmann writes: > > > > > > > On Tuesday 01 December 2015 10:20:59 Andreas Schwab wrote: > > > >> Yu

Re: [PATCH 11/19] ARM: dts: imx: replace legacy *,wakeup property with wakeup-source

2015-12-02 Thread Sudeep Holla
On 02/12/15 01:54, Shawn Guo wrote: On Thu, Nov 26, 2015 at 11:33:50AM +, Sudeep Holla wrote: On 23/11/15 05:37, Shawn Guo wrote: On Wed, Oct 21, 2015 at 11:10:08AM +0100, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "l

[PATCH v2 4/5] net: thunderx: Switchon carrier only upon interface link up

2015-12-02 Thread Sunil Goutham
From: Sunil Goutham Call netif_carrier_on() only if interface's link is up. Switching this on upon IFF_UP by default, is causing issues with ethernet channel bonding in LACP mode. Initial NETDEV_CHANGE notification was being skipped. Also fixed some issues with link/speed/duplex reporting via et

[PATCH] ARM: at91/dt: add always-on to 1.8V regulator

2015-12-02 Thread Nicolas Ferre
As the SDHCI controller needs the 1.8V line to be always enabled for some eMMC configurations, set the proper "regulator-always-on" property to the board DTS files. Note that the sdhci classical regulator definitions doesn't suit our controller for this 1.8V purpose. Signed-off-by: Nicolas Ferre

Re: [PATCH] ARM: at91/dt: add always-on to 1.8V regulator

2015-12-02 Thread Ludovic Desroches
On Wed, Dec 02, 2015 at 11:06:40AM +0100, Nicolas Ferre wrote: > As the SDHCI controller needs the 1.8V line to be always enabled for some eMMC > configurations, set the proper "regulator-always-on" property to the board DTS > files. > Note that the sdhci classical regulator definitions doesn't sui

[PATCH v3] Add support for monitoring Chrome OS firmware signals

2015-12-02 Thread Martyn Welch
Select Chromebooks have gpio attached to signals used to cause the firmware to enter alternative modes of operation and/or control other device characteristics (such as write protection on flash devices). This patch adds a driver that exposes a read-only interface to allow these signals to be read

[PATCH v2 1/5] net: thunderx: Force to load octeon-mdio before bgx driver.

2015-12-02 Thread Sunil Goutham
From: Thanneeru Srinivasulu Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c |3 +++ drivers/net/ethernet/cavium/thunder/thunder_bgx.h |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net

Re: [Xen-devel] linux 4.4 Regression: 100% cpu usage on idle pv guest under Xen with single vcpu.

2015-12-02 Thread Sander Eikelenboom
On 2015-12-02 00:41, Boris Ostrovsky wrote: On 12/01/2015 06:30 PM, Sander Eikelenboom wrote: On 2015-12-02 00:19, Boris Ostrovsky wrote: On 12/01/2015 06:00 PM, Sander Eikelenboom wrote: On 2015-12-01 23:47, Boris Ostrovsky wrote: On 11/30/2015 05:55 PM, Sander Eikelenboom wrote: On 2015-11

Re: [PATCH] Hisilicon LPC driver

2015-12-02 Thread Rongrong Zou
在 2015/12/1 18:00, Arnd Bergmann 写道: On Tuesday 01 December 2015 15:58:36 Rongrong Zou wrote: 在 2015/11/30 21:19, Arnd Bergmann 写道: On Monday 30 November 2015 21:07:17 Rongrong Zou wrote: This is the Low Pin Count driver for Hisilicon Hi1610 SoC. It is used for LPC master accessing LPC slave d

Re: [PATCH] mm: vmpressure: fix scan window after SWAP_CLUSTER_MAX increase

2015-12-02 Thread Hugh Dickins
On Mon, 16 Nov 2015, Johannes Weiner wrote: > Dear Hugh, > > [ sorry, I just noticed this email now ] No problem: as you can see, I'm very far from keeping up myself. > > On Wed, Oct 21, 2015 at 01:05:53PM -0700, Hugh Dickins wrote: > > On Wed, 21 Oct 2015, Johannes Weiner wrote: > > > On Mon,

[PATCH v4] arm64: dts: add all hi6220 i2c nodes

2015-12-02 Thread Xinwei Kong
This patch adds all I2C nodes for the Hi6220 SoC. This hi6220 Soc use this I2C IP of Synopsys Designware for HiKey board. Signed-off-by: Xinwei Kong Signed-off-by: Chen Feng --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 34 +++ 1 file changed, 34 insertions(+) dif

Re: memcg uncharge page counter mismatch

2015-12-02 Thread Michal Hocko
On Tue 01-12-15 22:34:55, Minchan Kim wrote: > With new test on mmotm-2015-11-25-17-08, I saw below WARNING message > several times. I couldn't see it with reverting new THP refcount > redesign. Just a wild guess. What prevents migration/compaction from calling split_huge_page on thp zero page? Th

[PATCH] sfc: check warm_boot_count after other functions have been reset

2015-12-02 Thread Bert Kenward
From: Daniel Pieczko A change in MCFW behaviour means that the net driver must update its record of the warm_boot_count by reading it from the ER_DZ_BIU_MC_SFT_STATUS register. On v4.6.x MCFW the global boot count was incremented when some functions needed to be reset to enable multicast chainin

Re: [PATCH v2 1/2] iio: ina2xx: add support for TI INA2xx Power Monitors

2015-12-02 Thread Marc Titinger
On 02/12/2015 03:14, Guenter Roeck wrote: On Mon, Nov 30, 2015 at 12:49:14PM +0100, Marc Titinger wrote: in SOFTWARE buffer mode, a kthread will capture the active scan_elements into a kfifo, then compute the remaining time until the next capture tick and do an active wait (udelay). This will p

Re: [PATCH v2 1/2] scripts: Add a recorduidiv program

2015-12-02 Thread Russell King - ARM Linux
On Tue, Dec 01, 2015 at 06:16:43PM +, Russell King - ARM Linux wrote: > On Tue, Dec 01, 2015 at 12:22:12PM -0500, Steven Rostedt wrote: > > I guess another solution is to do a copy instead of modifying in place > > if it detects the multiple hard link? > > That would be the "transparent" solut

[RESEND PATCH v2 6/9] eeprom: at24: improve the device_id table readability

2015-12-02 Thread Bartosz Golaszewski
Improve the readability of the device table by separating columns with tabs. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.

[RESEND PATCH v2 1/9] eeprom: at24: platform_data: use BIT() macro

2015-12-02 Thread Bartosz Golaszewski
Use BIT() macro to replace the 0xXX constants in platform_data flags definitions. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/at24.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/platform_data/at24.h b/include/linux/platform_dat

[RESEND PATCH v2 5/9] eeprom: at24: export the serial number through sysfs

2015-12-02 Thread Bartosz Golaszewski
The at24 driver is now capable of reading the serial number from at24cs EEPROM chips. Export the serial number through sysfs. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 44 1 file changed, 40 insertions(+), 4 deletions(-) dif

[RESEND PATCH v2 7/9] eeprom: at24: add the at24cs series to the list of supported devices

2015-12-02 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 9 +++

[RESEND PATCH v2 9/9] eeprom: at24: readability tweaks

2015-12-02 Thread Bartosz Golaszewski
Move the macro definitions above the struct definitions and add some tabs for better readability. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eepro

[RESEND PATCH v2 8/9] eeprom: at24: remove a reduntant if

2015-12-02 Thread Bartosz Golaszewski
It seems as if the second check for I2C_FUNC_I2C functionality had been introduced accidentally during a merge. Tt's reduntant, so remove it. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/misc/eeprom/at24.c b/drive

Re: [PATCH 1/2] extcon: add driver for Intel USB mux

2015-12-02 Thread Heikki Krogerus
Hi David, > > +void intel_usb_mux_unregister(struct intel_usb_mux *mux) > > +{ > > There are still 2 pending comments for this unregister function: > > 1) How about a protection against unbalanced unregistering? In case an > user mistakenly unregisters twice or unregisters without a previous >

[RESEND PATCH v2 0/9] eeprom: at24: at24cs series serial number read

2015-12-02 Thread Bartosz Golaszewski
Chips from the at24cs EEPROM series have an additional read-only memory area containing a factory pre-programmed serial number. In order to access it, a dummy write must be executed before reading the serial number bytes. This series adds support for reading the serial number through a sysfs attri

[RESEND PATCH v2 2/9] eeprom: at24: new flag in platform_data

2015-12-02 Thread Bartosz Golaszewski
In preparation for supporting the at24cs EEPROM series add a new flag to platform data. When set, it should tell the driver that the chip has an additional read-only memory area that holds a factory pre-programmed serial number. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/

[RESEND PATCH v2 4/9] eeprom: at24: support reading of the serial number

2015-12-02 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area containing a factory pre-programmed serial number. In order to access it, one has to perform a dummy write before reading the serial number bytes. Add a function that allows to access the serial number. Signed-off-by: Bartosz

[RESEND PATCH v2 3/9] eeprom: at24: tie up an additional address for at24cs series

2015-12-02 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area, that is visible on a different i2c slave address. Tie it up with a dummy device. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 30 ++ 1 file changed, 26 insertions(+), 4 del

Re: [PATCH] arm64: dts: berlin4ct: support cpuidle-dt

2015-12-02 Thread Lorenzo Pieralisi
On Mon, Nov 30, 2015 at 09:41:58PM +0800, Jisheng Zhang wrote: > This patch adds an idle-states node to describe the berlin4ct idle > states and also adds references to the idle-states node in all CPU > nodes. After this patch cpuidle is enabled. > > Signed-off-by: Jisheng Zhang > --- > arch/arm

RE: [PATCH 3/6] net: thunderx: Increase transmit queue length

2015-12-02 Thread Pavel Fedin
Hello! > > Probably you might have to set "coherent_pool" size in bootargs to a > > higher value. > > Can you please check. > > I have tried to do this. I was able to enlarge the pool up to 4MB, and still > got allocation > failures. At 8MB pool preallocation stops working: > --- cut --- > Cal

Re: [PATCH] xen-pciback: fix up cleanup path when alloc fails

2015-12-02 Thread David Vrabel
On 26/11/15 20:32, Doug Goldstein wrote: > When allocating a pciback device fails, avoid the possibility of a > use after free. We should not require clearing drvdata for correctness. We should ensure we retain drvdata for as long as it is needed. I note that pcistub_device_release() has:

  1   2   3   4   5   6   7   8   9   10   >