[v3] wl18xx: add missing nvs file name info for wilink8

2017-07-20 Thread Reizer, Eyal
The following commits: c815fde wlcore: spi: Populate config firmware data d776fc8 wlcore: sdio: Populate config firmware data Populated the nvs entry for wilink6 and wilink7 only while it is still needed for wilink8 as well. This broke user space backward compatibility when upgrading from older

[PATCH 02/10] arm64: zynqmp: Add idle state for ZynqMP

2017-07-20 Thread Michal Simek
From: Stefan Krsmanovic Added the idle-states node to describe zynqmp idle states. Only cpu-sleep-0 idle state is added in this patch. References to the idle-states node are added in all CPU nodes. Time values: entry/exit latencies and min-residency, needs to be tuned. arm,psci-suspend-param is s

[PATCH 04/10] arm64: zynqmp: Add dcc console for zynqmp

2017-07-20 Thread Michal Simek
Add debug console to dtsi to be able to enable it in board dts file. Keep in your mind that every core has separate dcc port in case you want to run SMP kernel. DCC is very helpful communication channel for debugging. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 5 ++

[PATCH v2 2/3] drm/bridge/synopsys: dsi: Register list clean up

2017-07-20 Thread Philippe CORNU
This patch cleans up the Synopsys mipi dsi register list: - rename registers according to the Synopsys documentation (1.30 & 1.31) - fix typos - re-order registers for a better coherency Signed-off-by: Philippe CORNU Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/bridge/synopsys/dw-mipi-ds

[PATCH 08/10] arm64: zynqmp: Correct IRQ nr for the SMMU

2017-07-20 Thread Michal Simek
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi ind

[PATCH 09/10] arm64: zynqmp: Add new uartps compatible string

2017-07-20 Thread Michal Simek
Mainline kernel has r1p12 compatible string now. Use this new compatible string and also append generic compatible string. Keep in your mind that using this generic compatible string not all uart features will be available. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi

[PATCH 10/10] arm64: zynqmp: Set status disabled in dtsi

2017-07-20 Thread Michal Simek
From: Naga Sureshkumar Relli Do not enable smmu via dtsi. Enable it in board file when needed. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dt

Applied "regulator: fan53555: Use of_device_get_match_data() to simplify probe" to the regulator tree

2017-07-20 Thread Mark Brown
The patch regulator: fan53555: Use of_device_get_match_data() to simplify probe 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

Applied "regulator: core: fix a possible race in disable_work handling" to the regulator tree

2017-07-20 Thread Mark Brown
The patch regulator: core: fix a possible race in disable_work handling has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Re: linux-next: build failure after merge of the userns tree

2017-07-20 Thread Eric W. Biederman
Stephen Rothwell writes: > Hi Eric, > > After merging the userns tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > kernel/pid_namespace.c: In function 'create_pid_namespace': > kernel/pid_namespace.c:105:7: error: too many arguments to function > 'in_userns' > if

[PATCH v2 3/3] drm/bridge/synopsys: dsi: explicitly request exclusive reset control

2017-07-20 Thread Philippe CORNU
Based on patch "Convert drivers to explicit reset API" from Philipp Zabel Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control

Re: [PATCH 1/1] drivers/staging/pi433: New driver

2017-07-20 Thread Geert Uytterhoeven
Hi Dan, On Thu, Jul 20, 2017 at 1:37 PM, Dan Carpenter wrote: > On Thu, Jul 20, 2017 at 01:23:05PM +0200, Marcus Wolf wrote: >> below you can see the report with the error on m68k. It was sent to me from a >> test robot of intel. >> >> According to my research, this problem occured, because there

Re: [PATCH 3/4] ACPI / APEI: Drop uninformative messages during boot

2017-07-20 Thread Punit Agrawal
Hi Borislav, Borislav Petkov writes: > On Thu, Jul 20, 2017 at 12:04:01PM +0100, Punit Agrawal wrote: >> When booting an ACPI enabled system that does not provide the hardware >> error source table (HEST), the ghes driver prints the following message >> in the kernel log - >> >> [3.460067]

Re: [PATCH] f2fs: let __get_victim successfully get a segno in corner case

2017-07-20 Thread Yunlong Song
Hi, Jay, The distribution is like this, unit is segment counts: cnt_free: 0 (free blocks) cnt_full: 25182 (segment which has 512 blocks) cnt_over: 25192 (segment which valid blocks over fggc_threshold) cnt_below: 870 (segment which valid blocks below fggc_threshold) The test is

Re: [PATCH 4.12 26/84] x86/xen/efi: Initialize only the EFI struct members used by Xen

2017-07-20 Thread Daniel Kiper
On Thu, Jul 20, 2017 at 11:16:39AM +0200, Greg Kroah-Hartman wrote: > On Thu, Jul 20, 2017 at 10:39:10AM +0200, Ingo Molnar wrote: > > > > * Daniel Kiper wrote: > > > > > Hey Greg, > > > > > > On Wed, Jul 19, 2017 at 11:43:32AM +0200, Greg Kroah-Hartman wrote: > > > > 4.12-stable review patch. If

