Re: [PATCH v6] input: drv260x: Add TI drv260x haptics driver

2014-08-19 Thread Murphy, Dan
Dmitry On 08/19/2014 03:24 PM, Dmitry Torokhov wrote: On Tue, Aug 19, 2014 at 08:13:32PM +, Murphy, Dan wrote: On 08/19/2014 03:07 PM, Dmitry Torokhov wrote: On Tue, Aug 19, 2014 at 07:35:06PM +, Murphy, Dan wrote: Dmitry snip ... That one I kept. Yes that is correct but

[PATCH net-next] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-08-19 Thread Haiyang Zhang
In case that the IP header has optional field at the end, this patch will get the port numbers after that field, and compute the hash. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 16

Re: [PATCH 2/3] tg3: Fix tx_pending checks for tg3_tso_bug

2014-08-19 Thread Benjamin Poirier
On 2014/08/19 11:52, Benjamin Poirier wrote: + trace_printk(stopping queue, %d = %d\n, + tg3_tx_avail(tnapi), skb_shinfo(skb)-gso_segs); netif_tx_stop_queue(txq); + trace_printk(stopped queue\n); err, I'll resubmit without the

[PATCH] powerpc: Fix build failure when MEMORY_HOTPLUG=y

2014-08-19 Thread Pranith Kumar
ARCH_ENABLE_MEMORY_HOTPLUG is enabled by default for powerpc. This causes build failures when SPARSEMEM=n as memory hotplug needs definition which are defined only when SPARSEMEM=y. The error is as follows: arch/powerpc/platforms/pseries/hotplug-memory.c:27:31: error: 'SECTION_SIZE_BITS'

[PATCH] sparc: i8042-sparcio.h: fix unused kbd_res warning

2014-08-19 Thread Vincent Stehlé
kbd_res is used only when CONFIG_PCI is defined; condition its declaration as well. This fixes the following compilation warning: drivers/input/serio/i8042-sparcio.h:20:25: warning: ‘kbd_res’ defined but not used [-Wunused-variable] Signed-off-by: Vincent Stehlé vincent.ste...@laposte.net Cc:

[PATCH] edac: Fix build error caused by wrong member access

2014-08-19 Thread Pranith Kumar
Fix the following error drivers/edac/ppc4xx_edac.c:977:45: error: request for member 'dimm' in something not a structure or union by changing member access to pointer dereference Signed-off-by: Pranith Kumar bobby.pr...@gmail.com CC: Andre Morton a...@linux-foundation.org ---

Re: [PATCH v1 09/12] spi/pxa2xx-pci: remove unnecessary assignment

2014-08-19 Thread Mark Brown
On Tue, Aug 19, 2014 at 08:29:20PM +0300, Andy Shevchenko wrote: There is no need to unset driver data pointer at removal stage. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v1 08/12] spi/pxa2xx: Don't use slave_id of dma_slave_config

2014-08-19 Thread Mark Brown
On Tue, Aug 19, 2014 at 08:29:19PM +0300, Andy Shevchenko wrote: From: Mika Westerberg mika.westerb...@linux.intel.com That field has been deprecated in favour of getting the necessary information from ACPI/DT. Acked-by: Mark Brown broo...@linaro.org signature.asc Description: Digital

Re: [PATCH v1 10/12] spi/pxa2xx-pci: Add support for Intel Braswell

2014-08-19 Thread Mark Brown
On Tue, Aug 19, 2014 at 08:29:21PM +0300, Andy Shevchenko wrote: From: Mika Westerberg mika.westerb...@linux.intel.com Instead of one port we have 3 ports and all of them can take advantage of the shared DMA controller. Acked-by: Mark Brown broo...@linaro.org signature.asc Description:

[RFC PATCH] powerpc: Make SPU_FS depend on SPARSEMEM

2014-08-19 Thread Pranith Kumar
SPU_FS unconditionally enables MEMORY_HOTPLUG, which will fail to build if SPARSEMEM=n. Make SPU_FS depend on SPARSEMEM so that hotplug-memory.c does not fail to compile. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com --- arch/powerpc/platforms/cell/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH V2] regmap: of_regmap_get_endian() cleanup

2014-08-19 Thread Mark Brown
On Tue, Aug 19, 2014 at 10:49:07AM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Commit d647c199510c (regmap: add DT endianness binding support) had some issues. Commit ba1b53feb8ca (regmap: Fix DT endianess parsing logic) fixed the main problem. This patch fixes the

Re: [PATCH] sparc: i8042-sparcio.h: fix unused kbd_res warning

