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

2015-12-01 Thread Jiri Olsa
On Tue, Dec 01, 2015 at 11:56:55AM -0500, Steven Rostedt wrote: > On Tue, 1 Dec 2015 16:57:44 +0100 > Jiri Olsa wrote: > > > > > Hmm, I thought that I forced the list function when RCU or PER_CPU > > > was set. Oh wait. I have CONFIG_PREEMPT set, which will change the > > > logic slightly. I'm g

Re: [PATCH] ARM: mach-imx: iomux-imx31: fix spelling mistake in error message

2015-12-01 Thread Shawn Guo
On Sat, Nov 28, 2015 at 04:27:34PM +, Colin King wrote: > From: Colin Ian King > > Minor issue, fix spelling mistake, nonexistant -> nonexistent > > Signed-off-by: Colin Ian King Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH 03/40] staging: lustre: reflect down routes in /proc/sys/lnet/routes

2015-12-01 Thread Dan Carpenter
On Fri, Nov 20, 2015 at 06:35:39PM -0500, James Simmons wrote: > From: Chris Horn > > We consider routes "down" if the router is down or the router > NI for the target network is down. This should be reflected > in the output of /proc/sys/lnet/routes > > Signed-off-by: Chris Horn > Intel-bug-id

Re: [PATCH 03/19] bluetooth: hci_ldisc: Remove dead code

2015-12-01 Thread Marcel Holtmann
Hi Peter, > The N_HCI ldisc does not define a flush_buffer() ldisc method, so > the check when opening the ldisc is always false. > > Cc: Marcel Holtmann > Cc: Johan Hedberg > Cc: > Signed-off-by: Peter Hurley > --- > drivers/bluetooth/hci_ldisc.c | 8 +--- > 1 file changed, 1 insertion(+)

Re: [PATCH 02/40] staging: lustre: fix 'NULL pointer dereference' errors for LNet

2015-12-01 Thread Dan Carpenter
On Fri, Nov 20, 2015 at 06:35:38PM -0500, James Simmons wrote: > From: Sebastien Buisson > > Fix 'NULL pointer dereference' defects found by Coverity version > 6.5.3: > Dereference after null check (FORWARD_NULL) > For instance, Passing null pointer to a function which dereferences > it. > Derefe

[PATCH v2] PCI: imx6:don't sleep in atomic context

2015-12-01 Thread Sanjeev Sharma
From: David Mueller If additional PCIe switch get connected between the host and the NIC,the kernel crashes with "BUG: scheduling while atomic". To handle this we need to call mdelay() instead of usleep_range(). This is currently called from atomic context through pci_config_{read,write). For m

RE: [char-misc-next 3/6] mei: wd: implement MEI iAMT watchdog driver

2015-12-01 Thread Winkler, Tomas
> >> > >> Any special reason for having two data structures instead of one ? > >> You could just move the variables from struct mei_wdt_dev into > >> struct mei_wdt, no ? > > > > Yes, on newer platform mei_wdt_dev might be not present in case the the > > device is not provisioned. This came to act

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

2015-12-01 Thread Shawn Guo
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/hisilicon/hi6220.dtsi | 31 >

Re: [PATCH V2] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-12-01 Thread punit vara
On Wed, Dec 2, 2015 at 12:30 PM, Sudip Mukherjee wrote: > On Wed, Dec 02, 2015 at 08:39:10AM +0530, punit vara wrote: >> On Mon, Nov 9, 2015 at 3:53 PM, Sudip Mukherjee >> wrote: >> > On Mon, Nov 09, 2015 at 03:43:38PM +0530, punit vara wrote: >> >> On Mon, Nov 9, 2015 at 3:31 PM, glen lee wrote

block/scsi: WARNING: at block/blk-merge.c:435 immediately followed by BUG at drivers/scsi/scsi_lib.c:1096

