[PATCH v1 0/3] soc: rockchip: Modify power domain driver for rk3366 SoC

2017-07-13 Thread Elaine Zhang
support rk3366 SoC power domain setting. Elaine Zhang (3): dt-bindings: power: add RK3366 SoCs header for power-domain dt-bindings: add binding for rk3366 power domains soc: rockchip: power-domain: add power domain support for rk3366 .../bindings/soc/rockchip/power_domain.txt | 3

[PATCH v1 2/3] dt-bindings: add binding for rk3366 power domains

2017-07-13 Thread Elaine Zhang
Add binding documentation for the power domains found on Rockchip RK3366 SoCs. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt b

[PATCH v1 1/3] dt-bindings: power: add RK3366 SoCs header for power-domain

2017-07-13 Thread Elaine Zhang
According to a description from TRM, add all the power domains. Signed-off-by: Elaine Zhang --- include/dt-bindings/power/rk3366-power.h | 24 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/power/rk3366-power.h diff --git a/include/dt-bindings/

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2017-07-13 Thread Felipe Balbi
Hi, Pratyush Anand writes: > Hi Felipe, > > On Friday 09 June 2017 11:43 AM, Felipe Balbi wrote: >> +static void notrace ftrace_write(struct trace_export *ftrace, const void >> *buf, >> + unsigned int len) >> +{ >> +struct usb_ftrace *trace = ftrace

Re: [PATCH v3 7/7] libsas: release disco mutex during waiting in sas_ex_discover_end_dev

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > Disco mutex was introudced to prevent domain rediscovery competing > with ata error handling(87c8331). If we have already hold the lock > in sas_revalidate_domain and sync executing probe, deadlock caused, > because, sas_probe_sata() also need hold disco

Re: Potential scheduler regression

2017-07-13 Thread Greg KH
On Thu, Jul 13, 2017 at 03:24:02PM -0400, Ben Guthro wrote: > On Tue, Jul 11, 2017 at 5:55 AM, Greg KH wrote: > > On Tue, Jul 11, 2017 at 10:30:14AM +0200, Ingo Molnar wrote: > >> > >> * Ben Guthro wrote: > >> > >> > > If people have experience with these in the "enterprise" distros, or > >> > >

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2017-07-13 Thread Felipe Balbi
Hi, Pratyush Anand writes: > On Friday 09 June 2017 03:58 PM, Felipe Balbi wrote: >> Felipe Balbi writes: >> >>> Allow for ftrace data to be exported over a USB Gadget >>> Controller. With this, we have a potentially very fast pipe for >>> transmitting ftrace data to a Host PC for further analy

Re: [PATCH v3 6/7] libsas: add wait-complete support to sync discovery event

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > Introduce a sync flag to tag discovery event whether need to > sync execute, per-event wait-complete ensure sync. > > Signed-off-by: Yijing Wang > CC: John Garry > CC: Johannes Thumshirn > CC: Ewan Milne > CC: Christoph Hellwig > CC: Tomas Henzl >

Re: [PATCH v3 5/7] libsas: add a new workqueue to run probe/destruct discovery event

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > Sometimes, we want sync libsas probe or destruct in sas discovery work, > like when libsas revalidate domain. We need to split probe and destruct > work from the scsi host workqueue. > > Signed-off-by: Yijing Wang > CC: John Garry > CC: Johannes Thums

Re: [PATCH v3 4/7] libsas: add sas event wait-complete support

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > Introduce wait-complete for libsas sas event processing, > execute sas port create/destruct in sync. > > Signed-off-by: Yijing Wang > CC: John Garry > CC: Johannes Thumshirn > CC: Ewan Milne > CC: Christoph Hellwig > CC: Tomas Henzl > CC: Dan Will

Re: [PATCH v3] sched/cputime: Fix using smp_processor_id() in preemptible

2017-07-13 Thread Wanpeng Li
Ping for the merge window. :) 2017-07-09 15:40 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > BUG: using smp_processor_id() in preemptible [] code: 99-trinity/181 > caller is debug_smp_processor_id+0x17/0x19 > CPU: 0 PID: 181 Comm: 99-trinity Not tainted 4.12.0-01059-g2a42eb9 #1 > Call

Re: [PATCH 1/2] RDMA/uverbs: Fix the check for port number

