[PATCH] kvm: Fix build error caused by redefinition

2016-03-19 Thread Pranith Kumar
Build on 32-bit PPC fails with the following error: int kvm_vfio_ops_init(void) ^ In file included from arch/powerpc/kvm/../../../virt/kvm/vfio.c:21:0: arch/powerpc/kvm/../../../virt/kvm/vfio.h:8:90: note: previous definition of ‘kvm_vfio_ops_init’ was here arch/powerpc/kvm/../../../vir

[patch] crypto,ccp: Fix RT breaking #include

2016-03-19 Thread Mike Galbraith
Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead. Fixes: 553d2374db0b crypto: ccp - Support for multiple CCPs Signed-off-by: Mike Galbraith --- drivers/crypto/ccp/ccp-dev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/crypto/ccp/ccp-dev.c +++ b

Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB

2016-03-19 Thread Mason
On 18/03/2016 20:12, Uwe Kleine-König wrote: > On Fri, Mar 18, 2016 at 04:56:21PM +0100, Sebastian Frias wrote: > >> What would you think of making at803x_link_change_notify() print a >> message every time it should do a reset but does not has a way to do it? > > Then this question is obsolete b

[PATCH] efi: Introduce EFI bootloader control driver

2016-03-19 Thread Daniel Baluta
From: Matt Gumbel This driver intercepts system reboot requests and populates the LoaderEntryOneShot EFI variable with the user-supplied reboot argument. EFI bootloaders such as Gummiboot will consume this variable and use it to control which OS is booted next. We use this with Android where reb

Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

2016-03-19 Thread Geert Uytterhoeven
Hi Morimoto-san, On Thu, Mar 17, 2016 at 1:30 AM, Kuninori Morimoto wrote: >> > From: Kuninori Morimoto >> > >> > Current sh_pfc can't indicate GPSR/IPSR/MOD_SEL name for debug. >> > Of course we can get it from indicated register address, but it >> > is not convenient. This patch enables to ind

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

2016-03-19 Thread Theodore Ts'o
On Wed, Mar 16, 2016 at 07:33:55PM -0500, Eric Sandeen wrote: > I may have lost the thread at this point, with poor Darrick's original > patch submission devolving into a long thread about a NO_HIDE_STALE patch > used at Google, but I don't *think* Ceph ever asked for NO_HIDE_STALE. > > At least I