2015-12-01 Thread Mike Galbraith
Greetings, Yesterday morning and this morning, 4.4-master has exploded as below. (have crash dumps, but returning from vacation, also have backlog) [ 1576.519298] [ cut here ] [ 1576.519306] WARNING: CPU: 6 PID: 287 at block/blk-merge.c:435 blk_rq_map_sg+0x43a/0x440() [

[PATCH v4 0/3] Exynos4210: fix power domain for MDMA1 device

2015-12-01 Thread Marek Szyprowski
This patchset fixes mysterious boot hang on Exynos 4210 SoCs, when IOMMU is enabled. There is no direct dependency between IOMMU devices and MDMA1. However enabling IOMMU changes the device probe order, what results in LCD0 power domain being turned off for some time. During that time the registrat

[PATCH v4 3/3] ARM: amba: Properly handle devices with power domains

2015-12-01 Thread Marek Szyprowski
To read pid/cid registers, the probed device need to be properly turned on. When it is inside a power domain, the bus code should ensure that the given power domain is enabled before trying to access device's registers. Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson --- drivers/amba/b

[PATCH v4 1/3] driver core: handle -EPROBE_DEFER from bus_type.match()

2015-12-01 Thread Marek Szyprowski
From: Tomeu Vizoso Allow implementations of the match() callback in struct bus_type to return errors and if it's -EPROBE_DEFER then queue the device for deferred probing. This is useful to buses such as AMBA in which devices are registered before their matching information can be retrieved from

[PATCH v4 2/3] ARM: amba: Move reading of periphid to amba_match()

2015-12-01 Thread Marek Szyprowski
From: Tomeu Vizoso Reading the periphid when the Primecell device is registered means that the apb pclk must be available by then or the device won't be registered at all. By reading the periphid in amba_match() we can return -EPROBE_DEFER if the apb pclk isn't there yet and the device will be r

[PATCH V7 1/1] usb:serial: Add Fintek F81532/534 driver

2015-12-01 Thread Peter Hung
This driver is for Fintek F81532/F81534 USB to Serial Ports IC. Features: 1. F81534 is 1-to-4 & F81532 is 1-to-2 serial ports IC 2. Support Baudrate from B50 to B150 (excluding B100). 3. The RTS signal can be transformed their behavior with configuration by ioctl TIOCGRS485/TIOCSRS485

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

2015-12-01 Thread Hillf Danton
> > Dmitry Vyukov reported the following memory leak > > unreferenced object 0x88002eaafd88 (size 32): > comm "a.out", pid 5063, jiffies 4295774645 (age 15.810s) > hex dump (first 32 bytes): > 28 e9 4e 63 00 88 ff ff 28 e9 4e 63 00 88 ff ff (.Nc(.Nc > 00 00 00 00 00 00 00

[PATCH] Update maintainer list for Intel TXT

2015-12-01 Thread Wei, Gang
Update maintainer list for Intel TXT Signed-off-by: Gang Wei diff --git a/MAINTAINERS b/MAINTAINERS index cba790b..84c8fe7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5621,9 +5621,7 @@ F:Documentation/trace/intel_th.txt F: drivers/hwtracing/intel_th/ INTEL(R) TRUSTED EXECUTION

Re: [Linux-graphics-maintainer] [PATCH 3/6] Input: Update vmmouse.c to use the common VMW_PORT macros

2015-12-01 Thread Thomas Hellstrom
On 12/02/2015 01:04 AM, Greg Kroah-Hartman wrote: > On Tue, Dec 01, 2015 at 02:54:20PM -0800, Sinclair Yeh wrote: >> Hi, >> >> On Tue, Dec 01, 2015 at 02:45:27PM -0800, Dmitry Torokhov wrote: >>> On Tue, Dec 1, 2015 at 2:32 PM, Sinclair Yeh wrote: Hi, >> >> >> */ >> -#define V

RE: [v8, 2/6] fsl/fman: Add FMan support

2015-12-01 Thread Liberman Igal
Hi David, Thank you for your feedback, I'll address it and re-submit. Regards, Igal Liberman > -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, December 01, 2015 11:28 PM > To: Liberman Igal-B31950 > Cc: net...@vger.kernel.org; linuxppc-...@lists.ozla

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

2015-12-01 Thread Lu Baolu
On 12/01/2015 09:32 PM, Heikki Krogerus wrote: > Intel Braswell/Cherrytrail has an internal mux that shares > one USB port between USB Device Controller and xHCI. The > same mux is found on several SOCs from Intel, but only on > a few Cherrytrail based platforms the OS is expected to > configure

Re: [PATCH V2] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-12-01 Thread Sudip Mukherjee
On Wed, Dec 02, 2015 at 08:39:10AM +0530, punit vara wrote: > On Mon, Nov 9, 2015 at 3:53 PM, Sudip Mukherjee > wrote: > > On Mon, Nov 09, 2015 at 03:43:38PM +0530, punit vara wrote: > >> On Mon, Nov 9, 2015 at 3:31 PM, glen lee wrote: > >> > > >> > > >> > On 2015년 11월 09일 18:05, punit vara wrote

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

2015-12-01 Thread Ross Green
I too have traced a similar RCU stall all the way back to 3.17. Seems to affect RCU preempt code as well. I had not been able to find a sure fail way to trigger this and it could take several days running before problem arises. Ross -- To unsubscribe from this list: send the line "unsubscribe li

[PATCH] nvdimm: do not show pfn_seed for non pmem regions

2015-12-01 Thread Dmitry V. Krivenok
This simple change hides pfn_seed attribute for non pmem regions because they don't support pfn anyway. Signed-off-by: Dmitry V. Krivenok --- drivers/nvdimm/region_devs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nvdimm/region_devs.c b/drivers/nvdimm/region_devs.c index 529f

[PATCH] oom kill init lead panic

2015-12-01 Thread chenjie6
From: chenjie when oom happened we can see: Out of memory: Kill process 9134 (init) score 3 or sacrifice child Killed process 9134 (init) total-vm:1868kB, anon-rss:84kB, file-rss:572kB Kill process 1 (init) sharing same memory ... Kernel panic - not syncing: Attempted to kill init! exitcode=0x000

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

2015-12-01 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 --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/

Re: [PATCH cgroup/for-4.4-fixes 2/3] cgroup: fix handling of multi-destination migration from subtree_control enabling

2015-12-01 Thread Daniel Wagner
Hi Tejun, On 12/01/2015 05:44 PM, Tejun Heo wrote: > On Tue, Dec 01, 2015 at 08:02:23AM +0100, Daniel Wagner wrote: >> I was not able to verify if these two patches are fixing it. I don't see >> the call trace on mainline only when using cgroup/review-xt_cgroup2 >> review branch. >> >> So I ported

Re: [PATCH] cgroups: move cpuset specific checks from generic code to cpuset_can_attach (v2)

2015-12-01 Thread Mike Galbraith
On Tue, 2015-12-01 at 11:49 -0500, Tejun Heo wrote: > On Thu, Nov 26, 2015 at 08:32:32PM -0200, Marcelo Tosatti wrote: > > > > Move PF_NO_SETAFFINITY and kthreadd_task checks to cpuset cgroups, > > where they belong. This makes it possible to attach PF_NO_SETAFFINITY > > tasks to Intel CAT cgro

Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Dan Carpenter
On Wed, Dec 02, 2015 at 10:32:49AM +0530, Sudip Mukherjee wrote: > By "common exit path" do you mean mixing up of success and error paths? Normally it's just the error paths which are mixed together. Back in the day, this unisys driver had tons of error handling bugs so that I didn't even bother

[PATCH v5 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk

2015-12-01 Thread Lu Baolu
On Intel platforms, if the debug target is connected with debug host, enabling DCE bit in command register leads to a port hung state. In the hung state, the host system will not see a port connected status bit set. Hence debug target fails to be probed. The state could be resolved by performing a

Re: [PATCH V1] ARM: dts: imx6: Change the clock name for spba clock

2015-12-01 Thread Shawn Guo
On Thu, Nov 26, 2015 at 10:39:30AM +0800, Shengjiu Wang wrote: > Audio IP need the spba clock, but original clock name "dma" is not > accurate, so change it to name "spba". The audio driver has been > using the new name "spba", the binding document has been updated. > > Signed-off-by: Shengjiu Wan

[PATCH v5 03/12] usb: xhci: dbc: probe and setup xhci debug capability

2015-12-01 Thread Lu Baolu
xHCI debug capability (DbC) is an optional functionality provided by an xHCI host controller. Software learns this capability by walking through the extended capability list in mmio of the host. This patch introduces the code to probe and initialize the debug capability hardware during early boot.

[PATCH v5 05/12] usb: xhci: dbc: add debug buffer

2015-12-01 Thread Lu Baolu
"printk" is not suitable for dbc debugging especially when console is in usage. This patch adds a debug buffer in dbc driver and puts the debug messages in this local buffer. The debug buffer could be dumped whenever the console is not in use. This part of code will not be visible unless DBC_DEBUG

[PATCH v5 10/12] usb: xhci: dbc: add handshake between debug target and host

2015-12-01 Thread Lu Baolu
After DbC setup, debug target needs to wait until tty driver and application (e.g. mincom) on debug taget start. Otherwise, out messages might be ignored. This patch adds a ping/pong mechanism between debug target and host. Debug target will be waiting there until user presses 'Y' or 'y' in the t

[PATCH v5 09/12] x86: early_printk: add USB3 debug port earlyprintk support

2015-12-01 Thread Lu Baolu
Add support for early printk by writing debug messages to the USB3 debug port. Users can use this type of early printk by specifying kernel parameter of "earlyprintk=xdbc". This gives users a chance of providing debug output. Signed-off-by: Lu Baolu --- Documentation/kernel-parameters.txt | 1 +

[PATCH v5 07/12] usb: xhci: dbc: handle dbc-configured exit

2015-12-01 Thread Lu Baolu
DbC might exit configured state in some cases (refer to 7.6.4.4 in xHCI spec 1.1). Software needs detect and clear this situation by clearing DCCTRL.DCR and wait until the DbC configured before read or write oprations. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 28 +++

[PATCH v5 06/12] usb: xhci: dbc: add bulk out and bulk in interfaces

2015-12-01 Thread Lu Baolu
This patch adds interfaces for bulk out and bulk in ops. These interfaces could be used to implement early printk bootconsole or hook to various system debuggers. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 373 +++ include/linux/usb/xhci-db

[PATCH v5 12/12] usb: doc: add document for xHCI DbC driver

2015-12-01 Thread Lu Baolu
Add Documentation/usb/xhci-dbc.txt. This document includes development status and user guide for USB3 debug port. Signed-off-by: Lu Baolu --- Documentation/usb/xhci-dbc.txt | 350 + MAINTAINERS| 1 + drivers/usb/early/xhci-dbc.c |

[PATCH v5 08/12] usb: xhci: dbc: handle endpoint stall

2015-12-01 Thread Lu Baolu
In case of endpoint stall, software is able to detect the situation by reading DCCTRL.HIT or DCCTRL.HOT bits. DbC follows the normal USB framework to handle endpoint stall. When software detects endpoint stall situation, it should wait until endpoint is recovered before read or write oprations. Si

[PATCH v5 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-12-01 Thread Lu Baolu
This patch add dbc debug device support in usb_debug driver. Signed-off-by: Lu Baolu Acked-by: Johan Hovold --- drivers/usb/serial/usb_debug.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/us

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

2015-12-01 Thread Lu Baolu
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 "debug_port_state" will be created under the device sysfs directory. Reading this file will s

[PATCH v5 02/12] x86: fixmap: add permanent fixmap for xhci debug port

2015-12-01 Thread Lu Baolu
xHCI compatible USB3 host controller may provide debug capability which enables low-level system debug over USB. In order to probing this debug capability, Linux kernel needs to map and access the mmio of the host controller during early boot. This patch adds permenent fixmap pages in fixed_addres

[PATCH v5 00/12] usb: early: add support for early printk through USB3 debug port

2015-12-01 Thread Lu Baolu
Hi, This patch series adds support for early printk through USB3 debug port. USB3 debug port is described in xHCI specification as an optional extended capability. The first patch adds a file in sysfs, through which users can check whether the debug capability is supported by a specific host cont

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

2015-12-01 Thread Jeremiah Mahler
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_firmware_probe(struct platform_device *pdev) >

Re: [PATCH 1/2] kexec: Set KEXEC_TYPE_CRASH before sanity_check_segment_list()

2015-12-01 Thread Xunlei Pang
Hi Dave, On 12/02/2015 at 01:47 PM, Dave Young wrote: > Ccing Andrew since usually he monitors and picks up kexec patches. > > On 12/02/15 at 01:26pm, Xunlei Pang wrote: >> sanity_check_segment_list() checks KEXEC_TYPE_CRASH flag to ensure >> all the segments of the loaded crash kernel are winthin

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

2015-12-01 Thread Marcin Wojtas
2015-12-02 4:03 GMT+01:00 David Miller : > 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 applied, thanks. Than

Re: [PATCH net-next v3 03/17] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-01 Thread David Decotigny
Hello, There is a set of conversion routines ulong[]<->u32[] to address this 32/64-bit compat issue. Using a u32-based bitmap would require drivers to handle the u32 bitmaps themselves, this might be confusing, considering there is a standard bitmap api; and might be error-prone as well. Plus ther

[PATCH 2/2] power: Build power/avs when POWER_AVS is selected but POWER_SUPPLY is not

2015-12-01 Thread Krzysztof Kozlowski
POWER_AVS can be selected from top-drivers menu and it does not depend on POWER_SUPPLY. However in such case (POWER_SUPPLY is not enabled) all objects will be skipped by make. Signed-off-by: Krzysztof Kozlowski --- drivers/Makefile | 1 + drivers/power/Makefile | 1 - 2 files changed, 1 in

[PATCH 1/2] power: Fix unmet dependency on POWER_SUPPLY by POWER_RESET by uncoupling them

2015-12-01 Thread Krzysztof Kozlowski
Actually reset/power off handlers do not really depend on power supply. Move the power reset out of power supply block so it will appear in main drivers section. This fixes following build warning (encountered on ARM exynos defconfig when POWER_SUPPLY is disabled manually): warning: (ARCH_HISI &&

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

2015-12-01 Thread Sunil Kovvuri
>The driver should successfully recover from out of memory situations > and not stop RX/TX completely. This memory allocation is while interface bringup/initialization and not during packet I/O. >Don't put this off as not "related" to your patch, it is as this >introduces the behavior for this use

Re: [PATCH 2/2] ARM: dts: ls1021a: Add a TFT LCD panel.

2015-12-01 Thread Shawn Guo
On Wed, Nov 25, 2015 at 02:46:07PM +0800, Meng Yi wrote: > Signed-off-by: Alison Wang > Signed-off-by: Xiubo Li > Signed-off-by: Jianwei Wang > --- > arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/ls1021a-twr.dts > b/a

Re: [PATCH 1/2] kexec: Set KEXEC_TYPE_CRASH before sanity_check_segment_list()

2015-12-01 Thread Dave Young
Ccing Andrew since usually he monitors and picks up kexec patches. On 12/02/15 at 01:26pm, Xunlei Pang wrote: > 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 beforehan

[PATCH v2 2/3] clocksource: simplify ACPI code in arm_arch_timer.c

2015-12-01 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo --- drivers/clocks

[PATCH v2 1/3] ACPI: add GTDT table parse driver into ACPI driver

2015-12-01 Thread fu . wei
From: Fu Wei This driver adds support for parsing all kinds of timer in GTDT: (1)arch timer: provide a kernel API to parse all the PPIs and always-on info in GTDT and export them by arch_timer_data struct. (2)memory-mapped timer: provide several kernel APIs to parse GT Block Structure in GTDT, e

[PATCH v2 3/3] clocksource: add memory-mapped timer support in arm_arch_timer.c

2015-12-01 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support for arm_arch_timer driver by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 136 +++ 1 file changed, 136 insertions(+

[PATCH v2 0/3] ACPI, clocksource: add GTDT and ARM memory-mapped timer support

2015-12-01 Thread fu . wei
From: Fu Wei This patchset: (1)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all kinds of timer in GTDT table of ACPI:arch timer, memory-mapped timer and SBSA Generic Watchdog timer. This driver can help to simplify all the relevant timer drivers, and separate all the

[PATCH v2] perf tools: Introduce perf_thread for backtrace

2015-12-01 Thread Namhyung Kim
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 searching mechanism. To do that, add perf_thread global variable to keep its ma

RE: [PATCH v2 1/3] serial: xuartps: Spliting the ISR into smaller routines.

2015-12-01 Thread Nava kishore Manne
> -Original Message- > From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] > Sent: Friday, November 20, 2015 8:14 PM > To: Nava kishore Manne > Cc: jsl...@suse.com; Michal Simek; Anirudha Sarangi; linux- > ser...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...

[PATCH 1/2] kexec: Set KEXEC_TYPE_CRASH before sanity_check_segment_list()

2015-12-01 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 --- kernel/kexec.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(

Re: [PATCH 1/3] ARM: imx: clk-vf610: fix SAI clock tree

2015-12-01 Thread Shawn Guo
On Sat, Oct 17, 2015 at 09:05:20PM -0700, Stefan Agner wrote: > The Synchronous Audio Interface (SAI) instances are clocked by > independent clocks: The bus clock and the audio clock (as shown in > Figure 51-1 in the Vybrid Reference Manual). The clock gates in > CCGR0/CCGR1 for SAI0 through SAI3 a

Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address

2015-12-01 Thread Namhyung Kim
On Thu, Nov 26, 2015 at 01:19:01PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Nov 26, 2015 at 04:58:57PM +0100, Jiri Olsa escreveu: > > On Thu, Nov 26, 2015 at 08:48:17AM -0700, David Ahern wrote: > > > On 11/26/15 8:00 AM, Namhyung Kim wrote: > > > >Hi David, > > > > > > > >On Thu, Nov 26, 2

Re: [PATCH v3 00/27] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-12-01 Thread Roger Quadros
Brian, On 02/12/15 08:56, Brian Norris wrote: > Hi Roger, > > On Tue, Dec 01, 2015 at 04:41:16PM +0200, Roger Quadros wrote: >> On 30/11/15 21:54, Brian Norris wrote: >>> On Tue, Oct 27, 2015 at 11:37:03AM +0200, Roger Quadros wrote: On 26/10/15 23:23, Brian Norris wrote: > On Fri, Sep 1

Re: [PATCH net-next 3/3] vhost_net: basic polling support

2015-12-01 Thread Jason Wang
On 12/01/2015 10:43 PM, Michael S. Tsirkin wrote: > On Tue, Dec 01, 2015 at 01:17:49PM +0800, Jason Wang wrote: >> >> On 11/30/2015 06:44 PM, Michael S. Tsirkin wrote: >>> On Wed, Nov 25, 2015 at 03:11:29PM +0800, Jason Wang wrote: > This patch tries to poll for new added tx buffer or socket

Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Sudip Mukherjee
On Tue, Dec 01, 2015 at 06:57:24PM +0300, Dan Carpenter wrote: > On Tue, Dec 01, 2015 at 09:54:50AM -0500, Ben Romer wrote: > > On 12/01/2015 03:00 AM, Dan Carpenter wrote: > > >Doing One Err style error handling is often a mistake but it's ok here. > > > > Why is it okay here? I don't understand

Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Sudip Mukherjee
On Tue, Dec 01, 2015 at 11:16:16AM -0500, Ben Romer wrote: > On 12/01/2015 10:57 AM, Dan Carpenter wrote: > >What I meant was that I'm generally opposed to "common exit paths". > >Mixing all the exit paths together often makes the code more complicated > >and leads to errors. That makes sense from

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

2015-12-01 Thread Sinan Kaya
On 11/30/2015 10:17 PM, Vinod Koul wrote: > On Mon, Nov 30, 2015 at 09:42:01AM -0500, Sinan Kaya wrote: > +static int hidma_mgmt_probe(struct platform_device *pdev) +{ + struct hidma_mgmt_dev *mgmtdev; + struct resource *res; + void __iomem *virtaddr; + int irq; >

Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Sudip Mukherjee
On Tue, Dec 01, 2015 at 07:05:19PM +0300, Dan Carpenter wrote: > A lot of review is judgement calls. I try very hard to be predictable > and machine like as possible. > > I have sometimes called you out for being too strict. I usually try to guess what Greg will do if he notices those multiple c

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

2015-12-01 Thread Vinod Koul
On Tue, Dec 01, 2015 at 09:17:06PM +0100, Arnd Bergmann wrote: > On Tuesday 01 December 2015 22:29:54 Vinod Koul wrote: > > On Mon, Nov 30, 2015 at 03:45:30PM +0200, Peter Ujfalusi wrote: > > > channel via DT, ACPI or in case if the kernel booted in non DT/ACPI mode > > > it will use a filter looku

[PATCH 3/3] ARM: dts: enable GPIO-a for Broadcom NSP

2015-12-01 Thread Yendapally Reddy Dhananjaya Reddy
This enables the GPIO-a support for Broadcom NSP SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- arch/arm/boot/dts/bcm-nsp.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 58aca27..16e3c2b 100644

[PATCH 1/3] pinctrl: Broadcom NSP GPIO-a device tree bindings

2015-12-01 Thread Yendapally Reddy Dhananjaya Reddy
Device tree binding documentation for Broadcom NSP GPIO-a driver Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../devicetree/bindings/pinctrl/brcm,nsp-gpio.txt | 80 ++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/brc

[PATCH 2/3] pinctrl: nsp: add gpio-a driver support for Broadcom NSP SoC

2015-12-01 Thread Yendapally Reddy Dhananjaya Reddy
This adds the initial support of the Broadcom NSP gpio-a driver. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/pinctrl/bcm/Kconfig| 17 + drivers/pinctrl/bcm/Makefile | 1 + drivers/pinctrl/bcm/pinctrl-nsp-gpio.c | 749 + 3

[PATCH 0/3] gpio support for Broadcom NSP

2015-12-01 Thread Yendapally Reddy Dhananjaya Reddy
This patchset contains the gpio support for the Broadcom's Northstar Plus (NSP) SOC. The first patch provides the documentation details and the second patch contains driver details. The third patch contains the enable method. This patchset has been tested on NSP bcm958625HR board with pinctrl pat

Re: [PATCH] PCI/AER: enable SERR# forwarding and role-based error reporting

2015-12-01 Thread Sinan Kaya
On 12/1/2015 6:07 PM, Bjorn Helgaas wrote: > On Tue, Dec 01, 2015 at 03:08:48PM -0500, Sinan Kaya wrote: >> On 12/1/2015 2:21 PM, Christopher Covington wrote: >>> On 12/01/2015 01:51 PM, Bjorn Helgaas wrote: [+cc Taku] >>> >>> It looks to me like Bjorn intended to add Taku to the distribution

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

2015-12-01 Thread Vinod Koul
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 client drivers > > > can switch to use the dma_r

Re: [PATCH v8 00/61] PCI: Resource allocation cleanup for v4.4

2015-12-01 Thread Yinghai Lu
On Tue, Dec 1, 2015 at 1:23 PM, Khalid Aziz wrote: > The device does work with this patch. Good. > Doesn't this warning mean BAR6 > resources could not be reserved which means the device driver may not be > able to get the BAR6 resource at some point if another device grabs the > unreserved reso

[v2] ath6kl: Use vmalloc to allocate ar->fw for api1 method

2015-12-01 Thread Brent Taylor
Since commit 8437754c8335 ("ath6kl: Use vmalloc instead of kmalloc for fw") ar->fw is expected to be pointing to memory allocated by vmalloc. If the api1 method (via ath6kl_fetch_fw_api1) is used to allocate memory for ar->fw, then kmemdup is used. This patch checks if the firmware being loaded is

Re: [PATCH] mm: Fix mmap MAP_POPULATE for DAX pmd mapping

2015-12-01 Thread Dan Williams
On Tue, Dec 1, 2015 at 6:19 PM, Toshi Kani wrote: > On Mon, 2015-11-30 at 14:08 -0800, Dan Williams wrote: >> On Mon, Nov 23, 2015 at 12:04 PM, Toshi Kani wrote: >> > The following oops was observed when mmap() with MAP_POPULATE >> > pre-faulted pmd mappings of a DAX file. follow_trans_huge_pmd(

Re: [PATCH] usb: host: pci_quirks: fix memory leak, by adding iounmap

2015-12-01 Thread Saurabh Sengar
On 2 December 2015 at 04:05, Greg KH wrote: > On Fri, Nov 06, 2015 at 05:46:30PM +0530, Saurabh Sengar wrote: >> added iounmap inorder to free memory mapped to base before returning >> >> Signed-off-by: Saurabh Sengar >> --- >> drivers/usb/host/pci-quirks.c | 4 ++-- >> 1 file changed, 2 inserti

Re: cpuset: return -EINVAL for legacy non-subset child creation attempt

2015-12-01 Thread Mike Galbraith
On Wed, 2015-12-02 at 09:20 +0800, Zefan Li wrote: > On 2015/12/1 23:22, Mike Galbraith wrote: > > A legacy hierarchy child set that is not a subset of its parent is not > > a permissions issue, it's an invalid configuration. Return -EINVAL. > > > > It's sometimes arguable which errno should be u

Re: [PATCH v3 00/27] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2015-12-01 Thread Brian Norris
Hi Roger, On Tue, Dec 01, 2015 at 04:41:16PM +0200, Roger Quadros wrote: > On 30/11/15 21:54, Brian Norris wrote: > > On Tue, Oct 27, 2015 at 11:37:03AM +0200, Roger Quadros wrote: > >> On 26/10/15 23:23, Brian Norris wrote: > >>> On Fri, Sep 18, 2015 at 05:53:22PM +0300, Roger Quadros wrote: > >>

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

2015-12-01 Thread Michel Dänzer
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 often caused by too high agpmode.

Re: [PATCH net-next v3 03/17] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-01 Thread David Miller
From: David Decotigny Date: Mon, 30 Nov 2015 14:05:41 -0800 > This patch defines a new ETHTOOL_GSETTINGS/SSETTINGS API, handled by > the new get_ksettings/set_ksettings callbacks. This API provides > support for most legacy ethtool_cmd fields, adds support for larger > link mode masks (up to 4064

Re: [PATCH V2] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-12-01 Thread punit vara
On Mon, Nov 9, 2015 at 3:53 PM, Sudip Mukherjee wrote: > On Mon, Nov 09, 2015 at 03:43:38PM +0530, punit vara wrote: >> On Mon, Nov 9, 2015 at 3:31 PM, glen lee wrote: >> > >> > >> > On 2015년 11월 09일 18:05, punit vara wrote: >> >> >> >> On Mon, Nov 9, 2015 at 2:25 PM, glen lee wrote: >> >>> >> >

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

2015-12-01 Thread David Miller
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 applied, thanks. -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH net-next V3 00/17] hv_netvsc: Eliminate the additional head room

2015-12-01 Thread David Miller
From: "K. Y. Srinivasan" Date: Tue, 1 Dec 2015 16:42:58 -0800 > In an attempt to avoid having to allocate memory on the send path, the netvsc > driver was requesting additional head room so that both rndis header and the > netvsc packet (the state that had to persist) could be placed in the skb.

Re: [PATCH v2 2/2] i2c: mediatek: fix i2c multi transfer issue in high speed mode

2015-12-01 Thread liguo zhang
On Sat, 2015-11-14 at 22:38 +0800, Daniel Kurtz wrote: > On Mon, Nov 9, 2015 at 1:43 PM, Liguo Zhang wrote: > > For platform with auto restart support, when doing i2c multi transfer > > in high speed, for example, doing write-then-read transfer, the master > > code will occupy the first transfer,

Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI

2015-12-01 Thread Michael Ellerman
On Fri, 2015-11-27 at 12:09 +0100, Petr Mladek wrote: > printk() takes some locks and could not be used a safe way in NMI > context. > > The chance of a deadlock is real especially when printing > stacks from all CPUs. This particular problem has been addressed > on x86 by the commit a9edc8809328

Re: [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem.

2015-12-01 Thread Caesar Wang
Hi Srinivas, What's the think of this series patches? Let me know if you have any suggestions or ideas.:-) Thanks! 在 2015年11月11日 15:34, Caesar Wang 写道: This patchset to support reading the efuse info for more SoCs. (Note: support 32 bits SoCs). Meanwhile, cleanup sunxi/rockchip drivers for m

[PATCH 1/3 v9] livepatch: add old_sympos as disambiguator field to klp_func

2015-12-01 Thread Chris J Arges
Currently, patching objects with duplicate symbol names fail because the creation of the sysfs function directory collides with the previous attempt. Appending old_addr to the function name is problematic as it reveals the address of the function being patch to a normal user. Using the symbol's occ

[PATCH 3/3 v9] livepatch: function,sympos scheme in livepatch sysfs directory

2015-12-01 Thread Chris J Arges
The following directory structure will allow for cases when the same function name exists in a single object. /sys/kernel/livepatch/// The sympos number corresponds to the nth occurrence of the symbol name in kallsyms for the patched object. An example of patching multiple symbols can be

[PATCH 0/3 v9] livepatch: disambiguate symbols with the same name

2015-12-01 Thread Chris J Arges
Currently, patching objects with duplicate symbol names fail because the creation of the sysfs function directory collides with the previous attempt. Appending old_addr to the function name is problematic as it reveals the address of the function being patch to a normal user. Using the symbol's occ

[PATCH 2/3 v9] livepatch: add sympos as disambiguator field to klp_reloc

2015-12-01 Thread Chris J Arges
In cases of duplicate symbols, sympos will be used to disambiguate instead of val. By default sympos will be 0, and patching will only succeed if the symbol is unique. Specifying a positive value will ensure that occurrence of the symbol in kallsyms for the patched object will be used for patching

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

2015-12-01 Thread Xinwei Kong
hi Shawn On 2015/12/2 10:05, Shawn Guo wrote: > On Thu, Nov 26, 2015 at 03:57:03PM +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/

Re: [PATCH v2] arm64: dts: qcom: Add apq8096 dragonboard dts skeletons

2015-12-01 Thread Rajendra Nayak
On 12/02/2015 02:59 AM, Bryan Huntsman wrote: > On 12/01/2015 08:11 AM, Rajendra Nayak wrote: >> Add new dtsi and dts files for the apq8096 dragonboards with just >> a serial device used as debug console >> >> While at it, also rearrange the Makefile so we have one dtb per line >> so as to be con

Re: tboot: non-0 tboot_addr but it is not of type E820_RESERVED

2015-12-01 Thread H. Peter Anvin
On 12/01/15 17:26, Elliott, Robert (Persistent Memory) wrote: Per an hpa suggestion, I compared two versions of grub: upstream grub (with "linux" in grub.cfg): tboot_probe boot_params[0] = 0080 0070 tboot_probe boot_params[16] = 100400032000 00913000 tboot_pr

Re: [PATCH 3/6] Input: Update vmmouse.c to use the common VMW_PORT macros

2015-12-01 Thread Sinclair Yeh
On Tue, Dec 01, 2015 at 04:04:08PM -0800, Greg Kroah-Hartman wrote: > On Tue, Dec 01, 2015 at 02:54:20PM -0800, Sinclair Yeh wrote: > > Hi, > > > > On Tue, Dec 01, 2015 at 02:45:27PM -0800, Dmitry Torokhov wrote: > > > On Tue, Dec 1, 2015 at 2:32 PM, Sinclair Yeh wrote: > > > > Hi, > > > > > > >

Re: [PATCH v4 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2015-12-01 Thread Simran Rai
On 11/22/2015 5:44 AM, Mark Brown wrote: On Mon, Nov 09, 2015 at 04:17:43PM -0800, Simran Rai wrote: +#ifdef CONFIG_PM_SLEEP +static int cygnus_ssp_suspend(struct snd_soc_dai *cpu_dai) +{ + struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(cpu_dai); + struct cygnus_audio *cyga

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

2015-12-01 Thread Guenter Roeck
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 produce a stream of up to fours chan

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

2015-12-01 Thread Shawn Guo
On Thu, Nov 26, 2015 at 03:57:03PM +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/hisilicon/hi6220.dtsi | 37 >

Re: [PATCH 3/4] x86: Add trace point for MSR accesses

2015-12-01 Thread Steven Rostedt
On Tue, 1 Dec 2015 17:00:59 -0800 Andi Kleen wrote: > From: Andi Kleen > > For debugging low level code interacting with the CPU > it is often useful to trace the MSR read/writes. This gives > a concise summary of PMU and other operations. > > perf has an ad-hoc way to do this using trace_pri

Re: [PATCH 2/4] tracepoints: Move struct tracepoint to new tracepoint-defs.h header

2015-12-01 Thread Steven Rostedt
On Tue, 1 Dec 2015 17:00:58 -0800 Andi Kleen wrote: > From: Andi Kleen > > Steven recommended open coding access to tracepoint->key to add > trace points to headers. Unfortunately this is difficult for some > headers (such as x86 asm/msr.h) because including tracepoint.h > includes so many oth

  1   2   3   4   5   6   7   8   9   10   >