2017-07-13 Thread Greg KH
On Thu, Jul 13, 2017 at 02:37:37PM -0500, Mustafa Ismail wrote: > The port number is only valid if IB_QP_PORT is set in the mask. > So only check port number if it is valid to prevent modify_qp from > failing due to an invalid port number. > > Fixes: 5ecce4c9b17b("Check port number supplied by use

Re: [PATCH 4.4 29/57] RDMA/uverbs: Check port number supplied by user verbs cmds

2017-07-13 Thread Greg Kroah-Hartman
On Thu, Jul 13, 2017 at 06:44:38PM +, Ismail, Mustafa wrote: > > -Original Message- > > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > > Sent: Thursday, July 13, 2017 11:26 AM > > To: Ismail, Mustafa > > Cc: linux-kernel@vger.kernel.org; linux-r...@vger.kernel.org; > >

Re: [PATCH 2/2] RDMA/core: Initialize port_num in qp_attr

2017-07-13 Thread Greg KH
On Thu, Jul 13, 2017 at 02:37:38PM -0500, Mustafa Ismail wrote: > Initialize the port_num for iWARP in rdma_init_qp_attr. > > Signed-off-by: Mustafa Ismail > --- > drivers/infiniband/core/cma.c | 2 ++ > 1 file changed, 2 insertions(+) This is not the correct way to submit patches for inclusi

[PATCH 07/11] mmc: sunxi: Add support for A83T eMMC (MMC2)

2017-07-13 Thread Chen-Yu Tsai
The third MMC controller (MMC2) on the Allwinner A83T SoC is slightly different. It supports a wider 8-bit bus, has a dedicated controllable reset pin for eMMC, and a "new timing mode" which is supposed to deliver better signals and thus better performance. Add a compatible for this one to use the

[PATCH 10/11] ARM: dts: sun8i: a83t: cubietruck-plus: Enable micro-SD card and eMMC

2017-07-13 Thread Chen-Yu Tsai
Now that we support the MMC controllers on the A83T SoC, we can enable them on some boards. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 27 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.

[PATCH 03/11] clk: sunxi-ng: a83t: Support new timing mode for mmc2 clock

2017-07-13 Thread Chen-Yu Tsai
The MMC2 clock supports a new timing mode. When the new mode is active, the output clock rate is halved. This patch sets the feature flag for the new timing mode, and adds a pre-divider based on the mode bit. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 38 +++

[PATCH 04/11] mmc: sunxi: Keep default timing phase settings for new timing mode

2017-07-13 Thread Chen-Yu Tsai
The register for the "new timing mode" also has bit fields for setting output and sample timing phases. According to comments in Allwinner's BSP kernel, the default values are good enough. Keep the default values already in the hardware when setting new timing mode, instead of overwriting the whol

[PATCH 09/11] ARM: dts: sun8i: a83t: Add pingroup for 8-bit eMMC on mmc2

2017-07-13 Thread Chen-Yu Tsai
mmc2 can support 8-bit eMMC chips, with a dedicated reset line. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 085312d0c521..b1198d80873e 1

[PATCH 06/11] mmc: sunxi: Support MMC DDR52 transfer mode with new timing mode

2017-07-13 Thread Chen-Yu Tsai
The MMC controller can support DDR52 transfers under the new timing mode. According to the BSP kernel, the module clock has to be double the card clock, regardless of the bus width. The default timings in the hardware can be used. This also reworks the code setting the internal divider, getting ri

[PATCH 01/11] ARM: dts: sun8i: a83t: Switch to CCU device tree binding macros

2017-07-13 Thread Chen-Yu Tsai
Now that the CCU device tree binding headers have been merged, we can use the properly named macros in the device tree, instead of raw numbers. Signed-off-by: Chen-Yu Tsai --- This patch is included as it is a pre-requisite to the other device tree changes in this series. It is however independe

[PATCH 05/11] mmc: sunxi: Support controllers that can use both old and new timings

2017-07-13 Thread Chen-Yu Tsai
On the SoCs that introduced the new timing mode for MMC controllers, both the old (where the clock delays are set in the CCU) and new (where the clock delays are set in the MMC controller) timing modes are available, and we have to support them both. However there are two bits that control which mo

[PATCH 08/11] ARM: dts: sun8i: a83t: Add MMC controller device nodes

2017-07-13 Thread Chen-Yu Tsai
The A83T has 3 MMC controllers. The third one is a bit special, as it supports a wider 8-bit bus, and a "new timing mode". Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 57 +++ 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/

[PATCH 11/11] ARM: dts: sun8i: a83t: h8homlet: Enable micro-SD card and onboard eMMC

2017-07-13 Thread Chen-Yu Tsai
The H8 homlet has a micro-SD card slot connected to mmc0, and onboard eMMC from FORESEE, connected to mmc2. Signed-off-by: Chen-Yu Tsai --- .../boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-

[PATCH 00/11] ARM: sun8i: a83t: Add support for MMC controllers

2017-07-13 Thread Chen-Yu Tsai
Hi everyone, This series adds support for the MMC controllers on the A83T. The A83T's MMC controller adds what they call the "new timing mode". It moves the MMC clock delay lines into the controller itself. There are some minor changes to how the clock rate is calculated. The new mode give better

Re: [PATCH v3 3/7] libsas: Use new workqueue to run sas event

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > Now all libsas works are queued to scsi host workqueue, > include sas event work post by LLDD and sas discovery > work, and a sas hotplug flow may be divided into several > works, e.g libsas receive a PORTE_BYTES_DMAED event, > now we process it as follo

Re: [PATCH v7 06/16] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-07-13 Thread Byungchul Park
On Thu, Jul 13, 2017 at 08:23:33PM +0900, Byungchul Park wrote: > On Thu, Jul 13, 2017 at 8:12 PM, Peter Zijlstra wrote: > > On Thu, Jul 13, 2017 at 12:29:05PM +0200, Peter Zijlstra wrote: > >> On Thu, Jul 13, 2017 at 07:09:53PM +0900, Byungchul Park wrote: > >> > On Thu, Jul 13, 2017 at 11:50:52A

[PATCH 02/11] clk: sunxi-ng: Add interface to query or configure MMC timing modes.

2017-07-13 Thread Chen-Yu Tsai
Starting with the A83T SoC, Allwinner introduced a new timing mode for its MMC clocks. The new mode changes how the MMC controller sample and output clocks are delayed to match chip and board specifics. There are two controls for this, one on the CCU side controlling how the clocks behave, and one

Re: [PATCH v5 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU

2017-07-13 Thread Guillaume Tucker
Hi Brian, On 12/07/17 18:26, Brian Norris wrote: Hi Guillaume, I know this has already been merged, but I figured here was an OK place to note (inline): On Wed, May 03, 2017 at 10:56:25AM +0100, Guillaume Tucker wrote: [...] diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midga

Re: [PATCH] watchdog: w83627hf: make const array chip_name static

2017-07-13 Thread Guenter Roeck
On 07/11/2017 08:23 AM, Colin King wrote: From: Colin Ian King Don't populate array chip_name on the stack but instead make it static. Makes the object code smaller by 40 bytes: Before: text data bss dec hex filename 5641 2840 384886522a1 dri

Re: [PATCH v3 2/7] libsas: remove unused port_gone_completion

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > No one uses the port_gone_completion in struct asd_sas_port, > clean it out. > > Signed-off-by: Yijing Wang > --- > include/scsi/libsas.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h > index

Re: [PATCH v3 1/7] libsas: Use static sas event pool to appease sas event lost

2017-07-13 Thread Hannes Reinecke
On 07/10/2017 09:06 AM, Yijing Wang wrote: > Now libsas hotplug work is static, every sas event type has its own > static work, LLDD driver queue the hotplug work into shost->work_q. > If LLDD driver burst post lots hotplug events to libsas, the hotplug > events may pending in the workqueue like >

Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem

2017-07-13 Thread Heiko Stuebner
Hi Jacob, Am Freitag, 14. Juli 2017, 09:52:30 CEST schrieb Jacob Chen: > 2017-07-14 7:34 GMT+08:00 Heiko Stuebner : > > Am Donnerstag, 13. Juli 2017, 00:03:51 CEST schrieb Jacob Chen: > >> Add devicetree nodes for rk3399 VOP (Video Output Processors), and the > >> top level display-subsystem root

Re: [PATCH 1/4] kasan: support alloca() poisoning

2017-07-13 Thread Dmitry Vyukov
On Fri, Jul 14, 2017 at 12:40 AM, Greg Hackmann wrote: > Hi, > > Thanks for taking a look at this patchstack. I apologize for the delay in > responding. > > On 07/10/2017 01:44 AM, Dmitry Vyukov wrote: >>> >>> + >>> + const void *left_redzone = (const void *)(addr - >>> +

[PATCH v7 03/13] x86/apic: Split local APIC timer setup from the APIC setup

2017-07-13 Thread Dou Liyang
apic_bsp_setup() sets up the local APIC, I/O APIC and APIC timer. The local APIC and I/O APIC setup belongs to interrupt delivery mode setup. Setting up the local APIC timer for booting CPU is another job and has nothing to do with interrupt delivery mode setup. Split local APIC timer setup from

[PATCH v7 09/13] x86/init: add intr_mode_init to x86_init_ops

2017-07-13 Thread Dou Liyang
X86 and XEN initialize interrupt delivery mode in different way. Ordinary conditional function calls will make the code mess. Add an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. Signed-off-by: Dou Liyang --- arch/

[PATCH v7 08/13] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-07-13 Thread Dou Liyang
Kernel use timer_irq_works() to detects the timer IRQs. It calls mdelay(10) to delay ten ticks and check whether the timer IRQ work or not. The mdelay() depends on the loops_per_jiffy which is set up in calibrate_delay(). Current kernel defaults the IRQ 0 is available when it calibrates delay. But

[PATCH v7 06/13] x86/apic: Mark the apic_intr_mode extern for sanity check cleanup

2017-07-13 Thread Dou Liyang
Calling native_smp_prepare_cpus() to prepare for SMP bootup, does some sanity checking, enables APIC mode and disables SMP feature. Now, APIC mode setup has been unified to apic_intr_mode_init(), some sanity checks are redundant and need to be cleanup. Mark the apic_intr_mode extern to refine the

[PATCH v7 10/13] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-13 Thread Dou Liyang
XEN PV overrides smp_prepare_cpus(). xen_pv_smp_prepare_cpus() initializes interrupts in the XEN PV specific way and does not invoke native_smp_prepare_cpus(). As a consequence, x86_init.intr_mode_init() is not invoked either. The invocation of x86_init.intr_mode_init() will be moved from native_s

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-13 Thread kbuild test robot
Hi Moritz, [auto build test WARNING on net-next/master] [also build test WARNING on v4.12 next-20170713] [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/Moritz-Fischer/dt-bindings-net-Add

[PATCH v7 13/13] x86/apic: Remove the init_bsp_APIC()

2017-07-13 Thread Dou Liyang
The init_bsp_APIC() which works for the virtual wire mode is used in ISA irq initialization at the booting time. Currently, enable and setup the interrupt mode has been unified and advanced just behind the timer IRQ setup. Kernel switches to the final interrupt delivery mode directly. So init_bsp_

[PATCH v7 12/13] ACPI / init: Invoke early ACPI initialization earlier

2017-07-13 Thread Dou Liyang
Linux uses acpi_early_init() to put the ACPI table management into the late stage from the early stage where the mapped ACPI tables is temporary and should be unmapped. But, now initializing interrupt delivery mode should map and parse the DMAR table earlier in the early stage. This causes an ACPI

[PATCH v7 11/13] x86/time: Initialize interrupt mode behind timer init

2017-07-13 Thread Dou Liyang
In start_kernel(), firstly, it works on the default interrupy mode, then switch to the final mode. Normally, Booting with BIOS reset is OK. But, At dump-capture kernel, it boot up without BIOS reset, default mode may not be compatible with the actual registers, that causes the delivery interrupt t

[PATCH v7 04/13] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-07-13 Thread Dou Liyang
apic_bsp_setup() sets and returns logical APIC ID for initializing cpu0_logical_apicid in SMP-capable system. The id has nothing to do with the initialization of local APIC and I/O APIC. And apic_bsp_setup() should be called for interrupt mode setup intently. Move the id setup into a separate hel

[PATCH v7 05/13] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-07-13 Thread Dou Liyang
In the SMP-capable system, enable and setup the interrupt delivery mode in native_smp_prepare_cpus(). This design mixs the APIC and SMP together, it has highly coupling. Make the initialization of interrupt mode independent, Unify and refine it to apic_intr_mode_init() for SMP-capable system. Si

[PATCH v7 07/13] x86/apic: Unify interrupt mode setup for UP system

2017-07-13 Thread Dou Liyang
In UniProcessor kernel with UP_LATE_INIT=y, it enables and setups interrupt delivery mode in up_late_init(). Unify it to apic_intr_mode_init(), remove APIC_init_uniprocessor(). Signed-off-by: Dou Liyang --- arch/x86/include/asm/apic.h | 1 - arch/x86/kernel/apic/apic.c | 47 ++-

[PATCH v7 01/13] x86/apic: Construct a selector for the interrupt delivery mode

2017-07-13 Thread Dou Liyang
Now, there are many switches in kernel which are used to determine the final interrupt delivery mode, as shown below: 1) kconfig: CONFIG_X86_64; CONFIG_X86_LOCAL_APIC; CONFIG_x86_IO_APIC 2) kernel option: disable_apic; skip_ioapic_setup 3) CPU Capability: boot_cpu_has(X86_FEATURE_APIC) 4) MP ta