[PATCH v6 09/17] xen/hvm/params: Add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao This new delivery type which is for ARM shares the same value with HVM_PARAM_CALLBACK_TYPE_VECTOR which is for x86. val[15:8] is flag: val[7:0] is a PPI. To the flag, bit 8 stands the interrupt mode is edge(1) or level(0) and bit 9 stands the interrupt polarity is active low(1

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Chris Metcalf
On 3/17/2016 6:38 PM, Peter Zijlstra wrote: On Thu, Mar 17, 2016 at 06:31:44PM -0400, Chris Metcalf wrote: On 3/17/2016 3:36 PM, Peter Zijlstra wrote: On Wed, Mar 16, 2016 at 01:02:10PM -0400, Chris Metcalf wrote: Currently you can only request a backtrace of either all cpus, or all cpus but y

Re: [PATCH] openvswitch: call only into reachable nf-nat code

2016-03-19 Thread Pablo Neira Ayuso
On Wed, Mar 16, 2016 at 01:47:13PM +0100, Arnd Bergmann wrote: > The openvswitch code has gained support for calling into the > nf-nat-ipv4/ipv6 modules, however those can be loadable modules > in a configuration in which openvswitch is built-in, leading > to link errors: > > net/built-in.o: In fu

Re: [PATCH v3 3/3] cpuacct: split usage into user_usage and sys_usage

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 05:42:48PM +0800, Zhao Lei wrote: > > Ok, so while looking over this, it mostly uses for_each_present_cpu(), > > which is already dubious, but then cpuacct_stats_show() uses > > for_each_online_cpu(). > > > > Why is this? Why not always for_each_possible_cpu()? > > > > Su

Re: [PATCH trivial] PM / devfreq: Spelling s/frequnecy/frequency/

2016-03-19 Thread Rafael J. Wysocki
On Tuesday, March 15, 2016 05:14:22 PM Chanwoo Choi wrote: > On 2016년 03월 15일 00:29, Geert Uytterhoeven wrote: > > Signed-off-by: Geert Uytterhoeven > > --- > > drivers/devfreq/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/devfreq/Kconfig b/driver

Re: [PATCH] mmc: block: remove the check for whole block device for ioctl.

2016-03-19 Thread fengwei.yin
On 2016/3/16 19:48, Jon Hunter wrote: On 15/03/16 23:44, fengwei.yin wrote: On 2016/3/15 22:31, Christoph Hellwig wrote: On Tue, Mar 15, 2016 at 11:26:07AM -0400, Yin, Fengwei wrote: From: Fengwei Yin a5f5774c55a2e3ed75f4d6c5556b7bfcb726e6f0 introduced the whole block device checking fo

[PATCH 3.19.y-ckt 36/70] ASoC: wm8994: Fix enum ctl accesses in a wrong type

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 8019c0b37cd5a87107808300a496388b777225bf upstream. The DRC Mode like "AIF1DRC1 Mode" and EQ Mode like "AIF1.1 EQ M

[PATCH v3 1/3] cpuacct: rename parameter in cpuusage_write for readability

2016-03-19 Thread Zhao Lei
From: Yang Dongsheng The name of 'reset' makes a little confusion in reading, we would say, if we want to reset usage, return -EINVAL. That's not true. Actually, we want to say, we only allow user to do a reset. This patch rename reset to val and add a comment here, making the code more readable

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-03-19 Thread Linus Torvalds
On Wed, Mar 16, 2016 at 1:52 PM, Stephen Rothwell wrote: > > How about "This is now fixed as far as linux-next is concerned, but any > non trivial conflicts should be mentioned to your upstream maintainer > when your tree is submitted for merging. You may want also want to > consider cooperate wi

Re: [PATCH 1/5] x86/kvm: On KVM re-enable (e.g. after suspend), update clocks

2016-03-19 Thread Andy Lutomirski
On Mar 17, 2016 8:10 AM, "Radim Krcmar" wrote: > > 2016-03-16 16:07-0700, Andy Lutomirski: > > On Wed, Mar 16, 2016 at 3:59 PM, Radim Krcmar wrote: > >> 2016-03-16 15:15-0700, Andy Lutomirski: > >>> FWIW, if you ever intend to support ART ("always running timer") > >>> passthrough, this is going

Re: next-20160314 - crash in i2c_dev_init/bus_register_notifier at boot

2016-03-19 Thread Wolfram Sang
On Thu, Mar 17, 2016 at 10:59:51AM -0400, Valdis Kletnieks wrote: > Seeing this consistent crash on next-20160314. Sorry for shortened traceback, > hand-transcribed as the crash doesn't get logged to /sys/fs/pstore as > expected. next-20160307 works just fine. > > BUG: unable to handle kernel NUL

[PATCH] MAINTAINERS: Add the stlinux kernel mailing list for the STi drm driver.

2016-03-19 Thread Peter Griffin
Most drivers for STi are under the ARM/STI Architecture section which includes this mailing list. Signed-off-by: Peter Griffin --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6ee06ea..c541a89 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3814,

[PATCH 07/10] iommu/ipmmu-vmsa: Write IMCTR twice

2016-03-19 Thread Magnus Damm
From: Magnus Damm Write IMCTR both in the root device and the leaf node. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) --- 0021/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2016-03-18

