RE: [PATCH v2] pinctrl: Pass all configs to driver on pin_config_set()

2013-08-25 Thread Sherman Yin
Hi Linus, >Didn't you get review from Stephen Warren? Yes, just wasn't sure when those tags should be added. They have been added to v3 now. >Please try to put all the maintainers for the above files on the To: line >so they get a chance to review/ack the patch. Ok. I've added the emails fro

Re: [PATCH 03/10] sched: Clean-up struct sd_lb_stat

2013-08-25 Thread Lei Wen
On Tue, Aug 20, 2013 at 12:01 AM, Peter Zijlstra wrote: > From: Joonsoo Kim > > There is no reason to maintain separate variables for this_group > and busiest_group in sd_lb_stat, except saving some space. > But this structure is always allocated in stack, so this saving > isn't really benificial

[PATCH] staging: rtl8192e: Remove pt_regs * irq handler parameter

2013-08-25 Thread navin patidar
struct pt_regs pointer is no longer passed as a irq handler argument. and also remove unnecessary macros. Signed-off-by: navin patidar --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c |5 +++-- drivers/staging/rtl8192e/rtl8192e/rtl_core.h |6 -- 2 files changed, 3 insertions(+), 8 de

[v4][PATCH 4/8] book3e/kexec/kdump: create a 1:1 TLB mapping

2013-08-25 Thread Tiejun Chen
book3e have no real MMU mode so we have to create a 1:1 TLB mapping to make sure we can access the real physical address. And correct something to support this pseudo real mode on book3e. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/head_64.S |9 --- arch/powerpc/kernel/misc_64.S |

[v4][PATCH 0/8] powerpc/book3e: support kexec and kdump

2013-08-25 Thread Tiejun Chen
Ben, I don't see any further comments, so could you merge this kindly? This patchset is used to support kexec and kdump on book3e. Tested on fsl-p5040 DS. v4: * rebase on next branch v3: * add one patch to rename interrupt_end_book3e with __end_interrupts then we can have a unique lable fo

[v4][PATCH 6/8] book3e/kexec/kdump: implement ppc64 kexec specfic

2013-08-25 Thread Tiejun Chen
ppc64 kexec mechanism has a different implementation with ppc32. Signed-off-by: Tiejun Chen --- arch/powerpc/platforms/85xx/smp.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c index 549948a..137ad10 100

[v4][PATCH 7/8] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

2013-08-25 Thread Tiejun Chen
Book3e is always aligned 1GB to create TLB so we should use (KERNELBASE - MEMORY_START) as VIRT_PHYS_OFFSET to get __pa/__va properly while boot kdump. Signed-off-by: Tiejun Chen --- arch/powerpc/include/asm/page.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/include/asm

[v4][PATCH 5/8] book3e/kexec/kdump: introduce a kexec kernel flag

2013-08-25 Thread Tiejun Chen
We need to introduce a flag to indicate we're already running a kexec kernel then we can go proper path. For example, We shouldn't access spin_table from the bootloader to up any secondary cpu for kexec kernel, and kexec kernel already know how to jump to generic_secondary_smp_init. Signed-off-by:

[v4][PATCH 8/8] book3e/kexec/kdump: recover "r4 = 0" to create the initial TLB

2013-08-25 Thread Tiejun Chen
In commit 96f013f, "powerpc/kexec: Add kexec "hold" support for Book3e processors", requires that GPR4 survive the "hold" process, for IBM Blue Gene/Q with with some very strange firmware. But for FSL Book3E, r4 = 1 to indicate that the initial TLB entry for this core already exists so we still sho

[v4][PATCH 2/8] powerpc/book3e: support CONFIG_RELOCATABLE

2013-08-25 Thread Tiejun Chen
book3e is different with book3s since 3s includes the exception vectors code in head_64.S as it relies on absolute addressing which is only possible within this compilation unit. So we have to get that label address with got. And when boot a relocated kernel, we should reset ipvr properly again af

[v4][PATCH 3/8] book3e/kexec/kdump: enable kexec for kernel

2013-08-25 Thread Tiejun Chen
We need to active KEXEC for book3e and bypass or convert non-book3e stuff in kexec coverage. Signed-off-by: Tiejun Chen --- arch/powerpc/Kconfig |2 +- arch/powerpc/kernel/machine_kexec_64.c | 148 ++-- arch/powerpc/kernel/misc_64.S |

[v4][PATCH 1/8] powerpc/book3e: rename interrupt_end_book3e with __end_interrupts

2013-08-25 Thread Tiejun Chen
We can rename 'interrupt_end_book3e' with '__end_interrupts' then book3s/book3e can share this unique label to make sure we can use this conveniently. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/exceptions-64e.S |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] driver core / ACPI: Avoid device removal locking problems

2013-08-25 Thread Gu Zheng
Hi Rafael, On 08/26/2013 04:09 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There are two mutexes, device_hotplug_lock and acpi_scan_lock, held > around the acpi_bus_trim() call in acpi_scan_hot_remove() which > generally removes devices (it removes ACPI device objects at least, >

Commit 9a11899 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) breaks several builds

