Re: [PATCH v2] ata: ahci-platform: add reset control support

2018-03-27 Thread Kunihiko Hayashi
Sorry, please ignore this patch because of adding unneed lines. I'll resend it. Thank you, On Tue, 27 Mar 2018 15:57:12 +0900 Kunihiko Hayashi wrote: > Add support to get and control a list of resets for the device > as optional and shared. These resets must be kept de-asserted until > the devi

Re: Linux 3.18.102

2018-03-27 Thread Greg KH
On Tue, Mar 27, 2018 at 10:40:33AM +0900, Seung-Woo Kim wrote: > Hello, > > Until 3.18.102, it looks like following patch series for v4l2 seems missed. > > 273caa2 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs > a1dfb4c media: v4l2-compat-ioctl32.c: refactor compat ioctl32 l

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-27 Thread Michal Hocko
On Mon 26-03-18 19:54:31, Sasha Levin wrote: [...] > About half a year ago. I'm not sure about the no visibility part - > maintainers and authors would receive at least 3 mails for each patch > that got in this way, and would have at least a week (usually a lot > more) to object to the inclusion. D

Re: [linux-sunxi] Preferring cursor plane over overlay plane

2018-03-27 Thread Maxime Ripard
On Mon, Mar 26, 2018 at 11:01:53PM +0800, Chen-Yu Tsai wrote: > On Mon, Mar 26, 2018 at 10:45 PM, Maxime Ripard > wrote: > > On Mon, Mar 26, 2018 at 10:22:45PM +0800, Chen-Yu Tsai wrote: > >> On Mon, Mar 26, 2018 at 10:14 PM, Joonas Kylmälä > >> wrote: > >> > Hi DRM subsystem developers, > >> >

Re: [PATCH v2 1/2] phy: Add QMP phy based UFS phy support for sdm845

2018-03-27 Thread cang
On 2018-03-26 22:56, Vivek Gautam wrote: Hi Can, On 3/21/2018 11:07 AM, Can Guo wrote: Add UFS PHY support to make SDM845 UFS work with common PHY framework. Signed-off-by: Can Guo --- Thanks for the patch. Just few minor nits, and we are good. Please see comments inline. drivers/phy/qu

Re: [PATCH v2 4/4] zram: introduce zram memory tracking

2018-03-27 Thread Greg KH
On Tue, Mar 27, 2018 at 03:50:33PM +0900, Minchan Kim wrote: > zRam as swap is useful for small memory device. However, swap means > those pages on zram are mostly cold pages due to VM's LRU algorithm. > Especially, once init data for application are touched for launching, > they tend to be not acc

Re: [v3] Bluetooth: btrsi: rework dependencies

2018-03-27 Thread Kalle Valo
Arnd Bergmann wrote: > The linkage between the bluetooth driver and the wireless > driver is not defined properly, leading to build problems > such as: > > warning: (BT_HCIRSI) selects RSI_COEX which has unmet direct dependencies > (NETDEVICES && WLAN && WLAN_VENDOR_RSI && BT_HCIRSI && RSI_91X)

Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-27 Thread Andrzej Hajda
On 27.03.2018 08:15, Vladimir Zapolskiy wrote: > Hi Jacopo, > > On 03/27/2018 01:22 AM, Rob Herring wrote: >> On Tue, Mar 20, 2018 at 02:43:33PM +0200, Laurent Pinchart wrote: >>> Hi Jacopo, >>> >>> (CC'ing Rob) >>> >>> Thank you for the patch. >>> >>> On Friday, 16 March 2018 17:16:37 EET Jacopo M

Re: [PATCH v2 2/2] dt-bindings: phy-qcom-qmp: Add UFS phy compitable string for sdm845

2018-03-27 Thread cang
On 2018-03-26 23:00, Vivek Gautam wrote: On 3/21/2018 11:07 AM, Can Guo wrote: Update the compatible string for UFS QMP PHY on SDM845. Signed-off-by: Can Guo --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Docu

Re: [PATCH] RDMA/hns: ensure for-loop actually iterates and free's buffers

2018-03-27 Thread Liuyixian (Eason)
On 2018/3/26 23:10, Colin King wrote: > From: Colin Ian King > > The current for-loop zeros variable i and only loops once, hence > not all the buffers are free'd. Fix this by setting i correctly. Hi Colin, Thank you very much for this patch! It's a typo when I prepared the patch set. Revie

Re: [PATCH v3 0/5] optimize memblock_next_valid_pfn and early_pfn_valid

2018-03-27 Thread Jia He
On 3/27/2018 9:02 AM, Wei Yang Wrote: On Sun, Mar 25, 2018 at 08:02:14PM -0700, Jia He wrote: Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") tried to optimize the loop in memmap_init_zone(). But there is still some room for improvement. Patch 1 remain

Re: [PATCH v2 2/2] dt-bindings: phy-qcom-qmp: Add UFS phy compitable string for sdm845

2018-03-27 Thread cang
On 2018-03-27 06:24, Rob Herring wrote: On Wed, Mar 21, 2018 at 01:37:20PM +0800, Can Guo wrote: Update the compatible string for UFS QMP PHY on SDM845. typo in the subject. Thank you Rob, shall correct it in the next patch series. Thanks Can. Signed-off-by: Can Guo --- Documentation/

[PATCH v3 1/2] phy: Add QMP phy based UFS phy support for sdm845

2018-03-27 Thread Can Guo
Add UFS PHY support to make SDM845 UFS work with common PHY framework. Signed-off-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 130 +--- drivers/phy/qualcomm/phy-qcom-qmp.h | 8 +++ 2 files changed, 127 insertions(+), 11 deletions(-) diff --git a/drive

[PATCH v3 0/2] Support for Qualcomm UFS QMP PHY on SDM845

2018-03-27 Thread Can Guo
This patch series adds support for UFS QMP PHY on SDM845 and the compatible string for it. This patch series depends on the current proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1] and also based on the DT bindings for the QMP V3 USB3 PHYs based dirver [2]. This series can only be merged

