Re: gdb/scripts: Module symbol search paths

2016-03-14 Thread Jan Kiszka
On 2016-03-14 11:48, Kieran Bingham wrote: > On 14/03/16 10:36, Jan Kiszka wrote: >> Hi Kieran, >> >> On 2016-03-14 11:20, Kieran Bingham wrote: >>> Hi Jan, >>> >>> Whilst testing the modules update patch you sent, I discovered (due to >>> having rebased to v4.5) that the module search path will en

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-14 Thread Sakari Ailus
Hi Mauro, On Mon, Mar 14, 2016 at 07:13:58AM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 14 Mar 2016 09:22:37 +0200 > Sakari Ailus escreveu: > > > Hi Shuah, > > > > On Sat, Mar 12, 2016 at 06:48:09PM -0700, Shuah Khan wrote: > > > Add GFP flags to media_create_pad_link(), media_create_intf_li

[GIT pull] timer updates for 4.6

2016-03-14 Thread Thomas Gleixner
Linus, please pull the latest timers-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-for-linus The timer department delivers this time: - Support for cross clock domain timestamps in the core code plus a first user. That allows more pr

Re: [kbuild-all] kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds

2016-03-14 Thread Fengguang Wu
Hi Thomas, On Mon, Mar 14, 2016 at 08:53:55AM +0100, Thomas Gleixner wrote: > Fenguang, > > On Mon, 14 Mar 2016, kbuild test robot wrote: > > > Hi Thomas, > > > > FYI, the error/warning still remains. > > > make.cross ARCH=m68k > > >arch/m68k/include/asm/irq.h:25:17: error: expec

Re: [PATCH v3 01/13] pinctrl: sunxi: Add A83T R_PIO controller support

2016-03-14 Thread Maxime Ripard
Hi, On Sat, Mar 12, 2016 at 12:48:02PM +0800, Vishnu Patekar wrote: > Hello Linus, > > > On Wed, Mar 9, 2016 at 10:55 AM, Linus Walleij > wrote: > > On Sat, Mar 5, 2016 at 10:42 PM, Vishnu Patekar > > wrote: > > > >> The A83T has R_PIO pin controller, it's same as A23, execpt A83T > >> interr

Re: [PATCH] drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init()

2016-03-14 Thread Rob Clark
On Mon, Mar 14, 2016 at 3:59 AM, Kieran Bingham wrote: > On 14/03/16 01:07, Rob Clark wrote: >> On Sun, Mar 13, 2016 at 5:12 PM, Kieran Bingham >> wrote: >>> On 04/02/16 05:09, Archit Taneja wrote: On 02/03/2016 07:55 PM, Luis Henriques wrote: > This fixes the following build f

