Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-03 Thread Paolo Bonzini
On 02/09/2015 21:23, David Matlack wrote: > > I actually wasn't thinking about vcpu->halt_poll_ns though. If > single_task_running() breaks us out of the loop we will "goto out" instead > of scheduling. My suspicion is this will cause us to loop calling > kvm_vcpu_block and starve the waiting ta

Re: [PATCH v2 2/2] ARM: dts: am57xx-beagle-x15: use palmas-usb for USB2

2015-09-03 Thread Roger Quadros
Chanwoo, On 06/08/15 02:36, Chanwoo Choi wrote: > On 08/05/2015 07:37 PM, Tony Lindgren wrote: >> * Roger Quadros [150727 06:13]: >>> The VBUS line of USB2 is connected to VBUS detect logic on >>> the PMIC. Use the palmas-usb driver to report VBUS events >>> to the USB driver. >>> >>> As the palm

Re: [PATCH 1/2] KVM: x86: set TMR when the interrupt is accepted

2015-09-03 Thread Paolo Bonzini
On 03/09/2015 07:18, Nakajima, Jun wrote: > On Wed, Sep 2, 2015 at 3:38 PM, Steve Rutherford > wrote: >> On Thu, Aug 13, 2015 at 09:31:48AM +0200, Paolo Bonzini wrote: >> Pinging this thread. >> >> Should I put together a patch to make split irqchip work properly with the >> old TMR behavior?

Re: [PATCH v2 0/6] regulator: Fix pbias regulator enable

2015-09-03 Thread Ulf Hansson
+Olof On 3 September 2015 at 08:50, Kishon Vijay Abraham I wrote: > vsel_reg and enable_reg of the pbias regulator descriptor should actually > have the offset from syscon. > > However after > "ARM: dts: : add minimal l4 bus layout with control module > support" > vsel_reg and enable_reg started

Re: [PATCH] mtd: nand: omap2: Rename shippable module to omap2_nand

2015-09-03 Thread Roger Quadros
On 03/09/15 00:06, Brian Norris wrote: > On Fri, Aug 21, 2015 at 01:45:35PM +0300, Roger Quadros wrote: >> As both omap2 onenand and omap2 nand driver modules are >> named the same i.e. "omap2.ko", only one of them gets shipped >> during MODPOST if both are configured as loadable modules. >> >> To

[PATCH] x86/headers: Fix (old) header file dependency bug in uapi/asm/sigcontext32.h

2015-09-03 Thread Ingo Molnar
* Mikko Rapeli wrote: > Hi Ingo, Thomas and Peter, > > Do you have any pointers for me how arch/x86/include/uapi/asm/sigcontext32.h > could be fixed to also compile in userspace? Is definition of _fpx_sw_bytes > or _fpstate_ia32 even needed there? > > Instructions to reproduce the userspace bu

perf fails to mmap data file (JFFS2)

2015-09-03 Thread Kenth Eriksson
perf on 4.1 fails to mmap the perf data file (in __perf_session__process_events) with error code 22 (invalid argument). I believe the JFFS2 file system does not support PROT_READ and MAP_SHARED. How can this be fixed? Can we change from MAP_SHARED to MAP_PRIVATE, or is there a reason to make i

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-03 Thread Richard W.M. Jones
On Wed, Sep 02, 2015 at 08:05:12PM +0100, Richard W.M. Jones wrote: > On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > > On Tue, 1 Sep 2015, Richard W.M. Jones wrote: > > > On Sun, Aug 30, 2015 at 10:37:57PM -0400, Chuck Ebbert wrote: > > > > This is from https://bugzilla.redhat.c

[PATCH 4/4] kasan: Prevent deadlock in kasan reporting

2015-09-03 Thread Aneesh Kumar K.V
We we end up calling kasan_report in real mode, our shadow mapping for even spinlock variable will show poisoned. This will result in us calling kasan_report_error with lock_report spin lock held. To prevent this disable kasan reporting when we are priting error w.r.t kasan. Signed-off-by: Aneesh

[PATCH 2/4] kasan: MODULE_VADDR is not available on all archs

2015-09-03 Thread Aneesh Kumar K.V
Use is_module_text_address instead Signed-off-by: Aneesh Kumar K.V --- mm/kasan/report.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mm/kasan/report.c b/mm/kasan/report.c index 6c3f82b0240b..01d2efec8ea4 100644 --- a/mm/kasan/report.c +++ b/mm/kasan/report.c @@ -

[PATCH 3/4] kasan: Don't use kasan shadow pointer in generic functions

