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: [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: [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: 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

[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: 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() > { >

[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: [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

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: 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 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: 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 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: 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 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: 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: 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: [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: [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 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] 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 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 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 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 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] 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

[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: 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

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: 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 > >

[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: [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

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: 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: 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: [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: [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

[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

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 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

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

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: 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

[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

[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 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 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

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 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 +++

[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

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

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: [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: [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 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: [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 >>

[PATCH] stmmac: disable tx coalescing

2016-12-05 Thread Pavel Machek
Tx coalescing in stmmac is broken in more than one way, so disable it for now. First, low-res timers have resolution down to one per second. It is not acceptable to delay transmits for 40msec, and certainly not acceptable to delay them for 1000msec. Second, the logic is wrong: i

[PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-05 Thread Lorenzo Pieralisi
The introduction of acpi_dma_configure() allows to configure DMA and related IOMMU for any device that is DMA capable. To achieve that goal it ensures DMA masks are set-up to sane default values before proceeding with IOMMU and DMA ops configuration. On x86/ia64 systems, through acpi_bind_one(), a

[PATCH] MAINTAINERS: add include/dt-bindings/arm/zte* to ARM ZTE architecture

2016-12-05 Thread Baoyou Xie
Add include/dt-bindings/arm/zte* as maintained by ARM ZTE architecture maintainers. Signed-off-by: Baoyou Xie --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ba787ac..63864b0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1983,6 +1983,7 @@ F:

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-12-05 Thread Sebastian Frias
Hi Doug, On 28/11/16 18:46, Doug Anderson wrote: > Hi, > > On Mon, Nov 28, 2016 at 6:39 AM, Sebastian Frias wrote: >>> I will try to send another patch with what a different approach >>> >> >> Here's a different approach (I just tested that it built, because I don't >> have the >> rk3399 platfo

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-12-05 Thread Sebastian Frias
Hi Doug, On 28/11/16 19:02, Doug Anderson wrote: > Hi, > > On Mon, Nov 28, 2016 at 5:28 AM, Sebastian Frias wrote: >> +static void sdhci_tango4_platform_init(struct sdhci_host *host) >> +{ >> + printk("%s\n", __func__); >> + >> + /* >> + pad_mode[2:0]=0must be 0 >> +

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

2016-12-05 Thread Stanimir Varbanov
Hi Hans, Thanks for the comments! On 12/05/2016 01:32 PM, Hans Verkuil wrote: > 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 >> con

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

2016-12-05 Thread David F
On 12/05/2016 04:20 AM, Joerg Roedel wrote: > 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

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

2016-12-05 Thread Herbert Xu
On Mon, Dec 05, 2016 at 11:48:42AM +0100, Corentin Labbe wrote: > From: LABBE Corentin > > The Security System have a PRNG. > This patch add support for it as an hwrng. > > Signed-off-by: Corentin Labbe Please don't add PRNGs to hwrng. If we have existing PRNGs in there please let me know so

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

2016-12-05 Thread Pavel Machek
Hi! > >Sorry but I'm a little bit confused. I'm dropped in some mails without > >historic. I see cleanup, coalescence issue and TSO question. > >What is your main issue? Are you working on gmac4 or 3.x ? > >Can you refresh a little bit the story please ? > > let me try to do a sum, please Pavel f

[PATCH] objtool fix bytes check

2016-12-05 Thread Jiri Slaby
Signed-off-by: Jiri Slaby --- Feel free to stash both of them into your objtool-dwarf branch. They are on the top of the upstream fix I have sent earlier today. tools/objtool/arch/x86/decode.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/objtool/arch/x86/d

[PATCH] objtool: fix build

2016-12-05 Thread Jiri Slaby
0x8d opcode was handled twice. Fixed. Signed-off-by: Jiri Slaby --- tools/objtool/arch/x86/decode.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c index ca4ede5ddd8c..6011ccbf9384 1006

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

2016-12-05 Thread Lukas Wunner
On Mon, Dec 05, 2016 at 10:20:53AM -0200, Mauro Carvalho Chehab wrote: > 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

Re: [PATCH v10 12/13] drm/mediatek: update DSI sub driver flow for sending commands to panel

2016-12-05 Thread YT Shen
Hi CK, On Wed, 2016-11-30 at 15:58 +0800, CK Hu wrote: > Hi, YT: > > some comments inline. > > On Fri, 2016-11-25 at 18:34 +0800, YT Shen wrote: > > This patch update enable/disable flow of DSI module. > > Original flow works on there is a bridge chip: DSI -> bridge -> panel. > > In this case: D

<    4   5   6   7   8   9