2013-08-25 Thread Guenter Roeck
Broken builds: mips:ath79_defconfig parisc:defconfig sparc32:defconfig sparc64:defconfig tile:defconfig Error log: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init': drivers/usb/host/ohci-pci.c:309:35: error: 'ohci_suspend' undeclared (first use in

[PATCH] net: xilinx: fix memleak

2013-08-25 Thread Libo Chen
decrease device_node refcount np1 in err case. Signed-off-by: Libo Chen --- drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c b/drivers/net/ethernet/xilinx/xilinx_axienet

Re: [PATCH v6 2/3] mmc: dw_mmc: Honor requests to set the clock to 0 (turn off clock)

2013-08-25 Thread Doug Anderson
Jaehoon, On Sun, Aug 25, 2013 at 6:31 PM, Jaehoon Chung wrote: > Hi Doug, > > On 08/24/2013 05:40 AM, Doug Anderson wrote: >> Jaehoon, >> >> On Fri, Aug 23, 2013 at 6:21 AM, Jaehoon Chung >> wrote: >>> Hi Doug, >>> >>> If the clock-gating is enabled, then maybe it's continuously printed the >>

Re: unused swap offset / bad page map.

2013-08-25 Thread Hillf Danton
On Fri, Aug 23, 2013 at 11:53 AM, Dave Jones wrote: > > It actually seems worse, seems I can trigger it even easier now, as if > there's a leak. > Can you please try the new fix for TLB flush? commit 2b047252d087be7f2ba Fix TLB gather virtual address range invalidation corner cases -- To unsubsc

Re: Commit 9a11899 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) breaks several builds

2013-08-25 Thread Guenter Roeck
On 08/25/2013 08:30 PM, Guenter Roeck wrote: Broken builds: mips:ath79_defconfig parisc:defconfig sparc32:defconfig sparc64:defconfig tile:defconfig Add: powerpc:ppc64e_defconfig powerpc:cell_defconfig powerps:maple_defconfig That makes it 8 out

[PATCH] vme: vme_ca91cx42.c: fix to pass correct device identity to free_irq()

2013-08-25 Thread Wei Yongjun
From: Wei Yongjun free_irq() expects the same device identity that was passed to corresponding request_irq(), otherwise the IRQ is not freed. Signed-off-by: Wei Yongjun --- drivers/vme/bridges/vme_ca91cx42.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/vme/b

[PATCH 1/3] arcmsr: Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284

2013-08-25 Thread 黃清隆
From: Ching Support Areca new SATA Raid adapter ARC1214/1224/1264/1284. Modify maximum outstanding command number, notify command complete with auto request sense Signed-off-by: Ching -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: [PATCH 3/3] raid6/test: replace echo -e with printf

2013-08-25 Thread NeilBrown
On Thu, 22 Aug 2013 17:09:11 +0200 "H. Peter Anvin" wrote: > Acked-by: H. Peter Anvin Applied with the Ack - thanks. NeilBrown > > Max Filippov wrote: > >-e is a non-standard echo option, echo output is > >implementation-dependent when it is used. Replace echo -e with printf > >as > >sugges

[PATCH 2/3] arcmsr: Fix command throttling for ARC188x series

2013-08-25 Thread 黃清隆
From: Ching Fix command throttling for ARC188x series adapter. Signed-off-by: Ching --- patch2 Description: Binary data

Re: Commit 9a11899 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) breaks several builds

2013-08-25 Thread Greg Kroah-Hartman
On Sun, Aug 25, 2013 at 09:02:15PM -0700, Guenter Roeck wrote: > On 08/25/2013 08:30 PM, Guenter Roeck wrote: > > Broken builds: > > mips:ath79_defconfig > > parisc:defconfig > > sparc32:defconfig > > sparc64:defconfig > > tile:defconfig > > > Add: > powerpc:ppc64e_de

[PATCH 3/3] arcmsr: Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface

2013-08-25 Thread 黃清隆
From: Ching Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface. Signed-off-by: Ching --- patch3 Description: Binary data

Re: Unusually high system CPU usage with recent kernels

2013-08-25 Thread Paul E. McKenney
On Sun, Aug 25, 2013 at 09:50:21PM +0200, Tibor Billes wrote: > From: Paul E. McKenney Sent: 08/24/13 11:03 PM > > On Sat, Aug 24, 2013 at 09:59:45PM +0200, Tibor Billes wrote: > > > From: Paul E. McKenney Sent: 08/22/13 12:09 AM > > > > On Wed, Aug 21, 2013 at 11:05:51PM +0200, Tibor Billes wrote:

Re: [PATCH 00/16] cpufreq: create & use cpufreq_generic_get() routine

2013-08-25 Thread Viresh Kumar
On 24 August 2013 20:20, Rafael J. Wysocki wrote: > OK, let me rephrase that more directly: Please, slow down. Allow your > previous > changes to be integrated before you throw more of them at people. Okay, I will try :) Btw, Are you going to take any of my patches for 3.12? -- To unsubscribe

RE: [PATCH v6 2/3] mmc: dw_mmc: Honor requests to set the clock to 0 (turn off clock)