Re: [PATCH v4 1/5] powerpc: io.h: move iomap.h include so that it can use readq/writeq defs

2017-07-20 Thread Horia Geantă
On 7/20/2017 1:27 PM, Horia Geantă wrote: > On 7/19/2017 7:04 PM, Logan Gunthorpe wrote: >> >> >> On 18/07/17 11:57 PM, Michael Ellerman wrote: >>> Seems fair enough, have you tested it at all? >> >> It's only been compile tested and the kbuild robot has beat up on it a bit. >> > Looks like the pat

Re: [RESEND PATCH] sparc: defconfig: Cleanup from old Kconfig options

2017-07-20 Thread Sam Ravnborg
On Thu, Jul 20, 2017 at 07:00:55AM +0200, Krzysztof Kozlowski wrote: > Remove old, dead Kconfig options (in order appearing in this commit): > - EXPERIMENTAL is gone since v3.9; > - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); > - AUTOFS_FS: commit 561c5cf9236a ("staging: Rem

Re: [PATCH v6 0/6] provide power off support for iMX6 with external PMIC

2017-07-20 Thread Mark Brown
On Tue, Jul 18, 2017 at 06:53:54AM +0200, Oleksij Rempel wrote: > Hallo all, > > Here Gentle Ping to the Old King > > DT is already ACKed. Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless

Re: [PATCH v2 5/7] drm/stm: ltdc: add devm_reset_control & platform_get_ressource

2017-07-20 Thread Philipp Zabel
Hi Philippe, On Thu, 2017-07-20 at 14:05 +0200, Philippe CORNU wrote: > Use devm_reset_control_get_exclusive to avoid resource leakage (based > on patch "Convert drivers to explicit reset API" from Philipp Zabel). > > Also use platform_get_resource, which is more usual and > consistent with platf

RE: [v3] wl18xx: add missing nvs file name info for wilink8

2017-07-20 Thread Reizer, Eyal
Please ignore this patch. Wrong header. Submitted the correct one instead: https://patchwork.kernel.org/patch/9854809/ > -Original Message- > From: Reizer, Eyal > Sent: Thursday, July 20, 2017 3:13 PM > To: 'Kalle Valo'; ',Tony Lindgren'; 'linux-wirel...@vger.kernel.org'; 'linux- > ker...

Re: [PATCH 1/3] ipc: convert ipc_namespace.count from atomic_t to refcount_t

2017-07-20 Thread Eric W. Biederman
Ingo Molnar writes: > * Andrew Morton wrote: > >> On Wed, 19 Jul 2017 15:54:27 -0700 Davidlohr Bueso wrote: >> >> > On Wed, 19 Jul 2017, Andrew Morton wrote: >> > >> > >I do rather dislike these conversions from the point of view of >> > >performance overhead and general code bloat. But I se

Re: [PATCH v2 0/7] drm/stm: Various cleanups

2017-07-20 Thread Benjamin Gaignard
2017-07-20 14:05 GMT+02:00 Philippe CORNU : > Version 2: > - Add devm_reset_control_get_exclusive to follow explicit reset API > - Add missing commit messages & reviewed-by. > > Version 1: > - Initial commit > > The purpose of this set of patches is to clean up the drm stm driver. > > Philippe CORN

Re: [PATCH v2 3/3] drm/bridge/synopsys: dsi: explicitly request exclusive reset control

2017-07-20 Thread Philipp Zabel
Hi Philippe, On Thu, 2017-07-20 at 14:19 +0200, Philippe CORNU wrote: > Based on patch "Convert drivers to explicit reset API" from Philipp Zabel > > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls

[PATCH 0/5] Consolidate init_task handling

2017-07-20 Thread David Howells
Hi Ingo, Is this something that could be taken into the tip tree? It's a series of patches that consolidate init_task handling: (1) Alter the INIT_TASK_DATA linker script macro to set init_thread_union and init_stack rather than defining these in C. Insert init_task and init_thread_

[PATCH 1/5] Construct init thread stack in the linker script rather than by union

2017-07-20 Thread David Howells
Construct the init thread stack in the linker script rather than doing it by means of a union so that ia64's init_task.c can be got rid of. The following symbols are then made available from INIT_TASK_DATA() linker script macro: init_thread_union init_stack INIT_TASK_DATA() also

[PATCH 5/5] Unroll INIT_STRUCT_PID

2017-07-20 Thread David Howells
Unroll INIT_STRUCT_PID in the single place that uses it. There doesn't seem any point in the macro. Signed-off-by: David Howells --- include/linux/init_task.h | 15 --- kernel/pid.c | 15 ++- 2 files changed, 14 insertions(+), 16 deletions(-) diff --gi

[PATCH 3/5] Unroll various INIT_* macros

2017-07-20 Thread David Howells
Unroll various INIT_* macros into the single places they're used in init/init_task.c. Signed-off-by: David Howells --- include/linux/ftrace.h| 12 - include/linux/init_task.h | 116 - include/linux/irqflags.h |2 - include/linux/lockde

[PATCH 4/5] Unroll the INIT_SIGNALS and INIT_SIGHAND macros

2017-07-20 Thread David Howells
There doesn't seem to be any need to have the INIT_SIGNALS and INIT_SIGHAND macros, so unroll them in their single places of use. Signed-off-by: David Howells --- include/linux/init_task.h | 45 - init/init_task.c | 30 +++

[PATCH 2/5] Unroll INIT_TASK() in init/init_task.c

2017-07-20 Thread David Howells
It's no longer necessary to have an INIT_TASK() macro, and this can be unrolled into the one place it is now used. Signed-off-by: David Howells --- include/linux/init_task.h | 87 ++--- init/init_task.c | 85 ++

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

2017-07-20 Thread Paul E. McKenney
On Thu, Jul 20, 2017 at 09:40:49AM +0800, Li, Aubrey wrote: > On 2017/7/19 22:48, Paul E. McKenney wrote: > > On Wed, Jul 19, 2017 at 01:44:06PM +0800, Li, Aubrey wrote: > >> On 2017/7/18 23:20, Paul E. McKenney wrote: > >> > 2) for rcu idle enter/exit, I measured the details which Paul provid

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-20 Thread Paul E. McKenney
On Thu, Jul 20, 2017 at 02:14:34PM +0800, Boqun Feng wrote: > On Wed, Jul 19, 2017 at 10:47:04PM -0700, Paul E. McKenney wrote: > [...] > > > Hi Paul, > > > > > > I know the compiler could optimize atomics in very interesting ways, but > > > this case is about volatile, so I guess our case is stil

