Re: [PATCH v7] soc: qcom: add l2 cache perf events driver

2016-11-16 Thread Mark Rutland
On Fri, Nov 11, 2016 at 04:52:35PM -0500, Leeder, Neil wrote: > So is there a use-case for individual uncore PMUs when they can't be > used in task mode or per-cpu? > > The main (only?) use will be in system mode, in which case surely it > makes sense to provide a single aggregated count? If you

Re: your mail

2016-11-16 Thread Peter Zijlstra
On Tue, Nov 15, 2016 at 02:29:16PM -0600, Christoph Lameter wrote: > > > > There is a deadlock, Peter!!! > > > > Describe please? Also, have you tried disabling RT_RUNTIME_SHARE ? > > > > > The description was given earlier in the the thread and the drawbacks of > using RT_RUNTIME_SHARE as well.

Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node

2016-11-16 Thread Sekhar Nori
On Wednesday 16 November 2016 04:05 PM, Alexandre Bailon wrote: > On 11/15/2016 11:46 AM, Sekhar Nori wrote: >> On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote: >>> This adds the device tree node for the usb otg >>> controller present in the da850 family of SoC's. >>> This also enable

4.8.6, NULL pointer in __wake_up_common / drm / i915

2016-11-16 Thread Olaf Hering
During boot into a current openSUSE Tumbleweed 20161108 this laptop starts to hang sometimes with 4.8.x. Today I was able to catch this crash in __wake_up_common caused by i915 or drm or whatever: ... [ 69.851635] BUG: unable to handle kernel NULL pointer dereference at (null) [ 69

Re: [RFC PATCH v3 08/20] x86: Add support for early encryption/decryption of memory

2016-11-16 Thread Borislav Petkov
Btw, for your next submission, this patch can be split in two exactly like the commit message paragraphs are: On Wed, Nov 09, 2016 at 06:36:10PM -0600, Tom Lendacky wrote: > Add support to be able to either encrypt or decrypt data in place during > the early stages of booting the kernel. This does

Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node

2016-11-16 Thread Alexandre Bailon
On 11/16/2016 11:41 AM, Sekhar Nori wrote: > On Wednesday 16 November 2016 04:05 PM, Alexandre Bailon wrote: >> On 11/15/2016 11:46 AM, Sekhar Nori wrote: >>> On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote: This adds the device tree node for the usb otg controller present i

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-16 Thread Jon Hunter
Hi Kevin, Ulf, On 03/11/16 14:20, Jon Hunter wrote: > > On 11/10/16 10:15, Jon Hunter wrote: > > ... > > Second, another way of seeing this is: Depending on the current > runtime selected configuration you need to re-configure the PM domain > topology - but the device would still re

[PATCH v5 3/3] usb: musb: da8xx: Add DT support for the DA8xx driver

2016-11-16 Thread Alexandre Bailon
From: Petr Kulhavy This adds DT support for TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver Signed-off-by: Petr Kulhavy Signed-off-by: Alexandre Bailon Tested-by: David Lechner --- drivers/usb/musb/da8xx.c | 46 ++ 1 file changed, 46 insertions(+) dif

[PATCH v5 0/3] driver: Add DT support for DA8xx

2016-11-16 Thread Alexandre Bailon
Changes in v2: * Remove unrelated changes in patch 3 * Rename the device node in patch 4 Changes in v3: * Fix few mistakes in DT binding sample * Only build the device table if DT is enabled Change in v4: * Fix a nit Changes in v5: * Nothing. Resent the v4 in two seppaated series: one for platfo

[PATCH v5 1/3] dt/bindings: Add binding for the DA8xx MUSB driver

2016-11-16 Thread Alexandre Bailon
From: Petr Kulhavy DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver. Signed-off-by: Petr Kulhavy Signed-off-by: Alexandre Bailon Acked-by: Rob Herring --- .../devicetree/bindings/usb/da8xx-usb.txt | 43 ++ 1 file changed, 43 insertions(+) create mo

[PATCH v5 2/3] usb: musb: core: added helper function for parsing DT

2016-11-16 Thread Alexandre Bailon
From: Petr Kulhavy This adds the function musb_get_mode() to get the DT property "dr_mode" Signed-off-by: Petr Kulhavy Acked-by: Sergei Shtylyov Signed-off-by: Alexandre Bailon Tested-by: David Lechner Reviewed-by: Kevin Hilman --- drivers/usb/musb/musb_core.c | 19 +++ dri

Re: [PATCH] blk-cgroup: use __GFP_NOWARN for NOWAIT allocations

2016-11-16 Thread Christian Borntraeger
On 10/25/2016 01:44 PM, Christian Borntraeger wrote: > I just got Ping? > > qemu-system-s39: page allocation failure: order:0, > mode:0x220(GFP_NOWAIT|__GFP_NOTRACK) > CPU: 0 PID: 6664 Comm: qemu-system-s39 Tainted: G 4.9.0-rc2+ #44 > [...] > ([<0011230a>] show_trace+0x62/0x78) > ([

[PATCH 1/2] net: netcp: replace IS_ERR_OR_NULL by IS_ERR

2016-11-16 Thread Julia Lawall
knav_queue_open always returns an ERR_PTR value, never NULL. This can be confirmed by unfolding the function calls and conforms to the function's documentation. Thus, replace IS_ERR_OR_NULL by IS_ERR in error checks. The change is made using the following semantic patch: (http://coccinelle.lip6.

[PATCH 0/2] replace IS_ERR_OR_NULL by IS_ERR

2016-11-16 Thread Julia Lawall
Replace IS_ERR_OR_NULL by IS_ERR on knav_queue_open calls. --- drivers/net/ethernet/ti/netcp_core.c |6 +++--- drivers/soc/ti/knav_qmss_queue.c |2 +- 2 files changed, 4 insertions(+), 4 deletions(-)

[PATCH 2/2] soc: ti: knav_qmss_queue: replace IS_ERR_OR_NULL by IS_ERR

2016-11-16 Thread Julia Lawall
knav_queue_open always returns an ERR_PTR value, never NULL. This can be confirmed by unfolding the function calls and conforms to the function's documentation. Thus, replace IS_ERR_OR_NULL by IS_ERR in error checks. The change is made using the following semantic patch: (http://coccinelle.lip6.

Re: [PATCH] irq/affinity: fix irq_create_affinity_masks for the pre_vectors case

2016-11-16 Thread Christoph Hellwig
On Tue, Nov 15, 2016 at 11:41:58PM +0100, Thomas Gleixner wrote: > We have the same exit condition in the (affv <= nodes) case and further > down in the outer loop. So the complete patch should be something like > this: Yes, this looks fine. Reviewed-by: Christoph Hellwig Tested-by: Christoph He

[PATCH v5 0/2] platform: Add DT support for DA8xx

2016-11-16 Thread Alexandre Bailon
This add and enable the usb otg for da850 and da850-lcdk. This series depends on "driver: dd DT support for DA8xx" patch set. If this series is applied before the "usb: musb: da8xx: Fix few issues" patch set then the usb driver will always retrun -ENODEV. Changes in v2: * Remove unrelated changes

[PATCH v5 2/2] ARM: dts: da850-lcdk: Enable the usb otg device node

2016-11-16 Thread Alexandre Bailon
This enables the usb otg controller for the lcdk board. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850-lcdk.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 7b8ab21..03f9bfd 100644 --- a/arch/ar

[PATCH v5 1/2] ARM: dts: da850: Add the usb otg device node

2016-11-16 Thread Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 2534a

Re: [PATCH v4 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-16 Thread Felipe Balbi
Hi, Sriram Dash writes: > From: Arnd Bergmann > > The dma ops for dwc3 devices are not set properly. So, use a > physical device sysdev, which will be inherited from parent, > to set the hardware / firmware parameters like dma. > > Signed-off-by: Arnd Bergmann > Signed-off-by: Sriram Dash > S

Re: [PATCH] clk: rockchip: rk3399: fix copy-paste error

2016-11-16 Thread Heiko Stuebner
Am Mittwoch, 16. November 2016, 08:19:41 CET schrieb Jianqun Xu: > Fix RK3368_* to RK3399_* for rk3399 clk_test clock. > > Signed-off-by: Jianqun Xu applied to my clk branch for 4.10 Thanks Heiko

Re: [PATHCv10 1/2] usb: USB Type-C connector class

2016-11-16 Thread Heikki Krogerus
On Wed, Nov 16, 2016 at 10:49:49AM +0100, Greg KH wrote: > On Wed, Nov 16, 2016 at 11:30:35AM +0200, Heikki Krogerus wrote: > > On Tue, Nov 15, 2016 at 04:19:10PM -0800, Badhri Jagan Sridharan wrote: > > > Hi, > > > > > > At present I am using the uevent in the userspace to infer > > > the Presenc

[PATCH] Documentation: circular-buffers: use READ_ONCE()

2016-11-16 Thread Mark Rutland
While the {READ,WRITE}_ONCE() macros should be used in preference to ACCESS_ONCE(), the circular buffer documentation uses the latter exclusively. To point people in the right direction, and as a step towards the eventual removal of ACCESS_ONCE(), update the documentation to use READ_ONCE(), as AC

Re: [PATCH] dwc3: make PM functions as __maybe_unused

2016-11-16 Thread Felipe Balbi
Hi, Arnd Bergmann writes: > A change to the suspend/resume handling in dwc3-pci introduced a > harmless warning: > > drivers/usb/dwc3/dwc3-pci.c:169:12: error: ‘dwc3_pci_dsm’ defined but not > used [-Werror=unused-function] > > Replacing the #ifdef around the PM functions with __maybe_unused >

[PATCH] Documentation: atomic_ops: use {READ,WRITE}_ONCE()

2016-11-16 Thread Mark Rutland
While the {READ,WRITE}_ONCE() macros should be used in preference to ACCESS_ONCE(), the atomic documentation uses the latter exclusively. To point people in the right direction, and as a step towards the eventual removal of ACCESS_ONCE(), update the documentation to use the {READ,WRITE}_ONCE() mac

Re: [PATCH -tip v3 1/9] ftrace: Support full glob matching

2016-11-16 Thread Masami Hiramatsu
Oops, sorry, ignore this patch in the series.. This is actually already picked by Steve. On Wed, 16 Nov 2016 17:12:41 +0900 Masami Hiramatsu wrote: > Use glob_match() to support flexible glob wildcards (*,?) > and character classes ([) for ftrace. > Since the full glob matching is slower than t

Re: ILP32 for ARM64: testing with glibc testsuite

2016-11-16 Thread Maxim Kuvyrkov
> On Nov 9, 2016, at 1:56 PM, Yury Norov wrote: > > On Mon, Nov 07, 2016 at 01:53:59PM +0530, Yury Norov wrote: >> Hi all, >> >> [add libc-alpha mail list] >> >> For libc-alpha: this is the part of LKML submission with latest >> patches for aarch64/ilp32. >> https://www.spinics.net/lists/arm-ke

Re: [PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check

2016-11-16 Thread Christian Borntraeger
On 11/16/2016 11:23 AM, Peter Zijlstra wrote: > On Wed, Nov 16, 2016 at 12:19:09PM +0800, Pan Xinhui wrote: >> Hi, Peter. >> I think we can avoid a function call in a simpler way. How about below >> >> static inline bool vcpu_is_preempted(int cpu) >> { >> /* only set in pv case*/ >>

Re: [PATHCv10 1/2] usb: USB Type-C connector class

2016-11-16 Thread Oliver Neukum
On Wed, 2016-11-16 at 13:09 +0200, Heikki Krogerus wrote: > OK, I'll add KOBJ_CHANGE for those. > > So is it OK to everybody if I remove the KOBJ_CHANGE in > typec_connect()? We will see uevent KOBJ_ADD since the partner (or > cable) is added in any case. Badhri, Oliver? OK by me. Regar

Re: [PATCH v5 1/2] drm: tilcdc: implement palette loading for rev1

2016-11-16 Thread Bartosz Golaszewski
2016-10-31 17:05 GMT+01:00 Jyri Sarha : > On 10/31/16 16:19, Bartosz Golaszewski wrote: >> Revision 1 of the IP doesn't work if we don't load the palette (even >> if it's not used, which is the case for the RGB565 format). >> >> Add a function called from tilcdc_crtc_enable() which performs all >>

Re: [PATCH v3 02/16] scsi: don't use fc_bsg_job::request and fc_bsg_job::reply directly

2016-11-16 Thread Johannes Thumshirn
On Tue, Nov 15, 2016 at 04:39:33PM +0100, Johannes Thumshirn wrote: > On Tue, Nov 15, 2016 at 03:31:27PM +0100, Steffen Maier wrote: > > Hi Johannes, > > > > On 11/15/2016 12:56 PM, Johannes Thumshirn wrote: > > > On Tue, Oct 25, 2016 at 09:43:14AM +0200, Johannes Thumshirn wrote: > > > > On Fri,

[PATCH v2] mxs-auart: count FIFO overrun errors

2016-11-16 Thread Wolfgang Ocker
The mxs-auart driver does not count FIFO overrun errors. These errors never appear in /proc/tty/driver/ttyAPP. This is because the OERR status bit is masked by read_status_mask in the rx interrupt function, but the AUART_STAT_OERR bit is never set in read_status_mask. The patch enables the counting

Re: [PATCH v7 06/11] x86, paravirt: Add interface to support kvm/xen vcpu preempted check

2016-11-16 Thread Peter Zijlstra
On Wed, Nov 16, 2016 at 12:29:44PM +0100, Christian Borntraeger wrote: > On 11/16/2016 11:23 AM, Peter Zijlstra wrote: > > On Wed, Nov 16, 2016 at 12:19:09PM +0800, Pan Xinhui wrote: > >> Hi, Peter. > >>I think we can avoid a function call in a simpler way. How about below > >> > >> static inli

Re: [PATCH v2] mxs-auart: count FIFO overrun errors

2016-11-16 Thread Fabio Estevam
On Wed, Nov 16, 2016 at 9:37 AM, Wolfgang Ocker wrote: > The mxs-auart driver does not count FIFO overrun errors. These errors never > appear in /proc/tty/driver/ttyAPP. This is because the OERR status bit is > masked by read_status_mask in the rx interrupt function, but the > AUART_STAT_OERR bit

Re: [PATCH/RESEND] recordmcount: arm: Implement make_nop

2016-11-16 Thread Ard Biesheuvel
On 15 November 2016 at 23:53, Stephen Boyd wrote: > On 11/15, Ard Biesheuvel wrote: >> On 15 November 2016 at 19:18, Stephen Boyd wrote: >> > On 11/15, Ard Biesheuvel wrote: >> >> On 19 October 2016 at 00:42, Stephen Boyd wrote: >> >> > >> >> > +static unsigned char ideal_nop4_arm_le[4] = { 0x00

[PATCH 1/2] regulator: max77620: add support to configure MPOK

2016-11-16 Thread Venkat Reddy Talla
Adding support to configure regulator POK mapping bit to control nRST_IO and GPIO1 POK function. Signed-off-by: Venkat Reddy Talla --- drivers/regulator/max77620-regulator.c | 39 ++ include/linux/mfd/max77620.h | 2 ++ 2 files changed, 41 insertions(+)

[PATCH 2/2] dt-bindings: max77620: add documentation for MPOK property

2016-11-16 Thread Venkat Reddy Talla
Adding documentation for maxim,power-ok-control dts property Signed-off-by: Venkat Reddy Talla --- Documentation/devicetree/bindings/mfd/max77620.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/max77620.txt b/Documentation/devicetree/b

Re: [PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Jiri Pirko
Wed, Nov 16, 2016 at 09:43:15AM CET, green...@gmail.com wrote: >To support device tree usage for ftmac100. > >Signed-off-by: Greentime Hu >--- > drivers/net/ethernet/faraday/ftmac100.c |7 +++ > 1 file changed, 7 insertions(+) > >diff --git a/drivers/net/ethernet/faraday/ftmac100.c >b/driv

Re: [PATCH v2 08/10] ARM: dts: add basic support for Rockchip RK1108 SOC

2016-11-16 Thread Heiko Stuebner
Am Dienstag, 15. November 2016, 12:45:16 CET schrieb Heiko Stuebner: > Am Montag, 14. November 2016, 20:14:48 CET schrieb Andy Yan: > > RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. > > It is designed for varies application scenario such as car DVR, sports > > DV, secure came

[PATCH -next] Input: gpio_keys: set input direction explicitly for gpio keys

2016-11-16 Thread Sudeep Holla
Commit 700a38b27eef ("Input: gpio_keys - switch to using generic device properties") switched to use generic device properties for GPIO keys and commit 5feeca3c1e39 ("Input: gpio_keys - add support for GPIO descriptors") switched from legacy GPIO numbers to GPIO descriptors. Previously devm_gpio_r

Re: [PATCH v2 10/10] ARM: dts: rockchip: add rockchip RK1108 Evaluation board

2016-11-16 Thread Heiko Stuebner
Am Montag, 14. November 2016, 20:17:43 CET schrieb Andy Yan: > RK1108 EVB is designed by Rockchip for CVR field. > This patch add basic support for it, which can boot with > initramfs into shell. > > Signed-off-by: Andy Yan > Acked-by: Rob Herring > > --- > > Changes in v2: > - move the board

Re: [PATCH V4 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-16 Thread Dongdong Liu
Hi Bjorn Many Thanks for your review 在 2016/11/15 7:33, Bjorn Helgaas 写道: On Wed, Nov 09, 2016 at 05:14:57PM +0800, Dongdong Liu wrote: PCIe controller in Hip05/HIP06/HIP07 SoCs is not ECAM compliant. It is non ECAM only for the RC bus config space;for any other bus underneath the root bus we

RE: [upstream-release] [PATCH 1/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-16 Thread Sriram Dash
>From: Scott Wood >On 11/15/2016 06:39 AM, Sriram Dash wrote: >>> From: Scott Wood >>> On 11/13/2016 11:27 PM, Sriram Dash wrote: diff --git a/Documentation/devicetree/bindings/phy/phy-qoriq-usb3.txt b/Documentation/devicetree/bindings/phy/phy-qoriq-usb3.txt new file mode 100644

Re: Lenovo Dock + Thinkpad X260 -> no HDMI audio output

2016-11-16 Thread Sebastian Reichel
Hi Norbert, On Wed, Nov 16, 2016 at 11:38:21AM +0900, Norbert Preining wrote: > I am trying to get HDMI audio output via a Lenovo Dock Ultra in > combination with a Lenovo Thinkpad X260. > > [...] Lenovo Dock Ultra contains a DP-MST Hub to provide all those HDMI/DVI/DP ports. Audio over DP-MST is

[tip:x86/urgent] x86/sysfb: Add support for 64bit EFI lfb_base

2016-11-16 Thread tip-bot for David Herrmann
Commit-ID: 9164b4ceb7b492a77c7fe770a4b9d1375c9cd45a Gitweb: http://git.kernel.org/tip/9164b4ceb7b492a77c7fe770a4b9d1375c9cd45a Author: David Herrmann AuthorDate: Tue, 15 Nov 2016 13:01:57 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 09:38:22 +0100 x86/sysfb: Add support fo

[tip:x86/urgent] x86/sysfb: Fix lfb_size calculation

2016-11-16 Thread tip-bot for David Herrmann
Commit-ID: f96acec8c8020807429d21324547f4b904c37177 Gitweb: http://git.kernel.org/tip/f96acec8c8020807429d21324547f4b904c37177 Author: David Herrmann AuthorDate: Tue, 15 Nov 2016 13:01:58 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 09:38:23 +0100 x86/sysfb: Fix lfb_size c

Re: [PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
You are right. I didn't notice that. I should use ftmac100. On Wed, Nov 16, 2016 at 7:53 PM, Jiri Pirko wrote: > Wed, Nov 16, 2016 at 09:43:15AM CET, green...@gmail.com wrote: >>To support device tree usage for ftmac100. >> >>Signed-off-by: Greentime Hu >>--- >> drivers/net/ethernet/faraday/ftma

[tip:locking/core] locking/core: Introduce cpu_relax_yield()

2016-11-16 Thread tip-bot for Christian Borntraeger
Commit-ID: 79ab11cdb90d8536817ab7357ecb6b1ff76be26c Gitweb: http://git.kernel.org/tip/79ab11cdb90d8536817ab7357ecb6b1ff76be26c Author: Christian Borntraeger AuthorDate: Tue, 25 Oct 2016 11:03:11 +0200 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:15:09 +0100 locking/core: Intr

[tip:perf/urgent] perf/x86/uncore: Fix crash by removing bogus event_list[] handling for SNB client uncore IMC

2016-11-16 Thread tip-bot for Kan Liang
Commit-ID: c499336cea8bbe15554c6fcea2138658c5395bfe Gitweb: http://git.kernel.org/tip/c499336cea8bbe15554c6fcea2138658c5395bfe Author: Kan Liang AuthorDate: Tue, 15 Nov 2016 13:40:10 -0500 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 09:46:35 +0100 perf/x86/uncore: Fix crash by

[tip:locking/core] locking/core, stop_machine: Yield the CPU during stop machine()

2016-11-16 Thread tip-bot for Christian Borntraeger
Commit-ID: bf0d31c05411f030e7df9f98b5be4d0c6fd5cd39 Gitweb: http://git.kernel.org/tip/bf0d31c05411f030e7df9f98b5be4d0c6fd5cd39 Author: Christian Borntraeger AuthorDate: Tue, 25 Oct 2016 11:03:12 +0200 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:15:09 +0100 locking/core, stop

Re: [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-11-16 Thread Paolo Bonzini
> Not sure how independent ERST is from ACPI and other specs. It looks > like referencing UEFI spec at least. It is just the format of error records that comes from the UEFI spec (include/linux/cper.h) but you can ignore it, I think. It should be handled by tools on the host side. For you, the

[tip:locking/core] locking/core: Remove cpu_relax_lowlatency() users

2016-11-16 Thread tip-bot for Christian Borntraeger
Commit-ID: f2f09a4cee3507dba0e24b87ba2961a5c377d3a7 Gitweb: http://git.kernel.org/tip/f2f09a4cee3507dba0e24b87ba2961a5c377d3a7 Author: Christian Borntraeger AuthorDate: Tue, 25 Oct 2016 11:03:14 +0200 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:15:10 +0100 locking/core: Remo

[tip:locking/core] locking/core, arch: Remove cpu_relax_lowlatency()

2016-11-16 Thread tip-bot for Christian Borntraeger
Commit-ID: 5bd0b85ba8bb9de6f61f33f3752fc85f4c87fc22 Gitweb: http://git.kernel.org/tip/5bd0b85ba8bb9de6f61f33f3752fc85f4c87fc22 Author: Christian Borntraeger AuthorDate: Tue, 25 Oct 2016 11:03:15 +0200 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:15:11 +0100 locking/core, arch

[tip:locking/core] locking/core, s390: Make cpu_relax() a barrier again

2016-11-16 Thread tip-bot for Christian Borntraeger
Commit-ID: 22b6430d36659b37ed139b7fd87fcc7237fb0cfd Gitweb: http://git.kernel.org/tip/22b6430d36659b37ed139b7fd87fcc7237fb0cfd Author: Christian Borntraeger AuthorDate: Tue, 25 Oct 2016 11:03:13 +0200 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:15:10 +0100 locking/core, s390

[tip:sched/core] sched/x86: Do not clear PREEMPT_NEED_RESCHED on preempt count reset

2016-11-16 Thread tip-bot for Martin Schwidefsky
Commit-ID: f285144f81e814f39342dbf5321d6ba939890b1b Gitweb: http://git.kernel.org/tip/f285144f81e814f39342dbf5321d6ba939890b1b Author: Martin Schwidefsky AuthorDate: Mon, 7 Nov 2016 14:01:00 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:04 +0100 sched/x86: Do not clea

[tip:sched/core] sched/cpuacct: Avoid %lld seq_printf warning

2016-11-16 Thread tip-bot for Martin Schwidefsky
Commit-ID: 527b0a76f41d062381adbb55c8eb61e32cb0bfc9 Gitweb: http://git.kernel.org/tip/527b0a76f41d062381adbb55c8eb61e32cb0bfc9 Author: Martin Schwidefsky AuthorDate: Fri, 11 Nov 2016 15:27:49 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:03 +0100 sched/cpuacct: Avoid

[tip:sched/core] sched/fair: Compute task/cpu utilization at wake-up correctly

2016-11-16 Thread tip-bot for Morten Rasmussen
Commit-ID: 104cb16d9eb684f071d5bf3aa87c0d01af259b7c Gitweb: http://git.kernel.org/tip/104cb16d9eb684f071d5bf3aa87c0d01af259b7c Author: Morten Rasmussen AuthorDate: Fri, 14 Oct 2016 14:41:07 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:05 +0100 sched/fair: Compute tas

[PATCH] f2fs: fix fdatasync

2016-11-16 Thread Chao Yu
For below two cases, we can't guarantee data consistence: a) 1. xfs_io "pwrite 0 4195328" "fsync" 2. xfs_io "pwrite 4195328 1024" "fdatasync" 3. godown 4. umount & mount --> isize we updated before fdatasync won't be recovered b) 1. xfs_io "pwrite -S 0xcc 0 4202496" "fsync" 2. xfs_io "fpunch 4194

[tip:sched/core] sched/fair: Consider spare capacity in find_idlest_group()

2016-11-16 Thread tip-bot for Morten Rasmussen
Commit-ID: 6a0b19c0f39a7a7b7fb77d3867a733136ff059a3 Gitweb: http://git.kernel.org/tip/6a0b19c0f39a7a7b7fb77d3867a733136ff059a3 Author: Morten Rasmussen AuthorDate: Fri, 14 Oct 2016 14:41:08 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:05 +0100 sched/fair: Consider sp

[tip:sched/core] sched/fair: Add per-CPU min capacity to sched_group_capacity

2016-11-16 Thread tip-bot for Morten Rasmussen
Commit-ID: bf475ce0a3dd75b5d1df6c6c14ae25168caa15ac Gitweb: http://git.kernel.org/tip/bf475ce0a3dd75b5d1df6c6c14ae25168caa15ac Author: Morten Rasmussen AuthorDate: Fri, 14 Oct 2016 14:41:09 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:06 +0100 sched/fair: Add per-CPU

[tip:sched/core] sched/fair: Avoid pulling tasks from non-overloaded higher capacity groups

2016-11-16 Thread tip-bot for Morten Rasmussen
Commit-ID: 9e0994c0a1c1f82c705f1f66388e1bcffcee8bb9 Gitweb: http://git.kernel.org/tip/9e0994c0a1c1f82c705f1f66388e1bcffcee8bb9 Author: Morten Rasmussen AuthorDate: Fri, 14 Oct 2016 14:41:10 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:06 +0100 sched/fair: Avoid pulli

Re: [PATCH] f2fs: fix fdatasync

2016-11-16 Thread Christoph Hellwig
On Wed, Nov 16, 2016 at 08:12:11PM +0800, Chao Yu wrote: > For below two cases, we can't guarantee data consistence: > > a) > 1. xfs_io "pwrite 0 4195328" "fsync" > 2. xfs_io "pwrite 4195328 1024" "fdatasync" > 3. godown > 4. umount & mount > --> isize we updated before fdatasync won't be recovere

[tip:sched/core] sched/fair: Fix incorrect comment for capacity_margin

2016-11-16 Thread tip-bot for Morten Rasmussen
Commit-ID: 893c5d2279041afeb593f1fa8edd9d02edf5b7cb Gitweb: http://git.kernel.org/tip/893c5d2279041afeb593f1fa8edd9d02edf5b7cb Author: Morten Rasmussen AuthorDate: Fri, 14 Oct 2016 14:41:12 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:07 +0100 sched/fair: Fix incorre

[tip:sched/core] sched/fair: Factorize attach/detach entity

2016-11-16 Thread tip-bot for Vincent Guittot
Commit-ID: df217913e72ec7e603d8b68cc4c70646cf7000db Gitweb: http://git.kernel.org/tip/df217913e72ec7e603d8b68cc4c70646cf7000db Author: Vincent Guittot AuthorDate: Tue, 8 Nov 2016 10:53:42 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:08 +0100 sched/fair: Factorize att

[tip:sched/core] sched/fair: Fix hierarchical order in rq->leaf_cfs_rq_list

2016-11-16 Thread tip-bot for Vincent Guittot
Commit-ID: 9c2791f936ef5fd04a118b5c284f2c9a95f4a647 Gitweb: http://git.kernel.org/tip/9c2791f936ef5fd04a118b5c284f2c9a95f4a647 Author: Vincent Guittot AuthorDate: Tue, 8 Nov 2016 10:53:43 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:08 +0100 sched/fair: Fix hierarchi

[tip:sched/core] sched/fair: Factorize PELT update

2016-11-16 Thread tip-bot for Vincent Guittot
Commit-ID: d31b1a66cbe0931733583ad9d9e8c6cfd710907d Gitweb: http://git.kernel.org/tip/d31b1a66cbe0931733583ad9d9e8c6cfd710907d Author: Vincent Guittot AuthorDate: Tue, 8 Nov 2016 10:53:44 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:09 +0100 sched/fair: Factorize PEL

Re: [PATCH] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Jiri Pirko
Wed, Nov 16, 2016 at 01:08:57PM CET, green...@gmail.com wrote: >You are right. I didn't notice that. I should use ftmac100. Don't top-post please. > >On Wed, Nov 16, 2016 at 7:53 PM, Jiri Pirko wrote: >> Wed, Nov 16, 2016 at 09:43:15AM CET, green...@gmail.com wrote: >>>To support device tree us

[tip:sched/core] sched/fair: Propagate asynchrous detach

2016-11-16 Thread tip-bot for Vincent Guittot
Commit-ID: 4e5160766fcc9f41bbd38bac11f92dce993644aa Gitweb: http://git.kernel.org/tip/4e5160766fcc9f41bbd38bac11f92dce993644aa Author: Vincent Guittot AuthorDate: Tue, 8 Nov 2016 10:53:46 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:10 +0100 sched/fair: Propagate asy

Re: [PATCH 1/2] regulator: max77620: add support to configure MPOK

2016-11-16 Thread Mark Brown
On Wed, Nov 16, 2016 at 05:22:40PM +0530, Venkat Reddy Talla wrote: > Adding support to configure regulator POK mapping bit > to control nRST_IO and GPIO1 POK function. This leaves me none the wiser as to what this is supposed to do... > + if (chip->chip_id == MAX20024) { Please use switch

[tip:sched/core] sched/fair: Fix task group initialization

2016-11-16 Thread tip-bot for Vincent Guittot
Commit-ID: d03266910a533d874c01ef2ca8dc73009f2925fa Gitweb: http://git.kernel.org/tip/d03266910a533d874c01ef2ca8dc73009f2925fa Author: Vincent Guittot AuthorDate: Tue, 8 Nov 2016 10:53:47 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:11 +0100 sched/fair: Fix task grou

[tip:sched/core] sched/fair: Propagate load during synchronous attach/detach

2016-11-16 Thread tip-bot for Vincent Guittot
Commit-ID: 09a43ace1f986b003c118fdf6ddf1fd685692d49 Gitweb: http://git.kernel.org/tip/09a43ace1f986b003c118fdf6ddf1fd685692d49 Author: Vincent Guittot AuthorDate: Tue, 8 Nov 2016 10:53:45 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:10 +0100 sched/fair: Propagate loa

[GIT PULL] MFD fixes for v4.9

2016-11-16 Thread Lee Jones
Linus, The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-fixes-4.9 for you to fetch changes up to 722f191080de641f023fe

[PATCH 1/1] sched: provide common cpu_relax_yield definition

2016-11-16 Thread Christian Borntraeger
No need to duplicate the same define everywhere. Since the only user is stop-machine and the only provider is s390, we can use a default implementation of cpu_relax_yield in sched.h. Suggested-by: Russell King Signed-off-by: Christian Borntraeger --- arch/alpha/include/asm/processor.h | 1

Re: [Intel-gfx] [PATCH v11 3/4] drm/i915: Use new CRC debugfs API

2016-11-16 Thread Tomeu Vizoso
On 15 November 2016 at 09:27, Jani Nikula wrote: > On Tue, 15 Nov 2016, David Weinehall wrote: >> On Mon, Nov 14, 2016 at 12:44:25PM +0200, Jani Nikula wrote: >>> On Thu, 06 Oct 2016, Tomeu Vizoso wrote: >>> > diff --git a/drivers/gpu/drm/i915/intel_display.c >>> > b/drivers/gpu/drm/i915/intel_

[PATCH v2] net: ethernet: faraday: To support device tree usage.

2016-11-16 Thread Greentime Hu
Signed-off-by: Greentime Hu --- drivers/net/ethernet/faraday/ftmac100.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index dce5f7b..5d70ee9 100644 --- a/drivers/net/ethernet/faraday/ftmac100.c +++

Re: [PATCH 2/2] ARM: dts: rockchip: enable sdmmc for rk1108-evb

2016-11-16 Thread Heiko Stuebner
Am Sonntag, 13. November 2016, 16:13:19 CET schrieb Jacob Chen: > From: Jacob Chen > > This patch add sdmmc support for rk1108-evb, now I can load the rootfs > from sdmmc. > > Signed-off-by: Jacob Chen > --- > arch/arm/boot/dts/rk1108-evb.dts | 21 + > 1 file changed, 21 in

Re: [PATCH 1/1] sched: provide common cpu_relax_yield definition

2016-11-16 Thread David Hildenbrand
Am 16.11.2016 um 13:23 schrieb Christian Borntraeger: No need to duplicate the same define everywhere. Since the only user is stop-machine and the only provider is s390, we can use a default implementation of cpu_relax_yield in sched.h. Suggested-by: Russell King Signed-off-by: Christian Borntr

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-11-16 Thread Oliver Neukum
On Tue, 2016-11-15 at 14:29 +0100, Wim Osterholt wrote: > I experience a sliding scale. > With debug it crashes immediately. It may crash later on (even at shutdown > time). It's not even an oops but a warning. In the end it happens to just > work. This is very odd. We need to know where it crash

Re: [PATCH 1/2] ARM: dts: rockchip: add the sdmmc pinctrl for rk1108

2016-11-16 Thread Heiko Stuebner
Am Sonntag, 13. November 2016, 16:13:18 CET schrieb Jacob Chen: > From: Jacob Chen > > Signed-off-by: Jacob Chen > --- > arch/arm/boot/dts/rk1108.dtsi | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dt

Re: [PATCH 1/1] sched: provide common cpu_relax_yield definition

2016-11-16 Thread Russell King - ARM Linux
On Wed, Nov 16, 2016 at 01:23:05PM +0100, Christian Borntraeger wrote: > No need to duplicate the same define everywhere. Since > the only user is stop-machine and the only provider is > s390, we can use a default implementation of cpu_relax_yield > in sched.h. > > Suggested-by: Russell King > Si

Re: [PATCH -next] Input: gpio_keys: set input direction explicitly for gpio keys

2016-11-16 Thread kbuild test robot
Hi Sudeep, [auto build test ERROR on next-20161116] url: https://github.com/0day-ci/linux/commits/Sudeep-Holla/Input-gpio_keys-set-input-direction-explicitly-for-gpio-keys/20161116-202319 config: x86_64-randconfig-x001-201646 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0

Re: [PATCHv0 1/1] fbdev: add Intel FPGA FRAME BUFFER driver

2016-11-16 Thread kbuild test robot
Hi Ong, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc5 next-20161116] [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/Ong-Hean-Loong/fbdev-add-Intel-FPGA-FRAME-BUFFER

Re: [PATCH -next] Input: gpio_keys: set input direction explicitly for gpio keys

2016-11-16 Thread kbuild test robot
Hi Sudeep, [auto build test ERROR on next-20161116] url: https://github.com/0day-ci/linux/commits/Sudeep-Holla/Input-gpio_keys-set-input-direction-explicitly-for-gpio-keys/20161116-202319 config: x86_64-randconfig-x017-201646 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-16 Thread Rafael J. Wysocki
On Wed, Nov 16, 2016 at 11:48 AM, Jon Hunter wrote: > Hi Kevin, Ulf, > > On 03/11/16 14:20, Jon Hunter wrote: >> >> On 11/10/16 10:15, Jon Hunter wrote: >> >> ... >> >> Second, another way of seeing this is: Depending on the current >> runtime selected configuration you need to re-configur

[PATCH v6] drm: tilcdc: implement palette loading for rev1

2016-11-16 Thread Bartosz Golaszewski
Revision 1 of the IP doesn't work if we don't load the palette (even if it's not used, which is the case for the RGB565 format). Add a function called from tilcdc_crtc_enable() which performs all required actions if we're dealing with a rev1 chip. Signed-off-by: Bartosz Golaszewski --- v1 -> v2:

[PATCH] signal: protect SIGNAL_UNKILLABLE from unintentional clearing.

2016-11-16 Thread Jamie Iles
Since 00cd5c37af (ptrace: permit ptracing of /sbin/init) we can now trace init processes. init is initially protected with SIGNAL_UNKILLABLE which will prevent fatal signals such as SIGSTOP, but there are a number of paths during tracing where SIGNAL_UNKILLABLE can be implicitly cleared. This can

Re: [Intel-gfx] [PATCH v11 3/4] drm/i915: Use new CRC debugfs API

2016-11-16 Thread Jani Nikula
On Wed, 16 Nov 2016, Tomeu Vizoso wrote: > On 15 November 2016 at 09:27, Jani Nikula wrote: >> On Tue, 15 Nov 2016, David Weinehall wrote: >>> On Mon, Nov 14, 2016 at 12:44:25PM +0200, Jani Nikula wrote: On Thu, 06 Oct 2016, Tomeu Vizoso wrote: > diff --git a/drivers/gpu/drm/i915/inte

[PATCH v13] drm/fence: add out-fences support

2016-11-16 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com

[PATCH] [media] netup_unidvb: use module_pci_driver

2016-11-16 Thread Geliang Tang
Use module_pci_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c b/drivers/media/pci/netup_

[PATCH] scsi: dmx3191d: use module_pci_driver

2016-11-16 Thread Geliang Tang
Use module_pci_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/scsi/dmx3191d.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index 3aa4657..6af3394 100644 --- a/drivers/scsi/dmx319

[PATCH] scsi: a100u2w: use module_pci_driver

2016-11-16 Thread Geliang Tang
Use module_pci_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/scsi/a100u2w.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index 8086bd0..b2942ec 100644 --- a/drivers/scsi/a100u2w.c

Re: perf: fuzzer KASAN unwind_get_return_address

2016-11-16 Thread Peter Zijlstra
On Tue, Nov 15, 2016 at 02:57:48PM -0600, Josh Poimboeuf wrote: > Would you mind posting a disassembly of unwind_get_return_address()? $ objdump -D ivb-dbg/vmlinux | awk '/<[^>]*>:/ { p=0; } /:/ { p=1; } { if (p) print $0; }' 811afd10 : 811afd10: e8 eb cc f4 01 cal

Re: [fuse-devel] fuse: max_background and congestion_threshold settings

2016-11-16 Thread Maxim Patlasov
Hi, On 11/15/2016 08:18 AM, Nikolaus Rath wrote: Hello, Could someone explain to me the meaning of the max_background and congestion_threshold settings of the fuse module? At first I assumed that max_background specifies the maximum number of pending requests (i.e., requests that have been se

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-16 Thread Ulf Hansson
On 2 November 2016 at 09:56, Rajendra Nayak wrote: > Hi Jon, > > On 10/31/2016 04:14 PM, Jon Hunter wrote: >> Hi Rajendra, >> >> On 06/10/16 09:43, Rajendra Nayak wrote: >>> >>> On 10/06/2016 01:55 PM, Jon Hunter wrote: Hi Rajendra, On 06/10/16 07:04, Rajendra Nayak wrote: > >>>

Re: BUG: 'list_empty(&vgdev->free_vbufs)' is true!

2016-11-16 Thread Gerd Hoffmann
On Fr, 2016-11-11 at 17:28 +0100, Jiri Slaby wrote: > On 11/09/2016, 09:01 AM, Gerd Hoffmann wrote: > > On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: > >> On Mon, Nov 07, 2016 at 09:43:24AM +0100, Jiri Slaby wrote: > >>> Hi, > >>> > >>> I can relatively easily reproduce this bug: > >

Re: perf: fuzzer KASAN unwind_get_return_address

2016-11-16 Thread Dmitry Vyukov
On Wed, Nov 16, 2016 at 2:03 PM, Peter Zijlstra wrote: > On Tue, Nov 15, 2016 at 02:57:48PM -0600, Josh Poimboeuf wrote: >> Would you mind posting a disassembly of unwind_get_return_address()? > > $ objdump -D ivb-dbg/vmlinux | awk '/<[^>]*>:/ { p=0; } > /:/ { p=1; } { if (p) print $0; }' > > fff

Re: [PATCH v4 1/2] Add OV5647 device tree documentation

2016-11-16 Thread Rob Herring
On Mon, Nov 14, 2016 at 01:46:32PM +, Ramiro Oliveira wrote: > Add device tree documentation. > > Signed-off-by: Ramiro Oliveira > --- > .../devicetree/bindings/media/i2c/ov5647.txt | 19 > +++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/d

[PATCH v5] soc: qcom: Add SoC info driver

2016-11-16 Thread Imran Khan
The SoC info driver provides information such as Chip ID, Chip family, serial number and other such details about Qualcomm SoCs. Signed-off-by: Imran Khan --- v4 --> v5: - Removed redundant function socinfo_print v3 --> v4: - Corrected makefile so that smem and socinfo are treated as one modul

Re: [PATCH net 1/3] net: phy: realtek: add eee advertisement disable options

2016-11-16 Thread Andrew Lunn
> There two kind of PHYs supporting eee, the one advertising eee by > default (like realtek) and the one not advertising it (like micrel). I don't know too much about EEE. So maybe a dumb question. Does the MAC need to be involved? Or is it just the PHY? If the MAC needs to be involved, the PHY s

Re: [PATCH v5 4/5] USB: ohci: da8xx: Add devicetree bindings

2016-11-16 Thread Rob Herring
On Mon, Nov 14, 2016 at 03:41:02PM +0100, Axel Haslam wrote: > This patch documents the device tree bindings required for > the ohci controller found in TI da8xx family of SoC's > > Cc: robh...@kernel.org > Cc: mark.rutl...@arm.com > Cc: devicet...@vger.kernel.org > Signed-off-by: Axel Haslam > -

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