[PATCH v3 2/2] dt-bindings: phy-qcom-qmp: Add UFS phy compatible string for sdm845

2018-03-27 Thread Can Guo
Update the compatible string for UFS QMP PHY on SDM845. Signed-off-by: Can Guo --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt b/Documentation/devicetree/bindi

Re: [PATCH v2 4/4] zram: introduce zram memory tracking

2018-03-27 Thread Minchan Kim
Hi Greg, On Tue, Mar 27, 2018 at 09:12:38AM +0200, Greg KH wrote: > On Tue, Mar 27, 2018 at 03:50:33PM +0900, Minchan Kim wrote: > > zRam as swap is useful for small memory device. However, swap means > > those pages on zram are mostly cold pages due to VM's LRU algorithm. > > Especially, once ini

Re: [RFC PATCH v2 0/2] Randomization of address chosen by mmap.

2018-03-27 Thread Michal Hocko
On Mon 26-03-18 22:45:31, Ilya Smith wrote: > > > On 26 Mar 2018, at 11:46, Michal Hocko wrote: > > > > On Fri 23-03-18 20:55:49, Ilya Smith wrote: > >> > >>> On 23 Mar 2018, at 15:48, Matthew Wilcox wrote: > >>> > >>> On Thu, Mar 22, 2018 at 07:36:36PM +0300, Ilya Smith wrote: > Current

Re: [PATCH 2/2] KVM: VMX: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-27 Thread Paolo Bonzini
On 27/03/2018 07:18, Konrad Rzeszutek Wilk wrote: >> I think a global module is enough for testing. > If so, perhaps have it wrapped with #ifdef DEBUG? > > No need to put code gadgets that won't be utilized 99% of time. It is going to be used a lot in testing, actually. There are quite a few emu

linux-next: build failure after merge of the y2038 tree

2018-03-27 Thread Stephen Rothwell
Hi Arnd, After merging the y2038 tree, today's linux-next build (sparc defconfig) failed like this: In file included from include/linux/compat.h:22:0, from arch/sparc/kernel/systbls.h:7, from arch/sparc/kernel/sys_sparc_32.c:30: arch/sparc/include/asm/compat.h: I

