Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-19 Thread Tony Lindgren
* Mark Rutland [170619 05:25]: > On Fri, Jun 16, 2017 at 05:07:40PM -0700, Florian Fainelli wrote: > > > > This is helpful in making SoC-specific power management code become true > > drivers > > that can be shared between different architectures. > > Could you elaborate on what this is needed

[PATCH v2] drm: hdlcd: Update PM code to save/restore console.

2017-06-19 Thread Liviu Dudau
Update the PM code to suspend/resume the fbdev_cma console. Changelog: - v2: Use drm_fbdev_cma_set_suspend_unlocked() function for taking the console lock (suggested by Noralf Trønnes ) - v1: Initial submission [1] [1] https://lists.freedesktop.org/archives/dri-devel/2017-June/144502.html

Re: [RFC PATCH 20/33] irqchip/gic-v3-its: Add VPE domain infrastructure

2017-06-19 Thread Marc Zyngier
[yeah, blast from the past. finally found some bandwidth to pick this up again...] On 13/02/17 10:40, Thomas Gleixner wrote: > On Tue, 17 Jan 2017, Marc Zyngier wrote: >> @@ -2266,6 +2294,8 @@ int __init its_init(struct fwnode_handle *handle, >> struct rdists *rdists, >> struct i

[PATCH] mm: remove a redundant condition in the for loop

2017-06-19 Thread Hao Lee
The variable current_order decreases from MAX_ORDER-1 to order, so the condition current_order <= MAX_ORDER-1 is always true. Signed-off-by: Hao Lee --- mm/page_alloc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2302f25..9120c

Re: [PATCH] eeprom: fix Kconfig typo (swtich)

2017-06-19 Thread Greg Kroah-Hartman
On Mon, Jun 19, 2017 at 03:46:10PM +0200, Jan Luebbe wrote: > Signed-off-by: Jan Luebbe > --- > drivers/misc/eeprom/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I can't take patches without any changelog text at all, sorry.

Re: [PATCH v10 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-06-19 Thread kbuild test robot
Hi Xiaowei, [auto build test ERROR on pci/next] [also build test ERROR on v4.12-rc5 next-20170619] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Xiaowei-Song/PCI-hisi-Add-DT-binding-for-PCIe

Re: [PATCH v5 1/3] nvmem: dt: document SNVS LPGPR binding

2017-06-19 Thread Stefan Wahren
Am 19.06.2017 um 14:52 schrieb Fabio Estevam: > Hi Stefan, > > On Mon, Jun 19, 2017 at 7:58 AM, Stefan Wahren wrote: > >> do you know how the clock "lp_ipg_clk_s" should be handled? > As per the Reference Manual there is no CCM gating bits for this clock. I was only surprised that there is no cl

Re: [PATCHv2 3/3] mm: Use updated pmdp_invalidate() inteface to track dirty/accessed bits

2017-06-19 Thread Kirill A. Shutemov
On Fri, Jun 16, 2017 at 11:53:33PM +0900, Minchan Kim wrote: > Hi Andrea, > > On Fri, Jun 16, 2017 at 04:27:20PM +0200, Andrea Arcangeli wrote: > > Hello Minchan, > > > > On Fri, Jun 16, 2017 at 10:52:09PM +0900, Minchan Kim wrote: > > > > > > @@ -1995,8 +1984,6 @@ static void __split_huge_pmd_lo

Re: [PATCH 7/7] vfio: Use driver_override to avert binding to compromising drivers

2017-06-19 Thread Auger Eric
Hi Alex, On 10/06/2017 00:00, Alex Williamson wrote: > If a device is bound to a non-vfio, non-whitelisted driver while a > group is in use, then the integrity of the group is compromised and > will result in hitting a BUG_ON. This code tries to avoid this case > by mangling driver_override to fo

Re: [PATCH v2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-06-19 Thread Daniel Axtens
Hi Laurent, Just checking if this was OK with you - I hadn't heard anything and I noticed it's not in -next so I just wanted to check to see if there were any changes you wanted. Regards, Daniel Daniel Axtens writes: > Currently, disconnecting a USB webcam while it is in use prints out a > num

Re: [PATCH v2] sched/fair: WARN and refuse to set buddy when !se->on_rq

2017-06-19 Thread Daniel Axtens
Hi Konstantin and Peter, Just checking if this version was OK with you - I hadn't heard anything and I noticed it's not in -next so I just wanted to check to see if there were any other changes you wanted. Regards, Daniel Daniel Axtens writes: > If we set a next or last buddy for a se that is

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Sebastian Andrzej Siewior
On 2017-06-19 14:55:35 [+0200], Mike Galbraith wrote: > On Mon, 2017-06-19 at 13:50 +0200, Sebastian Andrzej Siewior wrote: > > > > rt20…rt21 is just > > > > https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/tree/patches/sched-Prevent-task-state-corruption-by-spurious-lock.p

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Steven Rostedt
On Mon, 19 Jun 2017 12:14:51 +0200 Mike Galbraith wrote: > On Mon, 2017-06-19 at 10:52 +0200, Sebastian Andrzej Siewior wrote: > > On 2017-06-17 10:14:37 [+0200], Mike Galbraith wrote: > > > > > During that rebase, migrate_disable() was changed to no longer map to > > > preempt_disable() for n

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Alexey Budankov
On 19.06.2017 16:38, Mark Rutland wrote: On Mon, Jun 19, 2017 at 01:46:39PM +0100, Mark Rutland wrote: On Fri, Jun 16, 2017 at 05:22:29PM +0300, Alexey Budankov wrote: On 16.06.2017 17:08, Alexey Budankov wrote: On 16.06.2017 12:09, Mark Rutland wrote: There's a --per-thread option to ask per

Re: [PATCH] changes.rst: explain the usage of virtual environment

2017-06-19 Thread Markus Heiser
> Am 19.06.2017 um 15:46 schrieb Jonathan Corbet : > > On Mon, 19 Jun 2017 06:08:37 -0700 > Christoph Hellwig wrote: > >> On Mon, Jun 19, 2017 at 08:24:10AM -0300, Mauro Carvalho Chehab wrote: >>> As the Sphinx build seems very fragile, specially for >>> PDF output, add a notice about how to us

Re: [PATCH v10 4/5] i2c: aspeed: added driver for Aspeed I2C

2017-06-19 Thread Wolfram Sang
Hi Brendan, here is my review. Only minor stuff, no real show-stopper. > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig > index 144cbadc7c72..280f84a0d7d1 100644 > --- a/drivers/i2c/busses/Kconfig > +++ b/drivers/i2c/busses/Kconfig > @@ -326,6 +326,16 @@ config I2C_POWERMAC

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Sebastian Andrzej Siewior
On 2017-06-19 10:08:38 [-0400], Steven Rostedt wrote: > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index 30b24f774198..10e832da70b6 100644 > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -2284,7 +2284,7 @@ EXPORT_SYMBOL(wake_up_process); > > */ > > int wake_u

[PATCH net-next] net: phy: lxt: Export link partner advertising

2017-06-19 Thread Thomas Bogendoerfer
From: Thomas Bogendoerfer Provide link partner advertising information. Removed testing for gigabit modes, which is useless for a fast ethernet phy. Signed-off-by: Thomas Bogendoerfer --- drivers/net/phy/lxt.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/driv

Re: [PATCH v10 5/5] i2c: aspeed: added slave support for Aspeed I2C driver

2017-06-19 Thread Wolfram Sang
On Fri, Jun 02, 2017 at 06:29:52PM -0700, Brendan Higgins wrote: > Added slave support for Aspeed I2C controller. Supports fourteen busses > present in AST24XX and AST25XX BMC SoCs by Aspeed. > > Signed-off-by: Brendan Higgins Nice, looks good to me! signature.asc Description: PGP signature

Re: [PATCH] mm: remove a redundant condition in the for loop

2017-06-19 Thread Vlastimil Babka
On 06/19/2017 03:54 PM, Hao Lee wrote: > The variable current_order decreases from MAX_ORDER-1 to order, so the > condition current_order <= MAX_ORDER-1 is always true. > > Signed-off-by: Hao Lee Sounds right. Acked-by: Vlastimil Babka > --- > mm/page_alloc.c | 5 ++--- > 1 file changed, 2 i

Re: [PATCH v10 4/5] i2c: aspeed: added driver for Aspeed I2C

2017-06-19 Thread Wolfram Sang
And any chance for a MAINTAINERS entry? signature.asc Description: PGP signature

Re: [PATCH] changes.rst: explain the usage of virtual environment

2017-06-19 Thread Mauro Carvalho Chehab
Em Mon, 19 Jun 2017 07:46:53 -0600 Jonathan Corbet escreveu: > On Mon, 19 Jun 2017 06:08:37 -0700 > Christoph Hellwig wrote: > > > On Mon, Jun 19, 2017 at 08:24:10AM -0300, Mauro Carvalho Chehab wrote: > > > As the Sphinx build seems very fragile, specially for > > > PDF output, add a notice

Re: [PATCH] i2c: xlp9xx: Enable HWMON class probing for xlp9xx

2017-06-19 Thread Wolfram Sang
On Thu, May 25, 2017 at 11:42:15AM +, George Cherian wrote: > Set I2C_CLASS_HWMON for xlp9xx to enable automatic probing of BMC > devices by the ipmi-ssif driver. > > Signed-off-by: George Cherian Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH 2/5] x86: use common aperfmperf_khz_on_cpu() to calculate KHz using APERF/MPERF

2017-06-19 Thread Rafael J. Wysocki
On Monday, June 19, 2017 02:28:21 PM Rafael J. Wysocki wrote: > On Friday, June 16, 2017 09:49:00 PM Len Brown wrote: > > On Fri, Jun 16, 2017 at 8:30 PM, Rafael J. Wysocki > > wrote: > > > On Wednesday, June 07, 2017 07:39:13 PM Len Brown wrote: > > >> From: Len Brown > > [cut] > > > > > > >

Re: [PATCH 2/7] i2c: use proper name for the R-Car SoC

2017-06-19 Thread Wolfram Sang
On Sun, May 28, 2017 at 11:30:45AM +0200, Wolfram Sang wrote: > It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text. > > Signed-off-by: Wolfram Sang Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH net-next 01/10] net: dsa: mv88e6xxx: add irl_init_all op

2017-06-19 Thread Vivien Didelot
kbuild test robot writes: >drivers/net/dsa/mv88e6xxx/serdes.o: In function > `mv88e6352_g2_irl_init_all': >>> serdes.c:(.text+0x150): multiple definition of `mv88e6352_g2_irl_init_all' >drivers/net/dsa/mv88e6xxx/chip.o:chip.c:(.text+0x3200): first defined here >drivers/net/dsa/mv88e6

[PATCH] perf/x86/intel: add 1G DTLB load/store miss support for SKL

2017-06-19 Thread kan . liang
From: Kan Liang Current DTLB load/store miss events (0x608/0x649) only counts 4K,2M and 4M page size. Need to extend the events to support any page size (4K/2M/4M/1G). The complete DTLB load/store miss events are DTLB_LOAD_MISSES.WALK_COMPLETED 0xe08 DTLB_STORE_MISSES.WALK_COMPLETED

Re: [PATCH] i2c: at91: Handle return value of clk_prepare_enable

2017-06-19 Thread Wolfram Sang
On Wed, May 31, 2017 at 12:27:44PM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav I update the commit message to mention the clk_unprepare addition. Applied to for-next, thanks! signature.asc Description: PGP

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-19 Thread Tony Camuso
On 06/19/2017 09:31 AM, Corey Minyard wrote: On 06/16/2017 07:15 AM, Corey Minyard wrote: On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, Tony Camuso wrote: A vendor with a system having more than 128 CPUs occasionally encounters a crash during shutdown. This is not an eas

Re: [PATCH v4 04/28] clocksource: Add Owl timer

2017-06-19 Thread Andreas Färber
Am 19.06.2017 um 15:53 schrieb Daniel Lezcano: > On 18/06/2017 22:43, Andreas Färber wrote: >> Am 06.06.2017 um 18:33 schrieb Daniel Lezcano: >>> On Tue, Jun 06, 2017 at 02:54:02AM +0200, Andreas Färber wrote: The Actions Semi S500 SoC provides four timers, 2Hz0/1 and 32-bit TIMER0/1. >>>

Re: [PATCH 08/17] dts: include documentation for the RISC-V interrupt controllers

2017-06-19 Thread Mark Rutland
On Fri, Jun 09, 2017 at 02:58:14PM -0700, Wesley Terpstra wrote: > Ugh. Clicked reply without being done writing the reply! > > On Thu, Jun 8, 2017 at 3:52 AM, Mark Rutland wrote: > > Edge vs level, active high vs active low. Typically some of these are > > programmable, and are described as flag

[PATCH 0/2] Notifications for perf sideband events

2017-06-19 Thread Naveen N. Rao
Currently, there is no way to ask for signals to be delivered when a certain number of sideband events have been logged into the ring buffer. This is problematic if we are only interested in, say, context switch events. Furthermore, signals are more useful (rather than polling) for self-profiling.

[PATCH 2/2] kernel/events: Add option to enable counting sideband events in wakeup_events

2017-06-19 Thread Naveen N. Rao
Many sideband events are interesting by themselves. When profiling only for sideband events, it is useful to be able to control process wakeup (wakeup_events) based on sideband events alone. Add a new option 'count_sb_events' to do the same. Signed-off-by: Naveen N. Rao --- include/uapi/linux/pe

[PATCH 1/2] kernel/events: Add option to notify through signals on wakeup

2017-06-19 Thread Naveen N. Rao
Add a new option 'signal_on_wakeup' to request for a signal to be delivered on ring buffer wakeup controlled through watermark and {wakeup_events, wakeup_watermark}. Signed-off-by: Naveen N. Rao --- include/uapi/linux/perf_event.h | 3 ++- kernel/events/core.c| 18 +++---

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-19 Thread Corey Minyard
On 06/19/2017 09:29 AM, Tony Camuso wrote: On 06/19/2017 09:31 AM, Corey Minyard wrote: On 06/16/2017 07:15 AM, Corey Minyard wrote: On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, Tony Camuso wrote: A vendor with a system having more than 128 CPUs occasionally encounters

Re: [PATCH] i2c: at91: Handle return value of clk_prepare_enable

2017-06-19 Thread Wolfram Sang
On Wed, May 31, 2017 at 12:27:44PM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Shortened the commit message a little (i'd think one example is enough) and applied to for-next, thanks! signature.asc Descrip

Re: [PATCH 12/16] mmc: host: omap_hsmmc: Add support to set IODELAY values

2017-06-19 Thread Tony Lindgren
* Kishon Vijay Abraham I [170619 00:55]: > Hi Tony, > > On Monday 19 June 2017 12:55 PM, Tony Lindgren wrote: > > * Kishon Vijay Abraham I [170618 23:37]: > >> Hi Tony, > >> > >> On Monday 19 June 2017 11:32 AM, Tony Lindgren wrote: > >>> * Kishon Vijay Abraham I [170616 05:47]: > The data

[PATCH v6 2/4] usb: dwc3: of-simple: Re-order resource handling in remove

2017-06-19 Thread Philipp Zabel
From: Vivek Gautam Move clock handling after of_platform_depopulate to achieve a sequence that is reverse of the probe sequence. Cc: Felipe Balbi Signed-off-by: Vivek Gautam --- No changes since v5. --- drivers/usb/dwc3/dwc3-of-simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[PATCH v6 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-06-19 Thread Philipp Zabel
From: Vivek Gautam Make use of of_reset_control_array_get_exclusive() to manage an array of reset controllers available with the device. Cc: Jon Hunter Cc: Thierry Reding Signed-off-by: Vivek Gautam [p.za...@pengutronix.de: switch to hidden reset control array] Signed-off-by: Philipp Zabel -

Re: [PATCH v5 2/3] nvmem: add snvs_lpgpr driver

2017-06-19 Thread Oleksij Rempel
Hi Stefan, On Fri, Jun 09, 2017 at 05:01:09PM +0200, Stefan Wahren wrote: > Hi Oleksij, > > please add the NXP guys in CC in order to give them a chance to review. > > Am 09.06.2017 um 14:57 schrieb Oleksij Rempel: > > This is a driver for Low Power General Purpose Register (LPGPR) > > available

[PATCH v6 0/4] reset: APIs to manage a list of resets

2017-06-19 Thread Philipp Zabel
A set of patches to allow consumers to get and de/assert or trigger a number of resets at the same time. A patch on top of Vivek's original API extension is added to hide the reset_control_array behind a struct reset_control so that the consumer doesn't have to care about the difference between a s

[PATCH v6 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-06-19 Thread Philipp Zabel
From: Vivek Gautam Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Signed-off-by: Vivek Gautam [p.za...@pengutronix.de: switch to hidden reset control array] Signed-off-by: Philipp Zabel --- No ch

[PATCH v6 1/4] reset: Add APIs to manage array of resets

2017-06-19 Thread Philipp Zabel
From: Vivek Gautam Many devices may want to request a bunch of resets and control them. So it's better to manage them as an array. Add APIs to _get() an array of reset_control, reusing the _assert(), _deassert(), and _reset() APIs for single reset controls. Since reset controls already may contro

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Mike Galbraith
On Mon, 2017-06-19 at 16:06 +0200, Sebastian Andrzej Siewior wrote: > > I am suppressed that your desktop shows any symptoms on rt21. I tried my > smaller AMD box (A10), an Intel two sockets and a four socket box. Each > of them was fine with the run.sh and manual futex_wait invocation. > Could yo

ufs build failure (no __udivdi3) on i386 in linux tip (edf9364d3f92)

2017-06-19 Thread Ian Jackson
osstest service owner writes ("[linux-linus bisection] complete build-i386-pvops"): > branch xen-unstable > xenbranch xen-unstable > job build-i386-pvops > testid kernel-build > > Tree: linux > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > Tree: linuxfirmware git://xenbi

Re: [PATCH RFC 2/3] samples/bpf: Add define __EMITTING_BPF__ when building BPF

2017-06-19 Thread Andy Gospodarek
On Thu, Jun 15, 2017 at 03:35:42PM -0700, David Daney wrote: > ... this allows gating of inline assembly code that causes llvm to > fail when emitting BPF. I floated essentially the same patch in Feb without much luck: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/492758.html

[PATCH v2] drivers/kmem: disable on arm64

2017-06-19 Thread Ard Biesheuvel
On arm64, the /dev/kmem driver barely works, given that it assumes that VMALLOC_START > PAGE_OFFSET, which is not the case on arm64. Due to the dubious value of kmem on an architecture such as arm64, which is fairly new and is not as forgiving as other architectures when it comes to userland access

Re: [PATCH] changes.rst: explain the usage of virtual environment

2017-06-19 Thread Mauro Carvalho Chehab
HI Markus, Em Mon, 19 Jun 2017 16:11:56 +0200 Markus Heiser escreveu: > > Am 19.06.2017 um 15:46 schrieb Jonathan Corbet : > > > > On Mon, 19 Jun 2017 06:08:37 -0700 > > Christoph Hellwig wrote: > > > >> On Mon, Jun 19, 2017 at 08:24:10AM -0300, Mauro Carvalho Chehab wrote: > >>> As the S

Re: [PATCH] i2c: at91: Handle return value of clk_prepare_enable

2017-06-19 Thread Wolfram Sang
On Mon, Jun 19, 2017 at 04:32:32PM +0200, Wolfram Sang wrote: > On Wed, May 31, 2017 at 12:27:44PM +0530, Arvind Yadav wrote: > > clk_prepare_enable() can fail here and we must check its return value. > > > > Signed-off-by: Arvind Yadav > > Shortened the commit message a little (i'd think one ex

Re: [PATCH] i2c: at91: Fix compilation warning.

2017-06-19 Thread Wolfram Sang
On Wed, May 31, 2017 at 12:45:38PM +0530, Arvind Yadav wrote: > Replace '%d' by '%zu' to fix the following compilation warning:- > > drivers/i2c/busses/i2c-at91.c:277:2: warning: format ‘%d’ expects argument of > type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=] > dev_dbg(dev->dev, "wrot

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Steven Rostedt
On Mon, 19 Jun 2017 16:13:41 +0200 Sebastian Andrzej Siewior wrote: > > Hmm, it shouldn't affect futexes, as it's only called by rtmutex when > > waiter->savestate is true. And that should always be false for futex. > > you still have sleeping locks like the hb-lock (which might matter in > c

Re: [PATCH 0/5] Make PDF builds work again

2017-06-19 Thread Mauro Carvalho Chehab
Em Sun, 18 Jun 2017 22:18:29 -0300 Mauro Carvalho Chehab escreveu: > Hi Jon, > > Em Sun, 18 Jun 2017 17:46:25 -0600 > Jonathan Corbet escreveu: > > > I've just spent rather more time than I would like figuring out why the PDF > > builds fail and what was needed to fix it. The result is the fo

Re: [PATCH 2/2] selftests: lib: prime_numbers: update presence check

2017-06-19 Thread Sumit Semwal
Hi Chris, On 19 June 2017 at 19:21, Chris Wilson wrote: > Quoting Sumit Semwal (2017-06-19 14:44:32) >> The test for prime numbers doesn't differentiate between missing >> prime_numbers.ko and failure in prime_numbers.ko. >> >> Update it to check for presence of the file itself to skip, therefore

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-19 Thread Tony Camuso
On 06/19/2017 10:32 AM, Corey Minyard wrote: On 06/19/2017 09:29 AM, Tony Camuso wrote: On 06/19/2017 09:31 AM, Corey Minyard wrote: On 06/16/2017 07:15 AM, Corey Minyard wrote: On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, Tony Camuso wrote: A vendor with a system hav

Re: LTS testing with latest kselftests - some failures

2017-06-19 Thread Luis R. Rodriguez
On Sat, Jun 17, 2017 at 06:16:35AM +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 16, 2017 at 09:47:21PM +0200, Luis R. Rodriguez wrote: > > Some of the knobs however are for extending tests for > > existing APIs in older kernels, the async and custom fallback one are an > > example. There are a s

[PATCH] dmaengine: fsldma: set BWC, DAHTS and SAHTS values correctly

2017-06-19 Thread Thomas Breitung
The bits of BWC, DAHTS and SAHTS in the DMA mode register must be cleared before a new value can be or-ed in. Signed-off-by: Thomas Breitung Signed-off-by: Wolfgang Ocker --- drivers/dma/fsldma.c | 5 - drivers/dma/fsldma.h | 4 2 files changed, 8 insertions(+), 1 deletion(-) diff --g

Re: [PATCH v5 2/3] PCI: Add tango PCIe host bridge support

2017-06-19 Thread Marc Gonzalez
On 07/06/2017 10:19, Marc Gonzalez wrote: > On 31/05/2017 15:33, Marc Gonzalez wrote: > >> +static int tango_pcie_probe(struct platform_device *pdev) >> +{ >> +int ret = -EINVAL; >> +void __iomem *base; >> +struct resource *res; >> +struct tango_pcie *pcie; >> +struct device *

Re: [PATCHv2] ARM32: Support mremap() for sigpage/vDSO

2017-06-19 Thread Dmitry Safonov
On 05/24/2017 07:44 PM, Andy Lutomirski wrote: On Wed, May 24, 2017 at 3:09 AM, Dmitry Safonov wrote: + Adding back to CC x86 guys - as I've removed in ping messages. On 05/23/2017 11:09 PM, Russell King - ARM Linux wrote: On Thu, May 18, 2017 at 02:13:29PM +0300, Dmitry Safonov wrote: On

Re: [regression v4.11] 617f01211baf ("8139too: use napi_complete_done()")

2017-06-19 Thread Michal Kubecek
On Fri, Apr 07, 2017 at 11:38:49AM -0700, Eric Dumazet wrote: > On Fri, 2017-04-07 at 21:17 +0300, Ville Syrjälä wrote: > > Hi, > > > > My old P3 laptop started to die on me in the middle of larger compile > > jobs (using distcc) after v4.11-rc. I bisected the problem > > to 617f01211baf ("8139too

[GIT PULL] Immutable branch between MFD and X86 due for the v4.13 merge window

2017-06-19 Thread Lee Jones
Enjoy! The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-x86-v4.13 for you to fetch changes up to 94d68594a7b4fd2ee

Re: [RFC PATCH 10/33] irqchip/gic-v4-its: Allow use of indirect VCPU tables

2017-06-19 Thread Marc Zyngier
On 13/02/17 22:14, Shanker Donthineni wrote: > Hi Marc, > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> The VCPU tables can be quite sparse as well, and it makes sense >> to use indirect tables as well if possible. > The VCPU table has maximum of 2^16 entries as compared to 2^32 entries > i

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-19 Thread Corey Minyard
On 06/19/2017 09:42 AM, Tony Camuso wrote: On 06/19/2017 10:32 AM, Corey Minyard wrote: On 06/19/2017 09:29 AM, Tony Camuso wrote: On 06/19/2017 09:31 AM, Corey Minyard wrote: On 06/16/2017 07:15 AM, Corey Minyard wrote: On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, To

Re: [PATCH v2] mfd: cros_ec: Free IRQ on exit

2017-06-19 Thread Lee Jones
On Mon, 12 Jun 2017, Jeffy Chen wrote: > Currently we request the irq when probing, but never free it. So after > unbind ec driver, this irq will be left requested, which would break > the next bind: > [ 2683.338437] genirq: Flags mismatch irq 64. 2008 (chromeos-ec) vs. > 2008 (chromeos-e

Re: [PATCH v2 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

2017-06-19 Thread Radim Krčmář
2017-06-17 13:52+0800, Wanpeng Li: > 2017-06-16 23:38 GMT+08:00 Radim Krčmář : > > 2017-06-16 22:24+0800, Wanpeng Li: > >> 2017-06-16 21:37 GMT+08:00 Radim Krčmář : > >> > 2017-06-14 19:26-0700, Wanpeng Li: > >> >> From: Wanpeng Li > >> >> > >> >> Add an async_page_fault field to vcpu->arch.except

Re: [PATCH v5] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-19 Thread Jarkko Sakkinen
On Sun, Jun 18, 2017 at 07:17:59PM -0700, Azhar Shaikh wrote: > To overcome a hardware limitation on Intel Braswell systems, > disable CLKRUN protocol during TPM transactions and re-enable > once the transaction is completed. > > Signed-off-by: Azhar Shaikh Reviewed-by: Jarkko Sakkinen Tested-b

Re: [RFC PATCH 17/33] irqchip/gic-v3-its: Add VLPI configuration hook

2017-06-19 Thread Marc Zyngier
On 13/02/17 23:07, Shanker Donthineni wrote: > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> Add the skeleton irq_set_vcpu_affinity method that will be used >> to configure VLPIs. >> >> Signed-off-by: Marc Zyngier >> --- >> drivers/irqchip/irq-gic-v3-its.c | 33 +++

Re: [PATCH v5] mfd: lp87565: Add lp87565 PMIC support

2017-06-19 Thread Lee Jones
On Tue, 13 Jun 2017, Keerthy wrote: > The LP87565 chip is a power management IC for Portable Navigation Systems > and Tablet Computing devices. It contains the following components: > > - Configurable Bucks(Single and multi-phase). > - Configurable General Purpose Output Signals (

Re: [PATCH] binder: Drop needless locking in binder_mmap()

2017-06-19 Thread Dmitry Safonov
On 05/24/2017 05:51 PM, Dmitry Safonov wrote: binder_mmap() protected proc->buffer from concurrent changes. It was introduced with commit bd1eff9741af ("Staging: android: binder: Fix crashes when sharing a binder file between processes"). The commit fixed such races alike: task1 = fd = open

Re: [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-19 Thread Alex Williamson
On Mon, 19 Jun 2017 08:34:13 +0200 Gerd Hoffmann wrote: > Hi, > > > So perhaps this becomes: > > > > struct vfio_device_gfx_plane_info { > > __u64 start; > > __u64 drm_format_mod; > > __u32 drm_format; > > __u32 width; > > __u32 height; > > __u32 stride; > > __u32

Re: [RESEND PATCH v6 2/8] mfd: retu: Drop -mfd suffix from I2C device ID name

2017-06-19 Thread Lee Jones
On Thu, 15 Jun 2017, Javier Martinez Canillas wrote: > It's not correct to encode the subsystem in the I2C device name, so > drop the -mfd suffix. To maintain bisect-ability, change driver and > platform code / DTS users in the same patch. > > Suggested-by: Lee Jones > Signed-off-by: Javier Mart

Re: LTS testing with latest kselftests - some failures

2017-06-19 Thread Greg Kroah-Hartman
On Mon, Jun 19, 2017 at 04:48:05PM +0200, Luis R. Rodriguez wrote: > On Sat, Jun 17, 2017 at 06:16:35AM +0200, Greg Kroah-Hartman wrote: > > On Fri, Jun 16, 2017 at 09:47:21PM +0200, Luis R. Rodriguez wrote: > > > Some of the knobs however are for extending tests for > > > existing APIs in older ke

Re: [PATCH V1] one wire ds1wm patch

2017-06-19 Thread Evgeniy Polyalkov
Hi 19.06.2017, 14:38, "Johannes Pöhlmann" : > To make the ds1wm driver work on a powerpc architecture (big endian, 32bit) > with a register offset multiplier of 4 i had to make some changes to > >   drivers/w1/masters/ds1wm.c > and include/linux/mfd/ds1wm.h. > > I grouped theses into 4 pat

Re: [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-19 Thread Alex Williamson
On Mon, 19 Jun 2017 08:38:32 +0200 Gerd Hoffmann wrote: > Hi, > > > My suggestion was to use vfio device fd for this ioctl and have > > dmabuf > > mgr fd as member in above query_plane structure, for region type it > > would be set to 0. > > Region type should be DRM_PLANE_TYPE_PRIMARY > >

[PATCH v2 14/19] camss: vfe: Add interface for scaling

2017-06-19 Thread Todor Tomov
Add compose selection ioctls to handle scaling configuration. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/vfe.c | 189 ++- drivers/media/platform/qcom/camss-8x16/vfe.h | 1 + 2 files changed, 188 insertions(+), 2 deletions(-) diff --git a/driv

[PATCH v2 17/19] camss: vfe: Configure crop module in VFE

2017-06-19 Thread Todor Tomov
Add crop module configuration support to be able to apply cropping. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/vfe.c | 41 +++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/qcom/camss-8x16/vfe.c b/drivers

[PATCH] ARM: dts: imx: ventana: add ADV1780 analog video decoder

2017-06-19 Thread Tim Harvey
Enables the ADV7180 analog video decoder sensor connected to the IMX6 IPU on various Gateworks Ventana boards. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6dl-gw52xx.dts | 59 +++ arch/arm/boot/dts/imx6dl-gw53xx.dts | 59

[PATCH v2 08/19] media: camss: Add files which handle the video device nodes

2017-06-19 Thread Todor Tomov
These files handle the video device nodes of the camss driver. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/video.c | 629 + drivers/media/platform/qcom/camss-8x16/video.h | 64 +++ 2 files changed, 693 insertions(+) create mode 100644 drivers/m

[PATCH v2 15/19] camss: vfe: Configure scaler module in VFE

2017-06-19 Thread Todor Tomov
Add scaler module configuration support to be able to apply scaling. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/vfe.c | 59 ++-- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git a/drivers/media/platform/qcom/camss-8x16/vfe.c b/driv

[PATCH v2 19/19] camss: Use optimal clock frequency rates

2017-06-19 Thread Todor Tomov
Use standard V4L2 control to get pixel clock rate from a sensor linked in the media controller pipeline. Then calculate clock rates on CSIPHY, CSID and VFE to use the lowest possible. If the currnet pixel clock rate of the sensor cannot be read then use the highest possible. This case covers also

[PATCH v2 11/19] camss: vfe: Format conversion support using PIX interface

2017-06-19 Thread Todor Tomov
Use VFE PIX input interface and do format conversion in VFE. Supported input format is UYVY (single plane YUV 4:2:2) and its different sample order variations. Supported output formats are: - NV12/NV21 (two plane YUV 4:2:0) - NV16/NV61 (two plane YUV 4:2:2) Signed-off-by: Todor Tomov --- drive

[PATCH v2 13/19] camss: vfe: Support for frame padding

2017-06-19 Thread Todor Tomov
Add support for horizontal and vertical frame padding. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/vfe.c | 86 -- drivers/media/platform/qcom/camss-8x16/video.c | 66 +++- drivers/media/platform/qcom/camss-8x16/video.h | 2 + 3

[PATCH v2 07/19] media: camss: Add VFE files

2017-06-19 Thread Todor Tomov
These files control the VFE module. The VFE has different input interfaces. The PIX input interface feeds the input data to an image processing pipeline. Three RDI input interfaces bypass the image processing pipeline. The VFE also contains the AXI bus interface which writes the output data to memo

[PATCH net-next v2 10/10] net: dsa: mv88e6xxx: prefix Global 2 remaining macros

2017-06-19 Thread Vivien Didelot
Prefix and document the remaining Global 2 registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 27 --- drivers/net/dsa/mv88e6xxx/global2.h | 65 + 2 files changed, 57 insertions(+), 35 deletions(-) diff --git

[PATCH net-next v2 09/10] net: dsa: mv88e6xxx: prefix Global 2 Watchdog macros

2017-06-19 Thread Vivien Didelot
The Marvell 88E6352 family has a Global 2 register dedicated to the watchdog setup. But the 88E6390 turned it into an indirect table. Prefix and document that. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 48 +++-- drivers/net/dsa/mv88e

[PATCH net-next v2 07/10] net: dsa: mv88e6xxx: prefix Global 2 EEPROM macros

2017-06-19 Thread Vivien Didelot
Prefix and document the Global 2 EEPROM registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 32 +--- drivers/net/dsa/mv88e6xxx/global2.h | 31 +-- 2 files changed, 38 insertions(+), 25 deletions(-) dif

[PATCH net-next v2 08/10] net: dsa: mv88e6xxx: prefix Global 2 Switch MAC macros

2017-06-19 Thread Vivien Didelot
Prefix and document the Global 2 Switch MAC registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 2 +- drivers/net/dsa/mv88e6xxx/global2.h | 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/global2.c b/drive

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Andi Kleen
> > For comparison, can you give --per-thread a go prior to these patches > > being applied? > > FWIW, I had a go with (an old) perf record on an arm64 system using > --per-thread, and I see that no samples are recorded, which seems like a > bug. > > With --per-thread, the slwodown was ~20%, wher

Re: [PATCH net] net: account for current skb length when deciding about UFO

2017-06-19 Thread Vlad Yasevich
On 06/19/2017 07:03 AM, Michal Kubecek wrote: > Our customer encountered stuck NFS writes for blocks starting at specific > offsets w.r.t. page boundary caused by networking stack sending packets via > UFO enabled device with wrong checksum. The problem can be reproduced by > composing a long UDP d

[PATCH net-next v2 04/10] net: dsa: mv88e6xxx: prefix Global 2 Device Mapping macros

2017-06-19 Thread Vivien Didelot
Prefix and document the Global 2 Device Mapping macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 2 +- drivers/net/dsa/mv88e6xxx/global2.h | 10 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/global2.c b/driver

[PATCH net-next v2 03/10] net: dsa: mv88e6xxx: prefix Global 2 Trunk macros

2017-06-19 Thread Vivien Didelot
Prefix and document the Global 2 Trunk registers macros. At the same time, fix the hask -> hash typo and use the mv88e6xxx_port_mask helper. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 13 ++--- drivers/net/dsa/mv88e6xxx/global2.h | 18 +++--- 2 fi

[PATCH net-next v2 05/10] net: dsa: mv88e6xxx: prefix Global 2 MGMT macros

2017-06-19 Thread Vivien Didelot
Prefix and document the Global 2 MGMT registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 11 ++- drivers/net/dsa/mv88e6xxx/global2.h | 23 +++ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/drivers/net/dsa/mv88e

[PATCH net-next v2 02/10] net: dsa: mv88e6xxx: clarify SMI PHY functions

2017-06-19 Thread Vivien Didelot
Marvell chips with an SMI PHY access in Global 2 registers handle both Clause 22 and Clause 45 of IEEE 802.3. The 88E6390 family has addition bits to target the internal or external PHYs connected to the device, and a Setup function in addition to the default (register) Access function. Prefix th

[PATCH net-next v2 06/10] net: dsa: mv88e6xxx: prefix Global 2 PVT macros

2017-06-19 Thread Vivien Didelot
Prefix and document the Global 2 Cross-chip Port VLAN registers macros. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/global2.c | 14 -- drivers/net/dsa/mv88e6xxx/global2.h | 19 +-- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/driver

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Alexey Budankov
On 19.06.2017 16:37, Alexey Budankov wrote: On 19.06.2017 16:26, Mark Rutland wrote: On Mon, Jun 19, 2017 at 04:08:32PM +0300, Alexey Budankov wrote: On 16.06.2017 1:10, Alexey Budankov wrote: On 15.06.2017 22:56, Mark Rutland wrote: On Thu, Jun 15, 2017 at 08:41:42PM +0300, Alexey Budankov w

Re: [PATCH 0/4] i2c: pca-platform: updates

2017-06-19 Thread Wolfram Sang
On Tue, Jun 13, 2017 at 01:56:37PM +1200, Chris Packham wrote: > We're using a PCA9564 on an embedded platform to provide an i2c > controller. This adds devicetree support and I've included some > cleanups for the driver while I was at it. Col, this was the first driver I ever hacked! Ah, mem

[PATCH net-next v2 01/10] net: dsa: mv88e6xxx: add irl_init_all op

2017-06-19 Thread Vivien Didelot
Some Marvell chips have an Ingress Rate Limit unit. But the command values slightly differs between models: 88E6352 use 3-bit for operations while 88E6390 use different 2-bit operations. This commit kills the IRL flags in favor of a new operation implementing the "Init all resources to the initial

[PATCH net-next v2 00/10] net: dsa: Global 2 cosmetics

2017-06-19 Thread Vivien Didelot
Similarly to what has been done for the Port and Global 1 registers, this patch series prefixes and documents the macros of Global 2. It brings no functional changes except for 1/10 which fixes the IRL init for 88E6390 family. Changes in v2: make *_g2_irl_init_all static inline without NET_DSA_MV

Re: [PATCH 2/2] iommu/s390: Add support for iommu_device handling

2017-06-19 Thread Gerald Schaefer
On Thu, 15 Jun 2017 15:11:52 +0200 Joerg Roedel wrote: > From: Joerg Roedel > > Add support for the iommu_device_register interface to make > the s390 hardware iommus visible to the iommu core and in > sysfs. > > Signed-off-by: Joerg Roedel > --- > arch/s390/include/asm/pci.h | 7 +++ >

[PATCH v2 02/19] MAINTAINERS: Add Qualcomm Camera subsystem driver

2017-06-19 Thread Todor Tomov
Add an entry for Qualcomm Camera subsystem driver. Signed-off-by: Todor Tomov --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 09b5ab6..524fe09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10570,6 +10570,14 @@ T: git git://git.ker

[PATCH v2 16/19] camss: vfe: Add interface for cropping

2017-06-19 Thread Todor Tomov
Extend selection ioctls to handle cropping configuration. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/vfe.c | 191 +-- drivers/media/platform/qcom/camss-8x16/vfe.h | 1 + 2 files changed, 150 insertions(+), 42 deletions(-) diff --git a/drivers

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