2014-08-19 Thread Dmitry Torokhov
On Tue, Aug 19, 2014 at 11:09:37PM +0200, Vincent Stehlé wrote: kbd_res is used only when CONFIG_PCI is defined; condition its declaration as well. This fixes the following compilation warning: drivers/input/serio/i8042-sparcio.h:20:25: warning: ‘kbd_res’ defined but not used

Re: [PATCH 0/3] lockless sys_times and posix_cpu_clock_get

2014-08-19 Thread Andrew Theurer
Thanks to the feedback from Oleg, Peter, Mike, and Frederic, I seem to have a patch series that manages to do times() locklessly, and apparently correctly. Oleg points out that the monotonicity alone is not enough of a guarantee, but that should probably be attacked separately, since

[PATCH] [RFC] TAINT_PERFORMANCE

2014-08-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com I have more than once myself been the victim of an accidentally- enabled kernel config option being mistaken for a true performance problem. I'm sure I've also taken profiles or performance measurements and assumed they were real-world when really I

Re: [PATCH] ext3: Count internal journal as bsddf overhead in ext3_statfs

2014-08-19 Thread Jan Kara
On Fri 15-08-14 15:49:31, Chin-Tsung Cheng wrote: The journal blocks of external journal device should not be counted as overhead. Thanks. I've added the patch to my tree. Honza Signed-off-by: Chin-Tsung Cheng

RE: [hyperv] BUG at drivers/hv/channel.c:462 while changing MTU

2014-08-19 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Tuesday, August 19, 2014 8:37 AM To: KY Srinivasan Cc: Greg Kroah-Hartman; Haiyang Zhang; de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; Jason Wang; Daniel Borkmann; David S. Miller;

[PATCH] powerpc: Make 256k pages depend on PPC32=n

2014-08-19 Thread Pranith Kumar
256k pages are not tested on PPC32. On a randconfig I got the following error: arch/powerpc/kernel/misc_32.S:1171: Error: operand out of range (0x0001 is not between 0x8000 and 0x7fff) Disable 256K pages if PPC32=y Signed-off-by: Pranith Kumar

Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()

2014-08-19 Thread Aaro Koskinen
Hi, On Tue, Aug 19, 2014 at 09:45:03AM +1000, Julian Calaby wrote: Stupid question: aren't the Ultra 5 and Ultra 10 essentially the same hardware? Basically yes, but often configurations are different (CPU speed, memory capacity, peripherals, PROM versions). A. -- To unsubscribe from this

WARNING in 3.17-rc1 for i915

2014-08-19 Thread Larry Finger
My Toshiba A50 with graphics adapter described by 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) gets the following warning on 3.17-rc1: [ 1271.563533] [ cut here ] [ 1271.563568]

Re: [PATCH 1/3] tg3: Limit minimum tx queue wakeup threshold

2014-08-19 Thread Michael Chan
On Tue, 2014-08-19 at 11:52 -0700, Benjamin Poirier wrote: diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 3ac5d23..b11c0fd 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -202,7 +202,8 @@ static

Re: [PATCH 1/3] modinst: wrap long lines in order to enhance cmd_modules_install

2014-08-19 Thread Jim Davis
On Tue, Aug 19, 2014 at 11:57 AM, Bertrand Jacquin be...@meleeweb.net wrote: Note: shouldn't we use 'install -D $(2)/$@ $@' instead of mkdir and cp ? Will an install with -D in that sense always be available? That's not a flag in the original (BSD) program, and I did find one SPARC system --

[PATCH 0/3] ARM: at91/tclib: fix segmentation fault

2014-08-19 Thread Gaël PORTAY
Hi every one, This set of patches fix a segmentation fault happening when kexec-ing kernel on an at91 platform (see backtrace below). While the previous kernel shuts down, the tcb_clksrc driver leaves its interruptions unmasked. When the new kernel initiliazes any tclib making use of a TC block,

[PATCH 1/3] ARM: at91/tclib: prefer using of devm_* functions

2014-08-19 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY gael.por...@gmail.com --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index c8d8e38..b514a2d 100644 --- a/drivers/misc/atmel_tclib.c +++

[PATCH 2/3] ARM: at91/tclib: move initialization from alloc to probe

2014-08-19 Thread Gaël PORTAY
Move resource retrieval from atmel_tc_alloc to tc_probe to avoid lately reporting resource related issues when a TC block user request a TC block. Moreover, resources retrieval are usually done in the probe function, thus moving them add some consistency with other drivers. Initialization is

[PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-19 Thread Gaël PORTAY
Shutdown properly the timer counter block by masking interruptions. Otherwise, a segmentation may happen when kexec-ing a new kernel (see backtrace below). An interruption may happen before the handler is set, leading to a kernel segmentation fault. Furthermore, we make sure the interruptions are

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-19 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, This is a bit weird as the clock of the TC should be off and the irq free so this should never happened we need to investigate more why this append Best Regards, J. On Aug 20, 2014, at 6:07 AM, Gaël PORTAY gael.por...@gmail.com wrote: Shutdown properly the timer

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-19 Thread Caesar Wang
Hi Doug, I reviewed it, the change is need. Reviewed-on: https://github.com/rkchrome/kernel.git Reviewed-by: Caesar Wang caesar.w...@rock-chips.com 在 2014年08月20日 00:07, Doug Anderson 写道: The rk3288 has the ability to invert the polarity of the PWM. Let's enable that ability. To do this we

Re: [PATCH] powerpc: Make 256k pages depend on PPC32=n

2014-08-19 Thread Scott Wood
On Tue, 2014-08-19 at 17:36 -0400, Pranith Kumar wrote: 256k pages are not tested on PPC32. On a randconfig I got the following error: arch/powerpc/kernel/misc_32.S:1171: Error: operand out of range (0x0001 is not between 0x8000 and 0x7fff) Disable 256K

Re: [PATCH] powerpc: Make 256k pages depend on PPC32=n

2014-08-19 Thread Pranith Kumar
On Tue, Aug 19, 2014 at 6:19 PM, Scott Wood scottw...@freescale.com wrote: config PPC_256K_PAGES bool 256k page size if 44x - depends on !STDBINUTILS + depends on !PPC32 !STDBINUTILS help Make the page size 256k. How will this ever be selected then? 44x is

Re: [PATCH 4/4] RTC: rk808: add RTC driver for RK808 PMIC RTC

2014-08-19 Thread Heiko Stübner
Hi Javier, Am Montag, 18. August 2014, 20:17:03 schrieb Javier Martinez Canillas: adding Mike Turquette to cc since this is also a clock driver. Hello Chris, Overall it looks good to me, I've just a comment about the driver structure. On 08/17/2014 04:02 AM, Chris Zhong wrote: RK808

Re: [PATCH] [RFC] TAINT_PERFORMANCE

2014-08-19 Thread Kirill A. Shutemov
On Tue, Aug 19, 2014 at 02:26:04PM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com I have more than once myself been the victim of an accidentally- enabled kernel config option being mistaken for a true performance problem. I'm sure I've also taken profiles or

Re: [PATCH] powerpc: Make 256k pages depend on PPC32=n

2014-08-19 Thread Scott Wood
On Tue, 2014-08-19 at 18:23 -0400, Pranith Kumar wrote: On Tue, Aug 19, 2014 at 6:19 PM, Scott Wood scottw...@freescale.com wrote: config PPC_256K_PAGES bool 256k page size if 44x - depends on !STDBINUTILS + depends on !PPC32 !STDBINUTILS help Make the

Info, View Attach Mail

2014-08-19 Thread Mr. Stephen Gianino
--- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

RE: [PATCH v2 05/18] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2014-08-19 Thread Moore, Robert
I should warn you that FADT version numbers are notoriously unreliable; In fact, in ACPICA we were eventually forced to abandon them entirely. We use the actual size of the FADT instead. Bob -Original Message- From: Hanjun Guo [mailto:hanjun@linaro.org] Sent: Tuesday, August

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-19 Thread Boris BREZILLON
Hi Jean-Christophe, On Wed, 20 Aug 2014 06:11:17 +0800 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Hi, This is a bit weird as the clock of the TC should be off and the irq free so this should never happened we need to investigate more why this append I

Re: [PATCH] sgi-xp: Do not use BUG_ON(!spin_is_locked())

2014-08-19 Thread Ryan Mallon
On 12/08/14 17:35, Sanjeev Sharma wrote: on some architecture spin_is_locked() always return false in uniprocessor configuration and can therefore not be used with BUG_ON.it would be advise to replace with lockdep_assert_held(). Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com ---

Re: [PATCH 2/3] tg3: Fix tx_pending checks for tg3_tso_bug

2014-08-19 Thread Michael Chan
On Tue, 2014-08-19 at 11:52 -0700, Benjamin Poirier wrote: @@ -7838,11 +7838,14 @@ static int tg3_tso_bug(struct tg3 *tp, struct tg3_napi *tnapi, struct netdev_queue *txq, struct sk_buff *skb) { struct sk_buff *segs, *nskb; - u32 frag_cnt_est =

Re: [PATCH v2 3/4] zram: zram memory size limitation

2014-08-19 Thread Minchan Kim
Hello, On Tue, Aug 19, 2014 at 10:06:22AM +0200, Marc Dietrich wrote: Am Dienstag, 19. August 2014, 16:54:46 schrieb Minchan Kim: Since zram has no control feature to limit memory usage, it makes hard to manage system memrory. This patch adds new knob mem_limit via sysfs to set up the

Re: [PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-19 Thread Gioh Kim
2014-08-19 오후 10:03, Jan Kara 쓴 글: Hello, On Tue 19-08-14 15:52:38, Gioh Kim wrote: A buffer cache is allocated from movable area because it is referred for a while and released soon. But some filesystems are taking buffer cache for a long time and it can disturb page migration. A new

Re: Overriding -Werror

2014-08-19 Thread Andi Kleen
On Tue, Aug 19, 2014 at 10:11:30PM +0200, Sam Ravnborg wrote: On Tue, Aug 19, 2014 at 06:15:07AM -0700, Andi Kleen wrote: Brian Norris computersforpe...@gmail.com writes: 4. better ideas? Just send patches to remove -Werror in all architectures as a tree sweep (and anywhere else

Re: [PATCH v2 2/4] zsmalloc: change return value unit of zs_get_total_size_bytes

2014-08-19 Thread Minchan Kim
Hey Seth, On Tue, Aug 19, 2014 at 09:46:28AM -0500, Seth Jennings wrote: On Tue, Aug 19, 2014 at 04:54:45PM +0900, Minchan Kim wrote: zs_get_total_size_bytes returns a amount of memory zsmalloc consumed with *byte unit* but zsmalloc operates *page unit* rather than byte unit so let's

Re: [PATCH] [RFC] TAINT_PERFORMANCE

2014-08-19 Thread Laura Abbott
On 8/19/2014 2:26 PM, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com I have more than once myself been the victim of an accidentally- enabled kernel config option being mistaken for a true performance problem. I'm sure I've also taken profiles or performance measurements

Re: [PATCHv2] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-19 Thread Chanwoo Choi
Dear Eduardo, I'm so sorry. This patch has build break as following: It is my mistake about missing 'or' operation when adding TMU_SUPPORT_TRIM_RELOAD. + .features = (TMU_SUPPORT_EMULATION | TMU_SUPPORT_TRIM_RELOAD\ I'll send new patch to fix it right now. Best Regards, Chanwoo Choi On

Re: [PATCH v2 2/4] zsmalloc: change return value unit of zs_get_total_size_bytes

2014-08-19 Thread Minchan Kim
On Tue, Aug 19, 2014 at 10:11:57AM -0500, Seth Jennings wrote: On Tue, Aug 19, 2014 at 09:46:28AM -0500, Seth Jennings wrote: On Tue, Aug 19, 2014 at 04:54:45PM +0900, Minchan Kim wrote: zs_get_total_size_bytes returns a amount of memory zsmalloc consumed with *byte unit* but zsmalloc

Re: [PATCH 2/3] kbuild: handle module compression while running 'make modules_install'.

2014-08-19 Thread Andi Kleen
I understand your concern about this, but does is make sense to not use -9 when then following files use gzip or other compression tools with -9 : Just because someone else makes mistakes doesn't mean that you should make them too. -Andi -- To unsubscribe from this list: send the line

[PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-19 Thread Chanwoo Choi
This patch add support for TRIM_RELOAD feature at Exynos3250. The TMU of Exynos3250 has two TRIMINFO_CON register. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Zhang Rui rui.zh...@intel.com Cc: Eduardo Valentin edubez...@gmail.com Cc:

Re: [PATCH] virt/kvm/assigned-dev.c: Set 'dev-irq_source_id' to '-1' after free it

2014-08-19 Thread Chen Gang
On 08/19/2014 11:49 PM, Paolo Bonzini wrote: Il 19/08/2014 17:44, Chen Gang ha scritto: Hello maintainers: Please help check this patch, when you have time. Hi, it's already on its way to 3.17-rc2, but I first have to run a bunch of tests. OK, thanks. Also can let me try the test,

Re: [PATCH] virt/kvm/assigned-dev.c: Set 'dev-irq_source_id' to '-1' after free it

2014-08-19 Thread Chen Gang
By the way, at present, I use Qemu as user mode program, is there common test with both Qemu and KVM/Xen? And is a PC enough for the common test? Thanks. On 08/20/2014 07:58 AM, Chen Gang wrote: On 08/19/2014 11:49 PM, Paolo Bonzini wrote: Il 19/08/2014 17:44, Chen Gang ha scritto: Hello

Re: [PATCH] [RFC] TAINT_PERFORMANCE

2014-08-19 Thread Christoph Lameter
On Tue, 19 Aug 2014, Laura Abbott wrote: I nominate CONFIG_DEBUG_PAGEALLOC, CONFIG_SLUB_DEBUG, CONFIG_SLUB_DEBUG_ON as well since I've wasted days debugging supposed performance issues where those were on. CONFIG_SLUB_DEBUG is not enabling debugging. It just includes the code to do so at

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-19 Thread Xiao Guangrong
On 08/19/2014 05:03 PM, Paolo Bonzini wrote: Il 19/08/2014 10:50, Xiao Guangrong ha scritto: Okay, what confused me it that it seems that the single line patch is ok to you. :) No, it was late and I was confused. :) Now, do we really need to care the case 2? like David said: Sorry I

Re: [PATCH] UBI: block: fix dereference on uninitialized dev

2014-08-19 Thread Ezequiel Garcia
Hi Colin, Thanks for the fix. On 16 Aug 05:49 PM, Colin King wrote: From: Colin Ian King colin.k...@canonical.com commit 4df38926f337 (UBI: block: Avoid disk size integer overflow) introduced a dereference on dev (which is not initialized at that point) when printing a warning message.

[PATCH v7 00/11] kernel: Add support for restart handler call chain

2014-08-19 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been implemented to support those schemes. The best known mechanism is arm_pm_restart, which is a function pointer to be set either from platform specific code or from

[PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-19 Thread Guenter Roeck
machine_restart is supported on non-ARM platforms, and and ultimately calls arm_pm_restart, so dont call arm_pm_restart directly but use the more generic function. Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Catalin Marinas

[PATCH v7 01/11] kernel: Add support for kernel restart handler call chain

2014-08-19 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been implemented to support those schemes. The best known mechanism is arm_pm_restart, which is a function pointer to be set either from platform specific code or from

[PATCH v7 04/11] arm: Support restart through restart handler call chain

2014-08-19 Thread Guenter Roeck
The kernel core now supports a restart handler call chain for system restart functions. With this change, the arm_pm_restart callback is now optional, so drop its initialization and check if it is set before calling it. Only call the kernel restart handler if arm_pm_restart is not set.

Re: Revert aio: fix aio request leak when events are reaped by user space

2014-08-19 Thread Benjamin LaHaise
On Tue, Aug 19, 2014 at 08:14:26PM +0300, Dan Aloni wrote: On Tue, Aug 19, 2014 at 12:54:04PM -0400, Benjamin LaHaise wrote: On Tue, Aug 19, 2014 at 07:37:33PM +0300, Dan Aloni wrote: Some testing I've done today indicates that the original commit broke AIO with regard to users that

[PATCH v7 07/11] watchdog: sunxi: Register restart handler with kernel restart handler

2014-08-19 Thread Guenter Roeck
The kernel core now provides an API to trigger a system restart. Register with it instead of setting arm_pm_restart. Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Heiko Stuebner he...@sntech.de --- v7: Added patch to series. Necessary since the restart handler in the driver is now

[PATCH v7 11/11] clk: rockchip: add restart handler

2014-08-19 Thread Guenter Roeck
From: Heiko Stübner he...@sntech.de Add infrastructure to write the correct value to the restart register and register the restart notifier for both rk3188 (including rk3066) and rk3288. Signed-off-by: Heiko Stuebner he...@sntech.de Signed-off-by: Guenter Roeck li...@roeck-us.net --- v7: Added

[PATCH v7 09/11] watchdog: s3c2410: add restart handler

2014-08-19 Thread Guenter Roeck
From: Heiko Stübner he...@sntech.de On a lot of Samsung systems the watchdog is responsible for restarting the system and until now this code was contained in plat-samsung/watchdog-reset.c. With the introduction of the restart handlers, this code can now move into driver itself, removing the

RE: [PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-19 Thread Chen, Alvin
Hi, On Mon, Aug 04, 2014 at 10:22:54AM -0700, Chen, Alvin wrote: From: Bryan O'Donoghue bryan.odonog...@intel.com This patch is to enable the USB gadget device for Intel Quark X1000 Signed-off-by: Bryan O'Donoghue bryan.odonog...@intel.com Signed-off-by: Bing Niu

[PATCH v7 10/11] clk: samsung: register restart handlers for s3c2412 and s3c2443

2014-08-19 Thread Guenter Roeck
From: Heiko Stübner he...@sntech.de S3C2412, S3C2443 and their derivatives contain a special software-reset register in their system-controller. Therefore register a restart handler for those. Tested on a s3c2416-based board, s3c2412 compile-tested. Signed-off-by: Heiko Stuebner

[PATCH v7 06/11] watchdog: alim7101: Register restart handler with kernel restart handler

2014-08-19 Thread Guenter Roeck
The kernel core now provides an API to trigger a system restart. Register with it to restart the system instead of misusing the reboot notifier. Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Catalin Marinas catalin.mari...@arm.com Acked-by: Heiko Stuebner he...@sntech.de --- v7: No

[PATCH v7 08/11] arm/arm64: Unexport restart handlers

2014-08-19 Thread Guenter Roeck
Implementing a restart handler in a module don't make sense as there would be no guarantee that the module is loaded when a restart is needed. Unexport arm_pm_restart to ensure that no one gets the idea to do it anyway. Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Catalin Marinas

[PATCH v7 05/11] watchdog: moxart: Register restart handler with kernel restart handler

2014-08-19 Thread Guenter Roeck
The kernel now provides an API to trigger a system restart. Register with it instead of setting arm_pm_restart. Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Catalin Marinas catalin.mari...@arm.com Acked-by: Heiko Stuebner he...@sntech.de --- v7: No change. v6: No change. v5:

[PATCH v7 03/11] arm64: Support restart through restart handler call chain

2014-08-19 Thread Guenter Roeck
The kernel core now supports a restart handler call chain to restart the system. Call it if arm_pm_restart is not set. Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Catalin Marinas catalin.mari...@arm.com Acked-by: Heiko Stuebner he...@sntech.de --- v7: No change. v6: No change. v5:

[RFC PATCH 0/4 v2] drivers/bus: Freescale Management Complex bus driver patch series

2014-08-19 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. The fsl-mc is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications. After the fsl-mc block is enabled, pools of hardware

[RFC PATCH 4/4 v2] Update MAINTAINERS file

2014-08-19 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com Signed-off-by: J. German Rivera german.riv...@freescale.com --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7e2eb4c..eb8597d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3841,6

[RFC PATCH 3/4 v2] drivers/bus: Device driver for FSL-MC DPRC devices

2014-08-19 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera german.riv...@freescale.com ---

[RFC PATCH 1/4 v2] drivers/bus: Added Freescale Management Complex APIs

2014-08-19 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera german.riv...@freescale.com ---

[RFC PATCH 2/4 v2] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-08-19 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers.

WARNING: CPU: 6 PID: 79 at fs/proc/generic.c:521 remove_proc_entry+0x170/0x180()

2014-08-19 Thread Christian Kujau
Hi, the warning below appeared while booting 3.17.0-rc1. I haven't seen the warning before, but found a recent report on oops.kernel.org: http://oops.kernel.org/oops/warning-at-fs-proc-generic-c521-remove_proc_entry0x18f-0x1a0/ and also reports from July 2014, where the issue was reported to

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-19 Thread David Matlack
On Tue, Aug 19, 2014 at 5:29 PM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: On 08/19/2014 05:03 PM, Paolo Bonzini wrote: Il 19/08/2014 10:50, Xiao Guangrong ha scritto: Okay, what confused me it that it seems that the single line patch is ok to you. :) No, it was late and I was

Re: [RFC PATCH 1/4 v2] drivers/bus: Added Freescale Management Complex APIs

2014-08-19 Thread Joe Perches
On Tue, 2014-08-19 at 19:54 -0500, J. German Rivera wrote: APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. [] include/linux/fsl_dpmng.h | 120 ++

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-19 Thread Ming Lei
On Wed, Aug 20, 2014 at 4:50 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-08-18 06:53, Ming Lei wrote: On Mon, Aug 18, 2014 at 9:22 AM, Ming Lei ming@canonical.com wrote: On Mon, Aug 18, 2014 at 1:48 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-08-16 02:06, Ming Lei wrote: On

[PATCH 2/2] perf/x86/uncore: register PMU only if uncore pci device exists

2014-08-19 Thread Yan, Zheng
Current code reigsters PMUs for all possible uncore pci devices. This is not good because, on some machines, one or more uncore pci devices can be missing. The missing pci device make corresponding PMU unusable. Signed-off-by: Yan, Zheng zheng.z@intel.com ---

[PATCH 1/2] perf/x86/intel: Add Haswell-EP uncore support

2014-08-19 Thread Yan, Zheng
The uncore subsystem in Haswell-EP is similar to Sandy/Ivy Bridge-EP. There are some differences in config register encoding and pci device IDs. The Haswell-EP uncore also supports a few new events. Signed-off-by: Yan, Zheng zheng.z@intel.com --- arch/x86/kernel/cpu/perf_event_intel_uncore.c

Re: [PATCH] leds: make led_blink_set IRQ safe

2014-08-19 Thread Hugh Dickins
On Tue, 19 Aug 2014, Vincent Donnefort wrote: This patch introduces a work which take care of reseting the blink workqueue and avoid calling the cancel_delayed_work_sync function which may sleep, from an IRQ context. Signed-off-by: Vincent Donnefort vdonnef...@gmail.com Thanks. It

Re: slub/debugobjects: lockup when freeing memory

2014-08-19 Thread Christoph Lameter
On Mon, 18 Aug 2014, Paul E. McKenney wrote: +#ifdef CONFIG_RCU_DEBUG_XYZ If you make CONFIG_RCU_DEBUG_XYZ instead be CONFIG_DEBUG_OBJECTS_RCU_HEAD, then it will automatically show up when it needs to. Ok. The rest looks plausible, for whatever that is worth. We talked in the hallway

[PATCH] regulator: max77802: Remove unused fields from struct max77802_regulator_prv

2014-08-19 Thread Axel Lin
Both num_regulators and *rdev[MAX77802_REG_MAX] are not used, remove them. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/max77802.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c index 5f022f8..ad1caa9 100644

RE: [f2fs-dev] [PATCH 3/4] f2fs: avoid double lock in truncate_blocks

2014-08-19 Thread Chao Yu
-Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Wednesday, August 20, 2014 12:58 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH 3/4] f2fs: avoid double lock

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-19 Thread Minchan Kim
Hi Sergey, On Tue, Aug 19, 2014 at 08:25:00PM +0900, Sergey Senozhatsky wrote: Hello, On (08/19/14 13:45), Chao Yu wrote: On (08/15/14 11:27), Chao Yu wrote: Now we have supported handling discard request which is sended by filesystem, but no interface could be used to show

Re: [PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-19 Thread Jan Kara
On Wed 20-08-14 08:37:07, Gioh Kim wrote: 2014-08-19 오후 10:03, Jan Kara 쓴 글: Hello, On Tue 19-08-14 15:52:38, Gioh Kim wrote: A buffer cache is allocated from movable area because it is referred for a while and released soon. But some filesystems are taking buffer cache for a long

[PATCH] perf, map: Don't try to find DSOs in SYSV maps

2014-08-19 Thread Don Zickus
We are seeing a lot of the following with regards to SYSV memory Failed to open /SYSV279c, continuing without symbols We don't believe this memory will have DSO info, so treat it like the heap and stack for now and skip it to prevent the warning. Signed-off-by: Joe Mario jma...@redhat.com

Re: slub/debugobjects: lockup when freeing memory

2014-08-19 Thread Paul E. McKenney
On Tue, Aug 19, 2014 at 09:00:05PM -0500, Christoph Lameter wrote: On Mon, 18 Aug 2014, Paul E. McKenney wrote: +#ifdef CONFIG_RCU_DEBUG_XYZ If you make CONFIG_RCU_DEBUG_XYZ instead be CONFIG_DEBUG_OBJECTS_RCU_HEAD, then it will automatically show up when it needs to. Ok. The

Re: [PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-19 Thread Gioh Kim
@@ -1381,12 +1383,7 @@ EXPORT_SYMBOL(__find_get_block); struct buffer_head * __getblk(struct block_device *bdev, sector_t block, unsigned size) { - struct buffer_head *bh = __find_get_block(bdev, block, size); - - might_sleep(); - if (bh == NULL) - bh =

Re: [PATCH v2] PC, KVM, CMA: Fix regression caused by wrong get_order() use

2014-08-19 Thread Joonsoo Kim
On Thu, Aug 14, 2014 at 03:03:07PM +1000, Alexey Kardashevskiy wrote: fc95ca7284bc54953165cba76c3228bd2cdb9591 claims that there is no functional change but this is not true as it calls get_order() (which takes bytes) where it should have called ilog2() and the kernel stops on VM_BUG_ON().

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-19 Thread Andreas Mohr
Reply-To: In-Reply-To: 1408466497-25640-1-git-send-email-dmitry.torok...@gmail.com X-Priority: none Hi, Gameport support hasn't been working well ever since cpufreq became mainstream and it becomes increasingly hard to find hardware and software that would run on such old hardware. Given

Re: WARNING: CPU: 6 PID: 79 at fs/proc/generic.c:521 remove_proc_entry+0x170/0x180()

2014-08-19 Thread Jiang Liu
Hi Kujau, It seems like a different issue, something wrong with void nfs_fs_proc_net_exit(struct net *net) { struct nfs_net *nn = net_generic(net, nfs_net_id); remove_proc_entry(volumes, nn-proc_nfsfs); remove_proc_entry(servers, nn-proc_nfsfs);

Re: [PATCH] regulator: core: Fix build error due to const qualifier for ops

2014-08-19 Thread Axel Lin
2014-08-18 22:10 GMT+08:00 Mark Brown broo...@kernel.org: On Mon, Aug 18, 2014 at 10:34:08AM +0800, Axel Lin wrote: Drop const qualifier for ops of struct regulator_desc. Allow regulator drivers to update ops before registering regulator. Applied, thanks. Hi Mark, I found this commit is

Re: [PATCH v3 03/15] clk: tegra: Add closed loop support for the DFLL

2014-08-19 Thread Vince Hsu
Hi, On 08/19/2014 11:33 AM, Tuomas Tynkkynen wrote: From: Tuomas Tynkkynen ttynkky...@nvidia.com With closed loop support, the clock rate of the DFLL can be adjusted. The oscillator itself in the DFLL is a free-running oscillator whose rate is directly determined the supply voltage. However,

[PATCH] nfs: use canonical path in nfs_show_devname

2014-08-19 Thread Xiong Zhou
When export root dir(/) via nfs, and mount a particular dir under root, eg /nfsexport, there will be defect double slash output in /proc/mounts, like localhost://nfsexport. Signed-off-by: Xiong Zhou xz...@redhat.com --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: Linux 3.16 boot hangs at initramfs scripts when mounting filesystems

2014-08-19 Thread Petri Gynther
Alex's commit fixes the Linux 3.16 boot hang on BMIPS5000 that I reported. Please include this fix to 3.16.x and 3.14.x stable trains. commit e90e6fddc57055c4c6b57f92787fea1c065d440b Author: Alex Smith alex.sm...@imgtec.com Date: Wed Jul 23 14:40:11 2014 +0100 MIPS: O32/32-bit: Fix bug

[PATCH] booke_wdt: Fix build failure as a module

2014-08-19 Thread Pranith Kumar
Building booke_wdt fails when trying to build as a module as there is no early_param() in module. Fix by enclosing within MODULE check. Also remove notrace attribute as it is implicit in the __init attribute. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com --- drivers/watchdog/booke_wdt.c |

Re: WARNING: CPU: 6 PID: 79 at fs/proc/generic.c:521 remove_proc_entry+0x170/0x180()

2014-08-19 Thread Cong Wang
On Tue, Aug 19, 2014 at 7:50 PM, Jiang Liu jiang@linux.intel.com wrote: Hi Kujau, It seems like a different issue, something wrong with void nfs_fs_proc_net_exit(struct net *net) http://marc.info/?l=linux-nfsm=140821782107427w=2 -- To unsubscribe from this list: send the line

Re: [PATCH 0/5] RCU-walk support for autofs

2014-08-19 Thread NeilBrown
On Tue, 19 Aug 2014 20:36:55 +0800 Ian Kent ra...@themaw.net wrote: On Tue, 2014-08-19 at 21:16 +1000, NeilBrown wrote: On Tue, 19 Aug 2014 18:02:27 +0800 Ian Kent ra...@themaw.net wrote: On Mon, 2014-08-18 at 16:25 +0800, Ian Kent wrote: On Mon, 2014-08-18 at 16:33 +1000, NeilBrown

[PATCH v3] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-19 Thread Wanpeng Li
EPT misconfig handler in kvm will check which reason lead to EPT misconfiguration after vmexit. One of the reasons is that an EPT paging-structure entry is configured with settings reserved for future functionality. However, the handler can't identify if paging-structure entry of reserved bits for

Re: [PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-19 Thread Felipe Balbi
Hi, On Wed, Aug 20, 2014 at 12:46:33AM +, Chen, Alvin wrote: Hi, On Mon, Aug 04, 2014 at 10:22:54AM -0700, Chen, Alvin wrote: From: Bryan O'Donoghue bryan.odonog...@intel.com This patch is to enable the USB gadget device for Intel Quark X1000 Signed-off-by: Bryan

Re: [PATCH 2/3] usbip: move usbip kernel code out of staging

2014-08-19 Thread Valentina Manea
On Tue, Aug 19, 2014 at 11:38 AM, Greg KH gre...@linuxfoundation.org wrote: This patch moves the code, but now it's gone from the build system as it is not hooked up and can not be built at all. So while I really wanted to apply this series right now, I can't, as this is a regression

[PATCH] powerpc: Export dcr_ind_lock to fix build error

2014-08-19 Thread Pranith Kumar
Fix build error caused by missing export: ERROR: dcr_ind_lock [drivers/net/ethernet/ibm/emac/ibm_emac.ko] undefined! Signed-off-by: Pranith Kumar bobby.pr...@gmail.com --- arch/powerpc/sysdev/dcr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/sysdev/dcr.c

Re: [Linaro-acpi] [PATCH v2 06/18] ARM64 / ACPI: Parse MADT to map logical cpu to MPIDR and get cpu_possible/present_map

2014-08-19 Thread Hanjun Guo
On 2014-8-20 0:46, Zi Shen Lim wrote: Hanjun, Hi Lim, On Tue, Aug 19, 2014 at 6:00 AM, Hanjun Guo hanjun@linaro.org wrote: Will INTERRUPT_CONTROLLER confuse people? There is only one GIC redistributor (some people regard it as interrupt controller) in ARM system, if we use

  1   2   3   4   5   6   7   8   9   10   >