Re: [PATCH] drm/i2c: tda998x: Fix lockdep warning about possible circular dependency

2017-07-20 Thread Liviu Dudau
On Thu, Jul 20, 2017 at 12:44:49PM +0100, Russell King - ARM Linux wrote: > On Thu, Jul 20, 2017 at 12:38:53PM +0100, Russell King - ARM Linux wrote: > > On Thu, Jul 20, 2017 at 12:04:50PM +0100, Liviu Dudau wrote: > > > When enabling lockdep debugging on Juno platform with HDLCD and TDA998x > > >

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-20 Thread Akira Yokosawa
On 2017/07/20 14:47, Paul E. McKenney wrote: > On Thu, Jul 20, 2017 at 09:31:41AM +0800, Boqun Feng wrote: >> On Wed, Jul 19, 2017 at 02:56:02PM -0700, Paul E. McKenney wrote: >>> On Thu, Jul 20, 2017 at 06:33:26AM +0900, Akira Yokosawa wrote: On 2017/07/20 2:43, Paul E. McKenney wrote: >

Re: [PATCH v5 02/19] arm64: juno: dts: Use the new coresight replicator string

2017-07-20 Thread Liviu Dudau
On Thu, Jul 20, 2017 at 11:17:12AM +0100, Suzuki K Poulose wrote: > Use the new compatible for ATB programmable replicator in Juno. > > Cc: Sudeep Holla > Cc: Mike Leach > Cc: Mathieu Poirier > Cc: Liviu Dudau Acked-by: Liviu Dudau > Reviewed-by: Mathieu Poirier > Signed-off-by: Suzuki K P

Re: mm, something wrong in page_lock_anon_vma_read()?

2017-07-20 Thread Andrea Arcangeli
On Wed, Jul 19, 2017 at 05:59:01PM +0800, Xishi Qiu wrote: > I find two patches from upstream. > 887843961c4b4681ee993c36d4997bf4b4aa8253 Do you use the remap_file_pages syscall? Such syscall has been dropped upstream so very few apps should possibly try to use it on 64bit archs. It would also re

Re: [PATCH 1/1][staging-next] staging: pi433: Make functions rf69_set_dc_cut_off_frequency_intern static

2017-07-20 Thread Colin Ian King
On 20/07/17 12:01, Wolf Entwicklungen wrote: > Declare rf69_set_dc_cut_off_frequency_intern as static since it > is used internaly only > > Fixes: 874bcba65f9a ("staging: pi433: New driver") > Signed-off-by: Marcus Wolf > > diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c

