Re: [PATCH v4 1/9] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management

2016-12-05 Thread Stanimir Varbanov
Hi Hans, On 12/05/2016 01:25 PM, Hans Verkuil wrote: > On 12/01/2016 10:03 AM, Stanimir Varbanov wrote: >> this add functions for: >> - remove buffers from src/dst queue by index >> - remove exact buffer from src/dst queue >> >> also extends m2m API to iterate over a list of src/dst buffers >>

Re: [PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-05 Thread Thierry Reding
On Mon, Dec 05, 2016 at 01:12:25PM +0100, Benjamin Gaignard wrote: > 2016-12-05 12:23 GMT+01:00 Thierry Reding : > > On Mon, Dec 05, 2016 at 12:08:32PM +0100, Benjamin Gaignard wrote: > >> 2016-12-05 7:53 GMT+01:00 Thierry Reding : > >> > On Fri, Dec 02, 2016 at 11:17:18AM +0100, Benjamin Gaignard

Re: [tpmdd-devel] [PATCH v2 1/3] tpm_crb: map locality registers

2016-12-05 Thread Jarkko Sakkinen
On Mon, Dec 05, 2016 at 12:07:51PM +, Winkler, Tomas wrote: > > > --- > > > drivers/char/tpm/tpm_crb.c | 96 > > > ++ > > > 1 file changed, 64 insertions(+), 32 deletions(-) > > > > > > diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_c

Re: [PATCH v4 8/9] media: venus: hfi: add Venus HFI files

2016-12-05 Thread Stanimir Varbanov
Hi Hans, On 12/05/2016 02:05 PM, Hans Verkuil wrote: > On 12/01/2016 10:03 AM, Stanimir Varbanov wrote: >> Here is the implementation of Venus video accelerator low-level >> functionality. It contanins code which setup the registers and >> startup uthe processor, allocate and manipulates with the

Re: [PATCH 2/2] driver core: Silence device links sphinx warning

2016-12-05 Thread Mauro Carvalho Chehab
Em Sun, 4 Dec 2016 13:10:04 +0100 Lukas Wunner escreveu: > Silence this warning emitted by sphinx: > include/linux/device.h:938: warning: No description found for parameter > 'links' > > While at it, fix typos in comments of device links code. > > Cc: Rafael J. Wysocki > Cc: Greg Kroah-Hartma

Re: usb/gadget: GPF in usb_gadget_unregister_driver

2016-12-05 Thread Andrey Konovalov
On Sat, Dec 3, 2016 at 6:31 PM, Felix Hädicke wrote: > Hi, >> Hi! >> >> I've got the following error report while running the syzkaller fuzzer. >> >> On commit 3c49de52d5647cda8b42c4255cf8a29d1e22eff5 (Dec 2). >> >> general protection fault: [#1] SMP KASAN >> Dumping ftrace buffer: >>(ftr

Re: usb/gadget: GPF in usb_gadget_unregister_driver

2016-12-05 Thread Andrey Konovalov
On Sat, Dec 3, 2016 at 6:13 PM, Greg Kroah-Hartman wrote: > On Sat, Dec 03, 2016 at 05:36:35PM +0100, Andrey Konovalov wrote: >> Hi! >> >> I've got the following error report while running the syzkaller fuzzer. >> >> On commit 3c49de52d5647cda8b42c4255cf8a29d1e22eff5 (Dec 2). >> >> general protect

[PATCH] mfd: axp20x: correct a typo in axp20x_device_remove documentation

2016-12-05 Thread Corentin Labbe
The documentation of axp20x_device_remove() have a typo and use axp20x_device_probe() as name. This patch fix this typo. Signed-off-by: Corentin Labbe --- include/linux/mfd/axp20x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd

[PATCH 5/5] docs: 00-INDEX: document directories/files with no docs

2016-12-05 Thread Mauro Carvalho Chehab
There are a number of files/directories that don't contain any documentation. They're related to ReST file conversion. As a matter of completeness, since Makefile is also documented there, add an entry for those files too. Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 19 +++

Re: [PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-05 Thread Benjamin Gaignard
2016-12-05 12:23 GMT+01:00 Thierry Reding : > On Mon, Dec 05, 2016 at 12:08:32PM +0100, Benjamin Gaignard wrote: >> 2016-12-05 7:53 GMT+01:00 Thierry Reding : >> > On Fri, Dec 02, 2016 at 11:17:18AM +0100, Benjamin Gaignard wrote: >> >> Define bindings for pwm-stm32 >> >> >> >> version 2: >> >> - u

[PATCH 2/5] docs: 00-INDEX: consolidate process/ and admin-guide/ description

2016-12-05 Thread Mauro Carvalho Chehab
Instead of having descriptions for individual files inside the process/ and admin-guide/ documentation, consolidate them into one entry per directory, just like other descriptions inside 00-INDEX. Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 61 --

[PATCH 3/5] docs: 00-INDEX: add missing entries for documentation files/dirs

2016-12-05 Thread Mauro Carvalho Chehab
Several directories and individual files don't have entries at 00-INDEX. Add them, using, as reference, the initial text inside the documentation file(s). Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 64 ++ 1 file changed, 60 i

[PATCH 1/5] scripts: add a script to check if Documentation/00-INDEX is sane

2016-12-05 Thread Mauro Carvalho Chehab
It is easy to forget adding/removing entries at the Documentation/00-INDEX file. In a matter of fact, even before ReST conversion, people use to forget adding things here, as there are lots of missing stuff out there. Now that we're doing a hard work converting entries to ReST, and while this hole

[PATCH 0/5] Update Documentation/00-INDEX

2016-12-05 Thread Mauro Carvalho Chehab
Keeping a manually filled index over time is not perfect, as people often forget to keep the index file updated. As Brian noticed, the recent conversion to ReST caused some new issues. It turns, however, that the problem with this file predates the ReST conversion, as several entries were missing,

[PATCH 4/5] docs: 00-INDEX: remove non-existing entries

2016-12-05 Thread Mauro Carvalho Chehab
Several entries were moved to a directory; others got simply removed. Get rid of those entries. Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 52 -- 1 file changed, 52 deletions(-) diff --git a/Documentation/00-INDEX b/Document

Applied "regulator: core: add newline in debug message" to the regulator tree

2016-12-05 Thread Mark Brown
The patch regulator: core: add newline in debug message has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency for CQ0093VC" to the asoc tree

2016-12-05 Thread Mark Brown
The patch ASoC: cq93vc: remove MFD_DAVINCI_VOICECODEC dependency for CQ0093VC has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "regulator: Fix regulator_get_error_flags() signature mismatch" to the regulator tree

2016-12-05 Thread Mark Brown
The patch regulator: Fix regulator_get_error_flags() signature mismatch has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Re: [PATCH v4 8/9] media: venus: hfi: add Venus HFI files

2016-12-05 Thread Hans Verkuil
On 12/01/2016 10:03 AM, Stanimir Varbanov wrote: > Here is the implementation of Venus video accelerator low-level > functionality. It contanins code which setup the registers and > startup uthe processor, allocate and manipulates with the shared > memory used for sending commands and receiving mes

[PATCH] MAINTAINERS: clarify that "B:" is the URI where to file bugs

2016-12-05 Thread Jani Nikula
Different subsystems and drivers have different preferences for where to file bugs and what information to include. 686564434e88 ("MAINTAINERS: Add bug tracking system location entry type") added "B:" entry for this. Clarify that "B:" specifies the URI for the bug tracker directly, a web page for

[PATCH v3] iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped

2016-12-05 Thread Xunlei Pang
We met the DMAR fault both on hpsa P420i and P421 SmartArray controllers under kdump, it can be steadily reproduced on several different machines, the dmesg log is like: HP HPSA Driver (v 3.4.16-0) hpsa :02:00.0: using doorbell to reset controller hpsa :02:00.0: board ready after hard reset

RE: [tpmdd-devel] [PATCH v2 1/3] tpm_crb: map locality registers

2016-12-05 Thread Winkler, Tomas
> > --- > > drivers/char/tpm/tpm_crb.c | 96 > > ++ > > 1 file changed, 64 insertions(+), 32 deletions(-) > > > > diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c > > index 717b6b4..8d81b66 100644 > > --- a/drivers/char/tpm/tpm_crb.c

Re: [PATCH] [media] usbtv: add a new usbid

2016-12-05 Thread Lubomir Rintel
On Sun, 2016-12-04 at 22:59 +0800, Icenowy Zheng wrote: > > 04.12.2016, 22:00, "Icenowy Zheng" : > > A new usbid of UTV007 is found in a newly bought device. > > > > The usbid is 1f71:3301. > > > > The ID on the chip is: > > UTV007 > > A89029.1 > > 1520L18K1 > > > > Seems that my device come w

Re: [PATCH 1/2] Documentation/core-api/device_link: Add initial documentation

2016-12-05 Thread Mauro Carvalho Chehab
Em Sun, 4 Dec 2016 13:10:04 +0100 Lukas Wunner escreveu: > Document device links as introduced in v4.10 with commits: > 4bdb35506b89 ("driver core: Add a wrapper around >__device_release_driver()") > 9ed9895370ae ("driver core: Functional dependencies tracking >

Re: [PATCH 0/2] Device links documentation

2016-12-05 Thread Mauro Carvalho Chehab
Hi Lukas, Em Sun, 4 Dec 2016 13:10:04 +0100 Lukas Wunner escreveu: > Here's my suggestion for initial documentation on the device links > feature that's queued for 4.10 on Greg KH's driver-core-next branch. > Please let me know if you have any additions or corrections. > > To read this in rende

[PATCH v8 2/6] powerpc: pSeries/Kconfig: Add qspinlock build config

2016-12-05 Thread Pan Xinhui
pSeries/powerNV will use qspinlock from now on. Signed-off-by: Pan Xinhui --- arch/powerpc/platforms/pseries/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index bec90fb..8a87d06 100644 --- a/ar

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Pavel Machek
Hi! > >>We had experimented this tuning on STB IP where just datagrams > >>had to send externally. To be honest, although we had seen > >>better results w/o any timer, we kept this approach enabled > >>because the timer was fast enough to cover our tests on SH4 boxes. > > > >Please reply to David,

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Pavel Machek
Hi! > the idea behind the TX mitigation is to mix the interrupt and > timer and this approach gave us real benefit in terms > of performances and CPU usage (especially on SH4-200/SH4-300 platforms > based). > In the ring, some descriptors can raise the irq (according to a > threshold) and set the

Re: [v3 PATCH] netlink: Do not schedule work from sk_destruct

2016-12-05 Thread Andrey Konovalov
On Mon, Dec 5, 2016 at 8:28 AM, Herbert Xu wrote: > On Mon, Dec 05, 2016 at 03:26:00PM +0800, Herbert Xu wrote: >> On Mon, Dec 05, 2016 at 03:19:46PM +0800, Herbert Xu wrote: >> > >> > Thanks for the patch. It'll obviously work but I wanted avoid that >> > because it penalises the common path for

Re: [PATCH] [media] usbtv: add a new usbid

2016-12-05 Thread Lubomir Rintel
On Sun, 2016-12-04 at 21:59 +0800, Icenowy Zheng wrote: > A new usbid of UTV007 is found in a newly bought device. > > The usbid is 1f71:3301. > > The ID on the chip is: > UTV007 > A89029.1 > 1520L18K1 > > Both video and audio is tested with the modified usbtv driver. Thank you. Acked-by: Lubo

[PATCH] gpio/gpiolib.c:Fixing style issues in gpiolib.c

2016-12-05 Thread Mukesh Kaushik
Fixing the following checkpatch.pl error: ERROR: else should follow close brace '}' + } + else if (test_bit(FLAG_OPEN_SOURCE, &desc->flags)) { ERROR: space prohibited after that open parenthesis '(' + if ( !desc->gdev->chip ) { \ ERROR: space prohibited before that close parent

Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()

2016-12-05 Thread Valo, Kalle
Hi Dave, Andy Gross writes: > On 1 December 2016 at 04:17, Valo, Kalle wrote: >> Kalle Valo writes: >> >>> It found the same problem. Interestingly I'm also building x86 with 32 >>> bit, maybe it's related? >>> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git >>> pend

Re: stmmac: turn coalescing / NAPI off in stmmac

2016-12-05 Thread Pavel Machek
Hi! > >>>So patch currently looks like this (hand edited, can't be > >>>applied, got it working few hours ago). Does it look acceptable? > >>> > >>>I'd prefer this to go after the patch that pulls common code to single > >>>place, so that single place needs to be patched. Plus I guess I should > >

Re: [PATCH v2 2/3] locking/percpu-rwsem: Rework writer block/wake to not use wait-queues

2016-12-05 Thread Oleg Nesterov
On 12/05, Oleg Nesterov wrote: > > Yes, but on a second thought task_rcu_dereference() won't really help, I forgot to explain why, see below. > #define xxx_wait_event(xxx, event) { > // comment to explain why > WARN_ON(current->exit_state); Otherwise this proces

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Lino Sanfilippo
Hi, > > Actually, I was wrong. irqlock protection is needed, since > stmmac_tx_clean() is called from timer, and that's interrupt context, > as you can confirm using BUG_ON(in_interrupt()); > in_interrupt() can mean both softirq and hardirq context. In this case it means softirq. So I guess you

[PATCH 1/1 v2] input: usbhid: fix improper return value

2016-12-05 Thread Pan Bian
Function hid_post_reset() should return negative error codes on failures. However, in its implementation, it incorrectly returns 1. This patch fixes the bug, returning proper error codes on failures. Signed-off-by: Pan Bian --- drivers/hid/usbhid/hid-core.c | 6 +++--- 1 file changed, 3 insertio

Re: [PATCH] ASoC: cq93vc: enable compiling on COMPILE_TEST

2016-12-05 Thread Mark Brown
On Fri, Dec 02, 2016 at 03:59:36AM +, Kuninori Morimoto wrote: > > Hi Mark > > I posted cq93vc dependency fixup (= no depend to MFD_DAVINCI_VOICECODEC) > patch which were 2 patches. Please don't send cover letters for single patches, if there is anything that needs saying put it in the chang

Re: [PATCH 1/3] ARM: dts: imx6: Add Savageboard common file

2016-12-05 Thread Fabio Estevam
On Sun, Dec 4, 2016 at 11:07 PM, Milo Kim wrote: > + regulators { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + reg_3p3v: regulator@0 { > + compatible = "regulator-fixed";

Re: [PATCH v3 4/7] PWM: add pwm driver for stm32 plaftorm

2016-12-05 Thread Thierry Reding
On Mon, Dec 05, 2016 at 12:02:45PM +0100, Benjamin Gaignard wrote: > 2016-12-05 8:23 GMT+01:00 Thierry Reding : > > On Fri, Dec 02, 2016 at 11:17:19AM +0100, Benjamin Gaignard wrote: > >> This driver add support for pwm driver on stm32 platform. > > > > "adds". Also please use PWM in prose because

Re: [PATCH v4 5/9] media: venus: vdec: add video decoder files

2016-12-05 Thread Hans Verkuil
I have two comments (and the same two comments apply to the video encoder patch as well): On 12/01/2016 10:03 AM, Stanimir Varbanov wrote: > This consists of video decoder implementation plus decoder > controls. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/venus/vdec

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-05 Thread Mika Westerberg
On Mon, Nov 28, 2016 at 03:06:23PM +0300, Mika Westerberg wrote: > This is 6th iteration of the series. You can find the previous versions > archived on: > > v5: https://lwn.net/Articles/706363/ > v4: https://lwn.net/Articles/703773/ > v3: https://lwn.net/Articles/697231/ > v2: http://list

Re: [PATCH v4 1/9] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management

2016-12-05 Thread Hans Verkuil
On 12/01/2016 10:03 AM, Stanimir Varbanov wrote: > this add functions for: > - remove buffers from src/dst queue by index > - remove exact buffer from src/dst queue > > also extends m2m API to iterate over a list of src/dst buffers > in safely and non-safely manner. > > Signed-off-by: Stanimi

Re: [PATCH v2 2/3] locking/percpu-rwsem: Rework writer block/wake to not use wait-queues

2016-12-05 Thread Oleg Nesterov
Davidlohr, Peter, I'll try to read this patch later, just one note. On 12/05, Peter Zijlstra wrote: > > On Fri, Dec 02, 2016 at 06:18:39PM -0800, Davidlohr Bueso wrote: > > @@ -102,8 +103,13 @@ void __percpu_up_read(struct percpu_rw_semaphore *sem) > > */ > > __this_cpu_dec(*sem->read_cou

Re: [PATCH] regulator: Fix regulator_get_error_flags() signature mismatch

2016-12-05 Thread Axel Haslam
On Sun, Dec 4, 2016 at 11:52 PM, David Lechner wrote: > The function signature of does not match regulator_get_error_flags() > when CONFIG_REGULATOR is not defined vs. when it is not defined. > This makes both declarations match to prevent compiler errors. > > Signed-off-by: David Lechner > --- >

Re: [PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-05 Thread Will Deacon
On Mon, Dec 05, 2016 at 01:39:53PM +0530, Maninder Singh wrote: > This patch corrects format specifier for printing 64 bit addresses. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang > --- > arch/arm64/kernel/signal.c | 2 +- > arch/arm64/kvm/sys_regs.c | 8 ++-- > arch/a

Re: [PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-05 Thread Thierry Reding
On Mon, Dec 05, 2016 at 12:08:32PM +0100, Benjamin Gaignard wrote: > 2016-12-05 7:53 GMT+01:00 Thierry Reding : > > On Fri, Dec 02, 2016 at 11:17:18AM +0100, Benjamin Gaignard wrote: > >> Define bindings for pwm-stm32 > >> > >> version 2: > >> - use parameters instead of compatible of handle the ha

RE: [PATCH] perf/x86: fix event counter update issue

2016-12-05 Thread Odzioba, Lukasz
On Monday, December 5, 2016 11:25 AM, Peter Zijlstra wrote: > I'll certainly, try. I've queued it as per the below. Great, thank you! Lukas

Re: [PATCH 1/3] dev_pm_qos: Improve sysfs pm_qos_latency_tolerance validation

2016-12-05 Thread Pavel Machek
On Tue 2016-11-29 17:11:50, Andy Lutomirski wrote: > Negative values are special. Don't let users write them directly. > > Signed-off-by: Andy Lutomirski Acked-by: Pavel Machek > --- a/drivers/base/power/sysfs.c > +++ b/drivers/base/power/sysfs.c > @@ -263,7 +263,11 @@ static ssize_t pm_qos_l

Re: adm80211: add checks for dma mapping errors

2016-12-05 Thread Kalle Valo
Alexey Khoroshilov wrote: > The driver does not check if mapping dma memory succeed. > The patch adds the checks and failure handling. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Patch applied to wireless-drivers-next.git, thanks. d

Re: bio linked list corruption.

2016-12-05 Thread Vegard Nossum
On 5 December 2016 at 00:04, Vegard Nossum wrote: > FWIW I hit this as well: > > BUG: unable to handle kernel paging request at 81ff08b7 > IP: [] __lock_acquire.isra.32+0xda/0x1a30 > CPU: 0 PID: 21744 Comm: trinity-c56 Tainted: GB 4.9.0-rc7+ #217 [...] > I think you can rule

Re: [PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-05 Thread Benjamin Gaignard
2016-12-05 7:53 GMT+01:00 Thierry Reding : > On Fri, Dec 02, 2016 at 11:17:18AM +0100, Benjamin Gaignard wrote: >> Define bindings for pwm-stm32 >> >> version 2: >> - use parameters instead of compatible of handle the hardware configuration >> >> Signed-off-by: Benjamin Gaignard >> --- >> .../dev

Re: Cherryview wake up events

2016-12-05 Thread Mika Westerberg
On Sun, Dec 04, 2016 at 07:52:19PM +0100, Johannes Stezenbach wrote: > Hi, > > On Wed, Oct 05, 2016 at 04:05:11PM +0300, Mika Westerberg wrote: > > On Wed, Oct 05, 2016 at 02:46:48PM +0200, Johannes Stezenbach wrote: > > > On Fri, Sep 23, 2016 at 11:19:04AM +0300, Mika Westerberg wrote: > > > > Da

Re: [PATCH v3 4/7] PWM: add pwm driver for stm32 plaftorm

2016-12-05 Thread Benjamin Gaignard
2016-12-05 8:23 GMT+01:00 Thierry Reding : > On Fri, Dec 02, 2016 at 11:17:19AM +0100, Benjamin Gaignard wrote: >> This driver add support for pwm driver on stm32 platform. > > "adds". Also please use PWM in prose because it's an abbreviation. > >> The SoC have multiple instances of the hardware IP

Re: Unkillable processes due to PTRACE_TRACEME again

2016-12-05 Thread Oleg Nesterov
On 12/05, Oleg Nesterov wrote: > > On 12/02, Dmitry Vyukov wrote: > > > > I am not on 2caceb3294a78c389b462e7e236a4e744a53a474 (Dec 1). And see > > the same unwaitable zombie processes. > > This is another thing, and notabug. This is how ptrace works, > > > void *thr(void *arg) > > { > > ptrace(P

[PATCH v8 4/6] powerpc/pv-qspinlock: powerpc support pv-qspinlock

2016-12-05 Thread Pan Xinhui
The default pv-qspinlock uses qspinlock(native version of pv-qspinlock). pv_lock initialization should be done in bootstage with irq disabled. And if we run as a guest with powerKVM/pHyp shared_processor mode, restore pv_lock_ops callbacks to pv-qspinlock(pv version) which makes full use of virtual

Re: [PATCH v9 07/16] drivers: acpi: implement acpi_dma_configure

2016-12-05 Thread Lorenzo Pieralisi
On Mon, Dec 05, 2016 at 03:22:02PM +0530, Sricharan wrote: > Hi Lorenzo, > > > > >On Sat, Dec 3, 2016 at 11:39 AM, Lorenzo Pieralisi > > wrote: > >> On Sat, Dec 03, 2016 at 03:11:09AM +0100, Rafael J. Wysocki wrote: > >>> On Fri, Dec 2, 2016 at 4:38 PM, Lorenzo Pieralisi > >>> wrote: > >>> > Rafa

RE: [patch net v2] net: fec: fix compile with CONFIG_M5272

2016-12-05 Thread Andy Duan
From: Nikita Yushchenko Sent: Monday, December 05, 2016 4:16 PM >To: David S. Miller ; Andy Duan >; Troy Kisky ; >Andrew Lunn ; Eric Nelson ; Philippe >Reynes ; Johannes Berg ; >net...@vger.kernel.org >Cc: Chris Healy ; Fabio Estevam >; linux-kernel@vger.kernel.org; Nikita >Yushchenko >

Re: net/can: warning in raw_setsockopt/__alloc_pages_slowpath

2016-12-05 Thread Marc Kleine-Budde
On 12/02/2016 06:05 PM, Oliver Hartkopp wrote: > > > On 12/02/2016 04:42 PM, Marc Kleine-Budde wrote: >> On 12/02/2016 04:11 PM, Oliver Hartkopp wrote: >>> >>> >>> On 12/02/2016 02:24 PM, Marc Kleine-Budde wrote: On 12/02/2016 01:43 PM, Andrey Konovalov wrote: >>> >>> > [] raw_setsockop

[PATCH] objtool: fix bytes check of lea's rex_prefix

2016-12-05 Thread Jiri Slaby
For the "lea %(rsp), %rbp" case, we check if there is a rex_prefix. But we check "bytes" which is insn_byte_t[4] in rex_prefix (insn_field structure). Therefore, the check is always true. Instead, check nbytes which is the right one. Signed-off-by: Jiri Slaby Cc: Josh Poimboeuf --- tools/objto

Re: [PATCH] i2c: rk3x: keep i2c irq ON in suspend

2016-12-05 Thread Heiko Stuebner
Hi David, Am Montag, 5. Dezember 2016, 16:02:59 CET schrieb David Wu: > During suspend there may still be some i2c access happening. > And if we don't keep i2c irq ON, there may be i2c access timeout if > i2c is in irq mode of operation. can you describe the issue you're trying to fix a bit more

Re: [PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-05 Thread Thierry Reding
On Mon, Dec 05, 2016 at 08:35:35AM +, Lee Jones wrote: > On Mon, 05 Dec 2016, Thierry Reding wrote: > > > On Fri, Dec 02, 2016 at 11:17:18AM +0100, Benjamin Gaignard wrote: > > > Define bindings for pwm-stm32 > > > > > > version 2: > > > - use parameters instead of compatible of handle the ha

[PATCH v2] crypto: sun4i-ss: support the Security System PRNG

2016-12-05 Thread Corentin Labbe
From: LABBE Corentin The Security System have a PRNG. This patch add support for it as an hwrng. Signed-off-by: Corentin Labbe --- Changes since v1: - Replaced all spin_lock_bh by simple spin_lock - Removed handling of size not modulo 4 which will never happen - Added add_random_ready_callba

Re: Build regressions/improvements in v4.9-rc8

2016-12-05 Thread Geert Uytterhoeven
On Mon, Dec 5, 2016 at 10:09 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.9-rc8[1] to v4.9-rc7[3], the summaries are: > - build errors: +5/-10 + /home/kisskb/slave/src/drivers/net/ethernet/freescale/fec_main.c: error: 'fec_stats' undeclared (first use in this function): => 3296:7

Re: Unkillable processes due to PTRACE_TRACEME again

2016-12-05 Thread Oleg Nesterov
On 12/02, Dmitry Vyukov wrote: > > I am not on 2caceb3294a78c389b462e7e236a4e744a53a474 (Dec 1). And see > the same unwaitable zombie processes. This is another thing, and notabug. This is how ptrace works, > void *thr(void *arg) > { > ptrace(PTRACE_TRACEME, 0, 0, 0); > } > > int main() > { >

[RFC PATCH] kernel/sysctl: detect overflows when converting to uint

2016-12-05 Thread Yisheng Xie
Commit 230633d109e3 ("kernel/sysctl.c: detect overflows when converting to int") prevented writing to sysctl entries when integer overflow occurs. However, this does not apply to unsigned integers. To fix this, commit e7d316a02f68 ("sysctl: handle error writing UINT_MAX to u32 fields") introduce a

Re: e1000e on Thinkpad x60: gigabit not available due to "SmartSpeed"

2016-12-05 Thread Pavel Machek
On Fri 2016-09-02 12:57:35, Lennart Sorensen wrote: > On Thu, Sep 01, 2016 at 02:58:13PM -0700, Greg wrote: > > On Thu, 2016-09-01 at 22:14 +0200, Pavel Machek wrote: > > > Hi! > > > > > > I have trouble getting 1000mbit out of my ethernet card. > > > > > > I tried direct connection between two P

Re: [PATCH v3 3/3] ARM: da850: fix da850_set_pll0rate()

2016-12-05 Thread Sekhar Nori
On Monday 05 December 2016 03:39 PM, Bartosz Golaszewski wrote: > This function is confusing - its second argument is an index to the > freq table, not the requested clock rate in Hz, but it's used as the > set_rate callback for the pll0 clock. It leads to an oops when the > caller doesn't know the

Re: [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-05 Thread Sekhar Nori
On Monday 05 December 2016 04:02 PM, Bartosz Golaszewski wrote: > 2016-12-05 11:15 GMT+01:00 Sekhar Nori : >> On Monday 05 December 2016 03:39 PM, Bartosz Golaszewski wrote: >>> The aemif clock is added twice to the lookup table in da850.c. This >>> breaks the children list of pll0_sysclk3 as we're

Re: [RFC PATCH] PCI: designware: add host_init() error handling

2016-12-05 Thread Joao Pinto
Às 11:51 AM de 12/2/2016, Srinivas Kandagatla escreveu: > > > On 02/12/16 10:32, Joao Pinto wrote: >> >> Hi Srinivas, >> >> Às 11:51 AM de 12/1/2016, Srinivas Kandagatla escreveu: >>> drivers/pci/host/pci-dra7xx.c | 4 +++- >>> drivers/pci/host/pci-exynos.c | 4 +++- >>> dr

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-05 Thread Pavel Machek
Hi! > >>In the ring, some descriptors can raise the irq (according to a > >>threshold) and set the IC bit. In this path, the NAPI poll will be > >>scheduled. > > > >Not NAPI poll but stmmac_tx_timer(), right? > > in the xmit according the the threshold the timer is started or the > interrupt is

Re: [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-05 Thread Bartosz Golaszewski
2016-12-05 11:15 GMT+01:00 Sekhar Nori : > On Monday 05 December 2016 03:39 PM, Bartosz Golaszewski wrote: >> The aemif clock is added twice to the lookup table in da850.c. This >> breaks the children list of pll0_sysclk3 as we're using the same list >> links in struct clk. When calling clk_set_rat

Re: [PATCH 3/3 v3] ALSA: usb-audio: fix race in snd_usb_endpoint_stop

2016-12-05 Thread Takashi Iwai
On Mon, 05 Dec 2016 11:10:59 +0100, Jiada Wang wrote: > > Hi, Takashi > > On 11/30/2016 01:00 AM, Takashi Iwai wrote: > > On Wed, 30 Nov 2016 08:59:23 +0100, > > Jiada Wang wrote: > >> From: Mark Craske > >> > >> Kernel crash seen once: > >> > >> Unable to handle kernel NULL pointer dereference a

Re: [RFC][PATCH] x86: Verify access_ok() context

2016-12-05 Thread Peter Zijlstra
On Tue, Nov 22, 2016 at 11:42:19AM -0800, Linus Torvalds wrote: > On Tue, Nov 22, 2016 at 11:37 AM, Peter Zijlstra wrote: > > > > CONFIG_DEBUG_VM seems somehow inappropriate. > > The usual might_fault() logic? That uses > > defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_DEBUG_ATOMIC_SLEEP)

[PATCH v8 6/6] powerpc/pv-qspinlock: Optimise native unlock path

2016-12-05 Thread Pan Xinhui
Avoid a function call under native version of qspinlock. On powerNV, bafore applying this patch, every unlock is expensive. This small optimizes enhance the performance. We use static_key with jump_label which removes unnecessary loads of lppaca and its stuff. Signed-off-by: Pan Xinhui --- arch

[PATCH v8 0/6] Implement qspinlock/pv-qspinlock on ppc

2016-12-05 Thread Pan Xinhui
Hi All, this is the fairlock patchset. You can apply them and build successfully. patches are based on linux-next qspinlock can avoid waiter starved issue. It has about the same speed in single-thread and it can be much faster in high contention situations especially when the spinlock is embedd

[PATCH v8 5/6] powerpc: pSeries: Add pv-qspinlock build config/make

2016-12-05 Thread Pan Xinhui
pSeries run as a guest and might need pv-qspinlock. Signed-off-by: Pan Xinhui --- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/platforms/pseries/Kconfig | 8 2 files changed, 9 insertions(+) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 19

[PATCH v8 3/6] powerpc: lib/locks.c: Add cpu yield/wake helper function

2016-12-05 Thread Pan Xinhui
Add two corresponding helper functions to support pv-qspinlock. For normal use, __spin_yield_cpu will confer current vcpu slices to the target vcpu(say, a lock holder). If target vcpu is not specified or it is in running state, such conferging to lpar happens or not depends. Because hcall itself

Re: ILP32 for ARM64: testing with glibc testsuite

2016-12-05 Thread Zhangjian (Bamvor)
On 2016/12/5 18:07, Andreas Schwab wrote: On Dez 05 2016, "Zhangjian (Bamvor)" wrote: Is there some progresses on it? We could collabrate to fix those issues. All the elf/nptl/rt fails should be fixed by the recent binutils fixes. Cool. How about the conform and other failures? Regards

Re: [PATCH] perf/x86: fix event counter update issue

2016-12-05 Thread Peter Zijlstra
On Fri, Dec 02, 2016 at 12:58:17PM +, Odzioba, Lukasz wrote: > On Tuesday, November 29, 2016 9:33 PM, Liang, Kan wrote: > > Yes, the patch as below fixes the issue on my SLM. > > It works for me as well. > Can we still have it in 4.9? I'll certainly, try. I've queued it as per the below. --

Re: [RFC PATCH 2/2] Documentation: devictree: Add macb mdio bindings

2016-12-05 Thread Nicolas Ferre
Le 05/12/2016 à 03:55, Harini Katakam a écrit : > Hi Rob, > > > Thanks for the review. > On Sun, Dec 4, 2016 at 3:05 AM, Rob Herring wrote: >> On Mon, Nov 28, 2016 at 03:19:27PM +0530, Harini Katakam wrote: > >>> +Required properties: >>> +- compatible: Should be "cdns,macb-mdio" >> >> Only one

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-05 Thread Joerg Roedel
Hi David, On Sun, Dec 04, 2016 at 06:57:57PM -0600, David F wrote: > Aug 19 13:32:20 taz [ 156.425627] [ cut here ] > Aug 19 13:32:20 taz [ 156.428136] kernel BUG at > drivers/iommu/intel-iommu.c:3682! This BUG_ON triggered because the IOMMU driver can't find a domain fo

Re: [PATCH v1 2/2] crypto: mediatek - add DT bindings documentation

2016-12-05 Thread Matthias Brugger
On 05/12/16 08:01, Ryder Lee wrote: Add DT bindings documentation for the crypto driver Signed-off-by: Ryder Lee --- .../devicetree/bindings/crypto/mediatek-crypto.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/m

can you establish this charity work

2016-12-05 Thread anisa.ibra...@ono.com
I am Amy Riddering, 41 years old, wife of late Mr. Michael James Riddering, USA citizen who was killed On 15 January 2016 in the Al Qaeda terrorist attack in Burkina Faso, I am a cancer victim, respond to me now because I want you to do a charity work for me. I want to hand over to you a fund w

Re: ILP32 for ARM64 - testing with lmbench

2016-12-05 Thread Zhangjian (Bamvor)
Hi, Catalin, Guys Do you have suggestion of next move of upstreaming ILP32? There are already the test results of lmbench and specint. Do you they are ok or need more data to prove no regression? I have also noticed that there are ILP32 failures in glibc testsuite. Is it the only blocker for me

Re: [PATCH 2/8] dt-bindings: document the STM32 RTC bindings

2016-12-05 Thread Amelie DELAUNAY
Hi Alexandre, Thanks for reviewing On 12/05/2016 11:06 AM, Alexandre Belloni wrote: Hi, On 02/12/2016 at 15:09:55 +0100, Amelie Delaunay wrote : This patch adds documentation of device tree bindings for the STM32 RTC. Signed-off-by: Amelie Delaunay --- .../devicetree/bindings/rtc/st,stm32-

Re: linux-next: unable to fetch the watchdog tree

2016-12-05 Thread Wim Van Sebroeck
Hi Stephen, Yes, I am setting up a new server. Kind regards, Wim. > Hi Wim, > > On Tue, 22 Nov 2016 09:49:19 +1100 Stephen Rothwell > wrote: > > > > On Mon, 14 Nov 2016 16:26:16 +0100 Wim Van Sebroeck wrote: > > > > > > This has been fixed. Thanks for notifying me about it. > > > > > > >

Re: [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-05 Thread Sekhar Nori
On Monday 05 December 2016 03:39 PM, Bartosz Golaszewski wrote: > The aemif clock is added twice to the lookup table in da850.c. This > breaks the children list of pll0_sysclk3 as we're using the same list > links in struct clk. When calling clk_set_rate(), we get stuck in > propagate_rate(). > >

Re: [PATCH v2 3/3] ARM: da850: fix da850_set_pll0rate()

2016-12-05 Thread Sekhar Nori
On Friday 02 December 2016 09:08 PM, Bartosz Golaszewski wrote: > This function is broken - its second argument is an index to the freq > table, not the requested clock rate in Hz. It leads to an oops when > called from clk_set_rate() since this argument isn't bounds checked > either. > > Fix it b

[PATCH v2] v4l: async: make v4l2 coexist with devicetree nodes in a dt overlay

2016-12-05 Thread Javi Merino
In asds configured with V4L2_ASYNC_MATCH_OF, the v4l2 subdev can be part of a devicetree overlay, for example: &media_bridge { ... my_port: port@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; ep: endpoint@0 {

Re: [PATCH 3/3 v3] ALSA: usb-audio: fix race in snd_usb_endpoint_stop

2016-12-05 Thread Jiada Wang
Hi, Takashi On 11/30/2016 01:00 AM, Takashi Iwai wrote: On Wed, 30 Nov 2016 08:59:23 +0100, Jiada Wang wrote: From: Mark Craske Kernel crash seen once: Unable to handle kernel NULL pointer dereference at virtual address 0008 pgd = a1d7c000 [0008] *pgd=31c93831, *pte=, *ppte=00

[PATCH v3 3/3] ARM: da850: fix da850_set_pll0rate()

2016-12-05 Thread Bartosz Golaszewski
This function is confusing - its second argument is an index to the freq table, not the requested clock rate in Hz, but it's used as the set_rate callback for the pll0 clock. It leads to an oops when the caller doesn't know the internals and passes the rate in Hz as argument instead of the cpufreq

[PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-05 Thread Bartosz Golaszewski
The aemif clock is added twice to the lookup table in da850.c. This breaks the children list of pll0_sysclk3 as we're using the same list links in struct clk. When calling clk_set_rate(), we get stuck in propagate_rate(). Create a separate clock for nand, inheriting the rate of the aemif clock and

Re: ILP32 for ARM64: testing with glibc testsuite

2016-12-05 Thread Zhangjian (Bamvor)
Hi, Steve On 2016/11/18 5:45, Steve Ellcey wrote: On Wed, 2016-11-16 at 15:22 +0400, Maxim Kuvyrkov wrote: On Nov 9, 2016, at 1:56 PM, Yury Norov wrote: Below is the results of glibc testsuite run for aarch64/lp64 I have been running the glibc testsuite as well. I have only run it on an

[PATCH v3 2/3] ARM: da850: coding style fix

2016-12-05 Thread Bartosz Golaszewski
Fix alignment of the clock lookup table entries. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index c008e5e..006ec56 100644 --- a/arch/arm/mac

[PATCH v3 0/3] ARM: da850: fix pll0 rate setting

2016-12-05 Thread Bartosz Golaszewski
While trying to set the pll0 rate from the kernel I noticed there are two issues with da850 clocks. The first patch fixes an infinite loop in propagate_rate(). The third fixes an oops in da850_set_pll0rate(). The second patch is just a coding style fix, while we're at it. v1 -> v2: - change the ap

Re: ILP32 for ARM64: testing with glibc testsuite

2016-12-05 Thread Andreas Schwab
On Dez 05 2016, "Zhangjian (Bamvor)" wrote: > Is there some progresses on it? We could collabrate to fix those issues. All the elf/nptl/rt fails should be fixed by the recent binutils fixes. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE

[PATCH] i2c: rk3x: keep i2c irq ON in suspend

2016-12-05 Thread David Wu
During suspend there may still be some i2c access happening. And if we don't keep i2c irq ON, there may be i2c access timeout if i2c is in irq mode of operation. Signed-off-by: David Wu --- drivers/i2c/busses/i2c-rk3x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

Re: [PATCH 2/8] dt-bindings: document the STM32 RTC bindings

2016-12-05 Thread Alexandre Belloni
Hi, On 02/12/2016 at 15:09:55 +0100, Amelie Delaunay wrote : > This patch adds documentation of device tree bindings for the STM32 RTC. > > Signed-off-by: Amelie Delaunay > --- > .../devicetree/bindings/rtc/st,stm32-rtc.txt | 31 > ++ > 1 file changed, 31 insertions(+

[PATCH v2 1/6] net: stmmac: return error if no DMA configuration is found

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel All drivers except pci glue layer calls stmmac_probe_config_dt. stmmac_probe_config_dt does a kzalloc dma_cfg. pci glue layer does kzalloc dma_cfg explicitly, so all current drivers does a kzalloc dma_cfg. Return an error if no DMA configuration is found, that way we can ass

[PATCH v2 2/6] net: stmmac: simplify the common DMA init API

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel Use struct stmmac_dma_cfg *dma_cfg as an argument rather than using all the struct members as individual arguments. Signed-off-by: Niklas Cassel --- drivers/net/ethernet/stmicro/stmmac/common.h| 4 ++-- drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 13 +

<    3   4   5   6   7   8   9   >