2013-08-25 Thread Seungwon Jeon
On Fri, August 23, 2013, Doug Anderson wrote: > Previously the dw_mmc driver would ignore any requests to disable the > card's clock. This doesn't seem like a good thing in general, but had > one extra bad side effect in the following situtation: > * mmc core would set clk to 400kHz at boot time w

Re: [PATCH 03/10] sched: Clean-up struct sd_lb_stat

2013-08-25 Thread Paul Turner
On Sun, Aug 25, 2013 at 7:56 PM, Lei Wen wrote: > On Tue, Aug 20, 2013 at 12:01 AM, Peter Zijlstra wrote: >> From: Joonsoo Kim >> >> There is no reason to maintain separate variables for this_group >> and busiest_group in sd_lb_stat, except saving some space. >> But this structure is always allo

Re: [RFC PATCH 01/14] cpufreq: cpufreq-cpu0: add dt node parsing for 'cooling-zones'

2013-08-25 Thread Viresh Kumar
On 24 August 2013 04:45, Eduardo Valentin wrote: > diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c > index ad1fde2..ede6487 100644 > --- a/drivers/cpufreq/cpufreq-cpu0.c > +++ b/drivers/cpufreq/cpufreq-cpu0.c > @@ -20,6 +20,9 @@ > #include > #include > #include >

Re: Commit 9a11899 (USB: OHCI: add missing PCI PM callbacks to ohci-pci.c) breaks several builds

2013-08-25 Thread Guenter Roeck
On 08/25/2013 09:26 PM, Greg Kroah-Hartman wrote: On Sun, Aug 25, 2013 at 09:02:15PM -0700, Guenter Roeck wrote: On 08/25/2013 08:30 PM, Guenter Roeck wrote: Broken builds: mips:ath79_defconfig parisc:defconfig sparc32:defconfig sparc64:defconfig tile:defconfig A

Re: [PATCH v7 1/7] cpufreq: Add boost frequency support in core

