[PATCH v5 3/6] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. A usb port mux could be abstracted as the following elements: 1) mux state: HOST or PERIPHERAL; 2) an extcon cable which triggers the change of mux state between HO

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Peter Ujfalusi
On 03/16/16 21:50, Ivaylo Dimitrov wrote: > Hi, > > On 16.03.2016 20:32, Grygorii Strashko wrote: >> >> No-no :) take a look on i2c-omap.c >> >> r = i2c_add_numbered_adapter(adap); >> >> here you see messages from tpa6130a2 (create i2c devices & probe if >> drivers are ready) >> >> if

Re: [PATCH 3/5] ARM: davinci: da8xx: add cfgchip2 to resources

2016-03-19 Thread David Lechner
On 03/16/2016 12:38 PM, Sergei Shtylyov wrote: On 03/16/2016 07:57 AM, David Lechner wrote: Also, I am not finding any existing data structure to pass the musb set_mode function to the phy in either usb_phy or usb_otg. Setting the mode (host/peripheral/otg) is done in the same PHY register, so

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

2016-03-19 Thread Arnd Bergmann
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] (((__u16)(x) & (__u16)0xff00U) >> 8))) ~

[PATCH v6 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2016-03-19 Thread Zhu Guihua
From: Gu Zheng The whole patch-set aims at making cpuid <-> nodeid mapping persistent. So that, when node online/offline happens, cache based on cpuid <-> nodeid mapping such as wq_numa_possible_cpumask will not cause any problem. It contains 4 steps: 1. Enable apic registeration flow to handle

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-03-19 Thread Laurent Pinchart
Hello, On Tuesday 15 March 2016 01:22:54 Christoph Hellwig wrote: > On Fri, Mar 11, 2016 at 01:58:46PM +0100, Niklas S?derlund wrote: > > Without an IOMMU this is easy since the phys_addr_t and dma_addr_t are > > the same and no special care is needed. However if you have a IOMMU you > > need to m

Re: [PATCH v5 16/17] FDT: Add a helper to get the subnode by given name

2016-03-19 Thread Rob Herring
On Fri, Mar 4, 2016 at 12:37 AM, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a subnode of given node in FDT > by given name. Introduce this helper to get the subnode if it exists. > > CC: Rob Herring > Signed-off-by: Shannon Zhao Acked-by: Rob Herring

Re: [PATCH 14/18] gpio: vf610: add support for WKPU unit

2016-03-19 Thread Stefan Agner
Hi Rob, On 2016-03-17 13:00, Rob Herring wrote: > On Wed, Mar 09, 2016 at 06:16:55PM -0800, Stefan Agner wrote: >> WKPU unit support within the VF610 GPIO driver. The WKPU unit allows >> some GPIO to be the wakeup source from lowest power modes LPSTOPx. >> The relationship between the GPIO banks a

Re: [PATCH] x86/tsc: Prevent NULL pointer deref in calibrate_delay_is_known()

2016-03-19 Thread Richard W.M. Jones
On Fri, Mar 18, 2016 at 08:48:06AM +0100, Thomas Gleixner wrote: > Subject: x86/tsc: Prevent NULL pointer deref in calibrate_delay_is_known() > From: Thomas Gleixner > Date: Fri, 18 Mar 2016 08:35:29 +0100 > > The topology_core_cpumask is used to find a neighbour cpu in > calibrate_delay_is_known

Re: [PATCH v2 all 04/14] arc: use of_platform_default_populate() to populate default bus

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 6:29 AM, Vineet Gupta wrote: > On Wednesday 16 March 2016 01:03 PM, Kefeng Wang wrote: >> Use helper of_platform_default_populate() in linux/of_platform >> when possible, instead of calling of_platform_populate() with >> the default match table. >> >> Acked-by: Vineet Gupta

Re: [PATCH v6 01/17] Xen: ACPI: Hide UART used by Xen

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 10:57 AM, Shannon Zhao wrote: > From: Shannon Zhao > > ACPI 6.0 introduces a new table STAO to list the devices which are used > by Xen and can't be used by Dom0. On Xen virtual platforms, the physical > UART is used by Xen. So here it hides UART from Dom0. > > Signed-off-

Re: [RFC] tty: n_tty -- Add new TIOCPEEKRAW ioctl to peek unread data

2016-03-19 Thread Peter Hurley
Hi Cyrill, On 03/12/2016 06:18 AM, Cyrill Gorcunov wrote: > Currently when we checkpoint PTY connections we ignore data queued inside > read buffer of ldisk, such data us barely lost after the restore. So we > would like to improve the situation and being able to dump and restore > it as well. >

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 8:17 PM, Rafael J. Wysocki wrote: >>> This change introduces a new function >>> acpi_early_processor_set_osc(), >>> which walks acpi name space and finds acpi processor object and >>> set capability via _OSC method to take over thermal LVT. >> Does this change jus

[patch 2/2] drm/exynos: mic: remove some dead code

2016-03-19 Thread Dan Carpenter
We know "ret" is zero and the test makes static checkers complain so let's delete this printk. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 890c9b1..12db353 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c

Re: [PATCH] regulator: Rename files for Maxim PMIC drivers

2016-03-19 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your review. On 03/17/2016 09:07 PM, Krzysztof Kozlowski wrote: > On 18.03.2016 02:54, Javier Martinez Canillas wrote: >> Most Maxim PMIC regulator drivers are for sub-devices of Multi-Function >> Devices with drivers under drivers/mfd. But for many of these, the

Re: [PATCH v9 2/3] kernel.h: add to_user_ptr()

2016-03-19 Thread Rob Clark
On Thu, Mar 17, 2016 at 4:40 PM, Joe Perches wrote: > On Thu, 2016-03-17 at 16:33 -0400, Rob Clark wrote: >> On Thu, Mar 17, 2016 at 4:22 PM, Joe Perches wrote: >> > On Thu, 2016-03-17 at 15:43 -0300, Gustavo Padovan wrote: >> > > 2016-03-17 Gustavo Padovan : >> > > > 2016-03-17 Joe Perches : >>

Re: [PATCH v8 3/6] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path

2016-03-19 Thread Michael Neuling
On Fri, 2016-03-18 at 15:04 +1100, Michael Neuling wrote: > On Wed, 2016-02-03 at 01:11 +0530, Shilpasri G Bhat wrote: > > > cpu_to_chip_id() does a DT walk through to find out the chip id by > > taking a contended device tree lock. This adds an unnecessary > > overhead > > in a hot path. So ins

[GIT PULL] arch/sh updates for 4.6

2016-03-19 Thread Rich Felker
Linus, Please pull these arch/sh changes for 4.6. They include minor cleanups, a fix for a crash that likely affects all sh models with MMU, and introduction of a framework for boards described by device tree, which sets the stage for future J2 support. Using git.libc.org for the sh tree is only

Re: [PATCH RFC] block: fix bio merge checks when virt_boundary is set

2016-03-19 Thread Vitaly Kuznetsov
Ming Lei writes: > On Tue, Mar 15, 2016 at 11:17 PM, Vitaly Kuznetsov > wrote: >> Hyper-V storage driver, which switched to using virt_boundary some time >> ago, experiences significant slowdown on non-page-aligned IO. E.g. >> >> With virt_boundary set: >> # time mkfs.ntfs -Q -s 512 /dev/sdc1

Re: [GIT PULL] f2fs updates for v4.6

2016-03-19 Thread Jaegeuk Kim
On Thu, Mar 17, 2016 at 07:32:34PM -0700, Linus Torvalds wrote: > On Thu, Mar 17, 2016 at 5:58 PM, Jaegeuk Kim wrote: > > > > Note that, I did cherry-pick one patch and add another patch to resolve the > > conflict against recent crypto changes. > > *please* don't do things like this! My apologi

[PATCH v4 14/14] i2c-thunderx: Add smbus alert support

2016-03-19 Thread Jan Glauber
Add smbus alert interrupt support. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-cavium.h| 6 ++ drivers/i2c/busses/i2c-thunderx-core.c | 35 ++ 2 files changed, 41 insertions(+) diff --git a/drivers/i2c/busses/i2c-cavium.h b/drivers/i2c/buss

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-19 Thread Or Gerlitz
On Thu, Mar 17, 2016 at 3:40 AM, Alexey Kardashevskiy wrote: > On 03/16/2016 08:45 PM, Or Gerlitz wrote: >> On Wed, Mar 16, 2016 at 10:34 AM, Alexey Kardashevskiy >> wrote: >> >>> Oh. ok. It also looks like even with the reverted patch, mlx4 VF does not >>> work in a guest: >> >> >> So where is t

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-19 Thread Oliver Neukum
On Wed, 2016-03-16 at 19:46 +0800, Baolin Wang wrote: > This patch introduces the usb charger driver based on usb gadget that > makes an enhancement to a power driver. It works well in practice but > that requires a system with suitable hardware. > > The basic conception of the usb charger is that

Re: [PATCH v2 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-19 Thread kbuild test robot
Hi Chris, [auto build test ERROR on tile/master] [also build test ERROR on v4.5] [cannot apply to 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/Chris-Metcalf/improvements-to-th

Re: [PATCH] mmc: card: don't use PF_MEMALLOC

2016-03-19 Thread Jens Axboe
On 03/16/2016 08:07 AM, Martin Kepplinger wrote: Am 2016-03-16 um 15:41 schrieb Jens Axboe: On 03/16/2016 04:43 AM, Martin Kepplinger wrote: PF_MEMALLOC is assigned to processes by mm. If drivers prevent memory reclaim and mm is not in control, strange hang-up or OOM Killer invocation could hap

Re: [PATCH] qla2xxx: avoid maybe_uninitialized warning

2016-03-19 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The qlt_check_reserve_free_req() function produces an incorrect Arnd> warning when CONFIG_PROFILE_ANNOTATED_BRANCHES is set: Applied to 4.6/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

[PATCH 3.19.y-ckt 42/70] drm/ast: Fix incorrect register check for DRAM width

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Timothy Pearson commit 2d02b8bdba322b527c5f5168ce1ca10c2d982a78 upstream. During DRAM initialization on certain ASpeed devices, an inc

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

2016-03-19 Thread Geert Uytterhoeven
On Thu, Mar 17, 2016 at 5:20 PM, Jon Hunter wrote: > 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 peripher

[PART1 RFC v3 01/12] KVM: x86: Misc LAPIC changes to expose helper functions

2016-03-19 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Exporting LAPIC utility functions and macros for re-use in SVM code. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kvm/lapic.c | 110 ++- arch/x86/kvm/lapic.h | 8 2 files changed, 65 insertions(+), 53 delet

[PATCH 2/3 v4] powercap, intel_rapl, implement check for minimum time window

2016-03-19 Thread Prarit Bhargava
Using an small value for the time window results in a bogus value for the time window. For example, [root@intel-chiefriver-03 linux]# echo 950 > /sys/devices/virtual/powercap/intel-rapl/intel-rapl\:0/constraint_0_time_window_us; egrep ^ /sys/devices/virtual/powercap/intel-rapl/intel-rapl\:0/cons

Re: wireless-drivers: random cleanup patches piling up

2016-03-19 Thread Julian Calaby
Hi Kalle, On Wed, Mar 16, 2016 at 8:42 PM, Julian Calaby wrote: > Hi Kalle, > > On Wed, Mar 16, 2016 at 8:22 PM, Kalle Valo wrote: >> Julian Calaby writes: >> >>> Hi Kalle, >>> >>> On Mon, Feb 1, 2016 at 7:21 PM, Kalle Valo wrote: Sudip Mukherjee writes: > Sure, I am starting th

[PATCH 2/2] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-19 Thread Lyude
Since we've fixed up drm_dp_dpcd_read() to allow for retries when things timeout, there's no use for having this function anymore. Good riddens. Signed-off-by: Lyude --- drivers/gpu/drm/i915/intel_dp.c | 79 - 1 file changed, 22 insertions(+), 57 deletions

[PATCH v5 1/6] Elf: add livepatch-specific Elf constants

2016-03-19 Thread Jessica Yu
Livepatch manages its own relocation sections and symbols in order to be able to reuse module loader code to write relocations. This removes livepatch's dependence on separate "dynrela" sections to write relocations and also allows livepatch to patch modules that are not yet loaded. The livepatch

[PATCH] ASoC: dapm: Do not traverse widget hooks to snd-soc-dummy

2016-03-19 Thread Harry Pan
All components are initially given an empty card when registering platform, and since the commit 6e78108bda78 ("ASoC: core: Don't probe the component which is dummy")', snd-soc-dummy will not be probed so that it remains an empty card assigned. This patch ignores to iterate widget hooks to the 'sn

Re: [PATCH] ntb: test: fix pointer size warning

2016-03-19 Thread Jiang, Dave
On Fri, 2016-03-18 at 10:11 -0700, Brian Norris wrote: > drivers/ntb/test/ntb_perf.c: In function ‘perf_copy’: > drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to > integer of different size [-Wpointer-to-int-cast] > drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to

Re: [lkp] [drm/i915] 396e33ae20: [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* uncleared fifo underrun on pipe B

2016-03-19 Thread William Dauchy
On Mon, Jan 11, 2016 at 2:35 AM, kernel test robot wrote: > FYI, we noticed the below changes on > > git://anongit.freedesktop.org/drm-intel drm-intel-next-queued > commit 396e33ae204f52abebec9e578f44c749305500f4 ("drm/i915: Add two-stage > ILK-style watermark programming (v10)") > > > +-

[PATCH v6 00/17] Add ACPI support for Xen Dom0 on ARM64

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen ACPI on ARM64 design document could be found from [1]. This patch set adds a new FDT node "uefi" under /hypervisor to pass UEFI information. Introduce a bus notifier of AMBA and Platform bus to map the ne

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

2016-03-19 Thread Vlastimil Babka
+CC Hugh, Mel On 03/16/2016 11:55 PM, Richard Weinberger wrote: From: "Kirill A. Shutemov" When using CMA during page migrations UBIFS might get confused It shouldn't be CMA specific, the same code runs from compaction, autonuma balancing... and the following assert triggers: UBIFS asser

Re: RFC on fixing mutex spinning on owner

2016-03-19 Thread Nicholas Mc Guire
On Thu, Mar 17, 2016 at 08:36:05AM +0100, Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 10:17:51PM -0400, Steven Rostedt wrote: > > Actually, the preempt off section here is not really an issue: > > > > rcu_read_lock(); > > while (owner_running(lock, owner)) { > > if (need_re

Re: [PATCH 1/1] arm64/dma-mapping: remove an unnecessary conversion

2016-03-19 Thread Leizhen (ThunderTown)
On 2016/3/16 9:56, Leizhen (ThunderTown) wrote: > > > On 2016/3/15 23:37, Catalin Marinas wrote: >> On Tue, Mar 15, 2016 at 10:12:11AM +0800, Zhen Lei wrote: >>> 1. In swiotlb_alloc_coherent, the branch of __get_free_pages. Directly >>>return vaddr on success, and pass vaddr to free_pages o

Re: [Outreachy kernel] [PATCH v2] iwlwifi: dvm: use alloc_ordered_workqueue()

2016-03-19 Thread Tejun Heo
On Fri, Mar 18, 2016 at 12:19:21AM +0800, Eva Rachel Retuya wrote: > Use alloc_ordered_workqueue() to allocate the workqueue instead of > create_singlethread_workqueue() since the latter is deprecated and is > scheduled > for removal. > > There are work items doing related operations that shouldn

Re: [PATCH 1/3] drm: introduce drm_connector_plug_all() helper

2016-03-19 Thread Daniel Vetter
On Fri, Mar 18, 2016 at 01:01:42PM +0300, Alexey Brodkin wrote: > As a pair to already existing drm_connector_unplug_all() we're adding > generic implementation of what is already done in some drivers. > > Once this helper is implemented we'll be ready to switch existing > driver-specific implemen

Re: [PATCH v4 01/24] pwm: rcar: make use of pwm_is_enabled()

2016-03-19 Thread Boris Brezillon
Hi Thierry, Can you please apply this patch? It's completely independent from the rest of the series. Thanks, Boris On Mon, 16 Nov 2015 09:56:24 +0100 Boris Brezillon wrote: > Commit 5c31252c4a86 ("pwm: Add the pwm_is_enabled() helper") introduced a > new function to test whether a PWM device

[PATCH v4 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-19 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b/dr

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

2016-03-19 Thread Matwey V. Kornilov
2016-03-19 12:07 GMT+03:00 Mathieu OTHACEHE : > Hi, > > Sorry about late reply. > > No I haven't planned to do it soon. Your board is supported by mxser driver > (drivers/tty/mxser.c). > I think it would be nice to move everything from mxser.c to 8250_moxa.c. Last time when I tried to run my moxa

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

2016-03-19 Thread Guenter Roeck
On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote: > On Tue, Mar 15, 2016 at 09:55:06PM +, Qais Yousef wrote: > > Hi Guenter, > > [ ... ] > > > > > >>Qemu test results: > > >> total: 96 pass: 69 fail: 27 > > >>Failed tests: > > >[ ... ] > > >> mips:mips_malta_smp_defconfig > > >I

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

2016-03-19 Thread Arnd Bergmann
On Thursday 17 March 2016 12:01:01 Rob Herring wrote: > On Mon, Mar 14, 2016 at 05:45:43PM +, Scott Wood wrote: > > >> This makes the driver non-portable. Better identify the specific > > >> workarounds based on the compatible string for this device, or add a > > >> boolean DT property for the

Re: [BUG] sched: leaf_cfs_rq_list use after free

2016-03-19 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 07:24:14AM -0700, Tejun Heo wrote: > So, the problem here is that cpu is using css_offline to tear down the > css. perf shouldn't have the same problem as it destroys its css from > css_free. The distinctions among different callbacks evolved over > time and we need to upd

Re: RFC on fixing mutex spinning on owner

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 08:05:26AM +, Nicholas Mc Guire wrote: > scanning for that patter with a quite relaxed spatch did not > turn up more than a hand full: > > @resched_spin exists@ > position p; > @@ > > ( > * while@p (...) { > ... > if (need_resched() || ...) >

Re: [PATCH 1/7] dmaengine: xilinx_vdma: Fix checkpatch.pl warnings

2016-03-19 Thread Laurent Pinchart
Hello, On Tuesday 15 March 2016 22:53:06 Kedareswara rao Appana wrote: > This patch fixes the below checkpatch.pl warnings. > > WARNING: void function return statements are not generally useful > + return; > +} > > WARNING: void function return statements are not generally useful > + ret

[GIT PULL] HID for 4.6 merge window

2016-03-19 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive merge updates for HID subsystem: == - functionally equivalent cleanups for wacom driver, making the code more readable, from Benjamin Tissoires - a bunch of improvements and fix

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

2016-03-19 Thread Miklos Szeredi
On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: > 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"). >> > > Ca

Re: [PATCH v4] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-03-19 Thread Marc Zyngier
On 17/03/16 15:18, Shanker Donthineni wrote: > We are not checking whether the requested device identifier fits into > the device table memory or not. The function its_create_device() > assumes that enough memory has been allocated for whole DevID space > (reported by ITS_TYPER.Devbits) during the

[PATCH 1/2] drm/dp_helper: retry on -ETIMEDOUT in drm_dp_dpcd_access()

2016-03-19 Thread Lyude
Some sinks need some time during the process of resuming the system from sleep before they're ready to handle transactions. While it would be nice if they responded with NACKs in these scenarios, this isn't always the case as a few sinks will just timeout on all of the transactions they receive. T

Re: [PATCH 2/5] ARM: davinci: da8xx: add usb phy clocks

2016-03-19 Thread David Lechner
On 03/16/2016 01:04 PM, Sergei Shtylyov wrote: No, I mean why is not this implemented as a part of clk_set_parent()? There is not currently any framework for mux clocks in the davinci clocks. I am hoping to eventually get the davinci clocks moved to the common clock framework, so this w

linux-next: manual merge of the drm tree with Linus' tree

2016-03-19 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/sti/sti_hqvdp.c between commit: f6e45661f9be ("dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc()") from Linus' tree and commit: 52807ae90e76 ("drm/sti: use u32 to store DMA addresses") from the dr

[PATCH] ACPI / util: cast data to u64 before shifting to fix sign extension

2016-03-19 Thread Colin King
From: Colin Ian King obj->buffer.pointer[i] should be cast to u64 to prevent an unintentional sign extension. For example, if pointer[7] is 0x80, then the value 0xff00 is or'd into mask rather than the intended value 0xff00 Detected with static analysis by CoverityScan

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

2016-03-19 Thread Timur Tabi
Catalin Marinas wrote: Why do you need your own defconfig? If it's just on the short term until all your code is upstream, that's fine, but this goes against the single Image aim. I would like defconfig to cover all supported SoCs (and yes, ACPI on by default once we deem it !EXPERT anymore), tho

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

2016-03-19 Thread Yongji Xie
On 2016/3/16 22:10, Bjorn Helgaas wrote: 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_a

[GIT PULL] Block driver changes for 4.6-rc

2016-03-19 Thread Jens Axboe
Hi Linus, This is the block driver pull request for this merge window. It sits on top of for-4.6/core, that was just sent out. With the amount of changes we ended up having after the merge window in 4.5, there's a non trivial amount of merging for this branch for NVMe. Even with resolving them co

Re: [PATCH 04/04] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-03-19 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Wednesday 16 March 2016 02:05:10 Magnus Damm wrote: > From: Magnus Damm > > Introduce a new set of iommu_ops suitable for 64-bit ARM > as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. The ->of_xlate() > callback is needed by the code exported by of_iommu.h a

[PATCH 02/10] iommu/ipmmu-vmsa: Enable multi context support

2016-03-19 Thread Magnus Damm
From: Magnus Damm Add support for up to 4 contexts. Each context is mapped to one domain. One domain is associated with each device, however one or more uTLBs for a single device are kept in the same domain. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c | 11 +-- 1 file

Re: linux-next: Crash in arm_pmu_device_probe() due to 'drivers/perf: arm_pmu: make info messages more verbose'

2016-03-19 Thread Guenter Roeck
Hi Dirk, On 03/18/2016 02:18 AM, Dirk Behme wrote: Hi Guenter, On 18.03.2016 07:44, Guenter Roeck wrote: Hi, I am seeing the attached crash when running a realview-pb-a8 image with realview_defconfig in qemu. bisect wasn't successful, but a commit analysis identified commit 'drivers/perf: arm

Re: [PATCH v2] efi: Introduce EFI bootloader control driver

2016-03-19 Thread Matt Fleming
On Fri, 18 Mar, at 12:11:50PM, Daniel Baluta wrote: > 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 cont

[PATCH 3.19.y-ckt 23/70] ALSA: rawmidi: Fix ioctls X32 ABI

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 2251fbbc1539f05b0b206b37a602d5776be37252 upstream. Like the previous fixes for ctl and PCM, we need a fix for inco

Re: [PATCH v10 2/6] added UFS 2.0 capabilities

2016-03-19 Thread Rob Herring
On Fri, Mar 04, 2016 at 05:22:15PM +, Joao Pinto wrote: > Adding UFS 2.0 support to the UFS core driver. > > Signed-off-by: Joao Pinto > --- > Changes v8->v10: > - Nothing changed (just to keep up with patch set version). > Changes v7->v8: > - Added "jedec, ufs-2.0" to the ufschd-platform com

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

2016-03-19 Thread Josh Poimboeuf
On Fri, Mar 18, 2016 at 11:38:15AM -0500, Josh Poimboeuf wrote: > 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: > > > This fixes cross compilation of libapi. > > > > Humm, I guess that tools/lib/subcmd/

Re: [PATCH] x86/cpu: Do the feature test first in enable_sep_cpu()

2016-03-19 Thread Andy Lutomirski
On Wed, Mar 16, 2016 at 5:19 AM, Borislav Petkov wrote: > From: Borislav Petkov > > ... before assigning local vars. Kill out label too and simplify. > > No functionality change. Acked-by: Andy Lutomirski > > Signed-off-by: Borislav Petkov > --- > arch/x86/kernel/cpu/common.c | 7 +++ >

Re: [RFC PATCH v4 4/7] PCI: Modify resource_alignment to support multiple devices

2016-03-19 Thread Yongji Xie
On 2016/3/17 20:40, Alex Williamson wrote: On Thu, 17 Mar 2016 19:28:34 +0800 Yongji Xie wrote: On 2016/3/17 0:30, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:35 +0800 Yongji Xie wrote: When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not

[linux-next:master 8604/12950] net/openvswitch/vport-internal_dev.c:141:6: sparse: symbol 'internal_set_rx_headroom' was not declared. Should it be static?

2016-03-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5e3497cca281616e7930b74a0076b7324dcc2057 commit: 3a927bc7cf9d0fbe8f4a8189dd5f8440228f64e7 [8604/12950] ovs: propagate per dp max headroom to all vports reproduce: # apt-get install sparse gi

Re: [PATCH] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-19 Thread Ulrich Obergfell
Josh, in https://lkml.org/lkml/2016/3/15/1 you stated that the soft lockup messages do not occur with kernel v4.5. Hence, I believe this should not be reproducible with kernel v4.4 either. The relevant changes in update_watchdog_all_cpus() were introduced in kernel v4.3 by patches that I mentione

Re: [PATCH 0/5] net: macb: Checkpatch cleanups

2016-03-19 Thread Moritz Fischer
Nicolas, On Wed, Mar 16, 2016 at 6:39 AM, Nicolas Ferre wrote: > Le 13/03/2016 20:10, Moritz Fischer a écrit : >> Hi all, >> >> I backed out the variable scope changes and made a separate >> patch for the ether_addr_copy change. >> >> Changes from v1: > > As it's v2, it's better to add it in each

[PATCH 05/10] iommu/ipmmu-vmsa: Introduce features, break out alias

2016-03-19 Thread Magnus Damm
From: Magnus Damm Introduce struct ipmmu_features to track various hardware and software implementation changes inside the driver for different kinds of IPMMU hardware. Add use_ns_alias_offset as a first example of a feature to control if the secure register bank offset should be used or not. Si

Re: [PATCH v4 6/7] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
On Wed, Mar 16, 2016 at 4:35 PM, Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 03:52:28PM +0100, Rafael J. Wysocki wrote: >> +/** >> + * cpufreq_enable_fast_switch - Enable fast frequency switching for policy. >> + * @policy: cpufreq policy to enable fast frequency switching for. >> + * >> + * T

Re: [RESEND PATCH v4 2/5] ACPI: add GTDT table parse driver into ACPI driver

2016-03-19 Thread Daniel Lezcano
On 03/18/2016 09:00 AM, fu@linaro.org wrote: From: Fu Wei This driver adds support for parsing all kinds of timer in GTDT: (1)arch timer: provide a kernel API to parse all the PPIs and always-on info in GTDT and export them by arch_timer_data struct. (2)memory-mapped timer: provide several

Re: [PATCH v2 1/2] iommu/vt-d: Ratelimit fault handler

2016-03-19 Thread Joe Perches
On Thu, 2016-03-17 at 14:12 -0600, Alex Williamson wrote: > Fault rates can easily overwhelm the console and make the system > unresponsive.  Ratelimit to allow an opportunity for maintenance. [] > diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c [] > @@ -1602,10 +1602,17 @@ irqreturn_t dma

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

2016-03-19 Thread Hartley Sweeten
On Tuesday, March 15, 2016 2:50 PM, Arnd Bergmann wrote: > On Tuesday 15 March 2016 21:35:40 Hartley Sweeten wrote: >> On Monday, March 14, 2016 3:48 PM, Arnd Bergmann wrote: >>> gcc-6 warns about passing negative signed integer into swab16() >>> in the dt282x driver: >> >> >> >>> The warning ma

Re: [STLinux Kernel] [PATCH v5 7/7] ARM: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory

2016-03-19 Thread Lee Jones
On Thu, 17 Mar 2016, Loic PALLARDY wrote: > Hi Lee, Pete, > > The coprocessor memory map defined below is for test. Addresses have > been arbitrary fixed. > The audio and video firmware you want to use are for product > configuration. > For sure memory mapping must be adapted or firmware recompil

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

2016-03-19 Thread Scott Wood
On 03/17/2016 12:06 PM, Arnd Bergmann wrote: > On Thursday 17 March 2016 12:01:01 Rob Herring wrote: >> On Mon, Mar 14, 2016 at 05:45:43PM +, Scott Wood wrote: > > This makes the driver non-portable. Better identify the specific > workarounds based on the compatible string for this dev

Re: [PATCH] module: fix noreturn attribute for __module_put_and_exit()

2016-03-19 Thread Rusty Russell
Jiri Kosina writes: > __module_put_and_exit() is makred noreturn in module.h declaration, but is > lacking the attribute in the definition, which makes some tools (such as > sparse) unhappy. Amend the definition with the attribute as well (and > reformat the declaration so that it uses more com

Re: [PATCH 4/5] gpio: of: Add support to have multiple gpios in gpio-hog

2016-03-19 Thread Rob Herring
On Thu, Mar 10, 2016 at 05:23:55PM +0530, Laxman Dewangan wrote: > > On Thursday 10 March 2016 04:46 PM, Markus Pargmann wrote: > >On Thursday 10 March 2016 12:37:32 Laxman Dewangan wrote: > >>On Wednesday 09 March 2016 10:47 PM, Stephen Warren wrote: > >>>On 03/09/2016 06:20 AM, Laxman Dewangan w

Re: [PATCH] livepatch: Update maintainers

2016-03-19 Thread Jiri Kosina
On Wed, 16 Mar 2016, Josh Poimboeuf wrote: > Seth and Vojtech are no longer active maintainers of livepatch, so > remove them in favor of Jessica and Miroslav. > > Also add Petr as a designated reviewer. > > Signed-off-by: Josh Poimboeuf Thanks to everybody for the Acks; I've just applied this

[PATCH] x86/cpu: Do the feature test first in enable_sep_cpu()

2016-03-19 Thread Borislav Petkov
From: Borislav Petkov ... before assigning local vars. Kill out label too and simplify. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/common.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/k

Re: [PATCH 1/1] KVM: don't allow irq_fpu_usable when the VCPU's XCR0 is loaded

2016-03-19 Thread Paolo Bonzini
On 16/03/2016 04:55, Xiao Guangrong wrote: > > Probably not. AFAICT KVM does not rely on it being loaded outside that > region. xsetbv isn't insanely expensive, is it? Maybe to minimize the > time spent with interrupts disabled it was put outside. > > I do like that your s

Re: [RFC PATCH v4 6/7] vfio-pci: Allow to mmap MSI-X table if IOMMU_CAP_INTR_REMAP was set

2016-03-19 Thread Yongji Xie
On 2016/3/17 0:31, Alex Williamson wrote: [cc+ Eric, Will] On Mon, 7 Mar 2016 15:48:37 +0800 Yongji Xie wrote: Current vfio-pci implementation disallows to mmap MSI-X table in case that user get to touch this directly. But we should allow to mmap these MSI-X tables if IOMMU supports interru

Re: [PATCH 2/3] lpfc: fix misleading indentation

2016-03-19 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> gcc-6 complains about the indentation of the Arnd> lpfc_destroy_vport_work_array() call in lpfc_online(), which Arnd> clearly doesn't look right: Applied to 4.6/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering

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

2016-03-19 Thread Thomas Gleixner
On Fri, 18 Mar 2016, Peter Zijlstra wrote: > 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

Re: [PATCH] iio: add driver for Microchip MCP414X/416X/424X/426X

2016-03-19 Thread Slawomir Stepien
On Mar 16, 2016 19:24, Lars-Peter Clausen wrote: > On 03/16/2016 05:25 PM, Slawomir Stepien wrote: > > On Mar 16, 2016 13:30, Peter Meerwald-Stadler wrote: > [...] > >> plenty of the private API, some of which seems to be debug only? > >> what is really needed to interact with a poti? > > > > I wa

[PART1 RFC v3 05/12] svm: Introduce new AVIC VMCB registers

2016-03-19 Thread Suravee Suthikulpanit
Introduce new AVIC VMCB registers. Signed-off-by: Suravee Suthikulpanit --- arch/x86/include/asm/svm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h index 6136d99..66e26a0 100644 --- a/arch/x86/include/asm/svm

Re: [PATCH v2 04/18] dt-bindings: irq: arm,versatile-fpga: add arm,rps-irq compatible string

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 11:24:06AM +0100, Neil Armstrong wrote: > Under the OX810SE, this same controller is used as "Reference Peripheral > Specification" Interrupt Controller, so add new compatible string. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/interrupt-controller/a

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-19 Thread Steven Rostedt
On Tue, 15 Mar 2016 00:23:20 -0700 Christoph Hellwig wrote: > Looks fine, > > Reviewed-by: Christoph Hellwig What tree should this go in? -- Steve

[PATCH v3 2/5] mmc: davinci: remove matching string

2016-03-19 Thread David Lechner
The string "MMCSDCLK" is not actually used for clock lookup, so can be removed. Signed-off-by: David Lechner Acked-by: Sekhar Nori --- v3 changes: none. drivers/mmc/host/davinci_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/

[PATCH v6 02/17] xen/grant-table: Move xlated_setup_gnttab_pages to common place

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao Move xlated_setup_gnttab_pages to common place, so it can be reused by ARM to setup grant table. Rename it to xen_xlate_map_ballooned_pages. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/x86/xen/grant-table.c | 57 +---

[PATCH v2] Documentation: devicetree: Clean up gpio-keys example

2016-03-19 Thread Andreas Färber
Drop #address-cells and #size-cells, which are not required by the gpio-keys binding documentation, as button sub-nodes are not devices. Rename sub-nodes to avoid new dtc unit address warnings when copied. While at it, adopt the dashes convention for the node name. Reported-by: Julien Chauveau

[PATCH 3/3] ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for omap3

2016-03-19 Thread Peter Ujfalusi
OMAP3's McBSP2 and McBSP3 module have integrated sidetone block with dedicated SYSCONFIG register. The sidetone is operating from the maain McBSP module's ICLK. For normal operation the sidetone clock auto idle support needs to be disabled when it is activated. Note: This is not enough to avoid cho

Re: [PATCH] ARC: build: Turn off -Wmaybe-uninitialized for ARC gcc 4.8

2016-03-19 Thread Vineet Gupta
On Friday 18 March 2016 03:22 PM, Arnd Bergmann wrote: > On Friday 18 March 2016 14:16:23 Vineet Gupta wrote: >> diff --git a/arch/arc/Makefile b/arch/arc/Makefile >> index fed12f39d8ce..aeb101e8e674 100644 >> --- a/arch/arc/Makefile >> +++ b/arch/arc/Makefile >> @@ -48,9 +48,14 @@ endif >> upto_g

[PATCH 3.12 10/58] ixgbe: fix broken PFC with X550

2016-03-19 Thread Jiri Slaby
From: Vasu Dev 3.12-stable review patch. If anyone has any objections, please let me know. === commit cb78cf12d6e90f57f6e7d090867ef19b6a189dde upstream. PFC is configuration is skipped for X550 devices due to a incorrect device id check, fixing that to include X550 PFC configurati

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

2016-03-19 Thread Dave Chinner
On Tue, Mar 15, 2016 at 06:51:39PM -0700, Darrick J. Wong wrote: > On Tue, Mar 15, 2016 at 06:52:24PM -0400, Theodore Ts'o wrote: > > On Wed, Mar 16, 2016 at 09:33:13AM +1100, Dave Chinner wrote: > > > > > > Stale data escaping containment is a security issue. Enabling > > > generic kernel mechani

[PATCH v6 06/17] Xen: ARM: Add support for mapping platform device mmio

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao Add a bus_notifier for platform bus device in order to map the device mmio regions when DOM0 booting with ACPI. Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- drivers/xen/Makefile | 1 + drivers/xen/arm-device.c | 141

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

2016-03-19 Thread kbuild test robot
Hi Nicolai, [auto build test WARNING on next-20160317] [cannot apply to v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5] [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/Nicolai-Stange/usb-core-usb_alloc_dev-fi

<    1   2   3   4   5   6   7   8   9   10   >