[PATCH v6 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver

2016-03-19 Thread Tomeu Vizoso
From: Sameer Nanda This driver exposes the charger functionality in the PD EC to userspace. Signed-off-by: Tomeu Vizoso Cc: Sameer Nanda Cc: Benson Leung Cc: Shawn Nematbakhsh --- Changes in v6: None Changes in v5: - Fix type of variable passed to do_div. Changes in v4: - Declare size para

Re: [PATCH] mmc: dw_mmc-rockchip: fix failing to mount partition with "discard"

2016-03-19 Thread Shawn Lin
Hi jaehoon, On 2016/3/2 9:29, Jaehoon Chung wrote: Hi Shawn. On 03/01/2016 04:12 PM, Shawn Lin wrote: Without MMC_CAP_ERASE support, we fail to mount partition with "discard" option since mmc_queue_setup_discard is limited for checking mmc_can_erase. Without doing mmc_queue_setup_discard, blk_

Re: [RFC v2 -next 1/2] virtio: Start feature MTU support

2016-03-19 Thread Aaron Conole
Stephen Hemminger writes: > On Tue, 15 Mar 2016 17:04:12 -0400 > Aaron Conole wrote: > >> --- a/include/uapi/linux/virtio_net.h >> +++ b/include/uapi/linux/virtio_net.h >> @@ -55,6 +55,7 @@ >> #define VIRTIO_NET_F_MQ 22 /* Device supports Receive Flow >>

[PATCH] HID: hidraw: switch to using memdup_user

2016-03-19 Thread Dmitry Torokhov
Instead of open-coding memory allocation and copying form user memory sequence let's use memdup_user(). Signed-off-by: Dmitry Torokhov --- drivers/hid/hidraw.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 9c2d

[PATCH v4 0/7] usb: add support for Intel dual role port mux

2016-03-19 Thread Lu Baolu
Intel SOC chips are featured with USB dual role. The host role is provided by Intel xHCI IP, and the gadget role is provided by IP from designware. Tablet platform designs always share a single port for both host and gadget controllers. There is a mux to switch the port to the right controller acco

Re: snd_hda_core oops with Linux v4.5-6229-gf7813ad5cbfd

2016-03-19 Thread Takashi Iwai
On Fri, 18 Mar 2016 21:59:51 +0100, Josh Boyer wrote: > > Hi, > > I have a celeron based NUC that is giving me the following backtraces > after Linus merged the sound tree today. This is with the top of the > tree at f7813ad5cbfd as mentioned in the subject. > > The machine has an HDMI port, bu

[PATCH] ARM: Handle non-pmd-aligned end of first memblock.

2016-03-19 Thread yun.hsiang
From: Yun Hsiang In paging_init(), if the end address of first memblock is non-PMD-aligned,we need to create a next-level page table for mapping the non-PMD-sized area. The memory of this next-level page table will be allocated from address of memblock.limit with a top-down order. sanity_check_me

[PATCH v3 04/15] dmaengine: dw: fix byte order of hw descriptor fields

2016-03-19 Thread Andy Shevchenko
From: Mans Rullgard If the DMA controller uses a different byte order than the host CPU, the hardware linked list descriptor fields need to be byte-swapped. This patch makes the driver write these fields using the same byte order it uses for mmio accesses to the DMA engine. I do not know if this

[PATCH] drm/rockchip: vop: Don't reject empty modesets

2016-03-19 Thread Tomeu Vizoso
So that when DRM_IOCTL_MODE_SETCRTC is called without a FB nor mode, the CRTC gets disabled. Signed-off-by: Tomeu Vizoso Link: http://lkml.kernel.org/g/CAAObsKAv+05ih5U+=4kic_nsjgmhfxyhehr8xxxmaczs+p5...@mail.gmail.com --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 3 --- 1 file changed, 3 d

[PATCH v3 0/2] Livepatch module notifier cleanup

2016-03-19 Thread Jessica Yu
These are the remaining 2 patches that came from the original ftrace/livepatch module notifier patchset found here: https://lkml.org/lkml/2016/2/8/1180 Basically, the patchset does a bit of module.c cleanup (patch 1) in preparation for the klp_module_{coming,going} calls (patch 2). We decided to s

[PATCH v4 10/14] i2c-octeon: Add workaround for broken irqs on CN3860

2016-03-19 Thread Jan Glauber
From: David Daney CN3860 does not interrupt the CPU when the i2c status changes. If we get a timeout, and see the status has in fact changed, we know we have this problem, and drop back to polling. Signed-off-by: David Daney Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon.c | 55

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 06:31:44PM -0400, Chris Metcalf wrote: > On 3/17/2016 3:36 PM, Peter Zijlstra wrote: > >On Wed, Mar 16, 2016 at 01:02:10PM -0400, Chris Metcalf wrote: > >>Currently you can only request a backtrace of either all cpus, or > >>all cpus but yourself. It can also be helpful to

[PATCH] KVM: split kvm_vcpu_wake_up from kvm_vcpu_kick

2016-03-19 Thread Radim Krčmář
2016-03-18 02:44+0700, Suravee Suthikulpanit: > On 3/10/16 03:55, Radim Krčmář wrote: >>2016-03-04 14:46-0600, Suravee Suthikulpanit: From: Suravee Suthikulpanit Introduce VMEXIT handlers, avic_incp_ipi_interception() and avic_noaccel_interception(). Signed-off-by: Suravee

Re: [Xen-devel] MTRR on Xen - BIOS use and implications for Linux

2016-03-19 Thread Luis R. Rodriguez
On Thu, Mar 17, 2016 at 11:13:03AM +, David Vrabel wrote: > On 16/03/16 20:08, Luis R. Rodriguez wrote: > > Toshi noted a while ago as well that if BIOS/firmware enables MTRR but > > the kernel does not have it enabled one issue might have been any > > MTRRs set up by the BIOS and ensuring the

Re: [RFC PATCH v4 0/7] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table

2016-03-19 Thread Bjorn Helgaas
On Wed, Mar 16, 2016 at 06:51:56PM +0800, Yongji Xie wrote: > > Ping. This is mainly VFIO stuff, and Alex had some security concerns, so I'm not going to spend much time looking at this until he's satisfied. When I do, I'll be looking hard at the resource_alignment kernel parameter. I'm opposed

[PATCH 04/10] iommu/ipmmu-vmsa: IPMMU device is 64-bit bus master

2016-03-19 Thread Magnus Damm
From: Magnus Damm The r8a7795 IPMMU supports 64-bit bus mastering and coherency for page tables. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c |1 + 1 file changed, 1 insertion(+) --- 0020/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2016-03-18 00:22:09.

[PATCH 3.19.y-ckt 16/70] Fix directory hardlinks from deleted directories

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Woodhouse commit be629c62a603e5935f8177fd8a19e014100a259e upstream. When a directory is deleted, we don't take too much care abo

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-19 Thread Felipe Balbi
heh, +john Felipe Balbi writes: > [ text/plain ] > > Hi, > > Roger Quadros writes: >> [ text/plain ] >> We will need this function for a workaround. >> The function issues a softreset only to the device >> controller and performs minimal re-initialization >> so that the device controller can be

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

2016-03-19 Thread Balbir Singh
On 17/03/16 01:58, Torsten Duwe wrote: > On Wed, Mar 16, 2016 at 09:23:19PM +1100, Michael Ellerman wrote: >> Sure. I'll try and get something working, though this merge window is not >> starting well so I may not get time for a few weeks :) > Do you already have something in mind? > Can you give

Re: [RFC PATCH] ARM: clocksource: make ARM_GLOBAL_TIMER selectable

2016-03-19 Thread Daniel Lezcano
On 03/08/2016 11:55 AM, Grygorii Strashko wrote: Yeah. Thanks I'll re-send it after 4.6-rc. But What I'm not fully understand is how to get it merged taking into account that it touches few maches & clocksource :( This is not a problem. Send it based on timers/core from the tip tree and Cc t

RE: [PATCH 1/3] aacraid: add missing curly braces

2016-03-19 Thread Raghava Aditya Renukunta
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Monday, March 14, 2016 7:30 AM > To: martin.peter...@oracle.com; > james.bottom...@hansenpartnership.com; Adaptec OEM Raid Solutions; > James E.J. Bottomley > Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.

Re: [PATCH 8/8] sched: prefer cpufreq_scale_freq_capacity

2016-03-19 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 07:44:33PM +, Dietmar Eggemann wrote: > intel_pstate (setpolicy()) is an exception but my humble guess is that > systems with intel_pstate driver have X86_FEATURE_APERFMPERF support. A quick browse of the Intel SDM says you're right. It looks like everything after Penti

[PATCH 2/2] drm/i915/shrinker: Hook up vmap allocation failure notifier

2016-03-19 Thread Chris Wilson
If the core runs out of vmap address space, it will call a notifier in case any driver can reap some of its vmaps. As i915.ko is possibily holding onto vmap address space that could be recovered, hook into the notifier chain and try and reap objects holding onto vmaps. Signed-off-by: Chris Wilson

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

2016-03-19 Thread Andreas Dilger
On Mar 17, 2016, at 12:35 PM, Chris Mason wrote: > > On Thu, Mar 17, 2016 at 10:47:29AM -0700, Linus Torvalds wrote: >> On Wed, Mar 16, 2016 at 10:18 PM, Gregory Farnum wrote: >>> >>> So we've not asked for NO_HIDE_STALE on the mailing lists, but I think >>> it was one of the problems Sage had

Re: [PATCH v5 6/9] dmaengine: rcar-dmac: group slave configuration

2016-03-19 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday 08 March 2016 03:42:51 Niklas Söderlund wrote: > Group slave address and transfer size in own structs for source and > destination. This is in preparation for hooking up the dma-mapping API > to the slave addresses. > > Signed-off-by: Niklas Söderlu

Re: [PATCH] UBIFS: Implement ->migratepage()

2016-03-19 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on v4.5-rc7] [also build test ERROR on next-20160316] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Richard-Weinberger/UBIFS-Implement-migratepage/20160317-0

Re: [PATCH 5/5] usb: musb-da8xx: remove board-specific clock handling

2016-03-19 Thread Sergei Shtylyov
Hello. On 3/16/2016 1:37 AM, David Lechner wrote: This driver should not have to worry about how the clocks are configured on a system. Added a usb20_phy clock to handle the USB 2.0 PLL clock externally. Also changed to using devm_ to simplify code a bit. This should preferably be split t

Re: [PATCH v6 0/5] Make cpuid <-> nodeid mapping persistent

2016-03-19 Thread Thomas Gleixner
On Thu, 17 Mar 2016, Rafael J. Wysocki wrote: > > arch/ia64/kernel/acpi.c | 2 +- > > arch/x86/include/asm/mpspec.h | 1 + > > arch/x86/kernel/acpi/boot.c | 8 ++- > > arch/x86/kernel/apic/apic.c | 85 + > > arch/x86/mm/numa.c| 27 +

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-19 Thread Timur Tabi
Andrew Pinski wrote: Note ThunderX's SOC have customers where some are embedded users (uboot) and server users (UEFI). The cores always have 128 byte cacheline size. So please don't make this dependent on ACPI. Note the defconfig works correctly on T88. This thread is getting off-topic.

[GIT PULL] bcm2835 clk changes for 4.6 maybe

2016-03-19 Thread Eric Anholt
This is late, so feel free to drop it, but I figured I'd send it to you in case you were still open to merges. I've pounded on it a bit today (modesets to all sorts of resolutions on HDMI, used it for testing the DPI panel support that I'm hoping to have for 4.7, and did a whole lot of browsing of

[PATCH 0/2] Reinstate irq alloc/dealloc locking patch

2016-03-19 Thread Boris Ostrovsky
Original version of that patch (commit a89941816726) had to be reverted due to Xen allocating irqs in its cpu_up ops. The first patch moves allocations into hotplug notifiers and the second one restores the original patch (with minor adjustments to new hotplug framework) Boris Ostrovsky (2): xe

Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

2016-03-19 Thread Guenter Roeck
On 03/16/2016 10:25 PM, Qais Yousef wrote: [ ... ] Yeah it is assumed that a Malta should always have a GIC and no one got around to fix this in qemu yet. I can only improve on the patch to do if (!ipidomain && nr_cpu_ids == 1) return 0; Which is more generic way to do it. I th

Re: [PATCH] ARM: davinci: only use NVMEM when available

2016-03-19 Thread Srinivas Kandagatla
Thanks for the patch, On 15/03/16 21:34, Arnd Bergmann wrote: The davinci platform contains code that calls into the nvmem subsystem, but that might be a loadable module, causing a link error: arch/arm/mach-davinci/built-in.o: In function `davinci_get_mac_addr': :(.text+0x1088): undefined refer

[RFC/RFT PATCH 1/2] mfd: max14577: Use module_init() instead of subsys_initcall()

2016-03-19 Thread Javier Martinez Canillas
The driver's init function is called at subsys init call level but the dependencies provided by the driver are looked up by drivers that have probe deferral support, so manual ordering of init calls isn't needed. Suggested-by: Krzysztof Kozlowski Signed-off-by: Javier Martinez Canillas --- Hell

[PATCH v13 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-03-19 Thread Jitao Shi
This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao Shi --- Changes since v12: - fix hw_chip_id build warning Changes since v11: - Remove depends on I2C, add DRM depends - Reuse ps8640_write_bytes() in ps8640_write_byte() - Use timer check for polling li

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-19 Thread Boris Brezillon
On Thu, 17 Mar 2016 23:50:20 + Russell King - ARM Linux wrote: > On Thu, Mar 17, 2016 at 07:17:24PM -0400, ok...@codeaurora.org wrote: > > What is the correct way? I don't want to write engine->sram_dma = sram > > Well, what the driver _is_ wanting to do is to go from a CPU physical > addres

[PATCH] openvswitch: call only into reachable nf-nat code

2016-03-19 Thread Arnd Bergmann
The openvswitch code has gained support for calling into the nf-nat-ipv4/ipv6 modules, however those can be loadable modules in a configuration in which openvswitch is built-in, leading to link errors: net/built-in.o: In function `__ovs_ct_lookup': :(.text+0x2cc2c8): undefined reference to `nf_nat

[PATCH v4 05/13] ARM: dts: sun8i-a83t: add mmc clock nodes

2016-03-19 Thread Vishnu Patekar
mmc clocks are compatible with that of earlier sun8i socs. This adds mmc0, mmc1, and mmc2 clock nodes for A83T. Signed-off-by: Vishnu Patekar Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm

[PATCH v2 2/9] efi: libstub: move Graphics Output Protocol handling to generic code

2016-03-19 Thread Ard Biesheuvel
The Graphics Output Protocol code executes in the stub, so create a generic version based on the x86 version in libstub so that we can move other archs to it in subsequent patches. The new source file gop.c is added to the libstub build for all architectures, but only wired up for x86. Signed-off-

[PATCH v2 7/9] efi/arm*: libstub: wire up GOP protocol to struct screen_info

2016-03-19 Thread Ard Biesheuvel
This adds the code to the ARM and arm64 versions of the UEFI stub to populate struct screen_info based on the information received from the firmware via the GOP protocol. Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/libstub/arm-stub.c | 23 1 file changed, 23 inser

Re: [PATCH v2 11/11] usb: musb: da8xx: Remove mach code

2016-03-19 Thread David Lechner
On 03/17/2016 08:11 AM, Sergei Shtylyov wrote: On 3/17/2016 5:26 AM, David Lechner wrote: glue->dev= &pdev->dev; pdata->platform_ops= &da8xx_ops; -glue->phy = usb_phy_generic_register(); -if (IS_ERR(glue->phy)) { -ret = PTR_ERR(glue->phy); -

Re: [PATCH] openvswitch: call only into reachable nf-nat code

2016-03-19 Thread Arnd Bergmann
On Wednesday 16 March 2016 14:25:36 Pablo Neira Ayuso wrote: > Not related with this patch, just a side note/recommendation. > > I understand this code just got into tree, and that this needs a bit > work/iterations but this thing above is ugly, I wonder if there is a > better way to avoid this. >

Re: [PATCH v2] firmware: qemu_fw_cfg.c: hold ACPI global lock during device access

2016-03-19 Thread Michael S. Tsirkin
On Thu, Mar 17, 2016 at 09:33:40AM -0400, Gabriel L. Somlo wrote: > On Wed, Mar 16, 2016 at 06:57:01PM +0200, Michael S. Tsirkin wrote: > > On Tue, Mar 08, 2016 at 01:30:50PM -0500, Gabriel Somlo wrote: > > > Allowing for the future possibility of implementing AML-based > > > (i.e., firmware-trigge

[PATCH 3.19.y-ckt 03/70] wext: fix message delay/ordering

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johannes Berg commit 8bf862739a7786ae72409220914df960a0aa80d8 upstream. Beniamino reported that he was getting an RTM_NEWLINK message

[PATCH 1/5] ftrace perf: Check sample types only for sampling events

2016-03-19 Thread Jiri Olsa
Currently we check sample type for ftrace:function event even if it's not created as sampling event. That prevents creating ftrace_function event in counting mode. Making sure we check sample types only for sampling events. Before: $ sudo perf stat -e ftrace:function ls ... Performance co

[PATCH 2/3] x86/topology: Fix AMD core count

2016-03-19 Thread Peter Zijlstra
It turns out AMD gets x86_max_cores wrong when there are compute units. The issue is that Linux assumes: nr_logical_cpus = nr_cores * nr_siblings But AMD reports its CU unit as 2 cores, but then sets num_smp_siblings to 2 as well. Cc: Ingo Molnar Cc: Borislav Petkov Cc: Thomas Gleixne

Re: [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-19 Thread Toshi Kani
On Wed, 2016-03-16 at 00:29 +0100, Luis R. Rodriguez wrote: > On Tue, Mar 15, 2016 at 05:48:44PM -0600, Toshi Kani wrote: > > On Tue, 2016-03-15 at 01:15 +0100, Luis R. Rodriguez wrote: > > > On Fri, Mar 11, 2016 at 06:16:36PM -0700, Toshi Kani wrote: > > > > On Fri, 2016-03-11 at 15:34 -0800, Luis

Re: [PATCH 10/17] pinctrl: Add PLX Technology OXNAS pinctrl and gpio driver

2016-03-19 Thread Neil Armstrong
On 03/15/2016 03:56 PM, Linus Walleij wrote: > On Thu, Mar 3, 2016 at 12:40 PM, Neil Armstrong > wrote: > >> Add pinctrl and gprio control support to PLX Technology OXNAS SoC Family > > Be a bit more verbose. Is this MIPS? ARM? How many pins does it have? Etc. > >> CC: Ma Haijun >> CC: Jean-C

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-19 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 9:37 AM, Junio C Hamano wrote: > >> I don't think the original "resolve" did it, for example. You can't do >> a three-way merge without a base. > > Yes, and that continues to this day: Yeah, "octopus" also refuses it cleanly: common=$(git merge-base --all $SHA1 $M

Re: [PATCH v2] staging/comedi/dt282x: avoid integer overflow warning

2016-03-19 Thread Ian Abbott
On 16/03/16 20:51, Arnd Bergmann wrote: gcc-6 warns about passing negative signed integer into swab16() in the dt282x driver: drivers/staging/comedi/drivers/dt282x.c: In function 'dt282x_load_changain': include/uapi/linux/swab.h:14:33: warning: integer overflow in expression [-Woverflow] (((

[PATCH 3.19.y-ckt 50/70] ubi: Fix out of bounds write in volume update code

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Richard Weinberger commit e4f6daac20332448529b11f09388f1d55ef2084c upstream. ubi_start_leb_change() allocates too few bytes. ubi_more_

Re: [RESEND PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral

2016-03-19 Thread Rob Herring
On Sun, Mar 06, 2016 at 10:05:26AM +0530, Purna Chandra Mandal wrote: > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - fix indentation > - add space after comma > - moved 'cs-gpios' section under 'required' properties. > > .../bindings/spi/microchip,spi-pic32.txt

Re: [PATCH 06/15] irqdomain: Ensure type settings match for an existing mapping

2016-03-19 Thread Jon Hunter
On 17/03/16 14:19, Jon Hunter wrote: > When mapping an IRQ, if a mapping already exists, then we simply return > the virtual IRQ number. However, we do not check that the type settings > for the existing mapping match those for the mapping that is about to be > created. It may be unlikely that the

Re: [PATCH] arm/arm64/irqchip/pci: select PCI_MSI instead of depending on it

2016-03-19 Thread Jason Cooper
On Thu, Mar 17, 2016 at 11:52:49AM +0100, Arnd Bergmann wrote: > The PCI_MSI symbol is used inconsistently throughout the tree, > with some drivers using 'select' and others using 'depends on', > or using conditional selects. This keeps causing problems, > and the latest one is a result of ARCH_ALP

Re: [Xen-devel] MTRR on Xen - BIOS use and implications for Linux

2016-03-19 Thread David Vrabel
tl;dr? Somewhere in here are some actual questions which I will attempt to answer. Please try and be more concise in future. On 16/03/16 20:08, Luis R. Rodriguez wrote: > Toshi noted a while ago as well that if BIOS/firmware enables MTRR but > the kernel does not have it enabled one issue might h

Re: Major KVM issues with kernel 4.5 on the host

2016-03-19 Thread Borislav Petkov
+ kvm ML. Do you have any funky messages in host's dmesg ? Can you upload a full dmesg from both a good and a bad host kernel? On Thu, Mar 17, 2016 at 05:54:35PM +0100, Marc Haber wrote: > Hi, > > I have a (semi-productive[1]) system ("host") running Debian unstable. > On this system, a few VMs

[PATCH v20 10/23] posix_acl: Unexport acl_by_type and make it static

2016-03-19 Thread Andreas Gruenbacher
acl_by_type(inode, type) returns a pointer to either inode->i_acl or inode->i_default_acl depending on type. This is useful in fs/posix_acl.c, but should never have been visible outside that file. Signed-off-by: Andreas Gruenbacher Reviewed-by: Christoph Hellwig --- fs/posix_acl.c|

Re: linux-next: Tree for Feb 24

2016-03-19 Thread Stephen Rothwell
Hi Sedat, On Thu, 17 Mar 2016 11:21:56 +0100 Sedat Dilek wrote: > > not seeing this anymore. > How was that solved? The code has been removed while it is further worked on and reviewed and may reappear after -rc1 is released. -- Cheers, Stephen Rothwell

[PATCH v4 09/14] i2c-octeon: Faster operation when IFLG signals late

2016-03-19 Thread Jan Glauber
From: Peter Swain Some versions can deliver low-level twsi irq before twsi_ctl.iflg is set, leading to timeout-driven i/o. When an irq signals event, but woken task does not see the expected twsi_ctl.iflg, re-check about 80uS later. EEPROM reads on 100kHz i2c now measure ~5.2kB/s, about 1/2 what

Re: [PATCH 14/15] dt-bindings: arm-gic: Drop 'clock-names' from binding document

2016-03-19 Thread Grygorii Strashko
On 03/18/2016 03:02 PM, Geert Uytterhoeven wrote: > Hi Grygorii, > > On Fri, Mar 18, 2016 at 1:47 PM, Grygorii Strashko > wrote: >> On 03/18/2016 02:05 PM, Geert Uytterhoeven wrote: >>> On Fri, Mar 18, 2016 at 11:56 AM, Jon Hunter wrote: On 18/03/16 10:52, Geert Uytterhoeven wrote: > On

Re: [PATCH 04/15] irqchip/gic: WARN if setting the interrupt type fails

2016-03-19 Thread Jon Hunter
On 17/03/16 15:18, Jason Cooper wrote: > On Thu, Mar 17, 2016 at 03:04:01PM +, Jon Hunter wrote: >> >> On 17/03/16 14:51, Thomas Gleixner wrote: >>> On Thu, 17 Mar 2016, Jon Hunter wrote: >>> Setting the interrupt type for private peripheral interrupts (PPIs) may not be supported by

Re: [PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Marc Zyngier
On 17/03/16 15:13, Jon Hunter wrote: > Hi Marc, > > On 17/03/16 15:02, Marc Zyngier wrote: >> Hi Jon, >> >> On 17/03/16 14:19, Jon Hunter wrote: >>> Some IRQ chips may be located in a power domain outside of the CPU >>> subsystem and hence will require device specific runtime power >>> management.

[patch] openvswitch: using a bit shift as a mask

2016-03-19 Thread Dan Carpenter
The original condition is never true. We want to test if BIT(0) is set but the code is ANDing with zero. Fixes: 05752523e565 ('openvswitch: Interface with NAT.') Signed-off-by: Dan Carpenter diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c index dc5eb29..29c82d6 100644 ---

Re: Thunderbolt 3 (Skylake / Alpine Ridge) hotplug

2016-03-19 Thread Lukas Wunner
Hi Jack, On Tue, Mar 15, 2016 at 12:29:09PM -0500, Bjorn Helgaas wrote: > On Fri, Feb 26, 2016 at 07:10:03PM +1100, Jack Coulter wrote: > > I'm attempting to use the Thunderbolt 3 (which has a USB Type-C > > connector) port on my laptop, a Dell XPS 15 (9550). The external device > > I'm attempting

Re: [PATCH v2] usb/core: usb_alloc_dev(): fix setting of ->portnum

2016-03-19 Thread Alan Stern
On Thu, 17 Mar 2016, Nicolai Stange wrote: > With commit 69bec7259853 ("USB: core: let USB device know device node"), > the port1 argument of usb_alloc_dev() gets overwritten as follows: > > ... usb_alloc_dev(..., unsigned port1) > { > ... > if (!parent->parent) { > port1 = usb_

RE: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-03-19 Thread Yunhui Cui
Hi Bean, Thanks for your suggestions very much. Yes, the flash N25Q128A status register write enable/disable bit is disable in initial state. But, This patch aims to clear status register bit[7](write enable/disable bit) to 0, which enables the bit. Frankly speaking, I also don't want to add thi

Re: Suspicious error for CMA stress test

2016-03-19 Thread Hanjun Guo
On 2016/3/18 22:10, Vlastimil Babka wrote: > On 03/17/2016 04:52 PM, Joonsoo Kim wrote: >> 2016-03-18 0:43 GMT+09:00 Vlastimil Babka : >>> Okay. I used following slightly optimized version and I need to >>> add 'max_order = min_t(unsigned int, MAX_ORDER, pageblock_order + 1)' >>> to you

Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker

2016-03-19 Thread Josh Poimboeuf
On Fri, Mar 18, 2016 at 01:45:22PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 18, 2016 at 11:38:15AM -0500, Josh Poimboeuf escreveu: > > On Fri, Mar 18, 2016 at 01:25:47PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Mar 17, 2016 at 06:27:50PM +0100, Lucas Stach escreveu: > > > >

Re: [PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Jon Hunter
On 18/03/16 14:23, Grygorii Strashko wrote: > On 03/18/2016 02:27 PM, Jon Hunter wrote: >> >> On 18/03/16 11:11, Grygorii Strashko wrote: >>> Hi Jon, >>> >>> On 03/17/2016 04:19 PM, Jon Hunter wrote: Some IRQ chips may be located in a power domain outside of the CPU subsystem and hence w

[PATCH 1/2] xen/apic: Provide Xen-specific version of cpu_present_to_apicid APIC op

2016-03-19 Thread Boris Ostrovsky
Currently Xen uses default_cpu_present_to_apicid() which will always report BAD_APICID for PV guests since x86_bios_cpu_apic_id is initialised to that value and is never updated. With commit 1f12e32f4cd5 ("x86/topology: Create logical package id"), this op is now called by smp_init_package_map() w

Re: [PATCH v2 02/18] dt-bindings: timer: sp804: add timer-width property

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 11:24:04AM +0100, Neil Armstrong wrote: > Add timer-width optional property to specify a different vendor > specific timer counter bit-width. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/timer/arm,sp804.txt | 2 ++ > 1 file changed, 2 insert

[PATCH] microblaze/PCI: export isa_io_base to fix link errors

2016-03-19 Thread Fengguang Wu
ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined! ERROR: "isa_io_base" [sound/pci/trident/snd-trident.ko] undefined! ERROR: "isa_io_base" [sound/pci/snd-via82xx.ko] undefined! ... ERROR: "isa_io_base" [drivers/watchdog/wdt_pci.ko] undefined! ERROR: "isa_io_base" [drivers/watchdog/pcwd_

Re: RFC on fixing mutex spinning on owner

2016-03-19 Thread Steven Rostedt
On Thu, 17 Mar 2016 12:16:11 +0100 (CET) Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Peter Zijlstra wrote: > > Also, maybe the tracer should measure the time from need_resched() > > getting true until the next preemption point, instead of the entire time > > preemption was disabled. Which would

[GIT PULL] livepatching for 4.6

2016-03-19 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive livepatching updates for 4.6 merge window: == - cleanup of module notifiers; this depends on module.c cleanup which has been acked by Rusty; from Jessica Yu - small as

[PATCH 3.19.y-ckt 40/70] mac80211: Fix Public Action frame RX in AP mode

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jouni Malinen commit 1ec7bae8bec9b72e347e01330c745ab5cdd66f0e upstream. Public Action frames use special rules for how the BSSID field

Re: [PART1 RFC v3 09/12] svm: Add VMEXIT handlers for AVIC

2016-03-19 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > From: Suravee Suthikulpanit > > Introduce VMEXIT handlers, avic_incp_ipi_interception() and > avic_noaccel_interception(). The names of the functions have changed. > Signed-off-by: Suravee Suthikulpanit > --- > arch/x86/include/uapi/asm/sv

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: > From: Miklos Szeredi > > This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make > f_path always point to the overlay and f_inode to the underlay"). > Can you put that series in your vfs.git tree? Easier for getting a

Re: module: preserve Elf information for livepatch modules

2016-03-19 Thread Jessica Yu
+++ Jessica Yu [16/03/16 15:47 -0400]: For livepatch modules, copy Elf section, symbol, and string information from the load_info struct in the module loader. Persist copies of the original symbol table and string table. Livepatch manages its own relocation sections in order to reuse module load

[PATCH] staging: rtl8192e: fixed coding style issues

2016-03-19 Thread Yousof El-Sayed
Signed-off-by: Yousof El-Sayed --- drivers/staging/rtl8192e/dot11d.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c index 4d8fb41..a08bfef 100644 --- a/drivers/staging/rtl8192e/dot11d.c +++

Re: [RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node

2016-03-19 Thread Alexandre Belloni
On 17/03/2016 at 17:04:00 +0100, Ludovic Desroches wrote : > From: Cyrille Pitchen > > This SFR node is looked up by the I2S controller driver to tune the > SFR_I2SCLKSEL register. > > Signed-off-by: Cyrille Pitchen > Signed-off-by: Ludovic Desroches Acked-by: Alexandre Belloni > --- > Docu

[PATCH v2 2/9] drm: atmel-hlcdc: support asynchronous atomic commit operations

2016-03-19 Thread Boris Brezillon
drm_atomic_helper_commit() does not support asynchronous commits. Replace it by a specific commit function supporting these kind of requests. Signed-off-by: Boris Brezillon Tested-by: Nicolas Ferre --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 94 +++- drivers/gpu/d

  1   2   3   4   5   6   7   8   9   10   >