Re: [linux-sunxi] Re: [PATCH v8 2/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2016-03-14 Thread Maxime Ripard
On Sat, Mar 12, 2016 at 08:52:22AM +0100, Danny Milosavljevic wrote: > Hi, > > does anyone know the answer to the questions below? > > > The other direction (making two controls which both do the same and update > > each other's value) doesn't seem to be easily available. > > > Should I write

Re: gdb/scripts: Module symbol search paths

2016-03-14 Thread Kieran Bingham
On 14/03/16 10:36, Jan Kiszka wrote: > Hi Kieran, > > On 2016-03-14 11:20, Kieran Bingham wrote: >> Hi Jan, >> >> Whilst testing the modules update patch you sent, I discovered (due to >> having rebased to v4.5) that the module search path will end up picking >> an incorrect version of the .ko fil

[PATCH v7 4/7] arch, ftrace: For KASAN put hard/soft IRQ entries into separate sections

2016-03-14 Thread Alexander Potapenko
KASAN needs to know whether the allocation happens in an IRQ handler. This lets us strip everything below the IRQ entry point to reduce the number of unique stack traces needed to be stored. Move the definition of __irq_entry to so that the users don't need to pull in . Also introduce the __softi

[PATCH v7 7/7] mm: kasan: Initial memory quarantine implementation

2016-03-14 Thread Alexander Potapenko
Quarantine isolates freed objects in a separate queue. The objects are returned to the allocator later, which helps to detect use-after-free errors. Freed objects are first added to per-cpu quarantine queues. When a cache is destroyed or memory shrinking is requested, the objects are moved into th

[PATCH v7 2/7] mm, kasan: SLAB support

2016-03-14 Thread Alexander Potapenko
Add KASAN hooks to SLAB allocator. This patch is based on the "mm: kasan: unified support for SLUB and SLAB allocators" patch originally prepared by Dmitry Chernenkov. Signed-off-by: Alexander Potapenko --- v3: - minor description changes - store deallocation info in kasan_slab_free() v4: -

[PATCH v7 3/7] mm, kasan: Added GFP flags to KASAN API

2016-03-14 Thread Alexander Potapenko
Add GFP flags to KASAN hooks for future patches to use. This patch is based on the "mm: kasan: unified support for SLUB and SLAB allocators" patch originally prepared by Dmitry Chernenkov. Signed-off-by: Alexander Potapenko --- v4: - fix kbuild compilation error (missing parameter for kasan_kmal

[PATCH v7 6/7] kasan: Test fix: Warn if the UAF could not be detected in kmalloc_uaf2

2016-03-14 Thread Alexander Potapenko
Signed-off-by: Alexander Potapenko Acked-by: Andrey Ryabinin --- lib/test_kasan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/test_kasan.c b/lib/test_kasan.c index 90ad74f..82169fb 100644 --- a/lib/test_kasan.c +++ b/lib/test_kasan.c @@ -294,6 +294,8 @@ static noinline void __init

[PATCH v7 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-14 Thread Alexander Potapenko
Implement the stack depot and provide CONFIG_STACKDEPOT. Stack depot will allow KASAN store allocation/deallocation stack traces for memory chunks. The stack traces are stored in a hash table and referenced by handles which reside in the kasan_alloc_meta and kasan_free_meta structures in the alloca

[PATCH v7 1/7] kasan: Modify kmalloc_large_oob_right(), add kmalloc_pagealloc_oob_right()

2016-03-14 Thread Alexander Potapenko
Rename kmalloc_large_oob_right() to kmalloc_pagealloc_oob_right(), as the test only checks the page allocator functionality. Also reimplement kmalloc_large_oob_right() so that the test allocates a large enough chunk of memory that still does not trigger the page allocator fallback. Signed-off-by:

[PATCH v7 0/7] SLAB support for KASAN

2016-03-14 Thread Alexander Potapenko
This patch set implements SLAB support for KASAN Unlike SLUB, SLAB doesn't store allocation/deallocation stacks for heap objects, therefore we reimplement this feature in mm/kasan/stackdepot.c. The intention is to ultimately switch SLUB to use this implementation as well, which will save a lot of

[PATCH] media: v4l2-compat-ioctl32: fix missing reserved field copy in put_v4l2_create32

2016-03-14 Thread Tiffany Lin
Change-Id: Idac449fae5059a3ce255340e6da491f8bd83af7a --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-compat-ioctl32.c b/drivers/media/v4l2-core/v4l2-compat-ioctl32.c index f38c076..109f687 1006

Re: gdb/scripts: Module symbol search paths

2016-03-14 Thread Jan Kiszka
Hi Kieran, On 2016-03-14 11:20, Kieran Bingham wrote: > Hi Jan, > > Whilst testing the modules update patch you sent, I discovered (due to > having rebased to v4.5) that the module search path will end up picking > an incorrect version of the .ko file if an earlier version exists.: > > > (gdb)

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-14 Thread Takashi Iwai
On Mon, 14 Mar 2016 11:13:58 +0100, Mauro Carvalho Chehab wrote: > > Em Mon, 14 Mar 2016 09:22:37 +0200 > Sakari Ailus escreveu: > > > Hi Shuah, > > > > On Sat, Mar 12, 2016 at 06:48:09PM -0700, Shuah Khan wrote: > > > Add GFP flags to media_create_pad_link(), media_create_intf_link(), > > > me

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-14 Thread Ric Wheeler
On 03/13/2016 07:30 PM, Dave Chinner wrote: On Fri, Mar 11, 2016 at 04:44:16PM -0800, Linus Torvalds wrote: On Fri, Mar 11, 2016 at 4:35 PM, Theodore Ts'o wrote: At the end of the day it's about whether you trust the userspace program or not. There's a big difference between "give the user ro

Re: [PATCH v6 net-next 09/10] net: add a hardware buffer management helper API

2016-03-14 Thread Jesper Dangaard Brouer
I've not fully understood the hardware support part. But I do think this generalization is very interesting work, and would like to cooperate. If my use-case can fit into this, where my use-case is in the extreme 100Gbit/s area. There is some potential for performance improvements, if the API fr

[PATCH] x86/mm/pat: Fix boot crash when 1GB pages are not supported by cpu

2016-03-14 Thread Matt Fleming
Scott reports that with the new separate EFI page tables he's seeing the following error on boot, caused by setting reserved bits in the page table structures (fault code is PF_RSVD | PF_PROT), swapper/0: Corrupted page table at address 17b102020 PGD 17b0e5063 PUD 140e3 Bad pagetable: 00

[GIT PULL] EFI urgent fix for v4.6 queue

2016-03-14 Thread Matt Fleming
Scott has reported another bug in the EFI mapping code which caused page faults during SetVirtualAddressMap() because we're using 1GB pages at the PUD level even though they may not be supported by the cpu. This patch is against tip/efi/core even though the bug has existed since populate_pud() was

Re: [PATCH] x86/efi: Always map boot service regions into new EFI page tables

2016-03-14 Thread Ingo Molnar
* Matt Fleming wrote: > diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c > index 8fee5b6f8f66..af74849e8c0f 100644 > --- a/arch/x86/mm/pageattr.c > +++ b/arch/x86/mm/pageattr.c > @@ -1055,7 +1055,7 @@ static int populate_pud(struct cpa_data *cpa, unsigned > long start, pgd_t *pgd, >

Re: [PATCH v10 11/12] arm64: factor work_pending state machine to C

2016-03-14 Thread Mark Rutland
Hi, On Fri, Mar 04, 2016 at 03:02:47PM -0500, Chris Metcalf wrote: > On 03/04/2016 11:38 AM, Will Deacon wrote: > >Hi Chris, > > > >On Wed, Mar 02, 2016 at 03:09:35PM -0500, Chris Metcalf wrote: > >>Currently ret_fast_syscall, work_pending, and ret_to_user form an ad-hoc > >>state machine that can

Re: ext4_file_open: Inconsistent encryption contexts (commit ff978b09f973) breaking Docker

2016-03-14 Thread Miklos Szeredi
On Mon, Mar 14, 2016 at 05:47:14PM +1100, Daniel Axtens wrote: > Hi all, > > To make sure I wasn't crazy, I installed a mainline kernel on my x86 laptop. > > It also doesn't work there, but I do get a far more detailed set of > backtraces, which I've added below. It also means it's not powerpc >

[GIT PULL] LED subsystem updates for 4.6

2016-03-14 Thread Jacek Anaszewski
Hi Linus, Please pull LED updates for 4.6 merge cycle. The following changes since commit b562e44f507e863c6792946e4e1b1449fbbac85d: Linux 4.5 (2016-03-13 21:28:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git tags/

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-14 Thread Mika Westerberg
On Mon, Mar 14, 2016 at 07:47:39PM +1000, Dave Airlie wrote: > > > >> - if (pcie_port_runtime_suspend_allowed(dev)) > >> + if (pcie_port_runtime_suspend_allowed(dev)) { > >> + pm_runtime_allow(&dev->dev); > > > > PCI drivers typically have left this decision up to the userspace.

Re: [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board

2016-03-14 Thread Chanwoo Choi
On 2016년 03월 14일 18:44, Krzysztof Kozlowski wrote: > On 14.03.2016 17:48, Chanwoo Choi wrote: >> On 2016년 03월 14일 17:31, Krzysztof Kozlowski wrote: >>> On 14.03.2016 11:04, Chanwoo Choi wrote: From: Jaehoon Chung This patch adds MSHC (Mobile Storage Host Controller) dt node for

[PATCH-vs-togreg v2 1/2] iio: ina2xx-adc: update the CALIB. register when RShunt changes

2016-03-14 Thread Marc Titinger
The user (or an init script) may setup RShunt via sysfs after the driver was initialized, for instance based on the EEPROM contents of a modular probe. The calibration register must be set accordingly. Signed-off-by: Marc Titinger --- v2 of http://www.spinics.net/lists/linux-iio/msg23402.html:

gdb/scripts: Module symbol search paths

2016-03-14 Thread Kieran Bingham
Hi Jan, Whilst testing the modules update patch you sent, I discovered (due to having rebased to v4.5) that the module search path will end up picking an incorrect version of the .ko file if an earlier version exists.: (gdb) lx-symbols /opt/root/ubuntu-vivid.x86_64 loading vmlinux (gdb) c Contin

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-14 Thread Mauro Carvalho Chehab
Em Mon, 14 Mar 2016 09:22:37 +0200 Sakari Ailus escreveu: > Hi Shuah, > > On Sat, Mar 12, 2016 at 06:48:09PM -0700, Shuah Khan wrote: > > Add GFP flags to media_create_pad_link(), media_create_intf_link(), > > media_devnode_create(), and media_add_link() that could get called > > in atomic conte

RE: [v6, 5/5] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-03-14 Thread Yangbo Lu
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Monday, March 14, 2016 6:26 AM > To: linuxppc-...@lists.ozlabs.org > Cc: Yangbo Lu; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; linux- > c...@vger.kernel.org; lin

[PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-14 Thread Wang Nan
Previous patch set at [1] has a problem when using hw_breakpoints on ARM and ARM64. This new version fix that by introducing is_default_overflow_handler() to replace all '!overflow_handler' checking. [1] http://lkml.kernel.org/g/1457322619-170254-1-git-send-email-wangn...@huawei.com Wang Nan (5)

[PATCH 5/5] perf core: Reduce perf event output overhead by new overflow handler

2016-03-14 Thread Wang Nan
By creating onward and backward specific overflow handlers and setting them according to event's backward setting, normal sampling events don't need checking backward setting of an event any more. This is the last patch of backward writing patchset. After this patch, there's no extra overhead intr

[PATCH 3/5] perf core: Prepare writing into ring buffer from end

2016-03-14 Thread Wang Nan
Convert perf_output_begin to __perf_output_begin and make the later function able to write records from the end of the ring buffer. Following commits will utilize the 'backward' flag. This patch doesn't introduce any extra performance overhead since we use always_inline. Signed-off-by: Wang Nan

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-14 Thread Daniel Vetter
On Mon, Mar 14, 2016 at 07:47:39PM +1000, Dave Airlie wrote: > > > >> - if (pcie_port_runtime_suspend_allowed(dev)) > >> + if (pcie_port_runtime_suspend_allowed(dev)) { > >> + pm_runtime_allow(&dev->dev); > > > > PCI drivers typically have left this decision up to the userspace.

[PATCH 2/5] perf core: Set event's default overflow_handler

2016-03-14 Thread Wang Nan
Set a default event->overflow_handler in perf_event_alloc() so don't need checking event->overflow_handler in __perf_event_overflow(). Following commits can give a different default overflow_handler. No extra performance introduced into hot path because in the original code we still need reading t

[PATCH 4/5] perf core: Add backward attribute to perf event

2016-03-14 Thread Wang Nan
In perf_event_attr a new bit 'write_backward' is appended to indicate this event should write ring buffer from its end to beginning. In perf_output_begin(), prepare ring buffer according this bit. This patch introduces small overhead into perf_output_begin(): an extra memory read and a conditiona

[PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-14 Thread Wang Nan
Add new ioctl() to pause/resume ring-buffer output. In some situations we want to read from ring buffer only when we ensure nothing can write to the ring buffer during reading. Without this patch we have to turn off all events attached to this ring buffer to achieve this. This patch is for suppor

Re: [PATCH 06/10] ARM: dts: Add MSHC0 dt node for eMMC device for exynos3250-artik5 module

2016-03-14 Thread Krzysztof Kozlowski
On 14.03.2016 17:15, Chanwoo Choi wrote: > On 2016년 03월 14일 15:57, Krzysztof Kozlowski wrote: >> On 14.03.2016 11:04, Chanwoo Choi wrote: >>> From: Jaehoon Chung >>> >>> This patch adds MSHC (Mobile Storage Host Controller) dt node for Exynos3250 >>> SoC. MSHC is an interface between the system an

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-14 Thread Peter Ujfalusi
On 2016-03-12 14:42, Pali Rohár wrote: > Hi Sebastian! Commenting calling lp55xx_reset_device function did not > helped. Still getting that error. > > Tony, Peter, Jarkko: can you reproduce this problem? I'm really stucked > here... do not know where is problem or how to fix it. What we know tha

Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-03-14 Thread Peter Zijlstra
On Mon, Mar 14, 2016 at 12:26:00PM +0700, Suravee Suthikulpanit wrote: > Hi, > > On 03/12/2016 08:22 PM, Peter Zijlstra wrote: > >On Tue, Feb 23, 2016 at 08:12:36AM -0600, Suravee Suthikulpanit wrote: > >>From: Suravee Suthikulpanit > >> > >>First, this patch move arch/x86/events/amd/iommu.h to >

Re: [PATCH v6 net-next 08/10] net: mvneta: bm: add support for hardware buffer management

2016-03-14 Thread Jesper Dangaard Brouer
On Mon, 14 Mar 2016 09:39:03 +0100 Gregory CLEMENT wrote: > diff --git a/drivers/net/ethernet/marvell/mvneta.c > b/drivers/net/ethernet/marvell/mvneta.c > index b0ae69f84493..2847c0c291de 100644 > --- a/drivers/net/ethernet/marvell/mvneta.c > +++ b/drivers/net/ethernet/marvell/mvneta.c [...] >

Re: [PATCH] scripts/gdb: Account for changes in module data structure

2016-03-14 Thread Kieran Bingham
On 13/03/16 19:27, Jan Kiszka wrote: > From: Jan Kiszka > > Commit 7523e4dc50 factored out the module_layout structure. Adjust the > symbol loader and the lsmod command to this. > > Signed-off-by: Jan Kiszka Testing this has shown me that the module ko search path can find old modules versions

[PATCH] i2c: immediately mark ourselves as registered

2016-03-14 Thread Wolfram Sang
Mark the i2c bus as registered right after the the bus_register call, not at the end of init. Otherwise, we can't register our own dummy driver. Reported-by: Thierry Reding Signed-off-by: Wolfram Sang Fixes: 95026658c46ea2 ("i2c: do not use internal data from driver core") --- drivers/i2c/i2c-c

RE: [RESEND PATCH V4 4/4] coresight-stm: adding driver for CoreSight STM component

2016-03-14 Thread Michael Williams
Reviewed-by: Michael Williams This resend addresses my earlier concerns. > -Original Message- > From: Chunyan Zhang [mailto:zhang.chun...@linaro.org] > Sent: 08 March 2016 06:34 > To: mathieu.poir...@linaro.org; alexander.shish...@linux.intel.com > Cc: Mike Leach; Michael Williams; Al Gr

Re: [PATCH] x86: don't assume all fb devices are PCI devices

2016-03-14 Thread Vitaly Kuznetsov
Bjorn Helgaas writes: > On Fri, Mar 11, 2016 at 03:39:18PM +0100, Vitaly Kuznetsov wrote: >> When booting Hyper-V Generation 2 guests KASAN reports the following >> out-of-bounds access: >> >> BUG: KASAN: slab-out-of-bounds in fb_is_primary_device+0x58/0x70 at addr >> 880079cf0eb0 >> Read

Re: [PATCH 04/10] ARM: dts: Add MSHC2 dt node for Exynos3250 SoC

2016-03-14 Thread Krzysztof Kozlowski
On 14.03.2016 17:28, Chanwoo Choi wrote: > On 2016년 03월 14일 15:22, Krzysztof Kozlowski wrote: >> On 14.03.2016 11:04, Chanwoo Choi wrote: >>> This patch adds the MSHC2 (Mobile Storage Host Controller) Device Tree node >>> for >>> Exynos3250 SoC. >>> >>> Cc: Kukjin Kim >>> Cc: Krzysztof Kozlowski

Re: [PART1 RFC v2 06/10] svm: Add interrupt injection via AVIC

2016-03-14 Thread Suravee Suthikulpanit
Hi, On 03/09/2016 06:10 PM, Paolo Bonzini wrote: + >>>+ if (vcpu->mode == IN_GUEST_MODE) { >>>+ wrmsrl(SVM_AVIC_DOORBELL, >>>+ __default_cpu_present_to_apicid(vcpu->cpu)); >>>+ } else { >>>+ kvm_vcpu_kick(vcpu); >>>+ } >> > >And what about > [...] >

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-14 Thread Dave Airlie
> >> - if (pcie_port_runtime_suspend_allowed(dev)) >> + if (pcie_port_runtime_suspend_allowed(dev)) { >> + pm_runtime_allow(&dev->dev); > > PCI drivers typically have left this decision up to the userspace. I'm > wondering whether it is good idea to deviate from that here? Of co

Re: [PATCH v2] thermal: consistently use int for trip temp

2016-03-14 Thread Wei Ni
On 2016年03月09日 05:09, Eduardo Valentin wrote: > On Tue, Mar 08, 2016 at 11:24:39AM +0800, Wei Ni wrote: >> >> >> On 2016年03月07日 16:23, Wei Ni wrote: >>> There had a build error in previous patch. >>> Fixed it in this version. >>> Please review it. >> >> Add CC: linux...@vger.kernel.org >> Hi Rui

Re: [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board

2016-03-14 Thread Krzysztof Kozlowski
On 14.03.2016 17:48, Chanwoo Choi wrote: > On 2016년 03월 14일 17:31, Krzysztof Kozlowski wrote: >> On 14.03.2016 11:04, Chanwoo Choi wrote: >>> From: Jaehoon Chung >>> >>> This patch adds MSHC (Mobile Storage Host Controller) dt node for >>> Exynos3250 SoC. MSHC is an interface between the system an

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-14 Thread Mika Westerberg
On Mon, Mar 14, 2016 at 12:19:14PM +1000, Dave Airlie wrote: > On 11 March 2016 at 23:45, Rafael J. Wysocki wrote: > > On Friday, March 11, 2016 12:58:15 PM Mika Westerberg wrote: > >> On Thu, Mar 10, 2016 at 09:57:09PM +0100, Rafael J. Wysocki wrote: > >> > > It doesn't seem to do any runtime PM,

[PATCH v2] ARM: dts: Add initial pin configuration for exynos3250-rinato

2016-03-14 Thread Chanwoo Choi
This patch adds initial pin configuration using pinctrl subsystem to reduce leakage power-consumption of gpio pins in normal state. All pins included in this patch are NC (not connected) pin. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --

Re: [PART1 RFC v2 06/10] svm: Add interrupt injection via AVIC

2016-03-14 Thread Suravee Suthikulpanit
Hi On 03/09/2016 11:00 PM, Radim Krčmář wrote: 2016-03-09 12:10+0100, Paolo Bonzini: On 08/03/2016 22:54, Radim Krčmář wrote: 2016-03-07 16:36+0100, Paolo Bonzini: On 04/03/2016 21:46, Suravee Suthikulpanit wrote: +static void svm_deliver_avic_intr(struct kvm_vcpu *vcpu, int vec) +{ +

RE: [PATCH v10 1/9] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2016-03-14 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: "David A. Long" > >Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. > >Signed-off-by: David A. Long Looks good for me. Reviewed-by: Masami Hiramatsu Thanks, >--- > arch/arm64/Kconfig | 1 + > arch/arm64/include/asm/ptrace.h | 31 +++ > arch/arm64/kernel/ptra

Re: [PATCH] i2c: i2c-core: do not use bus internal data

2016-03-14 Thread Thierry Reding
On Mon, Mar 14, 2016 at 10:28:10AM +0100, Wolfram Sang wrote: > > > This doesn't work. I see a number of these WARN_ON()s trigger and I > > think the reason is that i2c_init() always fails now. The cause seems to > > be that i2c_init() calls i2c_add_driver(&dummy_driver), which will now > > always

Re: [PATCH v3] tty: serial: 8250: add MOXA Smartio MUE boards support

2016-03-14 Thread Matwey V. Kornilov
24.02.2016 22:10, Mathieu OTHACEHE пишет: Add support for : - CP-102E: 2 ports RS232 PCIE card - CP-102EL: 2 ports RS232 PCIE card - CP-132EL: 2 ports RS422/485 PCIE card - CP-114EL: 4 ports RS232/422/485 PCIE card - CP-104EL-A: 4 ports RS232 PCIE card - CP-168EL-A: 8 ports RS232 PCIE card - CP-

RE: [PATCH v10 0/9] arm64: Add kernel probes (kprobes) support

2016-03-14 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi David, Thank you for updating the series. I'll review it this week. Just one comment on __kprobes. Nowadays kprobes already using NOKPROBE_SYMBOL() instead of that, since __kprobes moves all functions into another section and will mess up symbol table. In asm code, maybe you can reuse _ASM_NOK

Re: [PATCH] i2c: i2c-core: do not use bus internal data

2016-03-14 Thread Wolfram Sang
> This doesn't work. I see a number of these WARN_ON()s trigger and I > think the reason is that i2c_init() always fails now. The cause seems to > be that i2c_init() calls i2c_add_driver(&dummy_driver), which will now > always fail, because is_register is set to true *after* that call. There > is

Re: [PATCH] i2c: i2c-core: do not use bus internal data

2016-03-14 Thread Thierry Reding
On Mon, Mar 14, 2016 at 10:18:19AM +0100, Thierry Reding wrote: > On Mon, Mar 07, 2016 at 05:19:17PM +0530, Sudip Mukherjee wrote: > > The variable p is a data structure which is used by the driver core > > internally and it is not expected that busses will be directly accessing > > these driver co

[PATCH v2 2/2] Documentation: dt: dwc3: Add snps,dis_rxdet_inp3_quirk property

2016-03-14 Thread Rajesh Bhagat
Add snps,dis_rxdet_inp3_quirk property which disables receiver detection in PHY P3 power state. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/

Re: [v3,1/8] powerpc: Create a helper for getting the kernel toc value

2016-03-14 Thread Michael Ellerman
On Thu, 2016-03-03 at 04:26:53 UTC, Michael Ellerman wrote: > Move the logic to work out the kernel toc pointer into a header. This is > a good cleanup, and also means we can use it elsewhere in future. > > Reviewed-by: Kamalesh Babulal > Reviewed-by: Torsten Duwe > Signed-off-by: Michael Ellerm

[PATCH v4 1/2] devicetree: Add UCS1002 USB Port Power Controller binding

2016-03-14 Thread Enric Balletbo i Serra
The UCS1002-2 provides a USB port power switch for precise control of up to 2.5 amperes continuous current. You can add support to your board with current binding. Example: ucs1002: ucs1002@57 { compatible = "microchip,ucs1002"; reg = <0x57>; }; Signed-off-by:

[PATCH v4 2/2] power: ucs1002: Add support for Programmable USB Port Power Controller

2016-03-14 Thread Enric Balletbo i Serra
The UCS1002-2 provides a USB port power switch for precise control of up to 2.5 amperes continuous current with over-current limit (OCL), dynamic thermal management, latch or auto-recovery (low test current) fault handling, selectable active low or high enable, under- and over-voltage lockout, back

[PATCH v4 0/2] Add UCS1002 USB Port Power Controller

2016-03-14 Thread Enric Balletbo i Serra
Dear all, This is the fourth version of the UCS1002 driver, a Programmable USB Port Power Controller with Charger Emulation. Any comments are welcome. Thanks in advance. Enric Balletbo i Serra (2): devicetree: Add UCS1002 USB Port Power Controller binding power: ucs1002: Add support for Prog

Re: [PATCH-vs-togreg 1/2] iio: ina2xx-adc: update the CALIB. register when RShunt changes

2016-03-14 Thread Marc Titinger
On 12/03/2016 10:19, Jonathan Cameron wrote: On 11/03/16 14:52, Marc Titinger wrote: The user (or an init script) may setup RShunt via sysfs after the driver was initialized, for instance based on the EEPROM contents of a modular probe. The calibration register must be set accordingly. Signed

Re: [PATCH v3 03/14] i2c-octeon: Cleanup resource allocation code

2016-03-14 Thread Jan Glauber
On Sat, Mar 12, 2016 at 04:37:15PM +0100, Wolfram Sang wrote: > On Mon, Mar 07, 2016 at 04:10:46PM +0100, Jan Glauber wrote: > > From: David Daney > > > > Use resource start and size directly. > > > > Signed-off-by: David Daney > > Signed-off-by: Jan Glauber > > What about converting to devm_

Re: [PATCH] i2c: i2c-core: do not use bus internal data

2016-03-14 Thread Thierry Reding
On Mon, Mar 07, 2016 at 05:19:17PM +0530, Sudip Mukherjee wrote: > The variable p is a data structure which is used by the driver core > internally and it is not expected that busses will be directly accessing > these driver core internal only data. > > Signed-off-by: Sudip Mukherjee > --- > > R

Re: [PATCH v4 1/7] ARM: OMAP2+: gpmc-nand: Set omap2-nand's parent dev to GPMC dev

2016-03-14 Thread Roger Quadros
Franklin, Tony, On 11/03/16 17:39, Franklin S Cooper Jr. wrote: > > > On 03/11/2016 07:52 AM, Roger Quadros wrote: >> Franklin, >> >> On 11/03/16 01:56, Franklin S Cooper Jr wrote: >>> The dma channel information is located within the GPMC node which is the >>> NAND's parent node. The NAND drive

Re: userns, netns, and quick physical memory consumption by unprivileged user

2016-03-14 Thread Michal Hocko
On Fri 11-03-16 18:06:59, Yuriy M. Kaminskiy wrote: [...] > And also tried with memcg: > t=/sys/fs/cgroup/memory/test1;mkdir $t;echo 0 >$t/tasks; > echo 48M >$t/memory.limit_in_bytes; su testuser [...] > and it has not helped at all (rather opposite, it ended up with killed > init and kernel pa

Re: FW: [PATCH v5 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-03-14 Thread Hans Verkuil
On 03/14/2016 10:04 AM, tiffany lin wrote: > On Mon, 2016-03-14 at 08:21 +0100, Hans Verkuil wrote: >> On 03/14/2016 08:12 AM, tiffany lin wrote: >>> Hi Hans, >>> >>> After change to use "v4l-utils.git master branch", "V4l2-compliance >>> -d /dev/video1" fail on "fail: v4l2-test-buffers.cpp(555): >

[PATCH v2 1/2] usb: dwc3: add disable receiver detection in P3 quirk

2016-03-14 Thread Rajesh Bhagat
Some freescale QorIQ platforms require to disable receiver detection in P3 for correct detection of USB devices. If GUSB3PIPECTL(DISRXDETINP3) is set, Core will change PHY power state to P2 and then perform receiver detection. After receiver detection, Core will change PHY power state to P3. Same q

[PATCH v2 0/2] usb: dwc3: add disable receiver detection in P3 quirk

2016-03-14 Thread Rajesh Bhagat
Adds disable receiver detection in P3 quirk in DWC3 driver. Rajesh Bhagat (2): usb: dwc3: add disable receiver detection in P3 quirk Documentation: dt: dwc3: Add snps,dis_rxdet_inp3_quirk property Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++ drivers/usb/dwc3/core.c

Re: [PATCH] HID: multitouch: Release all touch slots on reset_resume

2016-03-14 Thread Jiri Kosina
On Fri, 11 Mar 2016, Dmitry Torokhov wrote: > From: Benson Leung > > When resetting a device (especially after power loss) it is unlikely > that the firmware will keep the contact tracking data for the previous > touches and will be able to reconcile it with the new contacts, so > let's release

Re: FW: [PATCH v5 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-03-14 Thread tiffany lin
On Mon, 2016-03-14 at 08:21 +0100, Hans Verkuil wrote: > On 03/14/2016 08:12 AM, tiffany lin wrote: > > Hi Hans, > > > > After change to use "v4l-utils.git master branch", "V4l2-compliance > > -d /dev/video1" fail on "fail: v4l2-test-buffers.cpp(555): > > check_0(crbufs.reserved, sizeof(crbufs.res

[PATCH v2] ARM: dts: artpec: update clock bindings in artpec6.dtsi

2016-03-14 Thread Lars Persson
The clock binding for the main clock controller was changed to an indexed controller style binding on request of the clk maintainers. This updates the dtsi to use the new bindings. Signed-off-by: Lars Persson --- v2: Use numerical clock indexes to enable merge before the clock driver bindings are

Re: [PATCH 1/2] i2c: tegra: enable multi master mode

2016-03-14 Thread Wolfram Sang
On Mon, Mar 14, 2016 at 02:14:33PM +0530, Shardar Shariff Md wrote: > Enable multi-master mode in I2C_CNFG reg based on hw features. > Using single/multi-master mode bit introduced for Tegra210, > whereas multi-master mode is enabled by default in HW for T124 and > earlier Tegra SOC. Enabling this

Последно предупреждение

2016-03-14 Thread WEBMASTER
Ваш пароль закінчується протягом наступних 24 годин, щоб уникнути цього натисніть на лінк HTTP: // пошта service-bg.dudaone.com/~~HEAD=pobj представити свої дані, щоб оновити свій обліковий запис електронної пошти на 2016 рік: для перевірки вашої електронної пошти та отримав нові повідомлення ,

Последно предупреждение

2016-03-14 Thread WEBMASTER
Ваш пароль закінчується протягом наступних 24 годин, щоб уникнути цього натисніть на лінк HTTP: // пошта service-bg.dudaone.com/~~HEAD=pobj представити свої дані, щоб оновити свій обліковий запис електронної пошти на 2016 рік: для перевірки вашої електронної пошти та отримав нові повідомлення ,

Re: [PART1 RFC v2 06/10] svm: Add interrupt injection via AVIC

2016-03-14 Thread Suravee Suthikulpanit
Hi, Please ignore this. I should have read the whole thread before reply :( Sorry for spam. Suravee On 03/14/2016 12:25 PM, Suravee Suthikulpanit wrote: On 03/07/2016 10:36 PM, Paolo Bonzini wrote: On 04/03/2016 21:46, Suravee Suthikulpanit wrote: +static void svm_deliver_avic_intr(struc

КЛИЕНТСКИЕ БАЗЫ! Тел\Viber\Whatsapp: +79139393506 Email: mnoskova...@gmail.com Skype: prodawez389

2016-03-14 Thread linux-kernel@vger.kernel.org
КЛИЕНТСКИЕ БАЗЫ! Соберем для Вас по интернет базу данных потенциальных клиентов для Вашего Бизнеса! Много! Быстро! Недорого! Узнайте об этом подробнее по Тел: +79139393506 Viber: +79139393506 Whatsapp: +79139393506 Skype: prodawez389 Email: mnoskova...@gmail.com

Re: [PATCH v3 02/14] i2c-octeon: Cleanup i2c-octeon driver

2016-03-14 Thread Jan Glauber
On Sat, Mar 12, 2016 at 04:35:00PM +0100, Wolfram Sang wrote: > On Mon, Mar 07, 2016 at 04:10:45PM +0100, Jan Glauber wrote: > > Cleanup only without functional change. > > I like most of the changes, but there are still some functional changes > left. > > > -static int octeon_i2c_stop(struct oct

Re: [PATCH 2/2] s390/cpum_sf: Fix cpu hotplug notifier transitions

2016-03-14 Thread Heiko Carstens
On Fri, Mar 11, 2016 at 11:52:38AM +0100, Anna-Maria Gleixner wrote: > The cpumf_pmu_notfier() hotplug callback lacks handling of the > CPU_DOWN_FAILED case. That means, if CPU_DOWN_PREPARE failes, the PMC > of the CPU is not setup again. Furthermore the CPU_ONLINE_FROZEN case > will never be proce

Re: [RT] Warning from swake_up_all_locked in rt-4.4.4-rt11

2016-03-14 Thread Thomas Gleixner
On Sun, 13 Mar 2016, Clark Williams wrote: > I'm hitting the WARN_ON(wakes > 2) in $SUBJECT when resuming from suspend on > my laptop (quad-core i7 with HT on). Looks like the warning gets hit 36 times > on resume. E.g.: > > Call Trace: > [] dump_stack+0x65/0x85 > [] warn_slowpath_common+0x82

Re: [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board

2016-03-14 Thread Chanwoo Choi
On 2016년 03월 14일 17:31, Krzysztof Kozlowski wrote: > On 14.03.2016 11:04, Chanwoo Choi wrote: >> From: Jaehoon Chung >> >> This patch adds MSHC (Mobile Storage Host Controller) dt node for >> Exynos3250 SoC. MSHC is an interface between the system and the SD card >> >> Signed-off-by: Jaehoon Chung

Re: [PATCH v1 01/19] mm: use put_page to free page instead of putback_lru_page

2016-03-14 Thread Vlastimil Babka
On 03/11/2016 08:30 AM, Minchan Kim wrote: Procedure of page migration is as follows: First of all, it should isolate a page from LRU and try to migrate the page. If it is successful, it releases the page for freeing. Otherwise, it should put the page back to LRU list. For LRU pages, we have us

Re: [PATCH net-next 3/3] net: dsa: refine netdev event notifier

2016-03-14 Thread Ido Schimmel
Sun, Mar 13, 2016 at 10:21:34PM IST, vivien.dide...@savoirfairelinux.com wrote: >Rework the netdev event handler, similar to what the Mellanox Spectrum >driver does, to easily welcome more events later (for example >NETDEV_PRECHANGEUPPER) and use netdev helpers (such as >netif_is_bridge_master). >

[PATCH 1/2] i2c: tegra: enable multi master mode

2016-03-14 Thread Shardar Shariff Md
Enable multi-master mode in I2C_CNFG reg based on hw features. Using single/multi-master mode bit introduced for Tegra210, whereas multi-master mode is enabled by default in HW for T124 and earlier Tegra SOC. Enabling this bit doesn't explicitly start treating the bus has having multiple masters, b

[PATCH 2/2] i2c: tegra: add multimaster mode property to binding

2016-03-14 Thread Shardar Shariff Md
- Document the usage "nvidia,multimaster-mode" property for enabling multimaster mode. - Add compatible string for Tegra 210 SOC. Signed-off-by: Shardar Shariff Md --- Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentati

Re: [PATCH v6 net-next 01/10] misc: sram: add optional ioremap without write combining

2016-03-14 Thread Gregory CLEMENT
Hi Arnd, I forgot to add you in CC for this patch. What is your opinion about it? Gregory On lun., mars 14 2016, Gregory CLEMENT wrote: > From: Marcin Wojtas > > Some SRAM users may require non-bufferable access to the memory, which is > impossible, because devm_ioremap_wc() is used for se

Re: [PATCH 10/10] ARM: dts: Add PPMU node for exynos3250-artik5 module

2016-03-14 Thread Chanwoo Choi
On 2016년 03월 14일 17:34, Krzysztof Kozlowski wrote: > On 14.03.2016 11:04, Chanwoo Choi wrote: >> This patch adds PPMU (Platform Performance Monitoring Unit) Device Tree node >> for Exynos3250 based ARTIK5 module. The PPMU node is used to get the >> utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. >

[PATCH V2] x86/irq: Cure live lock in fixup_irqs()

2016-03-14 Thread Thomas Gleixner
Harry reported, that he's able to trigger a system freeze with cpu hot unplug. The freeze turned out to be a live lock caused by recent changes in irq_force_complete_move(). When fixup_irqs() and from there irq_force_complete_move() is called on the dying cpu, then all other cpus are in stop machi

[PATCH v6 net-next 07/10] bus: mvebu-mbus: provide api for obtaining IO and DRAM window information

2016-03-14 Thread Gregory CLEMENT
From: Marcin Wojtas This commit enables finding appropriate mbus window and obtaining its target id and attribute for given physical address in two separate routines, both for IO and DRAM windows. This functionality is needed for Armada XP/38x Network Controller's Buffer Manager and PnC configura

[PATCH v6 net-next 09/10] net: add a hardware buffer management helper API

2016-03-14 Thread Gregory CLEMENT
This basic implementation allows to share code between driver using hardware buffer management. As the code is hardware agnostic, there is few helpers, most of the optimization brought by the an HW BM has to be done at driver level. Tested-by: Sebastian Careba Signed-off-by: Gregory CLEMENT ---

[PATCH v6 net-next 03/10] ARM: dts: armada-38x: enable buffer manager support on Armada 38x boards

2016-03-14 Thread Gregory CLEMENT
From: Marcin Wojtas Since mvneta driver supports using hardware buffer management (BM), in order to use it, board files have to be adjusted accordingly. This commit enables BM on: * A385-DB-AP - each port has its own pool for long and common pool for short packets, * A388-ClearFog - same as above

[PATCH v6 net-next 04/10] ARM: dts: armada-xp: add buffer manager nodes

2016-03-14 Thread Gregory CLEMENT
From: Marcin Wojtas Armada XP network controller supports hardware buffer management (BM). Since it is now enabled in mvneta driver, appropriate nodes can be added to armada-xp.dtsi - for the actual common BM unit (bm@c) and its internal SRAM (bm-bppi), which is used for indirect access to bu

[PATCH v6 net-next 10/10] net: mvneta: Use the new hwbm framework

2016-03-14 Thread Gregory CLEMENT
Now that the hardware buffer management framework had been introduced, let's use it. Tested-by: Sebastian Careba Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/Kconfig | 1 + drivers/net/ethernet/marvell/mvneta.c| 18 +++-- drivers/net/ethernet/marvell/mvneta_bm.c |

[PATCH v6 net-next 06/10] ARM: dts: armada-xp-openblocks-ax3-4: Add BM support

2016-03-14 Thread Gregory CLEMENT
Allow Openblock AX3 using hardware buffer management with mvneta. Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/a

<    3   4   5   6   7   8   9   >