Re: [PATCH 5/5] perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np

2015-01-07 Thread Namhyung Kim
On Tue, Jan 06, 2015 at 07:22:15PM +0530, Vineet Gupta wrote: > uClibc Linuxthreads.old doesnt support pthread_attr_setaffinity_np() > call > > ->8--- > CC bench/futex-hash.o > CC bench/futex-wake.o > bench/futex-hash.c: In function 'bench_futex_

Re: [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module->module_init freed.

2015-01-07 Thread Hans-Christian Egtvedt
Around Thu 08 Jan 2015 11:28:05 +1030 or thereabout, Rusty Russell wrote: > Archs have been abusing module_free() to clean up their arch-specific > allocations. Since module_free() is also (ab)used by BPF and trace code, > let's keep it to simple allocations, and provide a hook called before > tha

Re: [PATCH 6/6] mm/slab: allocation fastpath without disabling irq

2015-01-07 Thread Joonsoo Kim
On Tue, Jan 06, 2015 at 11:34:39AM +0100, Andreas Mohr wrote: > On Tue, Jan 06, 2015 at 10:31:22AM +0900, Joonsoo Kim wrote: > > Hello, > > > > On Mon, Jan 05, 2015 at 06:21:39PM +0100, Andreas Mohr wrote: > > > Hi, > > > > > > Joonsoo Kim wrote: > > > > + ac->tid = next_tid(ac->tid); > > >

Re: [PATCH 4/5] perf tools: [uclibc] don't rely on glibc malloc working for sz 0

2015-01-07 Thread Namhyung Kim
Hi Vineet, On Tue, Jan 06, 2015 at 07:22:14PM +0530, Vineet Gupta wrote: > When running perf on ARC (uClibc based userspace), ran into this issue > ->8 > [ARCLinux]$ ./perf record ls > bin etc perfsys > debug

[PATCH RFT] x86: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-07 Thread Sudeep Holla
This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e ("drivers: base: support cpu cache information interface to userspace via sysfs") The private pointer provided by the cacheinfo is used to implemen

Re: [LKP] [mm] c8c06efa8b5: -7.6% unixbench.score

2015-01-07 Thread Davidlohr Bueso
On Wed, 2015-01-07 at 23:45 -0800, Davidlohr Bueso wrote: > On Thu, 2015-01-08 at 10:27 +0800, Huang Ying wrote: > Cc'ing Peter. Err, resending with the complete msg. > > FYI, we noticed the below changes on > > > > commit c8c06efa8b552608493b7066c234cfa82c47fcea ("mm: convert i_mmap_mutex > >

Re: [PATCH] sata: xgene: add ACPI support for APM X-Gene SATA ports

2015-01-07 Thread Hanjun Guo
Hi Feng Kan, I have some comments below. On 2015年01月08日 01:32, Feng Kan wrote: Just want to ping this again. Happy new year On Thu, Dec 11, 2014 at 2:31 PM, Feng Kan wrote: This adds ACPI support for the APM X-Gene SATA ports. When the system boots using ACPI table, the SATA ports are able

Re: [LKP] [mm] c8c06efa8b5: -7.6% unixbench.score

2015-01-07 Thread Davidlohr Bueso
On Thu, 2015-01-08 at 10:27 +0800, Huang Ying wrote: Cc'ing Peter. > FYI, we noticed the below changes on > > commit c8c06efa8b552608493b7066c234cfa82c47fcea ("mm: convert i_mmap_mutex to > rwsem") Same exact everything, except for the lock type. No sharing going on. > testbox/testcase/testpar

Re: [PATCH 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off

2015-01-07 Thread Joonsoo Kim
On Tue, Jan 06, 2015 at 09:02:17AM -0800, Davidlohr Bueso wrote: > On Tue, 2015-01-06 at 17:09 +0900, Joonsoo Kim wrote: > > On Mon, Jan 05, 2015 at 07:03:12PM -0800, Davidlohr Bueso wrote: > > > On Mon, 2015-01-05 at 10:36 +0900, Joonsoo Kim wrote: > > > > - preempt_disable(); > > > > -

[PATCH RFT] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-07 Thread Sudeep Holla
This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e ("drivers: base: support cpu cache information interface to userspace via sysfs") Signed-off-by: Sudeep Holla Cc: Martin Schwidefsky Cc: Heiko Ca

[PATCH RFT] ia64: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-07 Thread Sudeep Holla
This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e ("drivers: base: support cpu cache information interface to userspace via sysfs") Signed-off-by: Sudeep Holla Cc: Tony Luck Cc: Fenghua Yu Cc: l

RE: [PATCH] bfin_can: rewrite the blackfin CAN driver into arch independent style

2015-01-07 Thread Wu, Aaron
Hi Marc Thanks for your comments. I've split it into two parts and submit patches of V2. Do you mind if I fix potential bugs with future patches? Regards Aaron > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: 2015年1月7日 22:36 > To: Wu, Aaron; adi-buildr

Re: [PATCH 29/30] perf tools: Add support to configure builtin commands inclusion

2015-01-07 Thread Namhyung Kim
On Fri, Jan 02, 2015 at 04:36:11PM +0100, Jiri Olsa wrote: > NOTE: hack > > Adding support to configure builtin commands inclusion > in the build, so we could later disable particular > builtin command. > > Signed-off-by: Jiri Olsa > Cc: Alexis Berlemont > Cc: Arnaldo Carvalho de Melo > Cc: Bo

[PATCH V2 2/2] bfin_can: rewrite the driver to support the common

2015-01-07 Thread Aaron Wu
Rewrite the driver to comply to common style with MMU Signed-off-by: Aaron Wu --- drivers/net/can/bfin_can.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/net/can/bfin_can.c b/drivers/net/can/bfin_can.c index 0a5eff4..1d116a7 100644 --- a/d

[PATCH V2 1/2] bfin_can: rewrite the blackfin style of read/write

2015-01-07 Thread Aaron Wu
Rewrite the blackfin read/write into common style ones Signed-off-by: Aaron Wu --- drivers/net/can/bfin_can.c | 126 +--- 1 file changed, 60 insertions(+), 66 deletions(-) diff --git a/drivers/net/can/bfin_can.c b/drivers/net/can/bfin_can.c index 417d509

Re: linux-next: Tree for Jan 7 (microblaze qemu problems)

2015-01-07 Thread Michal Simek
es (both big and little endian) with qemu. >> >> WARNING: CPU: 0 PID: 1 at arch/microblaze/kernel/cpu/cache.c:432 >> __invalidate_dcache_range_msr_irq_wt+0xcc/0xd8() >> Modules linked in: >> CPU: 0 PID: 1 Comm: swapper Not tainted 3.19.0-rc3-next-20150107 #1 >> ...

[PATCH] bfin_can: rewrite the blackfin style of read/write into common ones

2015-01-07 Thread Aaron Wu
Rewrite the blackfin style of read/write to common ones Signed-off-by: Aaron Wu --- drivers/net/can/bfin_can.c | 126 +--- 1 file changed, 60 insertions(+), 66 deletions(-) diff --git a/drivers/net/can/bfin_can.c b/drivers/net/can/bfin_can.c index 417d50

Re: [Bugfix] x86/apic: Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-07 Thread Jiang Liu
On 2015/1/7 23:44, Konrad Rzeszutek Wilk wrote: > On Wed, Jan 07, 2015 at 11:37:52PM +0800, Jiang Liu wrote: >> On 2015/1/7 22:50, Konrad Rzeszutek Wilk wrote: >>> On Wed, Jan 07, 2015 at 02:13:49PM +0800, Jiang Liu wrote: Commit b81975eade8c ("x86, irq: Clean up irqdomain transition code") >>

RE: [PATCH] kernel: async: Fixed the wrong waitting condition of wait_event

2015-01-07 Thread 张春艳
Hi, Andrew Could you give us the test log including the runtime problems you've got? Thank you so much. Best regards Chunyan On Mon, 5 Jan 2015 11:35:35 +0800 Chunyan Zhang wrote: > This patch changes the waitting condition of wait_event in the > function 'async_synchronize_cookie_domain'.

[PATCH 2/2] dt-bindings: add mt6592 compatible string for mediatek sysirq

2015-01-07 Thread Howard Chen
Signed-off-by: Howard Chen --- Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt index d680

[PATCH 1/2] ARM: mediatek: Add sysirq device node to mt6592 dtsi

2015-01-07 Thread Howard Chen
Add sysirq node to mt6592.dtsi and also correct timer interrupt flag. The old setting works because boot loader already set it. With a sysirq device node, the timer interrupt can use a correct value. Signed-off-by: Howard Chen --- arch/arm/boot/dts/mt6592.dtsi | 15 +++ 1 file change

Re: [PATCH 01/30] perf tools: Add new build framework support

2015-01-07 Thread Namhyung Kim
On Fri, Jan 02, 2015 at 04:35:43PM +0100, Jiri Olsa wrote: > Adding new build framework. There's no change for actual > building at this point, it comes in the next patches. > > The idea and more details are explained in the > 'Documentation/Build' file. [SNIP] > diff --git a/tools/perf/Document

Re: [PATCH 07/30] perf build: Add libperf objects building

2015-01-07 Thread Namhyung Kim
On Fri, Jan 02, 2015 at 04:35:49PM +0100, Jiri Olsa wrote: > Move the util objects building under build framework. > > Add new libperf build object so it's separated from > the rest of the perf code and could be librarized. > [SNIP] > +$(OUTPUT)util/parse-events-flex.c: util/parse-events.l > $(

Re: linux-next: Tree for Jan 7 (microblaze qemu problems)

2015-01-07 Thread Guenter Roeck
/cpu/cache.c:432 > __invalidate_dcache_range_msr_irq_wt+0xcc/0xd8() > Modules linked in: > CPU: 0 PID: 1 Comm: swapper Not tainted 3.19.0-rc3-next-20150107 #1 > ... > (sample) Call Trace: > [] microblaze_unwind+0x5c/0x78 > [] show_stack+0xe0/0x

Re: [PATCH] Revert 9fc2105aeaaf56b0cf75296a84702d0f9e64437b to fix pyaudio (and probably more)

2015-01-07 Thread Nicolas Pitre
On Wed, 7 Jan 2015, Linus Torvalds wrote: > On Wed, Jan 7, 2015 at 8:56 PM, Nicolas Pitre > wrote: > >> > >> Yes, I actually would mind, unless you have a damn good reason for it. > > > > Consistency. > > Fuck no. > > "Completely made up number that you cannot explain" is not consistency. Aga

[PATCH v2] ALSA: usb-audio: Add support for Akai MPC Element USB MIDI controller

2015-01-07 Thread Paul Bonser
From: Paul Bonser The Akai MPC Element incorrectly reports its bInterfaceClass as 255, but otherwise implements the USB MIDI spec correctly. This adds a quirks-table.h entry which allows the device to be recognized as a standard USB MIDI device. Signed-off-by: Paul Bonser --- diff --git a/soun

Re: sched_yield() call on Linux Kernel 2.6.39 is not behaving correct

2015-01-07 Thread Mike Galbraith
On Wed, 2015-01-07 at 16:30 -0500, Yogesh Ahire wrote: > Hi All, > > I have a system with multiple CPU cores. I have multiple threads > assigned to particular CPU. Among these threads the main thread calls > sched_yield() if it has nothing to do, I am hoping that doing so will > give chance to o

Re: [RFC/PATCHSET 00/37] perf tools: Speed-up perf report by using multi thread (v1)

2015-01-07 Thread Namhyung Kim
On Wed, Jan 07, 2015 at 10:14:56AM -0500, Stephane Eranian wrote: > On Wed, Jan 7, 2015 at 2:13 AM, Namhyung Kim wrote: > > Hi Stephane, > > > > On Tue, Jan 06, 2015 at 10:50:44AM -0500, Stephane Eranian wrote: > >> We use the pipe mode a lot and this would not work there. So no, > >> I don't like

linux-next: Tree for Jan 8

2015-01-07 Thread Stephen Rothwell
Hi all, Changes since 20150107: *crickets* Non-merge commits (relative to Linus' tree): 1616 1841 files changed, 45068 insertions(+), 27290 deletions(-) I have created today's linux-next tree at git://git.

Re: [PATCH] perf: fix building error in x86_64 when dwarf unwind is on

2015-01-07 Thread Namhyung Kim
On Thu, Jan 08, 2015 at 09:30:23AM +0800, Wang Nan wrote: > On 2015/1/7 21:50, Namhyung Kim wrote: > > On Wed, Jan 7, 2015 at 9:28 PM, Wang Nan wrote: > >> On 2015/1/7 16:39, Jiri Olsa wrote: > >>> On Wed, Jan 07, 2015 at 02:40:04PM +0900, Namhyung Kim wrote: > diff --git a/tools/perf/Makefil

RE: [PATCH 3/3] mtd: spi-nand: add devicetree binding

2015-01-07 Thread peterpandong
> > This commit adds the devicetree binding document that specifies the > > spi nand devices support. > > > > Signed-off-by: Peter Pan > > --- > > Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 > ++ > > 1 file changed, 22 insertions(+) > > create mode 100644 Documen

Re: [PATCH] Revert 9fc2105aeaaf56b0cf75296a84702d0f9e64437b to fix pyaudio (and probably more)

2015-01-07 Thread Linus Torvalds
On Wed, Jan 7, 2015 at 8:56 PM, Nicolas Pitre wrote: >> >> Yes, I actually would mind, unless you have a damn good reason for it. > > Consistency. Fuck no. "Completely made up number that you cannot explain" is not consistency. The *current* situation is consistency. I can - and have in this ve

Re: [PATCH] Revert 9fc2105aeaaf56b0cf75296a84702d0f9e64437b to fix pyaudio (and probably more)

2015-01-07 Thread Nicolas Pitre
On Wed, 7 Jan 2015, Linus Torvalds wrote: > On Wed, Jan 7, 2015 at 4:45 PM, Nicolas Pitre > wrote: > > > > Would you mind if on ARM we used the bogomips line as an informative > > approximation for the CPU speed? After all, this is the meaning it had > > for nearly 20 years. And unlike on X86

Re: [PATCH v2] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-01-07 Thread Paul E. McKenney
On Wed, Jan 07, 2015 at 08:33:29PM -0800, Calvin Owens wrote: > On Wednesday 01/07 at 08:52 -0800, Paul E. McKenney wrote: > > On Tue, Jan 06, 2015 at 06:19:26PM -0800, Paul E. McKenney wrote: > > > On Tue, Jan 06, 2015 at 05:49:06PM -0800, Calvin Owens wrote: > > > > While debugging an issue with

Re: [PATCH] firmware class: remove from pending list on load failure

2015-01-07 Thread Ming Lei
On Thu, Jan 8, 2015 at 11:06 AM, Ming Lei wrote: > On Thu, Jan 8, 2015 at 10:37 AM, Sasha Levin wrote: >> On 01/07/2015 09:15 PM, Ming Lei wrote: >>> On Thu, Jan 8, 2015 at 12:39 AM, Sasha Levin wrote: On 01/06/2015 11:52 PM, Ming Lei wrote: > On Mon, Jan 5, 2015 at 11:41 PM, Sasha Levi

Re: [PATCH v2] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-01-07 Thread Calvin Owens
On Wednesday 01/07 at 08:52 -0800, Paul E. McKenney wrote: > On Tue, Jan 06, 2015 at 06:19:26PM -0800, Paul E. McKenney wrote: > > On Tue, Jan 06, 2015 at 05:49:06PM -0800, Calvin Owens wrote: > > > While debugging an issue with excessive softirq usage, I encountered the > > > following note in com

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2015-01-07 Thread Vince Hsu
On 01/07/2015 10:48 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Jan 07, 2015 at 10:28:29PM +0800, Vince Hsu wrote: On 04:08:52PM Jan 07, Peter De Schrijver wrote: On Wed, Jan 07, 2015 at 02:27:10PM +0100, Thierry Reding wrote: Yeah. I plan to have the information of all

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2015-01-07 Thread Vince Hsu
On 01/07/2015 11:12 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Jan 07, 2015 at 10:19:52PM +0800, Vince Hsu wrote: On 04:12:54PM Jan 07, Peter De Schrijver wrote: On Wed, Jan 07, 2015 at 06:49:27PM +0800, Vince Hsu wrote: On 01/07/2015 06:19 PM, Peter De Schrijver wrote:

RE: [PATCH] net: fec: Fix dual ethernet issue in VFxx

2015-01-07 Thread fugang.d...@freescale.com
From: Stefan Agner Sent: Wednesday, January 07, 2015 6:30 PM > To: Duan Fugang-B38611 > Cc: Bhuvanchandra DV; linux-kernel@vger.kernel.org; Zhou Luwei-B45643; > l...@karo-electronics.de; Li Frank-B20596; da...@davemloft.net > Subject: RE: [PATCH] net: fec: Fix dual ethernet issue in VFxx > > On 2

[PATCH v2 3/6] irda: irda-usb: Replace timeval with ktime_t

2015-01-07 Thread Chunyan Zhang
The irda usb driver uses 'timeval', which we try to remove in the kernel because all 32-bit time types will break in the year 2038. This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other r

[PATCH v2 2/6] irda: ali-ircc: Replace timeval with ktime_t

2015-01-07 Thread Chunyan Zhang
The ali ircc driver uses 'timeval', which we try to remove in the kernel because all 32-bit time types will break in the year 2038. This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other r

[PATCH v2 4/6] irda: nsc-ircc: Replace timeval with ktime_t

2015-01-07 Thread Chunyan Zhang
The nsc ircc driver uses 'timeval', which we try to remove in the kernel because all 32-bit time types will break in the year 2038. This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other r

[PATCH v2 5/6] irda: stir4200: Replace timeval with ktime_t

2015-01-07 Thread Chunyan Zhang
The stir4200 driver uses 'timeval', which we try to remove in the kernel because all 32-bit time types will break in the year 2038. This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other r

[PATCH v2 6/6] irda: vlsi_ir: Replace timeval with ktime_t

2015-01-07 Thread Chunyan Zhang
The vlsi ir driver uses 'timeval', which we try to remove in the kernel because all 32-bit time types will break in the year 2038. This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other re

[PATCH v2 1/6] irda: Removed all unused timeval variables

2015-01-07 Thread Chunyan Zhang
In the file au1k_ir.c & via-ircc.h, there were two unused definitions of the timeval type members, this commit therefore removes this unneeded code. In other three files, the same problem is the rx_time member is only ever written, never read, so removed it entirely. Signed-off-by: Chunyan Zhang

[PATCH v2 0/6] irda: Use ktime_t instead of timeval

2015-01-07 Thread Chunyan Zhang
This patch-set removed all uses of timeval and used ktime_t instead if needed, since 32-bit time types will break in the year 2038. This patch-set also used the ktime_xxx functions accordingly. e.g. * Used ktime_get to get the current time instead of do_gettimeofday. * And, used ktime_us_delta to

Fwd: Question regarding Linux Bringup in ARMA9 platform

2015-01-07 Thread Abhijit Ray Chaudhury
Hi , I am trying to bringup linux in ARMA9 platform. I am getting following crash : Unhandled fault: alignment exception (0x001) at 0x88042001: (link_path_walk+0xa4/0x86c) (path_lookupat+0x54/0x780) (do_path_lookup+0x1c/0x58) (user_path_at_empty+0x54/0x88) (user_path_at+0x10/0x14) (sys_chdir+0

Re: scsi: non atomic allocation in mempool_alloc in atomic context

2015-01-07 Thread Alexei Starovoitov
On Mon, Jan 5, 2015 at 11:42 AM, Christoph Hellwig wrote: > On Mon, Jan 05, 2015 at 12:38:04PM -0700, Jens Axboe wrote: >> That was true in earlier kernels as well, going back a few versions at >> least, preempt was disabled on calling __blk_mq_run_hw_queue(). Just >> checked, and 3.16 and later h

Re: [Patch v2 1/2] dmaengine: Add ADM driver

2015-01-07 Thread Andy Gross
On Wed, Jan 07, 2015 at 09:26:11PM -0600, Andy Gross wrote: I somehow managed to lose my commit message. I'll fix that in the next set. The rest of the patch is fine. > Signed-off-by: Andy Gross -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH] ARM: imx_v6_v7_defconfig: Select CONFIG_FB_MXS

2015-01-07 Thread Liu Ying
2015-01-08 7:35 GMT+08:00 Fabio Estevam : > From: Fabio Estevam > > CONFIG_FB_MXS is the LCD driver for mx6solo-lite and mx6solox. > > Enable it by default. I'm not sure if it is suitable to enable CONFIG_FB_MXS by default. At least, I have no strong objections. I am considering to add a LCDIF C

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread Ezequiel Garcia
Hi Qi Wang, On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: > Hi Brian, > > On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: >> >> On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >> wrote: >>> Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + >>> dri

[Patch v2 2/2] dt/bindings: qcom_adm: Fix channel specificers

2015-01-07 Thread Andy Gross
This patch removes the crci information from the dma channel property. At least one client device requires using more than one CRCI value for a channel. This does not match the current binding and the crci information needs to be removed. Instead, the client device will provide this information

[Patch v2 0/2] Add Qualcomm ADM dmaengine driver

2015-01-07 Thread Andy Gross
This patch set introduces the dmaengine driver for the Qualcomm Application Data Mover (ADM) DMA controller present on MSM8960, APQ8064, and IPQ8064 devices. The initial version of this driver will only support slave DMA operations between system memory and peripherals. Flow control via the CRCI

[Patch v2 1/2] dmaengine: Add ADM driver

2015-01-07 Thread Andy Gross
Signed-off-by: Andy Gross --- drivers/dma/Kconfig| 10 + drivers/dma/Makefile |1 + drivers/dma/qcom_adm.c | 899 3 files changed, 910 insertions(+) create mode 100644 drivers/dma/qcom_adm.c diff --git a/drivers/dma/Kconfig b/drivers

Re: [PATCH 3/3] mtd: spi-nand: add devicetree binding

2015-01-07 Thread Ezequiel Garcia
On 01/07/2015 09:52 PM, Peter Pan 潘栋 (peterpandong) wrote: > This commit adds the devicetree binding document that specifies the > spi nand devices support. > > Signed-off-by: Peter Pan > --- > Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 > ++ > 1 file changed,

Re: [PATCH 1/3] mtd: spi-nand framework

2015-01-07 Thread Ezequiel Garcia
On 01/07/2015 09:48 PM, Peter Pan 潘栋 (peterpandong) wrote: [..] > + > +static void spi_nand_set_defaults(struct spi_nand_chip *chip) > +{ > + struct spi_device *spi = chip->spi; > + > + if (spi->mode & SPI_RX_QUAD) > + chip->read_cache = spi_nand_read_from_cache_x4; > + el

RE: [PATCH v7 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-01-07 Thread Li, Zhen-Hua
In your log, it seems something incorrect while copying pages. Your last DMAR fault is: DMAR:[fault reason 01] Present bit in root entry is clear But this time, it is: DMAR:[fault reason 05] PTE Write access is not set So I think this line I added to this version , it works. function intel_iomm

Re: [PATCH] kernel/module.c: Mark module state before set RO and NX regions

2015-01-07 Thread Jungseung Lee
2015-01-08 2:55 GMT+09:00 Laura Abbott : > On 1/6/2015 8:16 PM, Rusty Russell wrote: >> >> Jungseung Lee writes: >>> >>> In some architectures like arm/arm64, set_memory_*() check module address >>> and state as well. Mark module state before set RO and NX regions for >>> the routine is passed. >>

RE: [Regression][v3.17][3.18][3.19-rc3] drm/radeon: re-enable dpm by default on BTC

2015-01-07 Thread Deucher, Alexander
> -Original Message- > From: Joseph Salisbury [mailto:joseph.salisb...@canonical.com] > Sent: Wednesday, January 07, 2015 5:51 PM > To: Deucher, Alexander > Cc: sta...@vger.kernel.org; LKML; Koenig, Christian; David Airlie; dri-devel > Subject: [Regression][v3.17][3.18][3.19-rc3] drm/rade

Re: [PATCH] firmware class: remove from pending list on load failure

2015-01-07 Thread Ming Lei
On Thu, Jan 8, 2015 at 10:37 AM, Sasha Levin wrote: > On 01/07/2015 09:15 PM, Ming Lei wrote: >> On Thu, Jan 8, 2015 at 12:39 AM, Sasha Levin wrote: >>> On 01/06/2015 11:52 PM, Ming Lei wrote: On Mon, Jan 5, 2015 at 11:41 PM, Sasha Levin wrote: >> If we failed loading the firmware

[LKP] [xen] 054954eb051f: -49.7% kernel-size.bss

2015-01-07 Thread Huang Ying
FYI, we noticed the below changes on commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear virtual mapped sparse p2m list") testbox/testcase/testparams: vm-kbuild-yocto-ia32/boot/1 0aad5689837c882d 054954eb051f35e74b75a566a9 --

[PATCH v4] virtio-scsi: Fix the race condition in virtscsi_handle_event

2015-01-07 Thread Fam Zheng
There is a race condition in virtscsi_handle_event, when many device hotplug/unplug events flush in quickly. The scsi_remove_device in virtscsi_handle_transport_reset may trigger the BUG_ON in scsi_target_reap, because the state is altered behind it, probably by scsi_scan_host of another event. I'

[PATCH] ASoC: rockchip: i2s: applys rate symmetry for CPU DAI

2015-01-07 Thread Jianqun Xu
This patch applys rate symmetry for rockchip i2s DAI. Signed-off-by: Jianqun Xu --- sound/soc/rockchip/rockchip_i2s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index 59aeec4..abd7cdd 100644 --- a/sound/soc/rockchip/

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread qiwang
Hi Brian, On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: > >On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >wrote: >> Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + >> drivers/mtd/Kconfig|2 + >> drivers/mtd/Makef

Re: [PATCH] firmware class: remove from pending list on load failure

2015-01-07 Thread Sasha Levin
31.413539] test_firmware: load of 'test [ 31.413539] ' failed: -12 [ 31.414858] test_firmware: loaded: 0 # echo boom > /sys/devices/virtual/misc/test_firmware/trigger_request [ 36.170485] test_firmware: loading 'boom [ 36.170485] ' [ 36.184837] misc t

[RFC Patch 02/19] ACPI: Implement proper length checks for mem resources

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner Check whether the resulting length is the same as the given length. Check for start <= end as well. We need to hand in the resource for this, so we can apply the flags directly. [Jiang] Remove enforcement that resource starting address must be non-zero. Signed-off-by: Tho

[RFC Patch 05/19] ACPI: Provide union for address_space64 and ext_address_space64

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner address_space64 and ext_address_space64 share substracts just at different offsets. To unify the parsing functions implement the two structs as unions of their substructs, so we can extract the shared data. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- incl

[RFC Patch 08/19] ACPI: Add prefetch decoding to the address space parser

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner Add support of PREFETCH attributre to ACPI address space and extended address space parser. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acp

[RFC Patch 12/19] ACPI: Enforce stricter checks for address space descriptors

2015-01-07 Thread Jiang Liu
Enforce stricter checks for address space descriptors according to ACPI spec. Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index 26b47f1da523..e82149e44347 100644 --- a/driver

[RFC Patch 10/19] ACPI: Normalize return value of resource parser functions

2015-01-07 Thread Jiang Liu
Normalize return value of resource parse functions as: 1) return "true" if resource is assigned. 2) return "false" and IORESOURCE_DISABLED setting in res->flags if resource is unassigned. 3) return "false" and zeroing res->flags if it's not an valid or expected resource. Signed-off-by: Jiang

RE: [RFC PATCH 09/11] kprobes: core logic of eraly kprobes

2015-01-07 Thread Hillf Danton
> > This macro defines an array and a bitmap, not only declare them. In addition, > the functions defined by it are used only in this specific .c file. > > If there are not only one .c files use it, I think patch 7 can be improved: > > #define DEFINE_EKPROBE_AREA(__t, __static)

[RFC Patch 14/19] ACPI: Translate resource into master side address for bridge window resources

2015-01-07 Thread Jiang Liu
Add translation_offset into the result address for bridge window resources to form the master side address. Currently acpi_dev_resource_{ext_}address_space() are only used for devices instead of bridges, so it won't break current users. Later it will be used to support PCI host bridge drivers. Si

[RFC Patch 19/19] x86/PCI/ACPI: Use common ACPI resource interfaces to simplify implementation

2015-01-07 Thread Jiang Liu
Use common ACPI resource discovery interfaces to simplify PCI host bridge resource enumeration. It also fixes the issue discovered by Thomas that function setup_resource() incorrectly validates IO port resources against iomem_resource. Signed-off-by: Jiang Liu --- arch/x86/pci/acpi.c | 297 +++

[RFC Patch 13/19] ACPI: Return translation offset when parsing ACPI address space resources

2015-01-07 Thread Jiang Liu
Change function acpi_dev_resource_address_space() and acpi_dev_resource_ext_address_space() to return address space translation offset. It's based on a patch from Yinghai Lu . Signed-off-by: Jiang Liu --- drivers/acpi/resource.c| 22 +++--- drivers/pnp/pnpacpi/rsparser

[RFC Patch 16/19] ACPI: Introduce helper function acpi_dev_filter_resource_type()

2015-01-07 Thread Jiang Liu
Introduce helper function acpi_dev_filter_resource_type(), which may be used by acpi_dev_get_resources() to filer out resource based on resource type. Signed-off-by: Jiang Liu --- drivers/acpi/resource.c | 54 +++ include/linux/acpi.h|1 + 2

[RFC Patch 17/19] resources: Move struct resource_list_entry from ACPI into resource core

2015-01-07 Thread Jiang Liu
Currently ACPI, PCI and pnp all implement the same resource list management with different data structure. We need to transfer from one data structure into another when passing resources from one subsystem into another subsystem. Sp move struct resource_list_entry from ACPI into resource core, so i

[RFC Patch 15/19] ACPI: Add field offset to struct resource_list_entry

2015-01-07 Thread Jiang Liu
Add field offset to struct resource_list_entry to host address space translation offset so it could be used to represent bridge resources. Signed-off-by: Jiang Liu --- drivers/acpi/resource.c | 13 - include/linux/acpi.h|1 + 2 files changed, 9 insertions(+), 5 deletions(-)

[RFC Patch 18/19] PCI: Use common resource list management code instead of private implementation

2015-01-07 Thread Jiang Liu
Use common resource list management data structure and interfaces instead of private implementation. Signed-off-by: Jiang Liu --- arch/arm/kernel/bios32.c|5 ++--- arch/x86/pci/bus_numa.c |4 ++-- drivers/pci/bus.c | 18 ++ driv

[RFC Patch 11/19] ACPI: Set flag IORESOURCE_UNSET for unassigned resources

2015-01-07 Thread Jiang Liu
Also set flag IORESOURCE_UNSET for unassigned resource in addition to IORESOURCE_DISABLED to mark resource as unassigned. Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/acpi/resource.c b/drivers/acpi/res

[RFC Patch 03/19] ACPI: Use the length check for io resources as well

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner Also apply length check to IO resources. [Jiang] Remove enforcement that resource starting address must be non-zero. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- drivers/acpi/resource.c | 44 +++- 1 file changed,

[RFC Patch 06/19] ACPI: Unify the parsing of address_space and ext_address_space

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner With the unions in place which let us identify the substructs we can use a single parser for address_space and ext_address_space. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- drivers/acpi/resource.c | 88 ++- 1

[RFC Patch 01/19] ACPI: Remove redundant check in function acpi_dev_resource_address_space()

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner The ACPI type is checked in acpi_resource_to_address64() anyway. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index 782

[RFC Patch 04/19] ACPI: Let the parser return false for disabled resources

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner If the parser disables a resource during parsing, let it return false, so the calling code does not need to implement further checks. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |8 1 file changed, 4 insertions(+), 4 d

[RFC Patch 09/19] ACPI: Fix a bug in parsing ACPI Memroy24 resource

2015-01-07 Thread Jiang Liu
According to ACPI spec 5, section 6.4.3.1 "24-Bit Memory Range Descriptor", minimum, maximum and address_length field in struct acpi_resource_memory24 is in granularity of 256-bytes. So shift 8-bit left to get correct address. Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |4 ++-- 1 f

[RFC Patch 07/19] ACPI: Move the window flag logic to the combined parser

2015-01-07 Thread Jiang Liu
From: Thomas Gleixner Normal memory and io resources have window always set to false. Move the flag logic to the unified address space parser. Signed-off-by: Thomas Gleixner Signed-off-by: Jiang Liu --- drivers/acpi/resource.c | 22 +- 1 file changed, 9 insertions(+), 13

[RFC Patch 00/19] Improve ACPI resource parsing interfaces and data structures

2015-01-07 Thread Jiang Liu
During enabling ACPI based IOAPIC hotplug, Thomas noticed some issues in ACPI resource parsing interfaces. So this is an effort to improve them. Patch 1-12 improve ACPI resource parsing interfaces and also fixes some bugs. Patch 13-19 try to share the common data structure resource_list_entry bet

[LKP] [mm] c8c06efa8b5: -7.6% unixbench.score

2015-01-07 Thread Huang Ying
FYI, we noticed the below changes on commit c8c06efa8b552608493b7066c234cfa82c47fcea ("mm: convert i_mmap_mutex to rwsem") testbox/testcase/testparams: lituya/unixbench/performance-execl 83cde9e8ba95d180 c8c06efa8b552608493b7066c2 -- %std

Re: livepatching tree for linux-next

2015-01-07 Thread Jingoo Han
On Thursday, January 08, 2015 9:34 AM, Andrew Morton wrote: > On Thu, 8 Jan 2015 01:11:03 +0100 (CET) Jiri Kosina wrote: > > > On Wed, 7 Jan 2015, Andrew Morton wrote: > > > > > > --- a/kernel/livepatch/core.c > > > > +++ b/kernel/livepatch/core.c > > > > @@ -911,6 +911,12 @@ static int klp_init(

Re: [PATCH] firmware class: remove from pending list on load failure

2015-01-07 Thread Ming Lei
On Thu, Jan 8, 2015 at 12:39 AM, Sasha Levin wrote: > On 01/06/2015 11:52 PM, Ming Lei wrote: >> On Mon, Jan 5, 2015 at 11:41 PM, Sasha Levin wrote: >>> > If we failed loading the firmware we have to make sure it leaves the >>> > pending >>> > list if abort wasn't executed for it. >>> > >>> > Ot

Re: [LKP] [null_blk] f2298c0403b:

2015-01-07 Thread Huang Ying
On Thu, 2015-01-08 at 09:52 +0800, Ming Lei wrote: > On Thu, Jan 8, 2015 at 8:52 AM, Huang Ying wrote: > > On Wed, 2015-01-07 at 08:24 -0700, Jens Axboe wrote: > >> On 01/06/2015 07:33 PM, Huang Ying wrote: > >> > FYI, we noticed the below changes on > >> > > >> > commit f2298c0403b0dfcaef637eba0c

[PATCH] regulator: s2mps11: Fix wrong calculation of register offset

2015-01-07 Thread Chanwoo Choi
From: Jonghwa Lee This patch adds missing registers('BUCK7_SW' & 'LDO29_CTRL'). Since BUCK7 has 1 more register (BUCK7_SW) than others, register offset should be added one more for which has bigger address than BUCK7 registers. Fixes: 76b9840b24ae04(regulator: s2mps11: Add support S2MPS13 regula

Re: [PATCH v5] mmc: dw_mmc: add quirk for broken data transfer over scheme

2015-01-07 Thread Jaehoon Chung
Hi, Addy. On 01/05/2015 05:21 PM, Addy Ke wrote: > This patch add a new quirk to add a s/w timer to notify the driver > to terminate current transfer and report a data timeout to the core, > if DTO interrupt does NOT come within the given time. > > dw_mmc call mmc_request_done func to finish tran

Re: [LKP] [null_blk] f2298c0403b:

2015-01-07 Thread Ming Lei
On Thu, Jan 8, 2015 at 8:52 AM, Huang Ying wrote: > On Wed, 2015-01-07 at 08:24 -0700, Jens Axboe wrote: >> On 01/06/2015 07:33 PM, Huang Ying wrote: >> > FYI, we noticed the below changes on >> > >> > commit f2298c0403b0dfcaef637eba0c02c4a06d7a25ab ("null_blk: multi queue >> > aware block test d

[RESEND PATCH] ARM: EXYNOS: Add exynos3250 suspend-to-ram support

2015-01-07 Thread Chanwoo Choi
This patch adds the support for suspend-to-ram feature of Exynos3250 SoC. Exynos3250 don't contain the L2 cache. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- Depend on: - v3.19-rc3 arch/arm/mach-exynos/regs-pmu.h | 3 ++ arch/arm/mach-exynos/suspend.c | 77

Re: [RFC] PPC: MPIC: necessary readback after EOI?

2015-01-07 Thread Segher Boessenkool
On Wed, Jan 07, 2015 at 03:40:10PM +0100, Benjamin Herrenschmidt wrote: > One way to work around the performance loss for you would be to add some > DT property to indicate to the guest that the read isn't necessary. Or KVM could use a virtual interrupt controller better suited to its needs. Seg

Re: [PATCH v1 3/4] leds: Let the binding document example for leds-gpio follow the gpio bindings

2015-01-07 Thread Rob Herring
On Wed, Jan 7, 2015 at 3:08 AM, Olliver Schinagl wrote: > From: Olliver Schinagl > > In the gpio bindings documents it is requested to use the marco's in > include/dt-bindings/gpio/gpio.h whenever possible. The gpios in the led > drivers don't seem to form an exception, so update the example in t

[PATCHv3 4/8] clk: samsung: exynos4: Add divider clock id for memory bus frequency

2015-01-07 Thread Chanwoo Choi
This patch adds the divider clock id for Exynos4 memory bus frequency. The clock id is used fo DVFS (Dynamic Voltage/Frequency Scaling) feature of exynos memory bus frequency. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos4.c | 10 +-

[PATCHv3 6/8] ARM: dts: Add memory bus node for Exynos4210

2015-01-07 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos4210 SoC. Exynos4210 SoC has one memory bus to translate data between DRAM and eMMC/sub-IPs because Exynos4210 must need only one regulator for memory bus. Following list specifies the detailed relation between memory bus clock and sub-IPs: - DMC/ACP c

[PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-07 Thread Chanwoo Choi
This patch adds the documentation for generic exynos memory bus frequency driver. Cc: MyungJoo Ham Cc: Kyungmin Park Cc: Kukjin Kim Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-busfreq.txt | 184 + 1 file changed, 184 insertions(+) create mode 10

[PATCHv3 0/8] devfreq: Add generic exynos memory-bus frequency driver

2015-01-07 Thread Chanwoo Choi
This patch-set adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory bus

  1   2   3   4   5   6   7   8   9   >