RE: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-29 Thread Ong, Boon Leong
On 29/01/15 15:40, Bryan O'Donoghue wrote: It would be nice to have two variants (1) index based (2) address based. Understood. The direction from Ingo was to have address based external interface imr_del_range() and support an index based internal imr_clear() - internally. So - in order

Re: [PATCH] dtc: Use quotes to include header files

2015-01-29 Thread Rob Herring
On Thu, Jan 29, 2015 at 9:56 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 16 Dec 2014 15:13:24 +1300 , Chris Packham chris.pack...@alliedtelesis.co.nz wrote: Currently in arch and driver code that needs early access to the flattened device tree it is necessary to add specific

Re: [PATCH] xfs:change kmem_free to use generic kvfree()

2015-01-29 Thread Brian Foster
On Wed, Jan 28, 2015 at 02:08:47PM +0800, Wang, Yalin wrote: Change kmem_free to use kvfree() generic function, remove the duplicated code. Signed-off-by: Yalin Wang yalin.w...@sonymobile.com --- Looks good... Reviewed-by: Brian Foster bfos...@redhat.com fs/xfs/kmem.c | 10 --

Re: [PATCH] sparc: io_64.h: Replace io function-link macros

2015-01-29 Thread Ricardo Ribalda Delgado
Hello Arnd On Thu, Jan 29, 2015 at 5:02 PM, Arnd Bergmann a...@arndb.de wrote: I suspect such code is broken on a lot of platforms: arch/alpha/include/asm/io.h:#define ioread32be(p) be32_to_cpu(ioread32(p)) arch/arm/include/asm/io.h:#define ioread32be(p) ({ __u32 __v =

Re: [PATCH v8 0/2] Imagination Technologies PWM support

2015-01-29 Thread Ezequiel Garcia
On 01/20/2015 07:52 AM, Ezequiel Garcia wrote: On 01/09/2015 02:54 PM, Ezequiel Garcia wrote: A new round for the IMG PWM driver. The IMG PWM controller is muxed with a PDM controller, through a shared so-called periph register bit, which sets the output as PWM or PDM. Because this