2015-09-03 Thread Aneesh Kumar K.V
We can't use generic functions like print_hex_dump to access kasan shadow region. This require us to setup another kasan shadow region for the address passed (kasan shadow address). Most architecture won't be able to do that. Hence make a copy of the shadow region row and pass that to generic funct

[PATCH 1/4] kasan: Rename kasan_enabled to kasan_report_enabled

2015-09-03 Thread Aneesh Kumar K.V
The function only disable/enable reporting. In the later patch we will be adding a kasan early enable/disable. Rename kasan_enabled to properly reflect its function. Reviewed-by: Andrey Ryabinin Signed-off-by: Aneesh Kumar K.V --- mm/kasan/kasan.h | 2 +- mm/kasan/report.c | 2 +- 2 files chan

Re: [PATCH] clk_register_clkdev: handle callers needing format string

2015-09-03 Thread Tomeu Vizoso
On 5 August 2015 at 15:09, Tomeu Vizoso wrote: > On 31 July 2015 at 21:03, Kees Cook wrote: >> On Fri, Jul 31, 2015 at 2:13 AM, Tomeu Vizoso wrote: >>> On 25 July 2015 at 01:20, Kees Cook wrote: Many callers either use NULL or const strings for the third argument of clk_register_clkde

Re: Warning in irq_work_queue_on()

2015-09-03 Thread Peter Zijlstra
On Thu, Sep 03, 2015 at 02:03:51AM +0200, Frederic Weisbecker wrote: > On Thu, Sep 03, 2015 at 12:24:27AM +0200, Peter Zijlstra wrote: > > On Wed, Sep 02, 2015 at 11:50:22PM +0200, Frederic Weisbecker wrote: > > > > > [ 875.703227] [] tick_nohz_full_kick_cpu+0x44/0x50 > > > > > > It happens in n

Re: [PATCH] ARM: fix bug which VMALLOC_START is lowwer than 0xf0000000

2015-09-03 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 11:24:47AM +0900, Yongtaek Lee wrote: > default value of vmalloc_min was set 0xf000 for ARM by commit > 0536bdf3. But actually vmalloc_min is 0xef80 not 0xf000. > > VMALLOC_END - (240 << 20) - VMALLOC_OFFSET) > 0xff00 - 0x0f00 - 0x0080 = 0xef80 >

Re: [PATCH v4 05/16] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & colorimetry

2015-09-03 Thread Krzysztof Kozlowski
On 01.09.2015 14:55, Yakir Yang wrote: > Both hsync/vsync polarity and interlace mode can be parsed from > drm display mode, and dynamic_range and ycbcr_coeff can be judge > by the video code, same to color space and color depth can be > parsed from EDID. > > But presumably Exynos still relaies on

[PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/linux_wlan.c | 3 +-- 2 files chan

Re: ip_rcv_finish() NULL pointer and possibly related Oopses

2015-09-03 Thread Shaun Crampton
>Looking at this one, I am still puzzeled where 0xa008772b and >0xa008772b comes from ... some driver, bridge ...? Is there anything I can do on a running system to help figure this out? Some sort of kernel equivalent to pmap to find out what module or device owns that chunk of me

Re: linux-next: manual merge of the slave-dma tree with the pm, mfd and rtc trees

2015-09-03 Thread Vinod Koul
On Tue, Sep 01, 2015 at 09:17:25AM +0200, Geert Uytterhoeven wrote: > On Thu, Aug 27, 2015 at 5:24 AM, Vinod Koul wrote: > > On Thu, Aug 27, 2015 at 11:26:45AM +1000, Stephen Rothwell wrote: > >> Hi Vinod, > >> > >> Today's linux-next merge of the slave-dma tree got conflicts in: > >> > >> drive

Re: [PATCH v2 1/4] of/pci: Add of_pci_check_probe_only to parse "linux,pci-probe-only"

2015-09-03 Thread Marc Zyngier
On 02/09/15 23:23, Bjorn Helgaas wrote: > On Fri, Aug 14, 2015 at 04:08:10PM -0500, Rob Herring wrote: >> On Fri, Aug 14, 2015 at 11:19 AM, Marc Zyngier wrote: >>> Both pci-host-generic and Pseries parse the "linux,pci-probe-only" >>> to engage the PCI_PROBE_ONLY mode, and both have a subtle bug t

Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron

2015-09-03 Thread Russell King - ARM Linux
On Wed, Sep 02, 2015 at 07:13:24PM -0500, Rob Herring wrote: > On Wed, Sep 2, 2015 at 4:25 PM, Douglas Anderson > wrote: > > The ddc-i2c-bus property was missing from the veyron dtsi file since > > downstream the ddc-i2c-bus was still being specified in rk3288.dtsi and > > nobody noticed when the

Re: [PATCH 2/4] kasan: MODULE_VADDR is not available on all archs

2015-09-03 Thread Andrey Ryabinin
On 09/03/2015 10:54 AM, Aneesh Kumar K.V wrote: > Use is_module_text_address instead > It should be is_module_address(). We use kernel_or_module_addr() to determine whether this address belongs to some global variable or not. And variables are in .data section, .text is only code. Something l

[PATCH v3] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-09-03 Thread Taku Izumi
In multi-segment system, uncore devices may belong to buses whose segment number is other than 0. :ff:10.5 System peripheral: Intel Corporation Xeon E5 v3/Core i7 Scratchpad & Semaphore Registers (rev 03) ... 0001:7f:10.5 System peripheral: Intel Corporation Xeon E5 v3/Core i7 S

Re: Re: [PATCH] ARM: fix bug which VMALLOC_START is lowwer than 0xf0000000

2015-09-03 Thread Yongtaek Lee
> On Thu, Sep 03, 2015 at 11:24:47AM +0900, Yongtaek Lee wrote: > > default value of vmalloc_min was set 0xf000 for ARM by commit > > 0536bdf3. But actually vmalloc_min is 0xef80 not 0xf000. > > > > VMALLOC_END - (240 << 20) - VMALLOC_OFFSET) > > 0xff00 - 0x0f00 - 0x0080 =