[PATCH v7 02/13] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-13 Thread Dou Liyang
There are three positions for initializing the interrupt delivery modes: 1) In IRQ initial function, may setup the through-local-APIC virtual wire mode. 2) In an SMP-capable system, will try to switch to symmetric I/O model when preparing the cpus in native_smp_prepare_cpus(). 3) In UP sys

[PATCH v7 00/13] Unify the interrupt delivery mode and do its setup in advance

2017-07-13 Thread Dou Liyang
[Background] MP specification defines three different interrupt delivery modes as follows: 1. PIC Mode 2. Virtual Wire Mode 3. Symmetric I/O Mode They will be setup in the different periods of booting time: 1. *PIC Mode*, the default interrupt delivery modes, will be set first. 2. *Virtual

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2017-07-13 Thread Pratyush Anand
Hi Felipe, On Friday 09 June 2017 03:58 PM, Felipe Balbi wrote: Felipe Balbi writes: Allow for ftrace data to be exported over a USB Gadget Controller. With this, we have a potentially very fast pipe for transmitting ftrace data to a Host PC for further analysis. Note that in order to decode

Re: [PATCH v2 0/3] pwm: add pwm AO on meson gx

2017-07-13 Thread Jeremy Kerr
Hi Thierry, > I /think/ Jeremy Kerr (To'ed) would be a good person to contact about > this. > > Jeremy, anything you can do about this? OK, all sorted. I've updated Jerome's entry in the database to suit. Cheers, Jeremy

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-13 Thread Daniel Vetter
On Fri, Jul 14, 2017 at 1:43 AM, Laurent Pinchart wrote: >> Commit 52055bafa1ff ("drm: rcar-du: Move plane commit code from CRTC >> start to CRTC resume") changed the order of the plane commit and CRTC >> enable operations to accommodate the runtime PM requirements. However, >> this introduced cor

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2017-07-13 Thread Pratyush Anand
Hi Felipe, On Friday 09 June 2017 11:43 AM, Felipe Balbi wrote: +static void notrace ftrace_write(struct trace_export *ftrace, const void *buf, +unsigned int len) +{ + struct usb_ftrace *trace = ftrace_to_trace(ftrace); + struct usb_reque

Re: [PATCH 03/32] ring-buffer: Add interface for setting absolute time stamps

2017-07-13 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:04PM -0500, Tom Zanussi wrote: > Define a new function, tracing_set_time_stamp_abs(), which can be used > to enable or disable the use of absolute timestamps rather than time > deltas for a trace array. > > This resets the buffer to prevent a mix of time deltas and ab

Re: [PATCH 0/2] i2c: move include files out of include/linux/i2c

2017-07-13 Thread Peter Rosin
On 2017-07-13 11:46, Wolfram Sang wrote: > Hi peda, > > On Sun, May 21, 2017 at 10:37:41PM +0200, Wolfram Sang wrote: >> It doesn't make sense to use include/linux/i2c for client drivers which may >> in >> fact rather be hwmon or input or whatever devices. As a result, I want to >> deprecate incl

Re: [PATCH 08/17] tty: New RISC-V SBI console driver

2017-07-13 Thread Michael Ellerman
Palmer Dabbelt writes: > On Thu, 13 Jul 2017 05:32:26 PDT (-0700), james.ho...@imgtec.com wrote: >> On Thu, Jul 13, 2017 at 09:59:53PM +1000, Michael Ellerman wrote: >>> >>> I think it's fairly uncontroversial to have the early console in arch >>> code, especially in a case like this where there's

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-13 Thread Viresh Kumar
On 13-07-17, 19:02, Saravana Kannan wrote: > Honestly, this seems like such a chip/platform specific decision. There's no > reason that one can't have a chip where you can change the frequency of any > CPU from any other CPU. If there's such a limitation, we should let that be > handled at the CPU

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

2017-07-13 Thread Leon Romanovsky
On Fri, Jul 14, 2017 at 01:50:26PM +1000, Stephen Rothwell wrote: > Hi all, > > On Fri, 14 Jul 2017 06:34:16 +0300 Leon Romanovsky wrote: > > > > Sorry Doug, but it is not expected at all for the code which will go to > > 4.14. > > > > Both patches in question were targeted for 4.13 and you was e

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

2017-07-13 Thread Leon Romanovsky
On Fri, Jul 14, 2017 at 12:12:33AM -0400, Doug Ledford wrote: > On Fri, 2017-07-14 at 06:34 +0300, Leon Romanovsky wrote: > > On Thu, Jul 13, 2017 at 09:17:13PM -0400, Doug Ledford wrote: > > > On Fri, 2017-07-14 at 11:14 +1000, Stephen Rothwell wrote: > > > > Hi Doug, > > > > > > > > Today's linux

Re: [PATCH] mm/mremap: Fail map duplication attempts for private mappings

2017-07-13 Thread Anshuman Khandual
On 07/14/2017 04:03 AM, Mike Kravetz wrote: > On 07/13/2017 12:11 PM, Vlastimil Babka wrote: >> [+CC linux-api] >> >> On 07/13/2017 05:58 PM, Mike Kravetz wrote: >>> mremap will create a 'duplicate' mapping if old_size == 0 is >>> specified. Such duplicate mappings make no sense for private >>> ma

Re: [PATCH] Crypto_user: Make crypto user API available for all net ns

2017-07-13 Thread Steffen Klassert
On Thu, Jul 13, 2017 at 04:51:10PM +0200, Stephan Müller wrote: > Am Donnerstag, 13. Juli 2017, 16:22:32 CEST schrieb Christian Langrock: > > Hi Christian, > > > With this patch it's possible to use crypto user API form all > > network namespaces, not only form the initial net ns. > > Is this wi

Re: [PATCH 17/18] arm: dts: sun8i: Add BananaPI M2-Magic DTS

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > The Bananapi M2-Magic is a board with an A33, a USB host and USB OTG > connectors, and 8GB eMMC, an AP6212 WiFi/Bluetooth chip and connectors for > DSI, CSI and GPIOs. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai Has BPI pu

[PATCH] ARM: mm: iomap: use is_vmalloc_addr

2017-07-13 Thread Gustavo A. R. Silva
Instead of manually checking the bounds of VMALLOC_START and VMALLOC_END, use is_vmalloc_addr. Such function was specifically designed for that purpose. Signed-off-by: Gustavo A. R. Silva --- arch/arm/mm/iomap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mm/io

Re: [PATCH 09/18] drm/sun4i: tcon: Adjust dotclock dividers range

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > It seems like the dotclock dividers are a bit less strict range, and can > operate even with a smaller than 6 divider. Loose the boundaries a bit. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_dotclock.c | 20 +++

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

2017-07-13 Thread Doug Ledford
On Fri, 2017-07-14 at 06:34 +0300, Leon Romanovsky wrote: > On Thu, Jul 13, 2017 at 09:17:13PM -0400, Doug Ledford wrote: > > On Fri, 2017-07-14 at 11:14 +1000, Stephen Rothwell wrote: > > > Hi Doug, > > > > > > Today's linux-next merge of the rdma tree got conflicts in: > > > > > > drivers/inf

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-13 Thread Paul E. McKenney
On Fri, Jul 14, 2017 at 11:47:32AM +0800, Li, Aubrey wrote: > On 2017/7/13 23:20, Paul E. McKenney wrote: > > On Thu, Jul 13, 2017 at 04:53:11PM +0200, Peter Zijlstra wrote: > >> On Thu, Jul 13, 2017 at 10:48:55PM +0800, Li, Aubrey wrote: > >> > >>> - totally from arch_cpu_idle_enter entry to arch_

Re: [PATCH] cpufreq: schedutil: Update cached "current frequency" when limits change

2017-07-13 Thread Viresh Kumar
On 13-07-17, 18:52, Saravana Kannan wrote: > On 07/11/2017 10:24 PM, Viresh Kumar wrote: > >On 11-07-17, 19:24, Saravana Kannan wrote: > >>Currently, the governor calculates the next frequency, set the current CPU > >>frequency (policy->cur). It also assumes the current CPU frequency doesn't > >>ch

Re: [PATCH 08/18] drm/sun4i: tcon: Add TRI finish interrupt for vblank

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > The "CPU" (or Intel 8080) interface uses a different interrupt called > TRI_FINISH (most likely TRI being for trigger) to notify the end of frames, > and hence the VBLANK period. > > And that interrupt to the possible VBLANK interrupts sourc

Re: [PATCH 2/2] mfd: ds1374: Add Dallas/Maxim DS1374 Multi Function Device

2017-07-13 Thread Guenter Roeck
On 07/13/2017 12:54 PM, Moritz Fischer wrote: From: Moritz Fischer Add support for the Maxim/Dallas DS1374 RTC/WDT with trickle charger. The device can either be configured as simple RTC, as simple RTC with Alarm (IRQ) as well as simple RTC with watchdog timer. Break up the old monolithic driv

linux-next: Tree for Jul 14

2017-07-13 Thread Stephen Rothwell
Hi all, Please do not add any v4.14 material to you linux-next included branches until after v4.13-rc1 has been released. Changes since 20170713: The rdma tree gained a conflict against Linus' tree. The random tree gained a conflict against Linus' tree. Non-merge commits (relativ

Re: [PATCH 07/18] drm/sun4i: tcon: Don't rely on encoders to set the TCON mode

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > Just like we did for the TCON enable and disable, for historical reasons we > used to rely on the encoders calling the TCON mode_set function, while the > CRTC has a callback for that. > > Let's implement it in order to reduce the boilerplat

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-13 Thread Li, Aubrey
On 2017/7/14 2:28, Peter Zijlstra wrote: > On Thu, Jul 13, 2017 at 11:13:28PM +0800, Li, Aubrey wrote: >> On 2017/7/13 22:53, Peter Zijlstra wrote: > >>> Fixing C-state selection by creating an alternative idle path sounds so >>> very wrong. >> >> This only happens on the arch which has multiple h

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

2017-07-13 Thread Stephen Rothwell
Hi all, On Fri, 14 Jul 2017 06:34:16 +0300 Leon Romanovsky wrote: > > Sorry Doug, but it is not expected at all for the code which will go to 4.14. > > Both patches in question were targeted for 4.13 and you was expected to > see the merge conflicts during last month or so, prior to merge window

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-13 Thread Li, Aubrey
On 2017/7/13 23:20, Paul E. McKenney wrote: > On Thu, Jul 13, 2017 at 04:53:11PM +0200, Peter Zijlstra wrote: >> On Thu, Jul 13, 2017 at 10:48:55PM +0800, Li, Aubrey wrote: >> >>> - totally from arch_cpu_idle_enter entry to arch_cpu_idle_exit return costs >>> 9122ns - 15318ns. >>> In this pe

Re: [PATCH 06/18] drm/sun4i: tcon: Don't rely on encoders to enable the TCON

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > So far, we've required all the TCON-connected encoders to call the TCON > enable and disable functions. > > This was made this way because in the RGB/LVDS case, the TCON is the CRTC > and the encoder. However, in all the other cases (HDMI, T

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-13 Thread Moritz Fischer
Hi Andrew, On Thu, Jul 13, 2017 at 6:34 PM, Andrew Lunn wrote: >> > > + /* not sure if this is the correct way of dealing with this ... */ >> > > + ndev->phydev->supported &= ~(SUPPORTED_Autoneg); >> > > + ndev->phydev->advertising = ndev->phydev->supported; >> > > + ndev->phydev->autoneg = AUTON

[PATCH 2/2] x86/timers: Make recalibrate_cpu_khz() void

2017-07-13 Thread Dou Liyang
recalibrate_cpu_khz() is called from powernow K7 and Pentium 4/Xeon CPU freq driver. It recalibrates cpu frequency in case of SMP = n and doesn't need to return anything. Mark it void, also remove the #else branch. Signed-off-by: Dou Liyang --- arch/x86/include/asm/timer.h | 2 +- arch/x86/kern

[PATCH 1/2] x86/timers: Move the simple udelay calibration to tsc.h

2017-07-13 Thread Dou Liyang
Commit dd759d93f4dd ("x86/timers: Add simple udelay calibration") adds an static function in x86 boot-time initializations. But, this function is actually related to TSC, should be maintained in tsc.c, not in setup.c. Move simple_udelay_calibration() from setup.c to tsc.c and repalce its name wit

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

2017-07-13 Thread Leon Romanovsky
On Thu, Jul 13, 2017 at 09:17:13PM -0400, Doug Ledford wrote: > On Fri, 2017-07-14 at 11:14 +1000, Stephen Rothwell wrote: > > Hi Doug, > > > > Today's linux-next merge of the rdma tree got conflicts in: > > > > drivers/infiniband/core/uverbs_cmd.c > > drivers/infiniband/core/verbs.c > > > > be

Re: [PATCH] IB/hfi1: fix spelling mistake in variable name continious

2017-07-13 Thread Dennis Dalessandro
On 7/13/2017 6:13 PM, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake, rename variable 'continious' to the correct spelling 'continuous' Signed-off-by: Colin Ian King --- Thanks! Acked-by: Dennis Dalessandro

Re: [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-13 Thread Dou Liyang
Hi, Lu At 07/13/2017 11:00 AM, Lu Baolu wrote: Hi, On 07/13/2017 09:39 AM, Dou Liyang wrote: Hi, Lu At 07/13/2017 09:17 AM, Lu Baolu wrote: Hi, On 07/12/2017 04:02 PM, Dou Liyang wrote: Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi, On

Re: [PATCH 02/17] pci: Add a generic, weakly-linked pcibios_align_resource

2017-07-13 Thread kbuild test robot
Hi Palmer, [auto build test ERROR on linus/master] [also build test ERROR on next-20170713] [cannot apply to v4.12] [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/Palmer-Dabbelt/lib-Add-shared

Re: [PATCH 05/18] drm/sun4i: tcon: remove unused function

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > Even though that function is defined in the TCON header, it's not defined > nor used anywhere. Remove the prototype. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

Re: [PATCH 04/18] drm/sun4i: Remove useless atomic_check

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:12 PM, Maxime Ripard wrote: > The atomic_check callback is optional, and we don't implement anything in > some parts of our drivers. Let's remove it. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

Re: [PATCH 03/18] drm/sun4i: Realign Makefile padding and reorder it

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:12 PM, Maxime Ripard wrote: > Some options were not padded as they should, and the order in the Makefile > was chaotic. Fix that. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/Makefile | 26 +- > 1 file changed, 13 insertions(+)

Re: [PATCH 02/18] drm/sun4i: Add if statement instead of depends on

2017-07-13 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:12 PM, Maxime Ripard wrote: > The depends on relationship is obvious, and using an if statement will > propagate it to every option without the need for each and every one of > them to define it. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

[git pull] vfs.git killing ->s_options series

2017-07-13 Thread Al Viro
Preparations for fsmount/fsopen stuff (coming next cycle). Everything gets moved to explicit ->show_options(), killing ->s_options off + some cosmetic bits around fs/namespace.c and friends. Basically, the stuff needed to work with fsmount series with minimum of conflicts with other work.

[git pull] vfs.git more __copy_..._user() elimination

2017-07-13 Thread Al Viro
The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.__copy_to_user for you to fetch changes up to 3941dae15ed904373963

[git pull] vfs.git death to uaccess-unaligned

2017-07-13 Thread Al Viro
That stuff had just one user, and an exotic one, at that - binfmt_flat on arm and m68k. The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/

Re: [PATCH linux v4 3/3] drivers: w1: add hwmon temp support for w1_therm

2017-07-13 Thread Guenter Roeck
On Thu, Jul 13, 2017 at 03:41:07PM -0700, Jaghathiswari Rankappagounder Natarajan wrote: > This change adds hwmon temp support for w1_therm. > > Signed-off-by: Jaghathiswari Rankappagounder Natarajan > Acked-by: Evgeniy Polyakov Acked-by: Guenter Roeck > --- > v2 > - make changes to support

Re: [PATCH linux v4 1/3] drivers: w1: add hwmon support structures

2017-07-13 Thread Guenter Roeck
On 07/13/2017 03:41 PM, Jaghathiswari Rankappagounder Natarajan wrote: This patch has changes to w1.h/w1.c/w1_family.h generic files to add (optional) hwmon support structures. Signed-off-by: Jaghathiswari Rankappagounder Natarajan Acked-by: Evgeniy Polyakov I think I Acked this one already.

Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-13 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > log2 as currently implemented applies only to u64 trace_event_field > derived fields, and assumes that anything it's applied to is a u64 > field. > > To prepare for synthetic fields like latencies, log2 should be > applicable to those

LEGACY

2017-07-13 Thread INFO
Attn, We have an inheritance of a deceased client with your surname Contact Dr. Gertjan Vlieghe With your: Full Name, Tel Number, Age, Occupation and Address through email: d.vlie...@manlymail.net Dr. Gertjan Vlieghe -- Correo Corporativo Hospital Universitario

[PATCH v2] arm64: dts: qcom: Force host mode for USB on apq8016-sbc

2017-07-13 Thread Stephen Boyd
Commit ed75d6a96905 ("arm64: dts: qcom: Collapse usb support into one node") breaks host mode support on apq8016-sbc boards. This is because the mux driver (tc7usb40mu) hasn't been merged. Without that driver, we can't toggle the GPIO going to the mux to route out the D+/D- lines to the USB hub tha

Re: [PATCH 01/32] tracing: Add hist_field_name() accessor

2017-07-13 Thread Namhyung Kim
Hi Tom, On Mon, Jun 26, 2017 at 05:49:02PM -0500, Tom Zanussi wrote: > In preparation for hist_fields that won't be strictly based on > trace_event_fields, add a new hist_field_name() accessor to allow that > flexibility and update associated users. > > Signed-off-by: Tom Zanussi > --- > kernel

Re: [PATCH v3 1/2] ARM: dts: imx: add CX9020 Embedded PC device tree

2017-07-13 Thread Shawn Guo
On Thu, Jul 13, 2017 at 01:13:38PM +0200, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > The CX9020 differs from i.MX53 Quick Start Board by: > - use uart2 instead of uart1 > - DVI-D connector instead of VGA > - no audio > - CCAT FPGA connected to emi > - enable rtc > > Signed-o

Re: [PATCH 1/1 V2] media: usb: uvc: Fix incorrect timeout for Get Request

2017-07-13 Thread Jim Lin
On 2017年07月11日 03:47, Laurent Pinchart wrote: Hi Jim, Thank you for the patch. On Monday 10 Jul 2017 14:43:49 Jim Lin wrote: Section 9.2.6.4 of USB 2.0/3.x specification describes that "device must be able to return the first data packet to host within 500 ms of receipt of the request. For sub

Re: [PATCH 4.12 00/10] 4.12.2-stable review

2017-07-13 Thread Guenter Roeck
On 07/13/2017 08:40 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.12.2 release. There are 10 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [Eas-dev] [PATCH V3 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-13 Thread Saravana Kannan
On 07/12/2017 11:44 PM, Viresh Kumar wrote: This patch updates the schedutil governor to process cpufreq utilization update hooks called for remote CPUs. The schedutil governor already has proper locking in place for shared policy update hooks and nothing extra is required to be done. Based on

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

2017-07-13 Thread Stephen Rothwell
Hi all, [I think I have reported this before ...] Today's linux-next merge of the random tree got a conflict in: include/linux/random.h between commit: 022c204040f3 ("random,stackprotect: introduce get_random_canary function") from Linus' tree and commit: da9ba564bd68 ("random: add get

  1   2   3   4   5   6   7   8   9   >