Re: [PATCH v3 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-07-20 Thread Zhangshaokun
Hi Jonathan, Thanks for your comments firstly. On 2017/7/19 17:17, Jonathan Cameron wrote: > On Tue, 18 Jul 2017 15:59:54 +0800 > Shaokun Zhang wrote: > >> This patch adds documentation for the uncore PMUs on HiSilicon SoC. >> >> Signed-off-by: Shaokun Zhang >> Signed-off-by: Anurup M > Hi

[PATCH v2 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-20 Thread Maxime Ripard
In the earlier display engine designs, any register access while a commit is pending is forbidden. One of the symptoms is that reading a register will return another, random, register value which can lead to register corruptions if we ever do a read/modify/write cycle. Signed-off-by: Maxime Ripar

[PATCH v2 3/4] drm/sun4i: engine: Add commit_poll function

2017-07-20 Thread Maxime Ripard
On the earlier Allwinner chips, with the first iteration of the display engine, the backend commit bit needs to be polled before making any register access to the backend. Add an operation for that, that will be called in atomic_begin in order to be sure to have that bit cleared before we do any m

[PATCH v2 2/4] drm/sun4i: Use the runtime_pm commit_tail variant

2017-07-20 Thread Maxime Ripard
The backend (planes) commit can only happen when the TCON (CRTC) is enabled, which is not guaranteed with the default commit_tail helper. Let's use the runtime_pm version that is designed specifically to deal with that case. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_framebuff

[PATCH v2 0/4] drm/sun4i: Fix a register access bug

2017-07-20 Thread Maxime Ripard
The Allwinner backend has a commit bit in order to push the new configuration to the actual hardware. We've always been using that bit. However, we also should poll for that bit to clear, which we don't. Accessing any register while a commit is pending is forbidden, and will for example show a sym

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

2017-07-20 Thread Maxime Ripard
The current drm_atomic_helper_commit_tail helper works only if the CRTC is accessible, and documents an alternative implementation that is supposed to be used if that happens. That implementation is then duplicated by some drivers. Instead of documenting it, let's implement an helper that all the

Re: [RFC PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-20 Thread Michal Hocko
On Wed 19-07-17 18:18:27, Hugh Dickins wrote: > On Wed, 19 Jul 2017, Michal Hocko wrote: > > On Thu 29-06-17 10:46:21, Michal Hocko wrote: > > > Forgot to CC Hugh. > > > > > > Hugh, Andrew, do you see this could cause any problem wrt. > > > ksm/khugepaged exit path? > > > > ping. I would really a

Re: [Patch v5 06/12] [media] v4l2-ioctl: add HEVC format description

2017-07-20 Thread Hans Verkuil
On 19/06/17 07:10, Smitha T Murthy wrote: > HEVC is a video coding format > > Signed-off-by: Smitha T Murthy > --- > drivers/media/v4l2-core/v4l2-ioctl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c > b/drivers/media/v4l2-core/v4l2-ioctl.c > ind

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

2017-07-20 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 11:13:53AM +0800, Chen-Yu Tsai wrote: > 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/sun4

Re: [Patch v5 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2017-07-20 Thread Hans Verkuil
On 19/06/17 07:10, Smitha T Murthy wrote: > Add V4L2 definition for HEVC compressed format > > Signed-off-by: Smitha T Murthy > Reviewed-by: Andrzej Hajda > --- > include/uapi/linux/videodev2.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/videodev2.h b/include/ua

Re: [PATCH v3 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-07-20 Thread Will Deacon
On Thu, Jul 20, 2017 at 08:54:36PM +0800, Zhangshaokun wrote: > On 2017/7/19 17:17, Jonathan Cameron wrote: > >> +Super CPU cluster (SCCL) and is made up of 6 CCLs. Each SCCL has two HHAs > >> +(0 - 1) and four DDRCs (0 - 3), respectively. > >> + > >> +HiSilicon SoC uncore PMU driver > >> +

Re: [PATCH] drm/i2c: tda998x: Fix lockdep warning about possible circular dependency

2017-07-20 Thread Russell King - ARM Linux
On Thu, Jul 20, 2017 at 01:54:04PM +0100, Liviu Dudau wrote: > On Thu, Jul 20, 2017 at 12:44:49PM +0100, Russell King - ARM Linux wrote: > > Actually, scrub that idea - drm_helper_probe_single_connector_modes() > > calls drm_edid_to_eld() for these cases anyway, so we must call > > drm_helper_probe

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-07-20 Thread Harald Freudenberger
On 07/19/2017 08:13 PM, Oleksij Rempel wrote: > On Wed, Jul 19, 2017 at 04:53:21PM +, Horia Geantă wrote: >> On 7/19/2017 7:32 PM, Oleksij Rempel wrote: >>> On Wed, Jul 19, 2017 at 12:49:47PM +, Horia Geantă wrote: On 7/19/2017 10:45 AM, Oleksij Rempel wrote: > According documentat

Re: [PATCH v4 3/3] hwrng: mxc-fsl - add support for Freescale RNGC

2017-07-20 Thread PrasannaKumar Muralidharan
Hi Martin, Nice to see a quick turnaround. Have a minor suggestion below. On 20 July 2017 at 15:57, Martin Kaiser wrote: > From: Steffen Trumtrar > > The driver is ported from Freescales Linux git and can be > found in the > > vendor/freescale/imx_2.6.35_maintain > > branch. > > Accordi

Re: [PATCH v6 0/6] provide power off support for iMX6 with external PMIC

2017-07-20 Thread Russell King - ARM Linux
On Thu, Jul 20, 2017 at 01:37:01PM +0100, Mark Brown wrote: > On Tue, Jul 18, 2017 at 06:53:54AM +0200, Oleksij Rempel wrote: > > Hallo all, > > > > Here Gentle Ping to the Old King > > > > DT is already ACKed. > > Please don't send content free pings and please allow a reasonable time > for rev

Re: [PATCH v3 2/6] perf: hisi: Add support for HiSilicon SoC uncore PMU driver

2017-07-20 Thread Zhangshaokun
Hi Jonathan On 2017/7/19 17:19, Jonathan Cameron wrote: > On Tue, 18 Jul 2017 15:59:55 +0800 > Shaokun Zhang wrote: > >> This patch adds support HiSilicon SoC uncore PMU driver framework and >> interfaces. >> >> Signed-off-by: Shaokun Zhang >> Signed-off-by: Anurup M > A couple of minor thin

Re: [Patch v5 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-07-20 Thread Hans Verkuil
On 19/06/17 07:10, Smitha T Murthy wrote: > Add v4l2 controls for HEVC encoder > > Signed-off-by: Smitha T Murthy > Reviewed-by: Andrzej Hajda > --- > drivers/media/v4l2-core/v4l2-ctrls.c | 103 > +++ > include/uapi/linux/v4l2-controls.h | 84

Re: [PATCH v3 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-07-20 Thread Will Deacon
On Thu, Jul 20, 2017 at 02:08:47PM +0100, Will Deacon wrote: > On Thu, Jul 20, 2017 at 08:54:36PM +0800, Zhangshaokun wrote: > > On 2017/7/19 17:17, Jonathan Cameron wrote: > > >> +Super CPU cluster (SCCL) and is made up of 6 CCLs. Each SCCL has two > > >> HHAs > > >> +(0 - 1) and four DDRCs (0 -

Re: [PATCH] iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel

2017-07-20 Thread Baoquan He
Hi Joerg, On 06/26/17 at 12:07pm, Joerg Roedel wrote: > Hi Baoquan, > > On Fri, Jun 23, 2017 at 07:43:10PM +0800, Baoquan He wrote: > > Do you think whether it's necessary to continue my kdump fix of amd iommu > > patchset? Seems my last post was in Jan this year. I know you are very > > busy on

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

2017-07-20 Thread Maxime Ripard
Hi Chen-Yu, On Fri, Jul 14, 2017 at 11:40:07AM +0800, Chen-Yu Tsai wrote: > > static void sun4i_rgb_encoder_mode_set(struct drm_encoder *encoder, > > diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c > > b/drivers/gpu/drm/sun4i/sun4i_tcon.c > > index d9791292553e..dc70bc2a42a5 100644 > > --- a/dri

Re: [PATCH] tracing: Fix kmemleak in instance_rmdir

2017-07-20 Thread Steven Rostedt
On Thu, 20 Jul 2017 18:36:09 +0800 Chunyu Hu wrote: > Hit the kmemleak when executing instance_rmdir, it forgot releasing > mem of tracing_cpumask. With this fix, the warn does not appear any > more. Thanks, applied! -- Steve > > unreferenced object 0x93a8dfaa7c18 (size 8): > comm "mkdi

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-07-20 Thread Michal Hocko
On Wed 19-07-17 18:54:40, Hugh Dickins wrote: [...] > You probably won't welcome getting into alternatives at this late stage; > but after hacking around it one way or another because of its pointless > lockups, I lost patience with that too_many_isolated() loop a few months > back (on realizing th

Re: [PATCH] iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel

2017-07-20 Thread Joerg Roedel
Hi Baoquan, On Thu, Jul 20, 2017 at 09:17:43PM +0800, Baoquan He wrote: > I have rebased the amd iommu fix patches of kdump kernel on the latest > upstream kernel, can I send them to you to have a look? Or just send to > iommu and lkml mailing list? Please send them to me and Cc iommu and lkml.

[PATCH] arm: zynq: Add adv7511 on i2c bus for zc70x

2017-07-20 Thread Michal Simek
From: Christian Kohn Describe adv7511 on i2c bus. Signed-off-by: Christian Kohn Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-zc702.dts | 15 +++ arch/arm/boot/dts/zynq-zc706.dts | 15 +++ 2 files changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/zynq

Re: [Patch v5 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-07-20 Thread Hans Verkuil
On 19/06/17 07:10, Smitha T Murthy wrote: > Add HEVC encoder support and necessary registers, V4L2 CIDs, > and hevc encoder parameters > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- > drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 + >

[PATCH] arm: zynq: Add device-type property for zynq ethernet phy nodes

2017-07-20 Thread Michal Simek
From: Sai Pavan Boddu Mention device-type = "ethernet-phy", as qemu will need this in absence of compatible. Signed-off-by: Sai Pavan Boddu Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-parallella.dts | 1 + arch/arm/boot/dts/zynq-zc702.dts | 1 + arch/arm/boot/dts/zynq-zc706.d

Re: [PATCH][media-next] media: v4l: make local function v4l2_fwnode_endpoint_parse_csi1_bus static

2017-07-20 Thread Sakari Ailus
On Thu, Jul 20, 2017 at 11:30:14AM +0100, Colin King wrote: > From: Colin Ian King > > The function v4l2_fwnode_endpoint_parse_csi1_bus does not need to be > in global scope, so make it static. Also reformat the function arguments > as adding the static keyword made one of the source lines more

[PATCH] arm: zynq: Label whole PL part as fpga_full region

2017-07-20 Thread Michal Simek
This will simplify dt overlay structure for the whole PL. Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-7000.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index f3ac9bfe580e..0f79fe1ccd9d 100644 ---

[PATCH] arm: zynq: Use C pre-processor for includes in dts

2017-07-20 Thread Michal Simek
Change the dtsi include code to use the C pre-processor #include instead of the device tree /include/. This brings all Zynq device trees inline with each other. Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zy

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

2017-07-20 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 11:56:18AM +0800, Chen-Yu Tsai wrote: > 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 cal

Re: [PATCH 13/18] dt-bindings: vendor: Add Huarui Lighting

2017-07-20 Thread Maxime Ripard
Hi Chen-Yu, On Fri, Jul 14, 2017 at 03:53:40PM +0800, Chen-Yu Tsai wrote: > On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard > wrote: > > Huarui Lighting makes display panel, add it to the list of panels. > > I could not find any information on "Huarui Lighting" within the > context of LCD panels

Re: [PATCH 00/16] omap_hsmmc: Add ADMA support and UHS/HS200/DDR support

2017-07-20 Thread Kishon Vijay Abraham I
Hi Ulf, On Tuesday 11 July 2017 07:27 PM, Kishon Vijay Abraham I wrote: > Hi Ulf, > > On Tuesday 11 July 2017 06:40 PM, Ulf Hansson wrote: >> On 16 June 2017 at 14:45, Kishon Vijay Abraham I wrote: >>> This is the final part of the series originally sent as >>> part of [2]. >>> >>> This series a

[PATCH] staging: ccree: Fix unnecessary NULL check before kfree'ing it

2017-07-20 Thread sunil . m
From: Suniel Mahesh kfree(NULL) is safe and their is no need for a NULL check. Pointed out by checkpatch. Signed-off-by: Suniel Mahesh --- Note: - Patch was compile tested and built(ARCH=arm) on next-20170719. No build issues reported. --- drivers/staging/ccree/ssi_hash.c | 25 --

[PATCH 3/4] mm, page_owner: don't grab zone->lock for init_pages_in_zone()

2017-07-20 Thread Vlastimil Babka
init_pages_in_zone() is run under zone->lock, which means a long lock time and disabled interrupts on large machines. This is currently not an issue since it runs early in boot, but a later patch will change that. However, like other pfn scanners, we don't actually need zone->lock even when other c

[PATCH 0/4] page_ext/page_owner init fixes

2017-07-20 Thread Vlastimil Babka
This is a followup to the mail thread [1] where we discussed some issues with current page_owner (thus also page_ext) init code. Patch 1 should be a straightforward optimization found during the process. Patches 2 and 3 are preparation towards patch 4, with the main issue described in its commit lo

[PATCH 2/4] mm, page_ext: periodically reschedule during page_ext_init()

2017-07-20 Thread Vlastimil Babka
page_ext_init() can take long on large machines, so add a cond_resched() point after each section is processed. This will allow moving the init to a later point at boot without triggering lockup reports. Signed-off-by: Vlastimil Babka --- mm/page_ext.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 1/4] mm, page_owner: make init_pages_in_zone() faster

2017-07-20 Thread Vlastimil Babka
In init_pages_in_zone() we currently use the generic set_page_owner() function to initialize page_owner info for early allocated pages. This means we needlessly do lookup_page_ext() twice for each page, and more importantly save_stack(), which has to unwind the stack and find the corresponding stac

[RFC PATCH 4/4] mm, page_ext: move page_ext_init() after page_alloc_init_late()

2017-07-20 Thread Vlastimil Babka
Commit b8f1a75d61d8 ("mm: call page_ext_init() after all struct pages are initialized") has avoided a a NULL pointer dereference due to DEFERRED_STRUCT_PAGE_INIT clashing with page_ext, by calling page_ext_init() only after the deferred struct page init has finished. Later commit fe53ca54270a ("mm:

Re: [PATCH v3 04/15] selinux: Refactor to remove bprm_secureexec hook

2017-07-20 Thread Paul Moore
On Wed, Jul 19, 2017 at 9:37 PM, Kees Cook wrote: > On Wed, Jul 19, 2017 at 5:19 PM, Paul Moore wrote: >> On Wed, Jul 19, 2017 at 8:03 PM, Paul Moore wrote: >>> On Tue, Jul 18, 2017 at 6:25 PM, Kees Cook wrote: The SELinux bprm_secureexec hook can be merged with the bprm_set_creds hoo

Re: [PATCH RESEND] HID: wacom: Remove comparison of u8 mode with zero and simplify.

2017-07-20 Thread Jiri Kosina
On Sat, 8 Jul 2017, Christos Gkekas wrote: > Variable mode in method wacom_show_remote_mode() is defined as u8, thus > statement (mode >= 0) is always true and should be removed, simplifying > the logic. > > Signed-off-by: Christos Gkekas Applied to for-4.14/wacom, thanks. -- Jiri Kosina SUSE

Re: [PATCH 1/2] drivers: dma-coherent: Introduce interface for default DMA pool

2017-07-20 Thread Robin Murphy
On 20/07/17 11:19, Vladimir Murzin wrote: > Christoph noticed [1] that default DMA pool in current form overload > the DMA coherent infrastructure. In reply, Robin suggested [2] to > split the per-device vs. global pool interfaces, so allocation/release > from default DMA pool is driven by dma ops

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

2017-07-20 Thread Arjan van de Ven
On 7/20/2017 5:50 AM, Paul E. McKenney wrote: To make this work reasonably, you would also need some way to check for the case where the prediction idle time is short but the real idle time is very long. so the case where you predict very short but is actually "indefinite", the real solution li

Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

2017-07-20 Thread Masami Hiramatsu
Hi Linus, On Wed, 19 Jul 2017 21:04:25 -0700 Linus Torvalds wrote: > Hmm. I wonder why the kernel test robot ends up having that annoying > line doubling for the dmesg. > > On Wed, Jul 19, 2017 at 6:42 PM, kernel test robot > wrote: > > > > FYI, we noticed the following commit: > > > > commit:

Re: [PATCH] HID: hid-logitech-hidpp: add NULL check on devm_kmemdup() return value

2017-07-20 Thread Jiri Kosina
On Fri, 7 Jul 2017, Gustavo A. R. Silva wrote: > Check return value from call to devm_kmemdup() > in order to prevent a NULL pointer dereference. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/hid/hid-logitech-hidpp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/

Re: [PATCH 7/7] staging: fsl-mc: allow the driver compile multi-arch

2017-07-20 Thread Laurentiu Tudor
Hi, Sparc seems to be broken in multiple places, including generic code. Is this a known issue? Is there something I could/should do? --- Thanks & Best Regards, Laurentiu On 07/19/2017 08:31 PM, kbuild test robot wrote: > Hi Laurentiu, > > [auto build test ERROR on staging/staging-testing] > [al

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

2017-07-20 Thread Arjan van de Ven
On 7/20/2017 1:11 AM, Thomas Gleixner wrote: On Thu, 20 Jul 2017, Li, Aubrey wrote: Don't get me wrong, even if a fast path is acceptable, we still need to figure out if the coming idle is short and when to switch. I'm just worried about if irq timings is not an ideal statistics, we have to skip

Re: [PATCH 2/2] ARM: NOMMU: Wire-up default DMA interface

2017-07-20 Thread Robin Murphy
On 20/07/17 11:19, Vladimir Murzin wrote: > The way how default DMA pool is exposed has changed and now we need to > use dedicated interface to work with it. This patch makes alloc/release > operations to use such interface. Since, default DMA pool is not > handled by generic code anymore we have t

Re: [PATCH v3 2/6] perf: hisi: Add support for HiSilicon SoC uncore PMU driver

2017-07-20 Thread Jonathan Cameron
On Thu, 20 Jul 2017 21:03:19 +0800 Zhangshaokun wrote: > Hi Jonathan > > On 2017/7/19 17:19, Jonathan Cameron wrote: > > On Tue, 18 Jul 2017 15:59:55 +0800 > > Shaokun Zhang wrote: > > > >> This patch adds support HiSilicon SoC uncore PMU driver framework and > >> interfaces. > >> > >> Signe

[PATCH v4.4.y] sched/cgroup: Move sched_online_group() back into css_online() to fix crash

2017-07-20 Thread Matt Fleming
From: Konstantin Khlebnikov commit 96b777452d8881480fd5be50112f791c17db4b6b upstream. Commit: 2f5177f0fd7e ("sched/cgroup: Fix/cleanup cgroup teardown/init") .. moved sched_online_group() from css_online() to css_alloc(). It exposes half-baked task group into global lists before initializing

[GIT PULL] HID regression fix

2017-07-20 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive = - HID multitouch 4.12 regression fix from Dmitry Torokhov - error handling fix for HID++ driver from Gustavo A. R. Silva = Thanks. -

Re: [PATCH] gpu: Convert to using %pOF instead of full_name

2017-07-20 Thread Sean Paul
On Tue, Jul 18, 2017 at 04:43:04PM -0500, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring Hi Rob, Thanks for sen

Re: [PATCH 3/4] ACPI / APEI: Drop uninformative messages during boot

2017-07-20 Thread Borislav Petkov
On Thu, Jul 20, 2017 at 01:29:17PM +0100, Punit Agrawal wrote: > I agree that where there is a genuine problem, relevant messages can > help to diagnose the problem. But what's printed now doesn't fit the > criteria. So make it fit the criteria. Change the code to not issue that message when the p

Re: [PATCH 10/18] drm/sun4i: tcon: Move out the tcon0 common setup

2017-07-20 Thread Maxime Ripard
On Tue, Jul 18, 2017 at 11:41:36AM +0800, Chen-Yu Tsai wrote: > On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard > wrote: > > Some channel0 setup has to be done, no matter what the output interface is > > (RGB, CPU, LVDS). Move that code into a common function in order to avoid > > duplication. > >

Re: [PATCH] scsi: qedf: Limit number of CQs

2017-07-20 Thread Chad Dupuis
On Thu, 13 Jul 2017, 12:19pm, Thomas Bogendoerfer wrote: > From: Thomas Bogendoerfer > > FCOE offloading on qedf devices fails with: > > [qed_sp_fcoe_func_start:150(sp-0-3b:00.02)]Cannot satisfy CQ amount. CQs >requested 8, CQs available 6. Aborting function start > [qed_fcoe_s

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

2017-07-20 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 10:33:20AM +0530, Viresh Kumar wrote: > 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

Re: [PATCH v2] ARC: reset: introduce HSDKv1 reset driver

2017-07-20 Thread Philipp Zabel
On Wed, 2017-07-19 at 21:45 +0300, Eugeniy Paltsev wrote: > The HSDK v1 periphery IPs can be reset by accessing some registers > from the CGU block. > > The list of available reset lines is documented in the DT bindings. > > Signed-off-by: Eugeniy Paltsev > --- > Changes v1 -> v2: > - Remove de

Re: commit 16ecba59 breaks 82574L under heavy load.

2017-07-20 Thread Lennart Sorensen
On Wed, Jul 19, 2017 at 05:07:47PM -0700, Benjamin Poirier wrote: > Are you sure about this? In my testing, while triggering the overrun > with the msleep, I read ICR when entering e1000_msix_other() and RXO is > consistently set. I had thousands of calls to e1000_msix_other where the only bit set

Re: [PATCH] cpu hotplug: Prevent Page Fault in cpuhp_remove_callbacks()

2017-07-20 Thread Thomas Gleixner
On Wed, 19 Jul 2017, Ethan Barnes wrote: > There is a page fault in cpu hotplug when removing the callbacks for the > last dynamic state. > The last dynamic state will not be removed, causing a page fault when > hotplug thinks the callbacks still exists and calls it. > > The problem is as follow

Re: [PATCH] media: Convert to using %pOF instead of full_name

2017-07-20 Thread Rob Herring
On Thu, Jul 20, 2017 at 6:15 AM, Mauro Carvalho Chehab wrote: > Em Wed, 19 Jul 2017 11:02:01 -0500 > Rob Herring escreveu: > >> On Wed, Jul 19, 2017 at 4:41 AM, Sylwester Nawrocki >> wrote: >> > On 07/18/2017 11:43 PM, Rob Herring wrote: >> >> Now that we have a custom printf format specifier, c

Re: [PATCH v3 3/6] perf: hisi: Add support for HiSilicon SoC L3C PMU driver

2017-07-20 Thread Zhangshaokun
Hi Jonathan, On 2017/7/19 17:28, Jonathan Cameron wrote: > On Tue, 18 Jul 2017 15:59:56 +0800 > Shaokun Zhang wrote: > >> This patch adds support for L3C PMU driver in HiSilicon SoC chip, Each >> L3C has own control, counter and interrupt registers and is an separate >> PMU. For each L3C PMU, it

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode

2017-07-20 Thread Andy Gospodarek
On Thu, Jul 20, 2017 at 1:20 AM, Kosuke Tatsukawa wrote: > balance-alb mode used to have transmit dynamic load balancing feature > enabled by default. However, transmit dynamic load balancing no longer > works in balance-alb after commit 8b426dc54cf4 ("bonding: remove > hardcoded value"). > > Bot

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-07-20 Thread Michal Hocko
On Wed 19-07-17 05:51:03, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Tue 18-07-17 23:06:50, Tetsuo Handa wrote: > > > Commit e2fe14564d3316d1 ("oom_reaper: close race with exiting task") > > > guarded whole OOM reaping operations using oom_lock. But there was no > > > need to guard whole oper

Re: [PATCH 1/2] drivers: dma-coherent: Introduce interface for default DMA pool

2017-07-20 Thread Christoph Hellwig
On Thu, Jul 20, 2017 at 02:45:26PM +0100, Robin Murphy wrote: > I'd have left the factored-out static helpers named __*_from_coherent(), > as the _dev is not strictly true there, but it really doesn't matter as > far as I'm concerned: I've fixed that and a few other minor style bits up, and applie

Re: [PATCH v3 08/23] media: camss: Add CSID files

2017-07-20 Thread Sakari Ailus
Hi Todor, A few comments below. Looks pretty good! On Mon, Jul 17, 2017 at 01:33:34PM +0300, Todor Tomov wrote: > These files control the CSID modules which handle the protocol and application > layer of the CSI2 receivers. > > Signed-off-by: Todor Tomov > --- > .../media/platform/qcom/camss-8

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