Re: [PATCH v6 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-27 Thread Andrzej Hajda
On 27.03.2018 08:24, Vladimir Zapolskiy wrote: > Hi Jacopo, > > On 03/16/2018 05:16 PM, Jacopo Mondi wrote: >> Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel >> output converter. >> >> Signed-off-by: Jacopo Mondi >> Reviewed-by: Andrzej Hajda >> Reviewed-by: Niklas Söderlun

Re: [PATCH 4.14 000/109] 4.14.28-stable review

2018-03-27 Thread Greg Kroah-Hartman
On Mon, Mar 26, 2018 at 11:37:28PM -0700, Guenter Roeck wrote: > On 03/26/2018 11:28 PM, Greg Kroah-Hartman wrote: > > On Mon, Mar 26, 2018 at 01:54:18PM -0400, Kash Pande wrote: > > > On 2018-03-19 02:20 PM, Guenter Roeck wrote: > > > > Ryzen and Threadripper are only supported in v4.15+. > > > >

[RESEND PATCH v2] ata: ahci-platform: add reset control support

2018-03-27 Thread Kunihiko Hayashi
Add support to get and control a list of resets for the device as optional and shared. These resets must be kept de-asserted until the device is enabled. This is specified as shared because some SoCs like UniPhier series have common reset controls with all ahci controller instances. Signed-off-by

Re: [PATCH 2/2] KVM: VMX: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-27 Thread Wanpeng Li
2018-03-27 15:25 GMT+08:00 Paolo Bonzini : > On 27/03/2018 07:18, Konrad Rzeszutek Wilk wrote: >>> I think a global module is enough for testing. >> If so, perhaps have it wrapped with #ifdef DEBUG? >> >> No need to put code gadgets that won't be utilized 99% of time. > > It is going to be used a l

Re: [PATCH v6 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-27 Thread jacopo mondi
HI Vladimir, On Tue, Mar 27, 2018 at 09:24:28AM +0300, Vladimir Zapolskiy wrote: > Hi Jacopo, > > On 03/16/2018 05:16 PM, Jacopo Mondi wrote: > > Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel > > output converter. > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Andrze

Re: Linux 3.18.102

2018-03-27 Thread Seung-Woo Kim
On 2018년 03월 27일 16:05, Greg KH wrote: > On Tue, Mar 27, 2018 at 10:40:33AM +0900, Seung-Woo Kim wrote: >> Hello, >> >> Until 3.18.102, it looks like following patch series for v4l2 seems missed. >> >> 273caa2 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs >> a1dfb4c media: v

Re: [v2 PATCH] mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_struct

2018-03-27 Thread Cyrill Gorcunov
On Mon, Mar 26, 2018 at 05:59:49PM -0400, Yang Shi wrote: > > Say we've two syscalls running prctl_set_mm_map in parallel, and imagine > > one have @start_brk = 20 @brk = 10 and second caller has @start_brk = 30 > > and @brk = 20. Since now the call is guarded by _read_ the both calls > > unlocked

Re: [PATCH v3 1/6] phy: qcom-qmp: Enable pipe_clk before checking USB3 PHY_STATUS

2018-03-27 Thread Manu Gautam
Hi Vivek, On 3/27/2018 12:21 PM, Vivek Gautam wrote: > Hi Manu, > > > On 3/23/2018 11:41 AM, Manu Gautam wrote: >> QMP PHY for USB mode requires pipe_clk for calibration and PLL lock >> to take place. > > AFAIK, that's not true. The pipe clock is the *output* of the PLL, and it's > should not >

Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-27 Thread jacopo mondi
Hi Andrzej, On Tue, Mar 27, 2018 at 09:12:46AM +0200, Andrzej Hajda wrote: > On 27.03.2018 08:15, Vladimir Zapolskiy wrote: > > Hi Jacopo, > > > > On 03/27/2018 01:22 AM, Rob Herring wrote: > >> On Tue, Mar 20, 2018 at 02:43:33PM +0200, Laurent Pinchart wrote: > >>> Hi Jacopo, > >>> > >>> (CC'ing

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Joe Perches
On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: > Since the hwmon subsystem has been labeled as both "obsolete" and "obscure", fyi: It's marked Maintained in MAINTAINERS HARDWARE MONITORING M: Jean Delvare M: Guenter Roeck L: linux-hw...@vger.kernel.org W: http://hwm

Re: [PATCH v6 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-27 Thread Geert Uytterhoeven
Hi Andrzej, On Tue, Mar 27, 2018 at 9:28 AM, Andrzej Hajda wrote: >>> --- /dev/null >>> +++ b/drivers/gpu/drm/bridge/thc63lvd1024.c >>> +static void thc63_enable(struct drm_bridge *bridge) >>> +{ >>> +struct thc63_dev *thc63 = to_thc63(bridge); >>> +struct regulator *vcc; >>> +int i;

Re: [PATCH v2 -next 0/6] update static key users to modern api

2018-03-27 Thread Peter Zijlstra
On Mon, Mar 26, 2018 at 02:09:23PM -0700, Davidlohr Bueso wrote: > Changes from v1: > - added the 'static' keyword where it belongs. > - added networking and x86-perf patches. Unlike the first three, > these these use the global/extern variants. > > Hi, > > I noticed a few users in the ke

Re: [v2 PATCH] mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_struct

2018-03-27 Thread Cyrill Gorcunov
On Tue, Mar 27, 2018 at 07:00:56AM +0900, Tetsuo Handa wrote: > > > To be fair I would prefer to drop this old per-field > > interface completely. This per-field interface was rather an ugly > > solution from my side. > > But this is userspace visible API and thus we cannot change. H

Re: [v2 PATCH] mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_struct

2018-03-27 Thread Cyrill Gorcunov
On Mon, Mar 26, 2018 at 06:12:55PM -0400, Yang Shi wrote: > > + if (unlikely(arg_start > arg_end || env_start > env_end)) { > > + cond_resched(); > > + goto retry; > > Can't it trap into dead loop if the condition is always false? Yes, unfortunately it can. > > + } > > >

Re: [PATCH 15/19] csky: Build infrastructure

2018-03-27 Thread Arnd Bergmann
On Tue, Mar 27, 2018 at 4:39 AM, Guo Ren wrote: > On Mon, Mar 26, 2018 at 03:00:00PM +0200, Arnd Bergmann wrote: >> Ok, I understand the part about ck610 being incompatible, but I'm >> still not sure about the 8xx ones: Do you mean it's impossible to >> have one kernel that runs across all of them

Re: [PATCH 3/3] iio: wrapper: unit-converter: new driver

2018-03-27 Thread Peter Rosin
On 2018-03-24 15:03, Jonathan Cameron wrote: > On Mon, 19 Mar 2018 18:02:46 +0100 > Peter Rosin wrote: > >> If an ADC channel measures the midpoint of a voltage divider, the >> interesting voltage is often the voltage over the full resistance. >> E.g. if the full voltage it too big for the ADC to

Re: [PATCH 1/2] KVM: VMX: Introduce handle_ud()

2018-03-27 Thread Liran Alon
- kernel...@gmail.com wrote: > From: Wanpeng Li > > Introduce handle_ud() to handle invalid opcode, this function will be > > used by later patches. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Cc: Andrew Cooper > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/vmx.c | 22 ++

[tip:perf/core] perf/x86: Update rdpmc_always_available static key to the modern API

2018-03-27 Thread tip-bot for Davidlohr Bueso
Commit-ID: 631fe154edb0a37308d0116a0f9b7bba9dca6218 Gitweb: https://git.kernel.org/tip/631fe154edb0a37308d0116a0f9b7bba9dca6218 Author: Davidlohr Bueso AuthorDate: Mon, 26 Mar 2018 14:09:27 -0700 Committer: Ingo Molnar CommitDate: Tue, 27 Mar 2018 07:53:00 +0200 perf/x86: Update rdpmc_

[tip:sched/core] sched/core: Update preempt_notifier_key to modern API

2018-03-27 Thread tip-bot for Davidlohr Bueso
Commit-ID: b720342849fe685310fca01748a32730a6eca5aa Gitweb: https://git.kernel.org/tip/b720342849fe685310fca01748a32730a6eca5aa Author: Davidlohr Bueso AuthorDate: Mon, 26 Mar 2018 14:09:26 -0700 Committer: Ingo Molnar CommitDate: Tue, 27 Mar 2018 07:51:45 +0200 sched/core: Update pree

[tip:x86/pti] objtool: Add Clang support

2018-03-27 Thread tip-bot for Josh Poimboeuf
Commit-ID: 3c1f05835cbf9fdfe60b81c718d82ceb94b6c55e Gitweb: https://git.kernel.org/tip/3c1f05835cbf9fdfe60b81c718d82ceb94b6c55e Author: Josh Poimboeuf AuthorDate: Thu, 22 Mar 2018 13:00:37 -0500 Committer: Ingo Molnar CommitDate: Tue, 27 Mar 2018 08:21:29 +0200 objtool: Add Clang suppo

[tip:perf/urgent] perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and later CPUs

2018-03-27 Thread tip-bot for Stephane Eranian
Commit-ID: 71eb9ee9596d8df3d5723c3cfc18774c6235e8b1 Gitweb: https://git.kernel.org/tip/71eb9ee9596d8df3d5723c3cfc18774c6235e8b1 Author: Stephane Eranian AuthorDate: Fri, 23 Mar 2018 00:01:47 -0700 Committer: Ingo Molnar CommitDate: Tue, 27 Mar 2018 08:27:27 +0200 perf/x86/intel: Fix li

[tip:x86/mm] x86/mm/32: Remove unused node_memmap_size_bytes() & CONFIG_NEED_NODE_MEMMAP_SIZE logic

2018-03-27 Thread tip-bot for David Rientjes
Commit-ID: fc5d1073cae299de4517755a910df4f12a6a438f Gitweb: https://git.kernel.org/tip/fc5d1073cae299de4517755a910df4f12a6a438f Author: David Rientjes AuthorDate: Mon, 26 Mar 2018 23:27:21 -0700 Committer: Ingo Molnar CommitDate: Tue, 27 Mar 2018 08:45:02 +0200 x86/mm/32: Remove unused

Re: [PATCH 17/19] csky: defconfig

2018-03-27 Thread Arnd Bergmann
On Tue, Mar 27, 2018 at 4:21 AM, Guo Ren wrote: > On Mon, Mar 26, 2018 at 03:16:31PM +0200, Arnd Bergmann wrote: >> > +CONFIG_CFG80211=y >> > +CONFIG_CFG80211_DEBUGFS=y >> > +CONFIG_CFG80211_WEXT=y >> >> I would guess you want IPV6 but not WEXT here. > Gx6605s devlepment board support usb-wifi. >

Re: [PATCH v3 1/6] phy: qcom-qmp: Enable pipe_clk before checking USB3 PHY_STATUS

2018-03-27 Thread Manu Gautam
Hi, On 3/27/2018 12:26 PM, Vivek Gautam wrote: > > > On 3/27/2018 10:37 AM, Manu Gautam wrote: >> Hi Doug, >> >> >> On 3/27/2018 9:56 AM, Doug Anderson wrote: >>> Manu >>> >>> On Thu, Mar 22, 2018 at 11:11 PM, Manu Gautam >>> wrote: QMP PHY for USB mode requires pipe_clk for calibration an

[tip:x86/pti] x86/alternatives: Fixup alternative_call_2

2018-03-27 Thread tip-bot for Alexey Dobriyan
Commit-ID: bd6271039ee6f0c9b468148fc2d73e0584af6b4f Gitweb: https://git.kernel.org/tip/bd6271039ee6f0c9b468148fc2d73e0584af6b4f Author: Alexey Dobriyan AuthorDate: Sun, 14 Jan 2018 15:05:04 +0300 Committer: Thomas Gleixner CommitDate: Tue, 27 Mar 2018 09:47:53 +0200 x86/alternatives: F

Re: linux-next: manual merge of the tip tree with the trivial tree

2018-03-27 Thread Jiri Kosina
On Tue, 27 Mar 2018, Stephen Rothwell wrote: > Jiri, you could drop (or revert) the commit in your tree. Dropped. Thanks, -- Jiri Kosina SUSE Labs

Re: [PATCH 2/2] KVM: VMX: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-27 Thread Liran Alon
- kernel...@gmail.com wrote: > From: Wanpeng Li > > This patch introduces a Force Emulation Prefix (ud2a; .ascii "kvm") > for > "emulate the next instruction", the codes will be executed by emulator > > instead of processor, for testing purposes. I think this should be better explained i

Re: Linux 3.18.102

2018-03-27 Thread Greg KH
On Tue, Mar 27, 2018 at 04:31:49PM +0900, Seung-Woo Kim wrote: > > > On 2018년 03월 27일 16:05, Greg KH wrote: > > On Tue, Mar 27, 2018 at 10:40:33AM +0900, Seung-Woo Kim wrote: > >> Hello, > >> > >> Until 3.18.102, it looks like following patch series for v4l2 seems missed. > >> > >> 273caa2 media:

Re: linux-next: manual merge of the imx-mxs tree with the arm-soc tree

2018-03-27 Thread Shawn Guo
On Tue, Mar 27, 2018 at 09:10:26AM +1100, Stephen Rothwell wrote: > Hi Shawn, > > Today's linux-next merge of the imx-mxs tree got a conflict in: > > arch/arm/configs/mxs_defconfig > > between commit: > > e3e583e7a293 ("ARM: mxs_defconfig: Re-sync defconfig") > > from the arm-soc tree and

[PATCH] mm/list_lru: replace spinlock with RCU in __list_lru_count_one

2018-03-27 Thread Li RongQing
when reclaim memory, shink_slab will take lots of time even if no memory is reclaimed, since list_lru_count_one called by it needs to take a spinlock try to optimize it by replacing spinlock with RCU in __list_lru_count_one $dd if=aaa of=bbb bs=1k count=3886080 $rm -f bbb $time echo

Re: linux-next: manual merge of the imx-mxs tree with the arm-soc tree

2018-03-27 Thread Arnd Bergmann
On Tue, Mar 27, 2018 at 9:55 AM, Shawn Guo wrote: > On Tue, Mar 27, 2018 at 09:10:26AM +1100, Stephen Rothwell wrote: >> Hi Shawn, >> >> Today's linux-next merge of the imx-mxs tree got a conflict in: >> >> arch/arm/configs/mxs_defconfig >> >> between commit: >> >> e3e583e7a293 ("ARM: mxs_defc

Re: [PATCH 02/10] drm/sun4i: Disable YUV channel when using the frontend and set interlace

2018-03-27 Thread Paul Kocialkowski
Hi, On Fri, 2018-03-23 at 10:55 +0100, Maxime Ripard wrote: > On Wed, Mar 21, 2018 at 04:28:56PM +0100, Paul Kocialkowski wrote: > > The YUV channel was only disabled in > > sun4i_backend_update_layer_formats, > > which is not called when the frontend is selected. > > > > Thus, creating a layer w

Re: [2/4] wireless: Use octal not symbolic permissions

2018-03-27 Thread Kalle Valo
Joe Perches wrote: > Prefer the direct use of octal for permissions. > > Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace > and some typing. > > Miscellanea: > > o Whitespace neatening around these conversions. > > Signed-off-by: Joe Perches Patch applied to wireless-drivers-nex

Re: [PATCH 2/3] dt-bindings: iio: wrapper: add io-channel-unit-converter

2018-03-27 Thread Peter Rosin
On 2018-03-27 00:23, Rob Herring wrote: > On Mon, Mar 19, 2018 at 06:02:45PM +0100, Peter Rosin wrote: >> Allow linear scaling and modification of the type of an io-channel. >> >> When an ADC channel measures the midpoint of a voltage divider, the >> interesting voltage is often the voltage over th

Re: [PATCH v2 00/17] MFD: Adjustments for several function implementations

2018-03-27 Thread Lee Jones
On Fri, 09 Mar 2018, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 9 Mar 2018 10:24:42 +0100 > > Several update suggestions were taken into account > from static source code analysis. All applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open sourc

Re: [v2] rsi: Remove stack VLA usage

2018-03-27 Thread Kalle Valo
"Tobin C. Harding" wrote: > The use of stack Variable Length Arrays needs to be avoided, as they > can be a vector for stack exhaustion, which can be both a runtime bug > (kernel Oops) or a security flaw (overwriting memory beyond the > stack). Also, in general, as code evolves it is easy to lose

Re: [dm-devel] [PATCH 2/2] md: dm-verity: allow parallel processing of bio blocks

2018-03-27 Thread Milan Broz
Mike and others, did anyone even try to run veritysetup tests? We have verity-compat-test in our testsuite, is has even basic FEC tests included. We just added userspace verification of FEC RS codes to compare if kernel behaves the same. I tried to apply three last dm-verity patches from your

Re: [PATCH v6 0/6] Add MediaTek PMIC keys support

2018-03-27 Thread Lee Jones
On Fri, 23 Mar 2018, Dmitry Torokhov wrote: > On Thu, Mar 22, 2018 at 10:17:53AM +0800, Sean Wang wrote: > > Hi, Dmitry and Lee > > > > The series seems not being got merged. Are they good enough to be ready > > into the your tree? > > > > Recently I've tested the series with focusing on pwrkey e

[PATCH v1 2/7] platform/mellanox: mlxreg-hotplug: Document fixes for hotplug private data

2018-03-27 Thread Vadim Pasternak
Add missing description of dev, regmap, dwork_irq, after_probe in struct mlxreg_hotplug_priv_data. Remove dwork field from the structure mlxreg_hotplug_priv_data itself and for the descriptions, since it is not used. Signed-off-by: Vadim Pasternak --- drivers/platform/mellanox/mlxreg-hotplug.c

[PATCH v1 7/7] platform/x86: mlx-platform: Add mlxreg-io platform driver activation

2018-03-27 Thread Vadim Pasternak
This patch adds: - Support for Mellanox mlxreg-io driver activation, which uses the same regmap infrastructure as others Mellanox platform drivers. - Specific registers description for default platform data configuration. It includes the registers for resets control, reset causes monitoring,

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-27 Thread Jarkko Sakkinen
On Tue, Mar 27, 2018 at 12:07:14AM +, Sahil Rihan wrote: > > On 3/22/18, 7:20 AM, "Jarkko Sakkinen" > > wrote: > > > > On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > > > > > > wrote: > > > > > > > >Sahil, would you c

[PATCH v1 5/7] platform/x86: mlx-platform: Add LED platform driver activation

2018-03-27 Thread Vadim Pasternak
This patch adds: - Support of Mellanox LED driver leds-mlxreg activation from mlx-platform. This LED driver uses the same regmap infrastructure as others Mellanox platform drivers. - LED specific registers description. - Per system type LED description, which is passed to LED driver. - Static i

[PATCH v1 3/7] platform/mellanox: mlxreg-hotplug: add extra cycle for hotplug work queue

2018-03-27 Thread Vadim Pasternak
It adds missed logic for signal acknowledge, by adding an extra run for work queue in case a signal is received, but no specific signal assertion is detected. Such case theoretically can happen for example in case several units are removed or inserted at the same time. In this situation acknowledge

[PATCH v1 6/7] platform/mellanox: Introduce support for Mellanox register access driver

2018-03-27 Thread Vadim Pasternak
It introduces new Mellanox platform driver to allow access to Mellanox programmable device register space trough sysfs interface. The driver purpose is to provide sysfs interface for user space for the registers essential for system control and monitoring. The sets of registers for sysfs access are

[PATCH v1 4/7] platform: mellanox: add new ODM system types to mlx-platform

2018-03-27 Thread Vadim Pasternak
Patch adds new ODM systems, matched according to DMI_BOARD_NAME. The supported ODM Ids are: VMOD0001, VMOD0002, VMOD0003, VMOD0004, VMOD0005. It doesn't introduce new systems, but allows to ODM companies to set DMI_BOARD_VENDOR and DMI_PRODUCT_NAME on their own. It assumes that ODM company can't ch

[PATCH v1 1/7] platform_data/mlxreg: Document fixes for hotplug device

2018-03-27 Thread Vadim Pasternak
Remove redunadant description of label in struct mlxreg_hotplug_device. Change location of access_mode in struct mlxreg_hotplug_device. Signed-off-by: Vadim Pasternak --- include/linux/platform_data/mlxreg.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/pla

[PATCH v1 0/7] platform/x86: Mellanox add fixes and new features

2018-03-27 Thread Vadim Pasternak
This patcheset includes: Document fixes for mlxreg-hotplug driver and mlxreg header file. Fix for the race condition in mlxreg-hotplug driver. Adding support for ODM system types. Activation of Mellanox LED driver from mlx-platform. Introduction of new mlxreg-io driver. Activation of mlxreg-i

[PATCH v1] perf stat: avoid 10ms limit for printing event counts

2018-03-27 Thread Alexey Budankov
Currently print count interval for performance counters values is limited by 10ms so reading the values at frequencies higher than 100Hz is restricted by the tool. This change avoids that limitation and makes perf stat -I possible on frequencies up to 1KHz and, to some extent, makes perf stat

Re: [PATCH v2 4/4] zram: introduce zram memory tracking

2018-03-27 Thread Sergey Senozhatsky
On (03/27/18 15:50), Minchan Kim wrote: [..] > > + char flags[__NR_ZRAM_PAGEFLAGS - ZRAM_FLAG_SHIFT]; > Technically, you don't need this buffer... > + snprintf(flags, sizeof(flags), "%c%c%c", > + zram_test_flag(zram, index, ZRAM_SAME) ? 's' : '.', > +

Re: [PATCH 04/10] drm/sun4i: Explicitly list and check formats supported by the backend

2018-03-27 Thread Paul Kocialkowski
Hi, On Fri, 2018-03-23 at 11:03 +0100, Maxime Ripard wrote: > On Wed, Mar 21, 2018 at 04:28:58PM +0100, Paul Kocialkowski wrote: > > In order to check whether the backend supports a specific format, an > > explicit list and a related helper are introduced. > > > > They are then used to determine

Re: [linux-sunxi] Re: [PATCH 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus

2018-03-27 Thread Maxime Ripard
On Tue, Mar 27, 2018 at 07:31:18AM +0800, Icenowy Zheng wrote: > > > 于 2018年3月27日 GMT+08:00 上午6:22:58, Rob Herring 写到: > >On Thu, Mar 22, 2018 at 02:08:43PM +0800, Icenowy Zheng wrote: > >> > >> > >> 于 2018年3月22日 GMT+08:00 上午1:13:42, "Jernej Škrabec" > > 写到: > >> >Hi all, > >> > > >> >Dne sred

RE: [RFC PATCH v2] net: phy: Added device tree binding for dev-addr and dev-addr code check-up

2018-03-27 Thread Vicenţiu Galanopulo
> -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Tuesday, March 27, 2018 1:25 AM > To: Vicenţiu Galanopulo > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > mark.rutl...@arm.com; da...@davemloft.net; mar...@holtmann.org; > devicet...@vger.kernel.org;

dma_zalloc_coherent broken with 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7

2018-03-27 Thread Sebastian Ott
Hi, commit 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 broke usage of dma allocations specifying __GFP_ZERO by silently removing that flag. Why should "the memory returned [] always be zeroed."? Regards, Sebastian

Re: [RFC PATCH 2/3] drm: bridge: panel: allow override of the bus format

2018-03-27 Thread jacopo mondi
HI Laurent, Peter, On Mon, Mar 26, 2018 at 10:03:31PM +0300, Laurent Pinchart wrote: > Hi Peter, > > (CC'ing Jacopo Mondi) > > On Sunday, 25 March 2018 15:01:11 EEST Peter Rosin wrote: > > On 2018-03-20 14:56, Laurent Pinchart wrote: > > > Hi Peter, > > > > > > Thank you for the patch. > > > > > >

Re: [PATCH] mm/list_lru: replace spinlock with RCU in __list_lru_count_one

2018-03-27 Thread Michal Hocko
[CC Dave] On Tue 27-03-18 15:59:04, Li RongQing wrote: > when reclaim memory, shink_slab will take lots of time even if > no memory is reclaimed, since list_lru_count_one called by it > needs to take a spinlock > > try to optimize it by replacing spinlock with RCU in > __list_lru_count_one Isn't

Re: [PATCH v6] ARM: dts: wheat: Fix ADV7513 address usage

2018-03-27 Thread Simon Horman
On Mon, Mar 26, 2018 at 10:04:24AM +0100, Kieran Bingham wrote: > Hi Simon, > > On 26/03/18 09:31, Simon Horman wrote: > > On Fri, Mar 23, 2018 at 09:16:13PM +, Kieran Bingham wrote: > >> Hi Simon, > >> > >> On 23/03/18 08:51, Simon Horman wrote: > >>> On Thu, Mar 22, 2018 at 09:30:40PM +,

Re: [PATCH 02/10] drm/sun4i: Disable YUV channel when using the frontend and set interlace

2018-03-27 Thread Maxime Ripard
On Tue, Mar 27, 2018 at 10:00:43AM +0200, Paul Kocialkowski wrote: > Hi, > > On Fri, 2018-03-23 at 10:55 +0100, Maxime Ripard wrote: > > On Wed, Mar 21, 2018 at 04:28:56PM +0100, Paul Kocialkowski wrote: > > > The YUV channel was only disabled in > > > sun4i_backend_update_layer_formats, > > > whi

Re: [PATCH 2/2] KVM: VMX: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-27 Thread Paolo Bonzini
On 27/03/2018 09:52, Liran Alon wrote: >> +static bool __read_mostly fep = 0; >> +module_param(fep, bool, S_IRUGO); > I think this module parameter should have a better name... > Why not "emulation_prefix" or "enable_emulation_prefix"? > This short names just confuse the average user. > It makes hi

Re: dma_zalloc_coherent broken with 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7

2018-03-27 Thread Geert Uytterhoeven
Hi Sebastian, On Tue, Mar 27, 2018 at 10:12 AM, Sebastian Ott wrote: > commit 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 broke usage of dma > allocations specifying __GFP_ZERO by silently removing that flag. How did it break? The flag is now always added. > Why should "the memory returned [] alwa

Re: [PATCH v10 00/10] livepatch: Atomic replace feature

2018-03-27 Thread Petr Mladek
On Mon 2018-03-26 14:12:03, Joe Lawrence wrote: > On 03/26/2018 06:56 AM, Petr Mladek wrote: > > On Mon 2018-03-12 14:57:04, Joe Lawrence wrote: > >> diff --git a/tools/testing/selftests/livepatch/livepatch-test > >> b/tools/testing/selftests/livepatch/livepatch-test > >> new file mode 100755 > >>

Re: [PATCH 05/10] drm/sun4i: Explicitly list and check formats supported by the frontend

2018-03-27 Thread Paul Kocialkowski
Hi, On Fri, 2018-03-23 at 11:06 +0100, Maxime Ripard wrote: > On Wed, Mar 21, 2018 at 04:28:59PM +0100, Paul Kocialkowski wrote: > > In order to check whether the frontend supports a specific format, > > an > > explicit list and a related helper are introduced. > > > > They are then used to deter

Re: [PATCH 2/2] KVM: VMX: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-27 Thread Liran Alon
- pbonz...@redhat.com wrote: > On 27/03/2018 09:52, Liran Alon wrote: > > In addition, I think this module parameter should be in kvm module > > (not kvm_intel) and you should add similar logic to kvm_amd module > (SVM) > > If you can move handle_ud to x86.c, then it makes sense to have the

Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-27 Thread Sergei Shtylyov
Hello! On 3/27/2018 10:33 AM, jacopo mondi wrote: [...] Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund --- .../bindings/display/bridge/thine,thc63lvd1024.txt | 66 +++ 1 fi

Re: [PATCH 8/8] drm/arm/malidp: Added the late system pm functions

2018-03-27 Thread Daniel Vetter
On Mon, Mar 26, 2018 at 06:03:20PM +0100, Ayan Kumar Halder wrote: > malidp_pm_suspend_late checks if the runtime status is not suspended > and if so, invokes malidp_runtime_pm_suspend which disables the > display engine/core interrupts and the clocks. It sets the runtime status > as suspended. Sub

Re: [PATCH 06/10] drm/sun4i: Move and extend format-related helpers and tables

2018-03-27 Thread Paul Kocialkowski
Hi, On Fri, 2018-03-23 at 11:13 +0100, Maxime Ripard wrote: > On Wed, Mar 21, 2018 at 04:29:00PM +0100, Paul Kocialkowski wrote: > > This moves the various helpers and tables related to format > > detection > > and conversion to a dedicated file, while adding a bunch of new > > helpers > > (especi

Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-27 Thread Vladimir Zapolskiy
Hi Sergei, On 03/27/2018 11:27 AM, Sergei Shtylyov wrote: > Hello! > > On 3/27/2018 10:33 AM, jacopo mondi wrote: > [...] >>> Document Thine THC63LVD1024 LVDS decoder device tree bindings. >>> >>> Signed-off-by: Jacopo Mondi >>> Reviewed-by: Andrzej Hajda >>> Reviewed-by: Ni

Re: [PATCH v2 2/7] clk: meson: aoclk: refactor common code into dedicated file

2018-03-27 Thread Jerome Brunet
On Fri, 2018-03-23 at 22:38 +0800, Yixun Lan wrote: > We try to refactor the common code into one dedicated file, > while preparing to add new Meson-AXG aoclk driver, this would > help us to better share the code by all aoclk drivers. > > Suggested-by: Jerome Brunet > Signed-off-by: Yixun Lan >

[PATCH][next] drm/amd/pp: Fix spelling mistake: "suppported" -> "supported"

2018-03-27 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in pr_warn warning message text Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c b/drivers/gpu/dr

Re: [PATCH v6 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-27 Thread Andrzej Hajda
On 27.03.2018 09:36, Geert Uytterhoeven wrote: > Hi Andrzej, > > On Tue, Mar 27, 2018 at 9:28 AM, Andrzej Hajda wrote: --- /dev/null +++ b/drivers/gpu/drm/bridge/thc63lvd1024.c +static void thc63_enable(struct drm_bridge *bridge) +{ +struct thc63_dev *thc63 = to_thc63(

Re: Regression with arm in next with stack protector

2018-03-27 Thread 陈华才
Allwinner devices are OK, Exynos devices (except 4210) are OK. -- Original -- From: "Tony Lindgren"; Date: Mon, Mar 26, 2018 11:37 PM To: "陈华才"; Cc: "Andrew Morton"; "Fabio Estevam"; "Stephen Rothwell"; "Rich Felker"; "Russell King"; "Yoshinori Sato"; "linu

Re: [PATCH 07/10] drm/sun4i: Add support for YUV formats through the frontend

2018-03-27 Thread Paul Kocialkowski
Hi, On Fri, 2018-03-23 at 11:30 +0100, Maxime Ripard wrote: > On Wed, Mar 21, 2018 at 04:29:01PM +0100, Paul Kocialkowski wrote: > > The frontend supports many YUV formats as input and also contains a > > color-space converter (CSC) block that can convert YUV input into > > RGB output. It also all

Re: [PATCH 14/19] powerpc/altivec: Add missing prototypes for altivec

2018-03-27 Thread Mathieu Malaterre
Christophe, On Sat, Mar 24, 2018 at 9:10 PM, LEROY Christophe wrote: > Mathieu Malaterre a écrit : > > >> On Fri, Mar 23, 2018 at 1:19 PM, christophe leroy >> wrote: >>> >>> >>> >>> Le 22/03/2018 à 21:20, Mathieu Malaterre a écrit : Some functions prototypes were missing for the

Re: [PATCH v2 1/7] clk: meson: drop meson_aoclk_gate_regmap_ops

2018-03-27 Thread Jerome Brunet
On Fri, 2018-03-23 at 22:38 +0800, Yixun Lan wrote: > let's remove the unused meson_aoclk_gate_regmap_ops > > Fixes: 1f932d99710d ("clk: meson: remove superseded aoclk_gate_regmap") > Signed-off-by: Yixun Lan > --- Applied, Thx

[PATCH 09/23] staging: rtl8723bs: Fix alignment in rtw_wx_set_auth().

2018-03-27 Thread Quytelda Kahja
Realign the function parameters and comment blocks to match the kernel coding style. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/driver

[PATCH 16/23] staging: rtl8723bs: Remove unnecessary blank lines in 'rtl8723bs_recv.c'.

2018-03-27 Thread Quytelda Kahja
Condense multiple blank lines to one, and remove blank lines before braces. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/staging/rtl8723bs/hal/r

Re: dma_zalloc_coherent broken with 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7

2018-03-27 Thread Sebastian Ott
Hello Geert, On Tue, 27 Mar 2018, Geert Uytterhoeven wrote: > On Tue, Mar 27, 2018 at 10:12 AM, Sebastian Ott > wrote: > > commit 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 broke usage of dma > > allocations specifying __GFP_ZERO by silently removing that flag. > > How did it break? The flag is no

[PATCH 17/23] staging: rtl8723bs: Fix lines too long in update_recvframe_attrib().

2018-03-27 Thread Quytelda Kahja
Fix lines over the 80 character limit in update_recvframe_attrib(). Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 30 +++--- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/d

[PATCH 18/23] staging: rtl8723bs: Fix function signature that goes over 80 characters.

2018-03-27 Thread Quytelda Kahja
Wrap the function parameters for rtl8723bs_c2h_packet_handler() so the function signature doesn't exceed 80 characters. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs

[PATCH 20/23] staging: rtl8723bs: Replace NULL pointer comparison with '!'.

2018-03-27 Thread Quytelda Kahja
Replace the comparison of 'precvbuf' to 'NULL' with '!precvbuf'. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/staging/rtl8723bs/hal/rt

[PATCH 21/23] staging: rtl8723bs: Rework 'struct _ODM_Per_Pkt_Info_' coding style.

2018-03-27 Thread Quytelda Kahja
Change the typedef'd 'struct _ODM_Per_Pkt_Info_' into 'struct odm_packet_info' and change the members to snake case in order to meet the coding style guidelines. Members: * u8 DataRate-> data_rate * u8 StationID -> station_id * bool bPacketMatchBSSID -> bssid_match * bool bPac

[PATCH 19/23] staging: rtl8723bs: Factor out rtl8723bs_recv_tasklet() sections.

2018-03-27 Thread Quytelda Kahja
Factor out code from rtl8723bs_recv_tasklet() into helper methods to unindent lines over 80 characters. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 95 +++--- 1 file changed, 69 insertions(+), 26 deletions(-) diff --git a/drivers/stagin

  1   2   3   4   5   6   7   8   9   10   >