2013-08-25 Thread Viresh Kumar
Some minor nitpicking, nothing much :) On 13 August 2013 15:38, Lukasz Majewski wrote: > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > +static int cpufreq_boost_set_sw(int state) > +{ > + struct cpufreq_frequency_table *freq_table; > + struct cpufreq_policy *pol

Re: [PATCH v7 2/7] cpufreq:acpi:x86: Adjust the acpi-cpufreq.c code to work with common boost solution

2013-08-25 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski wrote: > The Intel's hardware based boost solution driver has been changed to > cooperate with > common cpufreq boost framework. > > The global sysfs boost attribute entry code > (/sys/devices/system/cpu/cpufreq/boost) > has been moved to a core cpufreq c

Re: [PATCH] cpuset: mm: Reduce large amounts of memory barrier related damage v3

2013-08-25 Thread Rik van Riel
On 08/23/2013 02:15 PM, Peter Zijlstra wrote: > So I guess the quick and ugly solution is something like the below. This still crashes :) > --- a/mm/mempolicy.c > +++ b/mm/mempolicy.c > @@ -1762,19 +1762,21 @@ unsigned slab_node(void) > static unsigned offset_il_node(struct mempolicy *pol, >

Re: [PATCH v7 3/7] thermal:boost: Automatic enable/disable of BOOST feature

2013-08-25 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski wrote: > diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h > index b5defd4..ec19da9 100644 > --- a/include/linux/cpufreq.h > +++ b/include/linux/cpufreq.h > @@ -408,10 +408,24 @@ int cpufreq_frequency_table_target(struct > cpufreq_policy *poli

Re: [PATCH v7 4/7] cpufreq:boost:Kconfig: Provide support for software managed BOOST

2013-08-25 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski wrote: > For safety reasons new flag - CONFIG_CPU_FREQ_BOOST_SW has been added. > Only after selecting "EXYNOS Frequency Overclocking - Software" Kconfig > option the software managed boost is enabled. It also selects thermal > subsystem to be compiled in.

Re: [PATCH v7 5/7] cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework

2013-08-25 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski wrote: > The cpufreq_driver's boost_supported flag is true only when boost > support is explicitly enabled. Boost related attributes are exported only > under the same condition. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Myungjoo Ham > > --- > C

RE: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-08-25 Thread Xiubo Li-B47053
Hi Stephen, > Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for > Freescale FTM PWM > > On 08/23/2013 01:36 AM, Thierry Reding wrote: > > On Thu, Aug 22, 2013 at 08:26:10AM +0200, Sascha Hauer wrote: > >> On Thu, Aug 22, 2013 at 02:55:42AM +, Xiubo Li-B47053 wrote: > >>> H

Re: [PATCH v7 7/7] cpufreq:exynos4x12: Change L0 driver data to CPUFREQ_BOOST_FREQ

2013-08-25 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski wrote: > Special driver data flag (CPUFREQ_BOOST_FREQ) has been added to indicate > frequency, which can be only enabled for BOOST mode. > This frequency shall be used only for limited time, since it might cause > target device to overheat. > > Signed-off-b

Re: [PATCH v7 6/7] Documentation:cpufreq:boost: Update BOOST documentation

2013-08-25 Thread Viresh Kumar
On 13 August 2013 15:38, Lukasz Majewski wrote: > Since the support for software and hardware controlled boosting has been > added, the corresponding Documentation entry had been updated. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Myungjoo Ham > > --- > Changes for v7: > - None Acked-b

[PATCH] ARM: DTS: DRA7: Add TPS659038 PMIC nodes

2013-08-25 Thread Keerthy
The Patch adds nodes for TPS659038 PMIC for DRA7 boards. It is based on top of: http://comments.gmane.org/gmane.linux.ports.arm.omap/102459. Documentation: Documentation/devicetree/bindings/mfd/palmas.txt Documentation/devicetree/bindings/regulator/palmas-pmic.txt

Re: [PATCH v6 01/10] tracing: Add support for SOFT_DISABLE to syscall events

2013-08-25 Thread Masami Hiramatsu
(2013/08/23 8:27), Tom Zanussi wrote: > The original SOFT_DISABLE patches didn't add support for soft disable > of syscall events; this adds it and paves the way for future patches > allowing triggers to be added to syscall events, since triggers are > built on top of SOFT_DISABLE. > > Add an arra

Re: [PATCH tip/core/rcu 8/9] nohz_full: Add full-system-idle state machine

2013-08-25 Thread Lai Jiangshan
On 08/20/2013 10:47 AM, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > This commit adds the state machine that takes the per-CPU idle data > as input and produces a full-system-idle indication as output. This > state machine is driven out of RCU's quiescent-state-forcing > mechanism, whi

RE: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-08-25 Thread Xiubo Li-B47053
Hi Thierry, > Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for > Freescale FTM PWM > > On Thu, Aug 22, 2013 at 08:26:10AM +0200, Sascha Hauer wrote: > > On Thu, Aug 22, 2013 at 02:55:42AM +, Xiubo Li-B47053 wrote: > > > Hi Tomasz, > > > > > > Thanks for your comments. > >

RE: [PATCH 2/4] ARM: dts: Add Freescale ftm pwm node for VF610.

2013-08-25 Thread Xiubo Li-B47053
Hi Thierry, > Subject: Re: [PATCH 2/4] ARM: dts: Add Freescale ftm pwm node for VF610. > > On Wed, Aug 21, 2013 at 11:07:40AM +0800, Xiubo Li wrote: > > Signed-off-by: Xiubo Li > > --- > > arch/arm/boot/dts/vf610.dtsi | 83 > > +++- > > 1 file changed, 8

RE: [PATCH 3/4] ARM: dts: Enables ftm pwm device for Vybrid VF610 TOWER board.

2013-08-25 Thread Xiubo Li-B47053
Hi Thierry, > Subject: Re: [PATCH 3/4] ARM: dts: Enables ftm pwm device for Vybrid > VF610 TOWER board. > > On Wed, Aug 21, 2013 at 11:07:41AM +0800, Xiubo Li wrote: > > Signed-off-by: Xiubo Li > > --- > > arch/arm/boot/dts/vf610-twr.dts | 17 + > > 1 file changed, 17 insertion

Re: [PATCH RFC net-next] net: epoll support for busy poll

2013-08-25 Thread Eliezer Tamir
On 26/08/2013 00:30, Amir Vadai wrote: > I'm on vacation, will test and have some inputs later this week when I be > back. > Hello Amir, Ping me when you get back and I will send you my latest so you can play with it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?

2013-08-25 Thread Udo van den Heuvel
Hello, I am stuck with a weird keyboard related issue: Since a few weeks I see loads of ^@^@^@^@^@^@ appear on the text console while the PC_speaker beeps when this box is in runlevel 3. When xorg is running the ^@^@^@ stream stops, as does the beeping, but I can notice that selecting text, scroll

[GIT PULL]: CPUFreq: ARM Fixes for 3.12

2013-08-25 Thread Viresh Kumar
Hi Rafael, Hopefully this is the last patch for 3.12 for ARM CPUFreq subsystem. The following changes since commit b36f4be3de1b123d8601de062e7dbfc904f305fb: Linux 3.11-rc6 (2013-08-18 14:36:53 -0700) are available in the git repository at: git://git.linaro.org/people/vireshk/linux.git cpuf

Re: [PATCH v6 02/10] tracing: add basic event trigger framework

2013-08-25 Thread Masami Hiramatsu
Hi Tom, This patch basically good for me. Unfortunately, I've found a small build issue on this patch. CC kernel/trace/trace_events_filter.o /home/mhiramat/ksrc/linux-3/kernel/trace/trace_events.c:1864:1: error: static declaration of 'find_event_file' follows non-static declaration /home

Re: [PATCH v3 0/3] Input: omap-keypad: Convert to threaded IRQ and cleanup

2013-08-25 Thread Dmitry Torokhov
On Wed, Jul 24, 2013 at 06:54:50PM +0300, Illia Smyrnov wrote: > Replace unclear hardcoded values with bit field, convert to threaded IRQ and > clear interrupts when open the keypad. > > Based on top of v3.11-rc2. > > Tested on OMAP4 SDP. > > Illia Smyrnov (3): > Input: omap-keypad: Cleanup -

dvb_device_open: possible circular locking dependency detected

2013-08-25 Thread Knut Petersen
As long as I use the "Hauppauge WinTV Nova-HD-S2", nobody seems to be really interested in silencing deadlock warnings triggered by dvb_device_open(). dvb lockdep problems are old, but they still exist. See: http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/27027 [ 1

Re: [PATCH v7 3/7] thermal:boost: Automatic enable/disable of BOOST feature

2013-08-25 Thread Lukasz Majewski
On Mon, 26 Aug 2013 11:03:51 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 13 August 2013 15:38, Lukasz Majewski > wrote: > > diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h > > index b5defd4..ec19da9 100644 > > --- a/include/linux/cpufreq.h > > +++ b/include/linux/cpufreq.

[PATCH] Fix the race between the fget() and close()

2013-08-25 Thread Chuansheng Liu
When one thread is calling sys_ioctl(), and another thread is calling sys_close(), current code has protected most cases. But for the below case, it will cause issue: T1T2 T3 sys_close(oldfile)sys_open(newfile)

[PATCH] edac: cell_edac: fix missing of_node_put

2013-08-25 Thread Libo Chen
decrease device_node refcount np after task completion Signed-off-by: Libo Chen --- drivers/edac/cell_edac.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c index c2eaf33..493dc30 100644 --- a/drivers/edac/cell_edac.c

[PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-08-25 Thread Andreas Werner
This patch adds the Write-through memory type in combination with mtrr. If you call ioremap_cache to request cachable memory (write-back) the function tries to set the PAT to write-back only if the mtrr setting of the requested region is also marked as Write-Back. If the mttr regions are marked e

Re: [PATCH 1/2] HID: apple: Add another device ID for the mid-2013 Macbook Air

2013-08-25 Thread Henrik Rydberg
Hi Ian, > This patch adds a device ID found for mid-2013 Macbook Air 6,1 from > lsusb: > > Bus 001 Device 003: ID 05ac:0290 Apple, Inc. > > Since IDs already exist for this generation Macbook air as WELLSPRING8, > name this one WELLSPRING8A. This only adds an ANSI version since it's > device ID

[PATCH 0/5] powerpc: use jump label for cpu/mmu_has_feature

2013-08-25 Thread Kevin Hao
Inspired by Benjamin Herrenschmidt, this patch series try to reduce the cpu/mmu feature checking overhead by using jump label. The following is the difference of the run path of cpu_has_feature between before and after applying these patches: before after addis r

[PATCH 1/5] jump_label: factor out the base part of jump_label.h to a separate file

2013-08-25 Thread Kevin Hao
We plan to use the jump label in the cpu/mmu feature check on ppc. This will need to include the jump_label.h in several very basic header files of ppc which seems to be included by most of the other head files implicitly or explicitly. But in the current jump_label.h, it also include the "linux/wo

[PATCH 2/5] jump_label: also include linux/atomic.h when jump label is enabled

2013-08-25 Thread Kevin Hao
The struct static_key will have a atomic_t type member no matter whether jump label is enabled or not. We would include linux/atomic.h when jump label is not enabled. But it also does make sense to include this header file when jump label is enabled. Signed-off-by: Kevin Hao --- include/linux/ju

[PATCH net] net: add cpu_relax to busy poll loop

2013-08-25 Thread Eliezer Tamir
Add a cpu_relaxt to sk_busy_loop. Julie Cummings reported performance issues when hyperthreading is on. Arjan van de Ven observed that we should have a cpu_relax() in the busy poll loop. Reported-by: Julie Cummings Signed-off-by: Eliezer Tamir --- include/net/busy_poll.h |1 + 1 files cha

Re: [PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-25 Thread Andy Lutomirski
On Sat, Aug 24, 2013 at 8:37 PM, Al Viro wrote: > On Fri, Aug 23, 2013 at 02:07:26AM +0100, Al Viro wrote: >> On Thu, Aug 22, 2013 at 01:54:15PM -0700, Linus Torvalds wrote: >> > On Thu, Aug 22, 2013 at 1:48 PM, Andy Lutomirski >> > wrote: >> > > >> > > Sure. But aren't they always last? >> > >

Re: [PATCH v2 3/3] gpio: pcf857x: Add OF support

2013-08-25 Thread Sylwester Nawrocki
On 08/25/2013 02:15 AM, Laurent Pinchart wrote: On Saturday 24 August 2013 16:13:11 Tomasz Figa wrote: On Saturday 24 of August 2013 02:54:07 Laurent Pinchart wrote: On Saturday 24 August 2013 02:41:59 Tomasz Figa wrote: On Tuesday 20 of August 2013 01:04:54 Laurent Pinchart wrote: Add DT bin

Re: [PATCH v3] gpio: pcf857x: Add OF support

2013-08-25 Thread Sylwester Nawrocki
On 08/25/2013 02:26 AM, Laurent Pinchart wrote: Add DT bindings for the pcf857x-compatible chips and parse the device tree node in the driver. Signed-off-by: Laurent Pinchart --- .../devicetree/bindings/gpio/gpio-pcf857x.txt | 71 ++ drivers/gpio/gpio-pcf857x.c

Re: [PATCH] DMA: shdma: fix CHCLR register address calculation

2013-08-25 Thread Vinod Koul
On Tue, Jul 02, 2013 at 05:37:58PM +0200, Guennadi Liakhovetski wrote: > struct sh_dmae_device::chan_reg is a pointer to u32, therefore when adding > offsets to it care should be taken to add offsets in sizeof(u32) units, not > in bytes. This patch corrects such a bug. While at it we also remove th

Re: [PATCH 0/3] DMA: shdma: several stylistic improvements and support for new SoCs

2013-08-25 Thread Vinod Koul
On Tue, Jul 02, 2013 at 05:45:49PM +0200, Guennadi Liakhovetski wrote: > Hi > > The first two patches in this small series improve driver internals a bit > by using preferred APIs, the 3rd patch adds support for new DMAC versions, > present on AG5, APE6, H2. Applied, thanks Although the patch 1

Re: [PATCH v2] DMA: shdma: make a pointer const

2013-08-25 Thread Vinod Koul
On Fri, Aug 02, 2013 at 04:18:09PM +0200, Guennadi Liakhovetski wrote: > Platform data shouldn't be changed at run-time, so, pointers to it should > be const. Applied, thanks ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

2013-08-25 Thread Vinod Koul
On Fri, Aug 02, 2013 at 04:50:35PM +0200, Guennadi Liakhovetski wrote: > In this version of shdma Device Tree support I preserved the DT > configuration approach via OF device ID tables from v4, but now it is only > used for the DT-mode, the C-version is left untouched. In this series I > only i

[PATCH] [trivial]treewide: Fix typo in Kconfig

2013-08-25 Thread Masanari Iida
Correct spelling typo in various Kconfig files. Signed-off-by: Masanari Iida --- arch/arm/mach-sti/Kconfig| 4 ++-- drivers/cpufreq/Kconfig.x86 | 2 +- drivers/dma/Kconfig | 2 +- drivers/fmc/Kconfig | 2 +- drivers/infiniband/ulp/isert/Kcon

Re: [tps_init] BUG: unable to handle kernel paging request at 484970c9

2013-08-25 Thread Russell King - ARM Linux
On Sat, Aug 24, 2013 at 09:09:39PM -0700, Greg Kroah-Hartman wrote: > Same as before, are you unloading and loading modules? We have a fix > for modules that cause problems when unloading with the config option > above enabled. But that shouldn't be this issue. What seems to be is going on here

Re: [PATCH] dma: sh: remove unnecessary platform_set_drvdata()

2013-08-25 Thread Vinod Koul
On Wed, Aug 21, 2013 at 06:51:56PM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. Can you pls rebase this as resend. I have applied bunch of sh-dma patch

[3.10][PATCH 3/4] mei: me: fix waiting for hw ready

2013-08-25 Thread Tomas Winkler
stable: 3.10 commit dab9bf41b23fe700c4a74133e41eb6a21706031e upstream 1. MEI_INTEROP_TIMEOUT is in seconds not in jiffies so we use mei_secs_to_jiffies macro While cold boot is fast this is relevant in resume 2. wait_event_interruptible_timeout can return with -ERESTARTSYS so do not override it w

[3.10][PATCH 4/4] mei: me: fix hardware reset flow

2013-08-25 Thread Tomas Winkler
stable: 3.10 commit ff96066e3171acdea356b331163495957cb833d0 char-misc Both H_IS and H_IE needs to be set to receive H_RDY interrupt 1. Assert H_IS to clear the interrupts during hw reset and use mei_me_reg_write instead of mei_hcsr_set as the later strips down the H_IS 2. fix interrupt disable

[3.10][PATCH 1/4] mei: me: fix reset state machine

2013-08-25 Thread Tomas Winkler
stable: 3.10 commit 315a383ad7dbd484fafb93ef08038e3dbafbb7a8 upstream ME HW ready bit is down after hw reset was asserted or on error. Only on error we need to enter the reset flow, additional reset need to be prevented when reset was triggered during initialization , power up/down or a reset is

[3.10][PATCH 2/4] mei: don't have to clean the state on power up

2013-08-25 Thread Tomas Winkler
stable: 3.10 commit 99f22c4ef24cf87b0dae6aabe6b5e620b62961d9 upstream When powering up, we don't have to clean up the device state nothing is connected. Cc: sta...@vger.kernel.org Tested-by: Shuah Khan Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/init.c

[3.10][PATCH 0/4] resume reset fixes for stable 3.10

2013-08-25 Thread Tomas Winkler
Tomas Winkler (4): mei: me: fix reset state machine mei: don't have to clean the state on power up mei: me: fix waiting for hw ready mei: me: fix hardware reset flow drivers/misc/mei/hw-me.c | 22 +- drivers/misc/mei/init.c | 3 ++- 2 files changed, 15 insertions(+),

Re: [PATCH] dma: ipu: remove unnecessary platform_set_drvdata()

2013-08-25 Thread Vinod Koul
On Wed, Aug 21, 2013 at 06:52:54PM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. Applied, thanks ~Vinod -- To unsubscribe from this list: send the line

Re: [PATCH] um: prctl: Do not include linux/ptrace.h

2013-08-25 Thread David Oberhollenzer
Tested-by: David Oberhollenzer -- 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 1/2] gpio: mcp23s08: rename the device tree property

2013-08-25 Thread Lars Poeschel
Am Freitag 23 August 2013, 21:10:00 schrieb Linus Walleij: > On Thu, Aug 22, 2013 at 11:56 AM, Lars Poeschel wrote: > > From: Lars Poeschel > > > > The device tree property should be more descriptive. > > microchip seems more reasonable than mcp. As there are no > > in tree users of this proper

[PATCH] scsi: ufs: read door bell register after clearing interrupt aggregation

2013-08-25 Thread Dolev Raviv
In interrupt context, after reading and comparing the UTRLDBR to hba->outstanding_request and before resetting the interrupt aggregation, there might be completion of another transfer request (TR). Such TRs might get stuck, pending, until the next interrupt is generated. The fix reads the UTRLDBR

[PATCH] ath5k: debugfs: NULL-terminate strings

2013-08-25 Thread Djalal Harouni
Avoid processing garbage data by NULL terminating the strings. Signed-off-by: Djalal Harouni --- Patch compile tested only. drivers/net/wireless/ath/ath5k/debug.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/debug.c

Re: [PATCH] dma/Kconfig: TI_EDMA needs to be boolean

2013-08-25 Thread Vinod Koul
On Thu, Aug 22, 2013 at 02:03:24PM -0700, Guenter Roeck wrote: > Fix: > > arch/arm/common/built-in.o: undefined reference to `edma_filter_fn' > > seen with "make ARCH=arm allmodconfig" > > Commit 6cba4355 (ARM: edma: Add DT and runtime PM support to the private EDMA > API) adds a dependency on e

Re: [PATCH] dma: ste_dma: Fix warning when CONFIG_ARM_LPAE=y

2013-08-25 Thread Vinod Koul
On Wed, Aug 21, 2013 at 09:34:02PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > When CONFIG_ARM_LPAE=y the following build warning are generated: > > drivers/dma/ste_dma40.c:3228:2: warning: format '%x' expects argument of type > 'unsigned int', but argument 4 has type 'resource_size_t

Re: [PATCH 2/6] vhost_net: use vhost_add_used_and_signal_n() in vhost_zerocopy_signal_used()

2013-08-25 Thread Michael S. Tsirkin
On Fri, Aug 23, 2013 at 04:50:38PM +0800, Jason Wang wrote: > On 08/20/2013 10:33 AM, Jason Wang wrote: > > On 08/16/2013 05:54 PM, Michael S. Tsirkin wrote: > >> On Fri, Aug 16, 2013 at 01:16:26PM +0800, Jason Wang wrote: > Switch to use vhost_add_used_and_signal_n() to avoid multiple calls t

Re: [PATCH 6/6] vhost_net: remove the max pending check

2013-08-25 Thread Michael S. Tsirkin
On Fri, Aug 23, 2013 at 04:55:49PM +0800, Jason Wang wrote: > On 08/20/2013 10:48 AM, Jason Wang wrote: > > On 08/16/2013 06:02 PM, Michael S. Tsirkin wrote: > >> > On Fri, Aug 16, 2013 at 01:16:30PM +0800, Jason Wang wrote: > >>> >> We used to limit the max pending DMAs to prevent guest from pinni

Re: [PATCH 1/2] acpi-dma, doc: append managed function to the list

2013-08-25 Thread Vinod Koul
On Wed, Aug 21, 2013 at 02:27:05PM +0300, Andy Shevchenko wrote: > ACPI DMA provides managed function to register the slave DMA controller in the > internal container. This patch anounces that function in the corresponding > documentation file. Applied, thanks ~Vinod -- To unsubscribe from this li

Re: [PATCH 1/4] zswap bugfix: memory leaks when re-swapon

2013-08-25 Thread Weijie Yang
2013/8/23 Seth Jennings : > On Fri, Aug 23, 2013 at 07:03:37PM +0800, Weijie Yang wrote: >> zswap_tree is not freed when swapoff, and it got re-kzalloc in swapon, >> memory leak occurs. >> Add check statement in zswap_frontswap_init so that zswap_tree is >> inited only once. >> >> --- >> mm/zswap.

Vážení E-mail užívateľa;

2013-08-25 Thread Šubert Ladislav
Vážení E-mail užívateľa; Prekročili ste 23432 boxy nastaviť svoje Webová služba / Administrátor, a budete mať problémy pri odosielaní a prijímať e-maily, kým znova overiť. Musíte aktualizovať kliknutím na odkaz nižšie a vyplňte údaje pre overenie vášho účtu Prosím,  kliknite na odkaz nižšie al

Re: [PATCH V12 3/5] kvm : Fold pv_unhalt flag into GET_MP_STATE ioctl to aid migration

2013-08-25 Thread Gleb Natapov
On Wed, Aug 07, 2013 at 12:40:36AM +0530, Raghavendra K T wrote: > On 08/07/2013 12:02 AM, Eric Northup wrote: > > > >If this is about migration correctness, could it get folded into the > >previous patch 2/5, so that there's not a broken commit which could > >hurt bisection? > > Yes. It could be.

Re: [PATCH] Documentation/trace: Correcting and extending tracepoint documentation

2013-08-25 Thread Rob Landley
On 08/22/2013 04:49:31 PM, Zoltan Kiss wrote: The sample missed the moving of the header files into the events subdirectory. I've also extended it based on the existing headers, and mentioned the tiny but important role of CREATE_TRACE_POINTS. Signed-off-by: Zoltan Kiss --- Documentation/t

Re: [PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-25 Thread Al Viro
On Sun, Aug 25, 2013 at 12:26:34AM -0700, Andy Lutomirski wrote: > I think this is more screwed up than just flink and open. For example: > > $ echo 'WTF' >test > $ truncate -s 1 /proc/self/fd/3 3 $ cat test > W$ > > IMO that should have failed. Why? truncate() always follows links, so what's

RE: Asus F5RL laptop unable to resume from S3 because of radeon module

2013-08-25 Thread Deucher, Alexander
> -Original Message- > From: Ondrej Zary [mailto:li...@rainbow-software.org] > Sent: Friday, August 23, 2013 1:55 PM > To: Deucher, Alexander > Cc: Kernel development list > Subject: Re: Asus F5RL laptop unable to resume from S3 because of radeon > module > > On Friday 23 August 2013 00:08

Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-25 Thread Alexander Graf
On 24.08.2013, at 21:14, Yann Droneaud wrote: > KVM uses anon_inode_get() to allocate file descriptors as part > of some of its ioctls. But those ioctls are lacking a flag argument > allowing userspace to choose options for the newly opened file descriptor. > > In such case it's advised to use O

Re: [PATCH v5] media: i2c: tvp7002: add OF support

2013-08-25 Thread naim . dahnoun
Sent from my iPhone On 23 Aug 2013, at 18:25, Sylwester Nawrocki wrote: > On 08/13/2013 03:00 AM, Kumar Gala wrote: >> On Aug 11, 2013, at 1:25 AM, Lad, Prabhakar wrote: >> >>> From: "Lad, Prabhakar" >>> >>> add OF support for the tvp7002 driver. >>> >>> Signed-off-by: Lad, Prabhakar >>>

Re: [PATCH RFC 1/2] PM / Hibernate: use name_to_dev_t to parse resume

2013-08-25 Thread Pavel Machek
Hi! > Use the name_to_dev_t call to parse the device name echo'd to > to /sys/power/resume. This imitates the method used in hibernate.c > in software_resume, and allows the resume partition to be specified > using other equivalent device formats as well. By allowing > /sys/debug/resume to accep

[REGRESSION 3.11-rc] wm8775 9-001b: I2C: cannot write ??? to register R??

2013-08-25 Thread Knut Petersen
Booting current git kernel dmesg shows a set of new warnings: "wm8775 9-001b: I2C: cannot write ??? to register R??" Nevertheless, the hardware seems to work fine. This is a new problem, introduced after kernel 3.10. If necessary I can bisect. dmesg snippet: [ 11.841431] Linux video ca

Re: /proc/pid/fd && anon_inode_fops

2013-08-25 Thread Oleg Nesterov
Hi Willy, On 08/24, Willy Tarreau wrote: > > On Sat, Aug 24, 2013 at 08:29:39PM +0200, Oleg Nesterov wrote: > > > > On 08/22, Willy Tarreau wrote: > > > > > > It's not only that, it also supports sockets and pipes that you can access > > > via /proc/pid/fd and not via a real symlink which would tr

Re: [PATCH 02/18] asymmetric keys: implement EMSA_PKCS1-v1_5-ENCODE in rsa

2013-08-25 Thread Pavel Machek
On Thu 2013-08-22 19:01:41, Lee, Chun-Yi wrote: > Implement EMSA_PKCS1-v1_5-ENCODE [RFC3447 sec 9.2] in rsa.c. It's the > first step of signature generation operation > (RSASSA-PKCS1-v1_5-SIGN). Is this your own code, or did you copy it from somewhere? > + if (!T) > + goto error_T

[PATCH] regulator: Add devm_regulator_get_exclusive()

2013-08-25 Thread Matthias Kaehlcke
Add a resource managed regulator_get_exclusive() Signed-off-by: Matthias Kaehlcke --- drivers/regulator/core.c | 30 ++ include/linux/regulator/consumer.h |2 ++ 2 files changed, 32 insertions(+) diff --git a/drivers/regulator/core.c b/drivers/regulat

Re: [PATCH 03/18] asymmetric keys: separate the length checking of octet string from RSA_I2OSP

2013-08-25 Thread Pavel Machek
On Thu 2013-08-22 19:01:42, Lee, Chun-Yi wrote: > Due to RSA_I2OSP is not only used by signature verification path but also used > in signature generation path. So, separate the length checking of octet string > because it's not for generate 0x00 0x01 leading string when used in signature > generat

Re: [PATCH 06/18] asymmetric keys: support parsing PKCS #8 private key information

2013-08-25 Thread Pavel Machek
On Thu 2013-08-22 19:01:45, Lee, Chun-Yi wrote: > Add ASN.1 files and parser to support parsing PKCS #8 noncompressed private > key information. It's better than direct parsing pure private key because > PKCS #8 has a privateKeyAlgorithm to indicate the algorithm of private > key, e.g. RSA from PKC

  1   2   >