RE: [PATCH] tipc: fix stall during bclink wakeup procedure

2015-09-03 Thread Kolmakov Dmitriy
From: David Miller [mailto:da...@davemloft.net] > > From: Kolmakov Dmitriy > Date: Wed, 2 Sep 2015 15:33:00 + > > > If an attempt to wake up users of broadcast link is made when there > is > > no enough place in send queue than it may hang up inside the > > tipc_sk_rcv() function since the l

Re: Re: [PATCH] ARM: fix bug which VMALLOC_START is lowwer than 0xf0000000

2015-09-03 Thread Lucas Stach
Am Donnerstag, den 03.09.2015, 17:28 +0900 schrieb Yongtaek Lee: > > On Thu, Sep 03, 2015 at 11:24:47AM +0900, Yongtaek Lee wrote: > > > default value of vmalloc_min was set 0xf000 for ARM by commit > > > 0536bdf3. But actually vmalloc_min is 0xef80 not 0xf000. > > > > > > VMALLOC_END

Re: [PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-03 Thread Thierry Reding
On Wed, Sep 02, 2015 at 06:02:25PM +0800, Yakir Yang wrote: > 在 2015/9/2 16:34, Thierry Reding 写道: [...] > >At the very least your code must compile when applied against a recent > >upstream tree. I would also expect you to make sure the code works at > >runtime, though, contrary to build testing,

Re: Re: Re: [PATCH] ARM: fix bug which VMALLOC_START is lowwer than 0xf0000000

2015-09-03 Thread Yongtaek Lee
> So, if we go and apply your logic to a 1GB system we should resize the > vmalloc area to 0 bytes in order to avoid RAM truncation without > CONFIG_HIGHMEM? As you already know, CONFIG_HIGHMEM option is necessary if RAM is more than 1GB. So no need to resize vmalloc area to 0. > Sorry, but the

Re: [PATCH 3/4] kasan: Don't use kasan shadow pointer in generic functions

2015-09-03 Thread Andrey Ryabinin
On 09/03/2015 10:54 AM, Aneesh Kumar K.V wrote: > We can't use generic functions like print_hex_dump to access kasan > shadow region. This require us to setup another kasan shadow region > for the address passed (kasan shadow address). Most architecture won't > be able to do that. s/Most architect

Re: [PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-03 Thread Thierry Reding
On Wed, Sep 02, 2015 at 03:17:57PM -0500, Rob Herring wrote: [...] > Are there any eDP panels which don't have EDID and need panel details in DT? Most panels need information other than EDID. They typically have some requirements regarding the power up sequence that aren't to be found anywhere in

[PATCH] staging: lustre: fix whitespace errors reported by checkpatch.pl

2015-09-03 Thread Mike Rapoport
Added/removed spaces and replaced '+1' with '1' in several places to eliminate SPACING and POINTER_LOCATION errors reported by checkpatch.pl Signed-off-by: Mike Rapoport --- Rebased against current staging-testing. Greg, sorry for the previous one, forgot to format it as required... .../stagin

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-03 Thread Borislav Petkov
On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > On Tue, 1 Sep 2015, Richard W.M. Jones wrote: > > On Sun, Aug 30, 2015 at 10:37:57PM -0400, Chuck Ebbert wrote: > > > This is from https://bugzilla.redhat.com/show_bug.cgi?id=1258223 > > > > > > [0.036000] BUG: unable to handle

Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-03 Thread Wanpeng Li
On 9/3/15 3:31 PM, Paolo Bonzini wrote: On 02/09/2015 21:23, David Matlack wrote: I actually wasn't thinking about vcpu->halt_poll_ns though. If single_task_running() breaks us out of the loop we will "goto out" instead of scheduling. My suspicion is this will cause us to loop calling kvm_vcpu_

Re: ip_rcv_finish() NULL pointer and possibly related Oopses

2015-09-03 Thread Daniel Borkmann
On 09/03/2015 10:13 AM, Shaun Crampton wrote: ... Is there anything I can do on a running system to help figure this out? Some sort of kernel equivalent to pmap to find out what module or device owns that chunk of memory? Hmm, perhaps /proc/kallsyms could point to something. 0xa0087d81

Re: [PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-03 Thread Thierry Reding
On Thu, Sep 03, 2015 at 12:27:47PM +0800, Yakir Yang wrote: > Hi Rob, > > 在 09/03/2015 04:17 AM, Rob Herring 写道: > >On Tue, Sep 1, 2015 at 1:14 AM, Yakir Yang wrote: > >>Some edp screen do not have hpd signal, so we can't just return > >>failed when hpd plug in detect failed. > >This is a propert

Re: Re: [PATCH] ARM: fix bug which VMALLOC_START is lowwer than 0xf0000000

2015-09-03 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 10:34:32AM +0200, Lucas Stach wrote: > Am Donnerstag, den 03.09.2015, 17:28 +0900 schrieb Yongtaek Lee: > > As i know "vmalloc=size" is not mandatory so that i think default value of > > vmalloc_min is wrong. > > > So, if we go and apply your logic to a 1GB system we shoul

Re: Re: Re: [PATCH] ARM: fix bug which VMALLOC_START is lowwer than 0xf0000000

2015-09-03 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 05:43:29PM +0900, Yongtaek Lee wrote: > > So, if we go and apply your logic to a 1GB system we should resize the > > vmalloc area to 0 bytes in order to avoid RAM truncation without > > CONFIG_HIGHMEM? > > As you already know, CONFIG_HIGHMEM option is necessary if RAM is >

Re: [PATCH v2 1/4] perf tests: take into account address of each objdump line

2015-09-03 Thread Adrian Hunter
On 02/09/15 11:19, Jan Stancek wrote: > objdump output can contain repeated bytes. At the moment test reads > all output sequentially, assuming each address is represented in > output only once: > > 8164efb3 : > 8164efb3: c1 5d 00 ebrcrl $0xeb,0x0(%rbp) > 8

Re: [PATCH v2 2/4] perf tests: make objdump disassemble zero blocks

2015-09-03 Thread Adrian Hunter
On 02/09/15 11:19, Jan Stancek wrote: > Add -z parameter to avoid skipping zero blocks: > > 816704fe : > 816704fe: 7b 34 jnp 81670534 >... > 81670501 : > 81670501: 0f ba e2 03 bt $0x3,%edx > 81670505: 73 11 jae fff

Re: [PATCH v2 4/4] perf tests: print objdump/dso buffers if they don't match

2015-09-03 Thread Adrian Hunter
On 02/09/15 11:19, Jan Stancek wrote: > Signed-off-by: Jan Stancek > Cc: Arnaldo Carvalho de Melo > Cc: Jiri Olsa > Cc: Adrian Hunter > Cc: David Ahern > Cc: Corey Ashford > Cc: Frederic Weisbecker > Cc: Ingo Molnar > Cc: Namhyung Kim > Cc: Paul Mackerras > Cc: Peter Zijlstra Acked-by:

Re: [PATCH v2 3/4] perf tests: stop reading if objdump output crossed sections

2015-09-03 Thread Adrian Hunter
On 02/09/15 11:19, Jan Stancek wrote: > objdump output can span across multiple sections: > > Disassembly of section .text: > 0008 : >8: 48 89 e5mov%rsp,%rbp >b: 53 push %rbx >c: 8b 01

Re: [PATCH 4/4] kasan: Prevent deadlock in kasan reporting

2015-09-03 Thread Andrey Ryabinin
On 09/03/2015 10:54 AM, Aneesh Kumar K.V wrote: > We we end up calling kasan_report in real mode, our shadow mapping s/We we/We > for even spinlock variable will show poisoned. This will result > in us calling kasan_report_error with lock_report spin lock held. > To prevent this disable kasan rep

Re: [RFC 08/14] sched/tune: add detailed documentation

2015-09-03 Thread Patrick Bellasi
On Wed, Sep 02, 2015 at 07:49:58AM +0100, Ricky Liang wrote: > Hi Patrick, Hi Ricky, > I wonder if this can replace the boost function in the interactive > governor [0], which is widely used in both Android and ChromeOS > kernels. In my view, one of the main goals of sched-DVFS is actually that

Re: [PATCH 1/7] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation

2015-09-03 Thread Peter Griffin
Hi Lee, On Wed, 26 Aug 2015, Lee Jones wrote: > On Tue, 25 Aug 2015, Peter Griffin wrote: > > > Hi Vinod, > > > > Thanks for reviewing. > > > > On Wed, 19 Aug 2015, Vinod Koul wrote: > > > > > On Wed, Jul 08, 2015 at 05:11:22PM +0100, Peter Griffin wrote: > > > > This patch adds the DT bindin

Re: [PATCHv6] ARM: exynos_defconfig: Enable LEDS for Odroid-XU3/XU4

2015-09-03 Thread Javier Martinez Canillas
Hello Anand, On 09/03/2015 07:38 AM, Anand Moon wrote: > Enable config option NEW_LEDS, LEDS_CLASS, LEDS_GPIO, LEDS_PWM, > LEDS_TRIGGERS, LEDS_TRIGGER_TIMER, LEDS_TRIGGER_HEARTBEAT for > Odroid-XU3/XU4 board. > > Signed-off-by: Anand Moon > > --- I think Krzysztof already mentioned but a commi

Re: [PATCH 4.2-rc5] workqueue: Make flush_workqueue() available again to non GPL modules

2015-09-03 Thread Hans-Peter Jansen
On Dienstag, 4. August 2015 14:05:20 Tejun Heo wrote: > On Tue, Aug 04, 2015 at 11:26:04AM -0600, tim.gard...@canonical.com wrote: > > From: Tim Gardner > > > > Commit 37b1ef31a568fc02e53587620226e5f3c66454c8 ("workqueue: move > > flush_scheduled_work() to workqueue.h") moved the exported non GPL

Re: [PATCH v2 0/6] regulator: Fix pbias regulator enable

2015-09-03 Thread Kishon Vijay Abraham I
Hi, On Thursday 03 September 2015 01:09 PM, Ulf Hansson wrote: > +Olof > > On 3 September 2015 at 08:50, Kishon Vijay Abraham I wrote: >> vsel_reg and enable_reg of the pbias regulator descriptor should actually >> have the offset from syscon. >> >> However after >> "ARM: dts: : add minimal l4 b

Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-03 Thread Wanpeng Li
On 9/3/15 2:09 AM, David Matlack wrote: [...] + static int kvm_vcpu_check_block(struct kvm_vcpu *vcpu) { if (kvm_arch_vcpu_runnable(vcpu)) { @@ -1929,6 +1963,7 @@ void kvm_vcpu_block(struct kvm_vcpu *vcpu) ktime_t start, cur; DEFINE_WAIT(wait); bool waited

Re: [PATCH 2/3] selftests: add membarrier syscall test

2015-09-03 Thread Michael Ellerman
On Tue, 2015-09-01 at 17:11 +, Mathieu Desnoyers wrote: > - On Aug 31, 2015, at 2:54 AM, Michael Ellerman m...@ellerman.id.au wrote: > > On Fri, 2015-07-10 at 16:58 -0400, Mathieu Desnoyers wrote: > >> diff --git a/tools/testing/selftests/membarrier/membarrier_test.c > >> b/tools/testing/se

[PATCH] powerpc/book3s32: Only select PPC_HAVE_PMU on e600

2015-09-03 Thread Christophe Leroy
On PPC832x, perf record/report reports martian addresses 2.62% perf_reseau4 libpthread-2.18.so [.] __libc_send 2.56% perf_reseau4 [kernel.kallsyms] [k] __ip_make_skb 1.62% perf_reseau4 [kernel.kallsyms] [k] __ip_append_data.isra.39 1.55% perf_reseau4 [kernel.kallsy

[PATCH] 9p: trans_fd, read rework to use p9_parse_header

2015-09-03 Thread Dominique Martinet
Most of the changes here are no-op and just renaming to use a fcall struct, needed for p9_parse_header It fixes the unaligned memory access to read the tag and defers to common functions for part of the protocol knowledge (although header length is still hard-coded...) Reported-By: Rob Landley S

Re: parisc: adjust L1_CACHE_BYTES to 128 bytes on PA8800 and PA8900 CPUs

2015-09-03 Thread Andreas Ziegler
Hi Helge, today's linux-next tree (next-20150903) contains commit 20f924902ff6 ("parisc: adjust L1_CACHE_BYTES to 128 bytes on PA8800 and PA8900 CPUs") which you authored. I noticed it because we[0] are running a daily analysis on all commits in linux-next as part of our researc

Re: [PATCH 2/3] selftests: add membarrier syscall test

2015-09-03 Thread Michael Ellerman
On Tue, 2015-09-01 at 11:32 -0700, Andy Lutomirski wrote: > On Tue, Sep 1, 2015 at 10:11 AM, Mathieu Desnoyers > wrote: > > Just to make sure I understand: should we expect that > > everyone will issue "make headers_install" on their system > > before doing a make kselftest ? > > > > I see that a

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-03 Thread Vladimir Davydov
On Wed, Sep 02, 2015 at 01:16:47PM -0500, Christoph Lameter wrote: > On Wed, 2 Sep 2015, Vladimir Davydov wrote: > > > Slab is a kind of abnormal alloc_pages user. By calling alloc_pages_node > > with __GFP_THISNODE and w/o __GFP_WAIT before falling back to > > alloc_pages with the caller's contex

[PATCH] 9p: trans_fd, initialize recv fcall properly if not set

2015-09-03 Thread Dominique Martinet
That code really should never be called (rc is allocated in tag_alloc), but if it had been it couldn't have worked... Signed-off-by: Dominique Martinet --- net/9p/trans_fd.c | 3 +++ 1 file changed, 3 insertions(+) To be honest, I think it might be better to just bail out if we get in this swit

Re: [PATCH] powerpc/book3s32: Only select PPC_HAVE_PMU on e600

2015-09-03 Thread Michael Ellerman
On Thu, 2015-09-03 at 11:27 +0200, Christophe Leroy wrote: > On PPC832x, perf record/report reports martian addresses > > 2.62% perf_reseau4 libpthread-2.18.so [.] __libc_send > 2.56% perf_reseau4 [kernel.kallsyms] [k] __ip_make_skb > 1.62% perf_reseau4 [kernel.kallsyms]

Re: [PATCHv6] ARM: exynos_defconfig: Enable LEDS for Odroid-XU3/XU4

2015-09-03 Thread Anand Moon
Hi Javier, On 3 September 2015 at 14:50, Javier Martinez Canillas wrote: > Hello Anand, > > On 09/03/2015 07:38 AM, Anand Moon wrote: >> Enable config option NEW_LEDS, LEDS_CLASS, LEDS_GPIO, LEDS_PWM, >> LEDS_TRIGGERS, LEDS_TRIGGER_TIMER, LEDS_TRIGGER_HEARTBEAT for >> Odroid-XU3/XU4 board. >> >>

Re: [PATCH] reset: Fix of_reset_control_get() for consistent return values

2015-09-03 Thread Philipp Zabel
Hi Alban, Am Mittwoch, den 02.09.2015, 18:35 +0200 schrieb Alban: [...] > That's no really the case. If the property doesn't exists, or the > requested index is out of range, of_parse_phandle_with_args() always > return -ENOENT. This is important for optional properties. You are right, I've looke

[PATCH] MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16.

2015-09-03 Thread Yousong Zhou
The nomips16 has to be added both as function attribute and assembler directive. When only function attribute is specified, the compiler will inline the function with -Os optimization. The generated assembly code cannot be correctly assembled because ISA mode switch has to be done through jump in

[PATCH] ARM: multi_v7_defconfig: Enable PBIAS regulator

2015-09-03 Thread Kishon Vijay Abraham I
PBIAS regulator is required for MMC module in OMAP2, OMAP3, OMAP4, OMAP5 and DRA7 SoCs. Enable it here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/configs/multi_v7_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/mul

[PATCH] xfs: fix null pointer dereference when mapping is NULL

2015-09-03 Thread Colin King
From: Colin Ian King xfs_vm_set_page_dirty checks to see if mapping is NULL however before this unlikely check it already dereferenced mapping when initializing inode. Move the inode initialization after the mapping null check to avoid a potential null pointer dereference. Fixes: 22e757a49cf0 ("

[[PATCH v2] 2/2] Altera Modular ADC driver support

2015-09-03 Thread Chee Nouk Phoo
From: Chee Nouk Phoon Altera Modular ADC is soft IP that wraps the hardened ADC block in a Max10 device. It can be configured to dual ADC mode that supports two channel synchronous sampling or independent single ADCs. ADC sampled values will be written into memory slots in sequence determined by

[[PATCH v2] 0/2] Add Altera Modular ADC Driver

2015-09-03 Thread Chee Nouk Phoo
From: Chee Nouk Phoon This is 2nd version of the patch set to add support for Altera Modular ADC and Altera Modular Dual ADC in MAX10 device family. This patch combines two separate patches of driver and device tree binding. v1->v2 changes: - update compatibility string - update macros naming -

Re: [PATCH] perf stat: fix per-pkg event reporting bug

2015-09-03 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 03:17:51PM +0200, Stephane Eranian wrote: SNIP > + /* > + * we do not consider an event that has not run as a good > + * instance to mark a package as used (skip=1). Otherwise > + * we may run into a situation where the first CPU in a package > + *

Re: [PATCH] perf stat: fix per-pkg event reporting bug

2015-09-03 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 01:26:57PM -0700, Andi Kleen wrote: > On Wed, Sep 02, 2015 at 03:17:51PM +0200, Stephane Eranian wrote: > > Per-pkg events need to be captured once per processor > > socket. The code in check_per_pkg() ensures only one > > value per processor package is used. However there i

RE: [PATCH] x86: Wire up 32-bit direct socket calls

2015-09-03 Thread David Laight
From: Peter Anvin > Sent: 02 September 2015 21:16 > On 09/02/2015 02:48 AM, Geert Uytterhoeven wrote: > > > > Should all other architectures follow suit? > > Or should we follow the s390 approach: > > > > It is up to the maintainer(s), largely dependent on how likely you are > going to want to sup

Re: ip_rcv_finish() NULL pointer and possibly related Oopses

2015-09-03 Thread Shaun Crampton
>... >> Is there anything I can do on a running system to help figure this out? >> Some sort of kernel equivalent to pmap to find out what module or device >> owns that chunk of memory? > >Hmm, perhaps /proc/kallsyms could point to something. 0xa0087d81 >and 0xa008772b could be fro

Re: Regression: can't apply frequency offsets above 1000ppm.

2015-09-03 Thread Nuno Gonçalves
Sorry, The default chrony config from the debian package can't bring the clock in sync because it doesn't do steps, and it starts 15 years in the past. You had some other external help. Assuming "all factory config" just make sure to disable timesyncd: sudo systemctl disable systemd-timesyncd A

[[PATCH v2] 1/2] Altera Modular ADC driver device binding

2015-09-03 Thread Chee Nouk Phoo
From: Chee Nouk Phoon Altera Modular ADC is soft IP that wraps the hardened ADC block in a Max10 device. It can be configured to dual ADC mode that supports two channel synchronous sampling or independent single ADCs. ADC sampled values will be written into memory slots in sequence determined by

Re: [PATCHv6] ARM: exynos_defconfig: Enable LEDS for Odroid-XU3/XU4

2015-09-03 Thread Javier Martinez Canillas
Hello Anand, On 09/03/2015 11:47 AM, Anand Moon wrote: > Hi Javier, > > On 3 September 2015 at 14:50, Javier Martinez Canillas > wrote: >> Hello Anand, >> >> On 09/03/2015 07:38 AM, Anand Moon wrote: >>> Enable config option NEW_LEDS, LEDS_CLASS, LEDS_GPIO, LEDS_PWM, >>> LEDS_TRIGGERS, LEDS_TRIG

[PATCH] ARM: fix bug which lowmem size is limited to 760MB

2015-09-03 Thread Yongtaek Lee
> Wrong, there is no such "rule". > If we apply that rule, then if you have 1GB of RAM, it will fill from > 0xc000 to 0x inclusive. There will be _zero_ bytes of > vmalloc space. There will be _zero_ bytes of IO mappings. There won't > even be a vectors page, so the kernel _will_ cr

Re: [RFC 3/5] powerpc: atomic: implement atomic{,64}_{add,sub}_return_* variants

2015-09-03 Thread Will Deacon
On Wed, Sep 02, 2015 at 04:36:09PM +0100, Pranith Kumar wrote: > On Wed, Sep 2, 2015 at 11:23 AM, Pranith Kumar wrote: > > On 09/02/2015 05:59 AM, Will Deacon wrote: > >> I just thought it was worth making this point, because it is prohibited > >> in SC and I don't want people to think that our RE

Re: [PATCH V3 1/2] watchdog: Use static struct class watchdog_class in stead of pointer

2015-09-03 Thread Guenter Roeck
On 09/02/2015 08:21 PM, Pratyush Anand wrote: We need few sysfs attributes to know different status of a watchdog device. To do that, we need to associate .dev_groups with watchdog_class. So convert it from pointer to static. Putting this static struct in watchdog_dev.c, so that static device att

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-03 Thread Thomas Gleixner
On Thu, 3 Sep 2015, Borislav Petkov wrote: > On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > > static void __init_or_module add_nops(void *insns, unsigned int len) > > { > > + unsigned long flags; > > + > > + local_irq_save(flags); > > while (len > 0) { > > I guess you

Re: [PATCH] xfs: fix null pointer dereference when mapping is NULL

2015-09-03 Thread Brian Foster
On Thu, Sep 03, 2015 at 10:57:40AM +0100, Colin King wrote: > From: Colin Ian King > > xfs_vm_set_page_dirty checks to see if mapping is NULL however > before this unlikely check it already dereferenced mapping when > initializing inode. Move the inode initialization after the mapping > null chec

[PATCH 00/12] ASoC: Fix module autoload for OF platform drivers

2015-09-03 Thread Luis de Bethencourt
Hello, This series adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Thanks, Luis Luis de Bethencour

[PATCH 01/12] ASoC: atmel_wm8904: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/atmel/atmel_wm8904.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/

[PATCH 03/12] ASoC: wm8510: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/codecs/wm8510.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8

[PATCH 02/12] ASoC: da9055: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/codecs/da9055.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/da9055.c b/sound/soc/codecs/da9

[PATCH 04/12] ASoC: wm8580: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/codecs/wm8580.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8

[PATCH 05/12] ASoC: wm8523: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/codecs/wm8523.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wm8523.c b/sound/soc/codecs/wm8

[PATCH 06/12] ASoC: fsl-asoc-card: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/fsl/fsl-asoc-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fs

[PATCH 07/12] ASoC: fsl_sai: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/fsl/fsl_sai.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c

[PATCH 08/12] ASoC: jz4740: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/jz4740/jz4740-i2s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz

[PATCH 09/12] ASoC: kirkwood: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/kirkwood/armada-370-db.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/kirkwood/armada-370-db.c b/s

[PATCH 10/12] ASoC: pxa: Fix module autoload for OF platform drivers

2015-09-03 Thread Luis de Bethencourt
These platform drivers have a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/pxa/pxa-ssp.c| 1 + sound/soc/pxa/pxa2xx-pcm.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sound/so

[PATCH 11/12] ASoC: mop500: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/ux500/mop500.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500

[PATCH 12/12] ASoC: ux500: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- sound/soc/ux500/ux500_msp_dai.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/so

[PATCH] ALSA: sparc: amd7930: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases

Re: [PATCH V2 0/7] x86/insn: perf tools: Add a few new x86 instructions

2015-09-03 Thread Adrian Hunter
On 02/09/15 22:54, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 03:15:24PM +0300, Adrian Hunter escreveu: >> Changes in V2: >> >> perf tools: Display build warning if x86 instruction decoder differs >> from kernel >> New patch (slightly modified from the proposal and so witho

[PATCH 0/3] watchdog: Fix module autoload for OF platform drivers

2015-09-03 Thread Luis de Bethencourt
Hello, This series adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Thanks, Luis Luis de Bethencour

[PATCH 1/3] watchdog: mach-moxart: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/watchdog/moxart_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watc

[PATCH 3/3] watchdog: gef_wdt: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/watchdog/gef_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/g

[PATCH 2/3] watchdog: mena21_wdt: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/watchdog/mena21_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/mena21_wdt.c b/drivers/watc

[PATCH] uio: uio_fsl_elbc_gpcm: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases

[PATCH] thermal: db8500_cpufreq_cooling: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases

[PATCH 0/2] staging: Fix module autoload for OF platform drivers

2015-09-03 Thread Luis de Bethencourt
Hello, This series adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Thanks, Luis Luis de Bethencour

[PATCH 1/2] staging: mt29f_spinand: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/staging/mt29f_spinand/mt29f_spinand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/mt29f_spinan

[PATCH 2/2] staging: octeon-usb: Fix module autoload for OF platform driver

2015-09-03 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/staging/octeon-usb/octeon-hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/octeon-usb/octeon-

[PATCH v3 2/4] perf tests: make objdump disassemble zero blocks

2015-09-03 Thread Jan Stancek
Add -z parameter to avoid skipping zero blocks: 816704fe : 816704fe: 7b 34 jnp 81670534 ... 81670501 : 81670501: 0f ba e2 03 bt $0x3,%edx 81670505: 73 11 jae 81670518 Signed-off-by: Jan Stancek Cc: Arnald

  1   2   3   4   5   6   7   >