Re: [PATCH v10 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-29 Thread Peter Hurley
On 01/29/2015 11:05 AM, Russell King - ARM Linux wrote: On Thu, Jan 29, 2015 at 10:49:34AM -0500, Peter Hurley wrote: Hi Varka, On 01/29/2015 10:26 AM, Varka Bhadram wrote: This check is not required. It will be done by devm_ioremap_resource() I disagree. devm_ioremap_resource() interprets

Re: [PATCH] soc: ti: knav_qmss_queue: export API calls for use by user driver

2015-01-29 Thread santosh shilimkar
On 1/28/2015 3:00 PM, Murali Karicheri wrote: Currently only few of the API calls are exported. This creates problem when the knav* modules are built as modules and another user module such as netcp_core try to use these API calls and they are also built as module. This patch export these APIs

Re: [PATCH] spi/xilinx: Cast ioread32/iowrite32 function pointers

2015-01-29 Thread Ricardo Ribalda Delgado
Hello Arnd On Thu, Jan 29, 2015 at 5:04 PM, Arnd Bergmann a...@arndb.de wrote: Casting the type of a function you call seems rather dangerous. Why not add an inline function in this driver as a wrapper? Arnd Agree, please ignore this patch. Sorry for the noise -- Ricardo Ribalda

Re: Hangs in libhugetlbfs tests in -next

2015-01-29 Thread Catalin Marinas
On Thu, Jan 29, 2015 at 04:02:27PM +, Steve Capper wrote: On 28 January 2015 at 15:24, Mark Brown broo...@kernel.org wrote: For at least the past couple of days tests of libhugetlbfs have been hanging on mustang in the mlock test running ARMv8 defconfig with both 32 bit and 64 bit

Re: [PATCH 5/5] sched/rt: Optimize find_lowest_rq() to select a cache hot cpu

2015-01-29 Thread Xunlei Pang
On 27 January 2015 at 22:56, Steven Rostedt rost...@goodmis.org wrote: On Tue, 27 Jan 2015 15:21:36 +0100 Peter Zijlstra pet...@infradead.org wrote: On Mon, Jan 19, 2015 at 04:49:40AM +, Xunlei Pang wrote: In find_lowest_rq(), if we can't find a wake_affine cpu from sched_domain, then

Re: [PATCH 02/24] Documentation: DT bindings: add more chip compatible strings for Tegra PCIe

2015-01-29 Thread Rob Herring
On Thu, Jan 29, 2015 at 9:45 AM, Paul Walmsley p...@pwsan.com wrote: Hi Rob On Thu, 29 Jan 2015, Rob Herring wrote: On Wed, Jan 28, 2015 at 5:49 PM, Paul Walmsley p...@pwsan.com wrote: Add compatible strings for the PCIe IP blocks present on several Tegra chips. The primary objective

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-29 Thread Rob Herring
On Wed, Jan 28, 2015 at 5:32 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Will, On Wednesday 28 January 2015 13:32:19 Will Deacon wrote: On Wed, Jan 28, 2015 at 01:15:10PM +, Laurent Pinchart wrote: On Wednesday 28 January 2015 12:29:42 Will Deacon wrote: On Wed,

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-01-29 Thread Sumit Semwal
On 29 January 2015 at 21:17, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Jan 29, 2015 at 09:00:11PM +0530, Sumit Semwal wrote: So, short answer is, it is left to the exporter to decide. The dma-buf framework should not even attempt to decide or enforce any of the above. At

[PATCH] net: rfkill: Add Broadcom BCM2E40 bluetooth ACPI ID

2015-01-29 Thread Mika Westerberg
This is yet another Broadcom bluetooth chip with ACPI ID BCM2E40. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- net/rfkill/rfkill-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 3f4a0bbeed3d..d978f2f46ff3

RE: [RESEND] [PATCH] block: create ioctl to discard-or-zeroout a range of blocks

2015-01-29 Thread Elliott, Robert (Server Storage)
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Arnd Bergmann Sent: Thursday, 29 January, 2015 4:03 AM To: Darrick J. Wong Cc: Jens Axboe; Christoph Hellwig; linux-kernel@vger.kernel.org; linux-

Re: [PATCH 0/2] blk-mq: one revert and one blk-mq kobject fix candidate

2015-01-29 Thread Jens Axboe
On 01/29/2015 04:17 AM, Ming Lei wrote: The 1st patch reverts commit blk-mq: fix hctx/ctx kobject use-after-free (commit 76d697d10769048e) which is wrong and causes scsi regression. The 2nd patch is another candidate/approach for fixing hctx/ctx kobject use-after-free. Sorry for causing the

Re: [PATCH v2] arm64: Kconfig: clean up two no-op Kconfig options from CONFIG_ARCH_TEGRA*

2015-01-29 Thread Catalin Marinas
On Thu, Jan 29, 2015 at 03:42:45PM +, Paul Walmsley wrote: Paul Bolle pointed out that commit d035fdfa27ac124bc8f94c3d7dc82ad069802170 (arm64: Add Tegra132 support) included two Kconfig symbols that are now no-ops: USB_ARCH_HAS_EHCI and HAVE_SMP. So, drop the two symbols. This second

Re: [PATCH] ARM: keystone: defconfig: add DEVTMPFS option by default.

2015-01-29 Thread santosh shilimkar
On 1/29/2015 7:12 AM, Murali Karicheri wrote: When using network driver on keystone and nfs rootfs is used following error displayed and device halts. Missing devtmpfs, which is required for udev to run Halting... Must be with Ubuntu... Add the DEVTMPFS option by default to fix this

Re: [PATCH] spi/xilinx: Cast ioread32/iowrite32 function pointers

2015-01-29 Thread Ricardo Ribalda Delgado
Hello Geert On Thu, Jan 29, 2015 at 4:56 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Thu, Jan 29, 2015 at 3:51 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: IO functions prototypes may have different argument qualifiers on different architectures. This patch cast

[PATCH v6] media: au0828 - convert to use videobuf2

2015-01-29 Thread Shuah Khan
Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no failures. Video compliance test results summary: Total: 75, Succeeded: 75, Failed: 0, Warnings: 18 Vbi compliance test results summary: Total:

Re: [PATCH 01/24] Documentation: DT: document compatible string existence requirement

2015-01-29 Thread Javier Martinez Canillas
Hello Paul, On 01/29/2015 12:49 AM, Paul Walmsley wrote: DT maintainers require all compatible strings used in chip or board DTS file to be previously documented somewhere in Documentation/devicetree/bindings, per: http://marc.info/?l=linux-tegram=142201349727836w=2 I would had

Re: [PATCH 01/24] Documentation: DT: document compatible string existence requirement

2015-01-29 Thread Paul Walmsley
Hello Javier, On 01/29/2015 09:43 AM, Javier Martinez Canillas wrote: Hello Paul, On 01/29/2015 12:49 AM, Paul Walmsley wrote: DT maintainers require all compatible strings used in chip or board DTS file to be previously documented somewhere in Documentation/devicetree/bindings, per:

[PATCH v4] mm: incorporate read-only pages into transparent huge pages

2015-01-29 Thread Ebru Akagunduz
This patch aims to improve THP collapse rates, by allowing THP collapse in the presence of read-only ptes, like those left in place by do_swap_page after a read fault. Currently THP can collapse 4kB pages into a THP when there are up to khugepaged_max_ptes_none pte_none ptes in a 2MB range. This

Re: i915 framebuffer init too slow to find logo

2015-01-29 Thread S. Gilles
On 2015-01-29T10:09:39+0200, Tomi Valkeinen wrote: On 29/01/15 04:32, S. Gilles wrote: Since commit 92b004d1aa9f367c372511ca0330f58216b25703 : prevent use of logs after they have been freed, my i915 machine has no logo on boot (reverting that commit brings it back on recent trees). My

[PATCH v3 3/6] mmc: pwrseq: Document optional clock for the simple power sequence

2015-01-29 Thread Javier Martinez Canillas
Some WLAN chips attached to a SDIO interface, need an external clock to be operational. Since this is very common, extend the simple MMC power sequence DT binding to support an optional clock. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v2: None.

[PATCH v3 5/6] ARM: dts: exynos5250-snow: Enable wifi power-on

2015-01-29 Thread Javier Martinez Canillas
The Snow board has a MMC/SDIO wifi chip that is always powered but it needs a power sequence involving a reset (active low) and an enable (active high) pins. Both pins are marked as active low since the MMC simple power sequence driver asserts the pins prior to the card power up procedure and

[PATCH v3 1/6] mmc: pwrseq: Document that simple sequence support more than one GPIO

2015-01-29 Thread Javier Martinez Canillas
Many SDIO/MMC attached WLAN chips need more than one ping for their reset sequence. Extend the pwrseq_simple binding to support more than one pin. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v2: None. Changes since v1: - Make the explanation

Re: [PATCH] mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2

2015-01-29 Thread Ulf Hansson
On 29 January 2015 at 15:17, Jean Delvare jdelv...@suse.de wrote: Hi Ulf, On Wed, 28 Jan 2015 15:04:24 +0100, Ulf Hansson wrote: On 27 January 2015 at 15:34, Jean Delvare jdelv...@suse.de wrote: Hi Ulf, Le Tuesday 27 January 2015 à 15:06 +0100, Ulf Hansson a écrit : On 26 January 2015

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-29 Thread Murali Karicheri
On 01/28/2015 06:32 PM, Laurent Pinchart wrote: Hi Will, On Wednesday 28 January 2015 13:32:19 Will Deacon wrote: On Wed, Jan 28, 2015 at 01:15:10PM +, Laurent Pinchart wrote: On Wednesday 28 January 2015 12:29:42 Will Deacon wrote: On Wed, Jan 28, 2015 at 12:23:03PM +, Laurent

Re: linux-next - crashes in rhashtable_shrink

2015-01-29 Thread Thomas Graf
On 01/29/15 at 09:57am, Valdis Kletnieks wrote: For the past few kernels, I've seen occasional crashes in rhashtable_shrink. Looks like the last thing to touch that code was the patch series: Subject [PATCH 0/9 net-next v2] rhashtable: Per bucket locks deferred table resizing Date

Re: [PATCH v4 2/2] thermal: exynos: Add TMU support for Exynos7 SoC

2015-01-29 Thread Abhilash Kesavan
Hi Lukasz, On Thu, Jan 29, 2015 at 1:56 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Abhilash, Add registers, bit fields and compatible strings for Exynos7 TMU (Thermal Management Unit). Following are a few of the differences in the Exynos7 TMU from earlier SoCs: - 8 trigger

[PATCH v3 6/6] ARM: dts: exynos5250-snow: Add cap-sdio-irq to wifi mmc node

2015-01-29 Thread Javier Martinez Canillas
Enabling SDIO IRQ signalling for the wifi MMC/SDIO slot doubles the transmission transfer rate. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v2: None. Changes since v1: None, new patch. --- arch/arm/boot/dts/exynos5250-snow.dts | 1 + 1 file

[PATCH v3 0/6] Add multiple GPIO and external clock to MMC pwrseq_simple

2015-01-29 Thread Javier Martinez Canillas
Hello Ulf, Many WLAN chips attached to an SDIO interface needs more than one GPIO for their reset sequence and also an external clock to be operational. Since this is very common, this series extend the simple MMC power sequence to support more than one reset GPIO and also an optional external

[3.18.3] poll() on gpio pins broken

2015-01-29 Thread folkert
Hi, For timekeeping I wrote a program which waits for interrupts on gpio-pins and then tells the local ntp daemon the clock offset. I'm aware of the pps support in recent kernel but that does not work (yet) on all platforms (eg cubieboard 1). This has worked for quite some time but no longer.

Odd heuristic in load average calculation when many processes start in a small window

2015-01-29 Thread SZALAY Attila
I found a strange spike in one of my machine's load average. The machine does nothing (right now). The normal load average is nearly zero, the user and system usage is not more than 5 per cent. But once in a while the load average go to more than one, some times even much higher (5-20). The

[PATCH v10 00/17] Kernel address sanitizer - runtime memory debugger.

2015-01-29 Thread Andrey Ryabinin
KASan is a runtime memory debugger designed to find use-after-free and out-of-bounds bugs. Currently KASAN supported only for x86_64 architecture and requires kernel to be build with SLUB allocator. KASAN uses compile-time instrumentation for checking every memory access, therefore you will need

[PATCH v10 01/17] Add kernel address sanitizer infrastructure.

2015-01-29 Thread Andrey Ryabinin
Kernel Address sanitizer (KASan) is a dynamic memory error detector. It provides fast and comprehensive solution for finding use-after-free and out-of-bounds bugs. KASAN uses compile-time instrumentation for checking every memory access, therefore GCC = v4.9.2 required. This patch only adds

[PATCH v10 14/17] mm: vmalloc: pass additional vm_flags to __vmalloc_node_range()

2015-01-29 Thread Andrey Ryabinin
For instrumenting global variables KASan will shadow memory backing memory for modules. So on module loading we will need to allocate shadow memory and map it at exact virtual address. __vmalloc_node_range() seems like the best fit for that purpose, except it puts a guard hole after allocated

[PATCH v10 12/17] kasan: enable stack instrumentation

2015-01-29 Thread Andrey Ryabinin
Stack instrumentation allows to detect out of bounds memory accesses for variables allocated on stack. Compiler adds redzones around every variable on stack and poisons redzones in function's prologue. Such approach significantly increases stack usage, so all in-kernel stacks size were doubled.

[PATCH v10 07/17] mm: slub: add kernel address sanitizer support for slub allocator

2015-01-29 Thread Andrey Ryabinin
With this patch kasan will be able to catch bugs in memory allocated by slub. Initially all objects in newly allocated slab page, marked as redzone. Later, when allocation of slub object happens, requested by caller number of bytes marked as accessible, and the rest of the object (including slub's

RE: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-29 Thread Ong, Boon Leong
Hi Bryan, These two patches requires another patch x86: Re-enable IO-APIC for non-SMP X86_32 to be included to make sure we have the right build for Quark. I tested v6 on Galileo Gen v2 just now. I am happy with it. Many thanks. Below are the logs: root@quark:/proc# dmesg | grep imr [

[PATCH v10 09/17] kmemleak: disable kasan instrumentation for kmemleak

2015-01-29 Thread Andrey Ryabinin
kmalloc internally round up allocation size, and kmemleak uses rounded up size as object's size. This makes kasan to complain while kmemleak scans memory or calculates of object's checksum. The simplest solution here is to disable kasan. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com

[PATCH v10 08/17] fs: dcache: manually unpoison dname after allocation to shut up kasan's reports

2015-01-29 Thread Andrey Ryabinin
We need to manually unpoison rounded up allocation size for dname to avoid kasan's reports in dentry_string_cmp(). When CONFIG_DCACHE_WORD_ACCESS=y dentry_string_cmp may access few bytes beyound requested in kmalloc() size. dentry_string_cmp() relates on that fact that dentry allocated using

[PATCH v10 17/17] kasan: enable instrumentation of global variables

2015-01-29 Thread Andrey Ryabinin
This feature let us to detect accesses out of bounds of global variables. The idea of this is simple. Compiler increases each global variable by redzone size and add constructors invoking __asan_register_globals() function. Information about global variable (address, size, size with redzone ...)

[PATCH] ARM: keystone: defconfig: add DEVTMPFS option by default.

2015-01-29 Thread Murali Karicheri
When using network driver on keystone and nfs rootfs is used following error displayed and device halts. Missing devtmpfs, which is required for udev to run Halting... Add the DEVTMPFS option by default to fix this Signed-off-by: Murali Karicheri m-kariche...@ti.com ---

Re: [PATCH] staging: comedi: drivers: addi-data: hwdrv_apci3501: Removed variables that is never used

2015-01-29 Thread Ian Abbott
On 28/01/15 21:51, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

[PATCH v10 16/17] module: fix types of device tables aliases

2015-01-29 Thread Andrey Ryabinin
MODULE_DEVICE_TABLE() macro used to create aliases to device tables. Normally alias should have the same type as aliased symbol. Device tables are arrays, so they have 'struct type##_device_id[x]' types. Alias created by MODULE_DEVICE_TABLE() will have non-array type - 'struct

[PATCH v10 10/17] lib: add kasan test module

2015-01-29 Thread Andrey Ryabinin
This is a test module doing various nasty things like out of bounds accesses, use after free. It is useful for testing kernel debugging features like kernel address sanitizer. It mostly concentrates on testing of slab allocator, but we might want to add more different stuff here in future (like

[PATCH v10 11/17] x86_64: kasan: add interceptors for memset/memmove/memcpy functions

2015-01-29 Thread Andrey Ryabinin
Recently instrumentation of builtin functions calls was removed from GCC 5.0. To check the memory accessed by such functions, userspace asan always uses interceptors for them. So now we should do this as well. This patch declares memset/memmove/memcpy as weak symbols. In mm/kasan/kasan.c we have

[PATCH v10 02/17] x86_64: add KASan support

2015-01-29 Thread Andrey Ryabinin
This patch adds arch specific code for kernel address sanitizer. 16TB of virtual addressed used for shadow memory. It's located in range [ec00 - fc00] between vmemmap and %esp fixup stacks. At early stage we map whole shadow region with zero page. Latter, after pages

[PATCH v10 13/17] mm: vmalloc: add flag preventing guard hole allocation

2015-01-29 Thread Andrey Ryabinin
For instrumenting global variables KASan will shadow memory backing memory for modules. So on module loading we will need to allocate shadow memory and map it at exact virtual address. __vmalloc_node_range() seems like the best fit for that purpose, except it puts a guard hole after allocated

[PATCH v10 06/17] mm: slub: introduce metadata_access_enable()/metadata_access_disable()

2015-01-29 Thread Andrey Ryabinin
Wrap access to object's metadata in external functions with metadata_access_enable()/metadata_access_disable() function calls. This hooks separates payload accesses from metadata accesses which might be useful for different checkers (e.g. KASan). Signed-off-by: Andrey Ryabinin

Re: [PATCH v9 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-29 Thread Peter Zijlstra
On Thu, Jan 29, 2015 at 05:03:21PM +0200, Alexander Shishkin wrote: We're already holding ctx-mutex, this should have made lockdep scream. As I mentioned offline, cpuctx-ctx.mutex is set to a lockdep class of its own, so lockdep doesn't see this. It is, of course, still a problem. Right; I

Re: [PATCH] firmware: efi: remove unneeded guid unparse

2015-01-29 Thread Ivan Khoronzhuk
Oh, sorry. Just didn't note that it's picked up from linaro list. On 01/29/2015 04:47 PM, Matt Fleming wrote: On Thu, 2015-01-29 at 16:35 +0200, Ivan Khoronzhuk wrote: There is no reason to translate guid number to string here. So remove it in order to not do unneeded work. Signed-off-by:

linux-next - crashes in rhashtable_shrink

2015-01-29 Thread Valdis Kletnieks
For the past few kernels, I've seen occasional crashes in rhashtable_shrink. Looks like the last thing to touch that code was the patch series: Subject [PATCH 0/9 net-next v2] rhashtable: Per bucket locks deferred table resizing DateFri, 2 Jan 2015 23:00:13 +0100 Most common appears to be

Re: [PATCH v9 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-29 Thread Alexander Shishkin
On 29 January 2015 at 13:59, Peter Zijlstra pet...@infradead.org wrote: I think that logic fails for per-task events that have a cpu set. True. +static bool exclusive_event_ok(struct perf_event *event, +struct perf_event_context *ctx) +{ + struct pmu *pmu =

[PATCH v3 2/6] mmc: pwrseq_simple: Extend to support more pins

2015-01-29 Thread Javier Martinez Canillas
Many WLAN attached to a SDIO/MMC interface, needs more than one pin for their reset sequence. For example, is very common for chips to have two pins: one for reset and one for power enable. This patch adds support for more reset pins to the pwrseq_simple driver and instead hardcoding a fixed

[PATCH v3 4/6] mmc: pwrseq_simple: Add optional reference clock support

2015-01-29 Thread Javier Martinez Canillas
Some WLAN chips attached to a SDIO interface, need a reference clock. Since this is very common, extend the prseq_simple driver to support an optional clock that is enabled prior the card power up procedure. Note: the external clock is optional. Thus an error is not returned if the clock is not

Re: [PATCH v4 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-29 Thread Alexandre Belloni
Hi, On 29/01/2015 at 11:28:00 +, Russell King - ARM Linux wrote : On Wed, Jan 28, 2015 at 09:43:16AM +0800, Wenyou Yang wrote: -#ifdef CONFIG_AT91_SLOW_CLOCK - /* copy slow_clock handler to SRAM, and call it */ - memcpy(slow_clock,

linux-next - process hangs in do_exit().

2015-01-29 Thread Valdis Kletnieks
Saw my laptop grind to a halt this morning where processes would hang while trying to exit. Looks like Al was last person to touch kernel/acct.c back around Jan 9: commit 9e251d02041432487d89cb340e72490c4bbc198a Author: Al Viro v...@zeniv.linux.org.uk Date: Fri Jan 9 20:40:02 2015 -0500

Re: [PATCH v1 2/2] zram: remove init_lock in zram_make_request

2015-01-29 Thread Sergey Senozhatsky
On (01/29/15 21:48), Ganesh Mahendran wrote: Admin could reset zram during I/O operation going on so we have used zram-init_lock as read-side lock in I/O path to prevent sudden zram meta freeing. When I/O operation is running, that means the /dev/zram0 is mounted or swaped on. Then the

[PATCH v10 05/17] mm: slub: share object_err function

2015-01-29 Thread Andrey Ryabinin
Remove static and add function declarations to linux/slub_def.h so it could be used by kernel address sanitizer. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com --- include/linux/slub_def.h | 3 +++ mm/slub.c| 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff

[PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-29 Thread Andrey Ryabinin
KASan uses constructors for initializing redzones for global variables. Actually KASan doesn't need priorities for constructors, so they were removed from GCC 5.0, but GCC 4.9.2 still generates constructors with priorities. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com ---

Re: [PATCH] staging: comedi: drivers: addi_apci_3501: Removed variables that is never used

2015-01-29 Thread Ian Abbott
On 28/01/15 22:33, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

[PATCH v10 03/17] mm: page_alloc: add kasan hooks on alloc and free paths

2015-01-29 Thread Andrey Ryabinin
Add kernel address sanitizer hooks to mark allocated page's addresses as accessible in corresponding shadow region. Mark freed pages as inaccessible. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com --- include/linux/kasan.h | 6 ++ mm/compaction.c | 2 ++ mm/kasan/kasan.c

[PATCH v10 04/17] mm: slub: introduce virt_to_obj function.

2015-01-29 Thread Andrey Ryabinin
virt_to_obj takes kmem_cache address, address of slab page, address x pointing somewhere inside slab object, and returns address of the begging of object. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com Acked-by: Christoph Lameter c...@linux.com --- include/linux/slub_def.h | 5 + 1

RE: [PATCH] x86: Re-enable IO-APIC for non-SMP X86_32

2015-01-29 Thread Ong, Boon Leong
Tested this patch together with following v6 patch for Quark IMR: 1) x86: Add Isolated Memory Regions for Quark X1000 2) x86, quark: Add Intel Quark platform support Built and tested on Galileo Genv2. This patch looks good. I will give you my tested-by below. Thanks! -Original

Re: [Linaro-acpi] [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-29 Thread Catalin Marinas
On Wed, Jan 28, 2015 at 06:18:44PM +, Timur Tabi wrote: On 01/28/2015 12:14 PM, Catalin Marinas wrote: So it looks like there's a whole conversation about this already in this thread that I didn't notice. However, reading through all of it, I still don't understand sure why the

Re: [PATCH 02/24] Documentation: DT bindings: add more chip compatible strings for Tegra PCIe

2015-01-29 Thread Paul Walmsley
Hi Rob On Thu, 29 Jan 2015, Rob Herring wrote: On Thu, Jan 29, 2015 at 9:45 AM, Paul Walmsley p...@pwsan.com wrote: On Thu, 29 Jan 2015, Rob Herring wrote: On Wed, Jan 28, 2015 at 5:49 PM, Paul Walmsley p...@pwsan.com wrote: Add compatible strings for the PCIe IP blocks present on

Re: [PATCH] ARM: keystone: defconfig: add DEVTMPFS option by default.

2015-01-29 Thread Murali Karicheri
On 01/29/2015 11:34 AM, santosh shilimkar wrote: On 1/29/2015 7:12 AM, Murali Karicheri wrote: When using network driver on keystone and nfs rootfs is used following error displayed and device halts. Missing devtmpfs, which is required for udev to run Halting... Must be with Ubuntu... Not

Re: [PATCH] staging: comedi: drivers: usbduxsigma: Removed variables that is never used

2015-01-29 Thread Bernd Porr
Indeed. It can be completely removed. I was intending to speed up DIO reads during async acquisition but I decided against it because it would create unpredictable latencies. Thanks Ian for flagging it! /Bernd Ian Abbott wrote: On 28/01/15 22:39, Rickard Strandqvist wrote: Variable ar

[PATCH 1/4] watchdog: MAX63XX_WATCHDOG does not depend on ARM

2015-01-29 Thread Vivien Didelot
Remove the ARM Kconfig dependency since the Maxim MAX63xx devices are architecture independent. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig

[PATCH 4/4] watchdog: max63xx: add heartbeat to platform data

2015-01-29 Thread Vivien Didelot
Actually, there is no way but the module parameter to set the desired heartbeat. This patch allows a platform code to set it in the device platform data. This is convenient for platforms and built-in drivers. To do so, initialize heartbeat to zero to allow the module parameter to takes precedence

[PATCH 2/4] watchdog: max63xx: cleanup

2015-01-29 Thread Vivien Didelot
This patch cleans up the MAX63xx driver with the following: * better device description; * put module parameter just above their declaration for clarity; * remove global variables in favor of a driver data structure; * fix quoted string split across lines warning from checkpatch.pl; *

[PATCH 3/4] watchdog: max63xx: add GPIO support

2015-01-29 Thread Vivien Didelot
This patch adds support for GPIO wired MAX63xx devices. It adds a platform data structure which can be filled by a platform code with the GPIO line numbers. The driver takes care of requesting and release them. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com ---

[PATCH 0/4] watchdog: MAX63xx cleanup and platform settings

2015-01-29 Thread Vivien Didelot
The purpose of this patchset is to add a platform data structure for the max63xx_wdt driver in order to setup the device in a platform code. This is especially handy if the driver is built-in and/or the device registers aren't memory mapped. First, fix the Kconfig entry to allow building the

Re: [PATCH 5/5] sched/rt: Optimize find_lowest_rq() to select a cache hot cpu

2015-01-29 Thread Steven Rostedt
On Fri, 30 Jan 2015 00:42:47 +0800 Xunlei Pang pang.xun...@linaro.org wrote: I think the responsiveness is the most important feature for RT tasks, so I think: response latency cache SMT in significance. Unfortunately, sometimes cache affects response latency. I was wondering if we

Re: [PATCH] ARM: keystone: defconfig: add DEVTMPFS option by default.

2015-01-29 Thread santosh shilimkar
On 1/29/2015 9:12 AM, Murali Karicheri wrote: On 01/29/2015 11:34 AM, santosh shilimkar wrote: On 1/29/2015 7:12 AM, Murali Karicheri wrote: When using network driver on keystone and nfs rootfs is used following error displayed and device halts. Missing devtmpfs, which is required for udev to

RFC vmwgfx_fb.c: enable double buffering

2015-01-29 Thread Christopher Friedt
Hi Thomas, Dave, Further to my first patch [1] for the vmware framebuffer driver, I have created a patch that enables double buffering [2]. There is also some code that demonstrates proper working functionality as well [3] and a video that demonstrates proof of concept [4]. I'm actually headed to

Re: [PATCH net-next v8 0/4] net: Add Keystone NetCP ethernet driver support

2015-01-29 Thread Murali Karicheri
On 01/28/2015 05:40 PM, Murali Karicheri wrote: + Felipe, Mugunthan for commenting on TI_CPSW, ALE. --- Cut -- The second problem is where I got stuck myself: cpsw_ale.c (also cpts.c) is getting linked into both modules, which is not allowed: It is impossible for the kernel to

Re: [PATCH v4] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-29 Thread Sören Brinkmann
Hi Linus, On Mon, 2015-01-19 at 09:54AM +0100, Linus Walleij wrote: On Mon, Jan 19, 2015 at 5:20 AM, Alexandre Courbot gnu...@gmail.com wrote: On Sat, Jan 17, 2015 at 1:49 AM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: On Fri, 2015-01-16 at 12:11PM +0100, Johan Hovold wrote:

Re: [PATCH 02/24] Documentation: DT bindings: add more chip compatible strings for Tegra PCIe

2015-01-29 Thread Paul Walmsley
On Thu, 29 Jan 2015, Paul Walmsley wrote: Hi Rob On Thu, 29 Jan 2015, Rob Herring wrote: On Thu, Jan 29, 2015 at 9:45 AM, Paul Walmsley p...@pwsan.com wrote: On Thu, 29 Jan 2015, Rob Herring wrote: On Wed, Jan 28, 2015 at 5:49 PM, Paul Walmsley p...@pwsan.com wrote: Add

[PATCH] irda: use msecs_to_jiffies for conversions

2015-01-29 Thread Nicholas Mc Guire
) is the cleaner solution and handles all corner cases correctly. This is a minor API cleanup only. This patch was only compile tested with x86_64_defconfig + CONFIG_IRDA=m Patch is against 3.19.0-rc6 -next-20150129 net/irda/irlap.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions

Re: [PATCH v2 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-29 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150129 03:34]: On 28/01/15 19:09, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150128 04:15]: On 28/01/15 04:19, Chanwoo Choi wrote: I still fail to understand that we need to call disable_irq() in .suspend() and enable_irq() in .resume() can

Re: [PATCH v2] mm: vmscan: fix the page state calculation in too_many_isolated

2015-01-29 Thread Christoph Lameter
On Fri, 16 Jan 2015, Michal Hocko wrote: __round_jiffies_relative can easily make timeout 2HZ from 1HZ. Now we have vmstat_shepherd which waits to be queued and then wait to run. When it runs finally it only queues per-cpu vmstat_work which can also end up being 2HZ for some CPUs. So we can

[PATCH 06/42] perf tools: Use a software dummy event to track task/mmap events

2015-01-29 Thread Namhyung Kim
Add APIs for software dummy event to track task/comm/mmap events separately. The perf record will use them to save such events in a separate mmap buffer to make it easy to index. This is a preparation of multi-thread support which will come later. Cc: Adrian Hunter adrian.hun...@intel.com

[PATCH 10/42] perf tools: Create separate mmap for dummy tracking event

2015-01-29 Thread Namhyung Kim
When indexed data file support is enabled, a dummy tracking event will be used to track metadata (like task, comm and mmap events) for a session and actual samples will be recorded in separate (intermediate) files and then merged (with index table). Provide separate mmap to the dummy tracking

Re: linux-next: build failure after merge of the drm tree

2015-01-29 Thread Oded Gabbay
On 01/29/2015 04:38 AM, Stephen Rothwell wrote: After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/amd/amdkfd/kfd_device.c: In function 'kgd2kfd_device_init': drivers/gpu/drm/amd/amdkfd/kfd_device.c:193:11: error:

[PATCH 05/42] perf tools: Set attr.task bit for a tracking event

2015-01-29 Thread Namhyung Kim
The perf_event_attr.task bit is to track task (fork and exit) events but it missed to be set by perf_evsel__config(). While it was not a problem in practice since setting other bits (comm/mmap) ended up being in same result, it'd be good to set it explicitly anyway. The attr-task is to track

[PATCH 11/42] perf tools: Introduce perf_evlist__mmap_track()

2015-01-29 Thread Namhyung Kim
The perf_evlist__mmap_track function creates data mmaps and optionally tracking mmaps for events. It'll be used for perf record to save events in a separate files and build an index table. Checking dummy tracking event in perf_evlist__mmap() alone is not enough as users can specify a dummy event

[PATCH 2/2] extcon: max77693: Fix cable name of USB-HOST

2015-01-29 Thread Jaewon Kim
This patch unifies the term called 'USB_OTG' and 'USB_HOST' into USB_HOST. OTG(On-The-Go) function supports USB host and this driver sents 'USB-Host event. So, unifies term to USB_HOST. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- drivers/extcon/extcon-max77693.c | 20

[PATCH 0/2] extcon: max77693: Fix cable name of MHL-TA and USB-HOST

2015-01-29 Thread Jaewon Kim
This patch series fixes extcon cable name of MHL-TA and unify the term 'USB-HOST' and 'USB-OTG' to 'USB-HOST'. Jaewon Kim (2): extcon: max77693: Fix cable name of MHL-TA extcon: max77693: Fix cable name of USB-HOST drivers/extcon/extcon-max77693.c | 32 1

[PATCH 1/2] extcon: max77693: Fix cable name of MHL-TA

2015-01-29 Thread Jaewon Kim
This patch fixes extcon cable name of MHL-TA instead of MHL_TA to unify cable name style. Signed-off-by: Jaewon Kim jaewon02@samsung.com --- drivers/extcon/extcon-max77693.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c

Re: [PATCH 2/2] mmc: dw_mmc: wait until card ready if tuning fails

2015-01-29 Thread Ulf Hansson
On 26 January 2015 at 12:19, Addy Ke addy...@rock-chips.com wrote: This patch based on Alex's patch: https://patchwork.kernel.org/patch/5516411/ This above patch was rejected, since it doesn't use mmc_send_tuning(). Please base you work on my latest next branch. If you need other patches which

[PATCH 3.12 116/176] can: kvaser_usb: Don't free packets when tight on URBs

2015-01-29 Thread Jiri Slaby
From: Ahmed S. Darwish ahmed.darw...@valeo.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit b442723fcec445fb0ae1104888dd22cd285e0a91 upstream. Flooding the Kvaser CAN to USB dongle with multiple reads and writes in high frequency caused

[PATCH 3.12 093/176] video/logo: prevent use of logos after they have been freed

2015-01-29 Thread Jiri Slaby
From: Tomi Valkeinen tomi.valkei...@ti.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 92b004d1aa9f367c372511ca0330f58216b25703 upstream. If the probe of an fb driver has been deferred due to missing dependencies, and the probe is later

[PATCH 3.12 083/176] genirq: Prevent proc race against freeing of irq descriptors

2015-01-29 Thread Jiri Slaby
From: Thomas Gleixner t...@linutronix.de 3.12-stable review patch. If anyone has any objections, please let me know. === commit c291ee622165cb2c8d4e7af63fffd499354a23be upstream. Since the rework of the sparse interrupt code to actually free the unused interrupt descriptors there

[PATCH 3.12 047/176] Revert ARM: 7830/1: delay: don't bother reporting bogomips in /proc/cpuinfo

2015-01-29 Thread Jiri Slaby
From: Pavel Machek pa...@ucw.cz 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4bf9636c39ac70da091d5a2e28d3448eaa7f115c upstream. Commit 9fc2105aeaaf (ARM: 7830/1: delay: don't bother reporting bogomips in /proc/cpuinfo) breaks audio in

[PATCH 3.12 032/176] USB: cdc-acm: check for valid interfaces

2015-01-29 Thread Jiri Slaby
From: Greg Kroah-Hartman gre...@linuxfoundation.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit 403dff4e2c94f275e24fd85f40b2732ffec268a1 upstream. We need to check that we have both a valid data and control inteface for both types of

[PATCH 3.12 042/176] ceph: do_sync is never initialized

2015-01-29 Thread Jiri Slaby
From: Dan Carpenter dan.carpen...@oracle.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 021b77bee210843bed1ea91b5cad58235ff9c8e5 upstream. Probably this code was syncing a lot more often then intended because the do_sync variable wasn't

  1   2   3   4   5   6   7   8   9   10   >