Re: [PATCH net-next V2 3/3] tun: rx batching

2017-01-05 Thread Stefan Hajnoczi
On Wed, Jan 04, 2017 at 11:03:32AM +0800, Jason Wang wrote: > On 2017年01月03日 21:33, Stefan Hajnoczi wrote: > > On Wed, Dec 28, 2016 at 04:09:31PM +0800, Jason Wang wrote: > > > +static int tun_rx_batched(struct tun_file *tfile, struct sk_buff *skb, > > > + int more) > > > +{ > > >

[PATCH v7 4/8] PWM: add PWM driver for STM32 plaftorm

2017-01-05 Thread Benjamin Gaignard
This driver adds support for PWM driver on STM32 platform. The SoC have multiple instances of the hardware IP and each of them could have small differences: number of channels, complementary output, auto reload register size... version 6: - change st,breakinput parameter to make it usuable for stm

[PATCH v7 1/8] MFD: add bindings for STM32 Timers driver

2017-01-05 Thread Benjamin Gaignard
Add bindings information for STM32 Timers version 6: - rename stm32-gtimer to stm32-timers - change compatible - add description about the IPs version 2: - rename stm32-mfd-timer to stm32-gptimer - only keep one compatible string Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/mfd

[PATCH v2,2/9] arm: dts: ls1021a: fix typo of MSI compatible string

2017-01-05 Thread Minghuan Lian
"1" should be replaced by "l". This is a typo. The patch is to fix it. Signed-off-by: Minghuan Lian --- v2-v1: - None arch/arm/boot/dts/ls1021a.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 282d

[PATCH 1/2] Documentation: phy: introduce new optional property to specify drive impedance

2017-01-05 Thread Shawn Lin
We need to modify the drive impedance according to the different hardware condition. So let's expose this to the DT. Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/binding

Re: [PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Andi Shyti
Hi Chanwoo, > >> I add the some comment as following: > >> - ldo23/25/31/38 have the different value between tm2 and tm2e. > > > > Thanks for pointing this out. I planned to do this already in a > > following patch as for now I think it's out from the scope of this > > particular patch. > > I th

[PATCH 2/2] phy: rockchip-emmc: try to get drive impedance from DT

2017-01-05 Thread Shawn Lin
Try to get drive impedance from DT and use it, otherwise use 50ohm by default in order not to break the existing boards as 50ohm works fine for them already. Signed-off-by: Shawn Lin --- drivers/phy/phy-rockchip-emmc.c | 29 - 1 file changed, 28 insertions(+), 1 dele

Re: [PATCH 1/3] asm-prototypes: Clear any CPP defines before declaring the functions

2017-01-05 Thread Borislav Petkov
On Tue, Jan 03, 2017 at 03:14:54PM +0100, Michal Marek wrote: > The asm-prototypes.h file is used to provide dummy function declarations > for genksyms, when processing asm files with EXPORT_SYMBOL. Make sure > that any architecture defines get out of our way. x86 currently has an > issue with memc

Re: [PATCH 03/22] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-01-05 Thread Quentin Schulz
Hi Chen-Yu, On 05/01/2017 06:42, Chen-Yu Tsai wrote: > On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz > wrote: [...] >> + >> +#define AXP20X_ADC_RATE_MASK (3 << 6) >> +#define AXP20X_ADC_RATE_25HZ (0 << 6) >> +#define AXP20X_ADC_RATE_50HZ BIT

Re: [PATCH v3 13/15] livepatch: change to a per-task consistency model

2017-01-05 Thread Miroslav Benes
> @@ -740,6 +809,14 @@ int klp_register_patch(struct klp_patch *patch) > return -ENODEV; > > /* > + * Architectures without reliable stack traces have to set > + * patch->immediate because there's currently no way to patch kthreads > + * with the consistency mo

Re: [PATCH v2 1/2] x86/efi: don't allocate memmap through memblock after mm_init()

2017-01-05 Thread Ard Biesheuvel
On 5 January 2017 at 07:42, Ingo Molnar wrote: > > * Nicolai Stange wrote: > >> Matt Fleming writes: >> >> > On Thu, 22 Dec, at 11:23:39AM, Nicolai Stange wrote: >> >> So, after memblock is gone, allocations should be done through the >> >> "normal" >> >> page allocator. Introduce a helper, efi

Re: [RFC PATCH v3] sparc64: Add support for Application Data Integrity (ADI)

2017-01-05 Thread Jerome Marchand
On 01/04/2017 11:46 PM, Khalid Aziz wrote: > ADI is a new feature supported on sparc M7 and newer processors to allow > hardware to catch rogue accesses to memory. ADI is supported for data > fetches only and not instruction fetches. An app can enable ADI on its > data pages, set version tags on th

Re: [PATCH] x86: Fix Intel microcode revision detection

2017-01-05 Thread Borislav Petkov
On Thu, Jan 05, 2017 at 01:01:15AM +, Junichi Nomura wrote: > I tested your series of patches and they work fine, too. > Thank you! Thanks, adding your Tested-by. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-05 Thread Lukasz Majewski
On Thu, 5 Jan 2017 10:19:35 +0100 Boris Brezillon wrote: > On Thu, 5 Jan 2017 10:03:47 +0100 > Lukasz Majewski wrote: > > > On Thu, 5 Jan 2017 09:50:35 +0100 > > Boris Brezillon wrote: > > > > > On Thu, 5 Jan 2017 00:36:50 +0100 > > > Lukasz Majewski wrote: > > > > > > > This commit prov

Re: [PATCH 4/4] watchdog: tangox: Use watchdog core to install restart handler

2017-01-05 Thread Marc Gonzalez
[ Adding Mans ] Guenter, patch c7ef68c32265 states "Fixes: a3e376d26ace". Is that true? I mean, they seem quite orthogonal; then again I know nothing of this framework. Regards. On 04/01/2017 22:28, Guenter Roeck wrote: > Use the infrastructure provided by the watchdog core to install > the rest

Re: [RESEND 2/2] arm64: dts: Add dts files for Hisilicon Hi3660 SoC

2017-01-05 Thread Will Deacon
On Thu, Jan 05, 2017 at 11:28:40AM +0800, Chen Feng wrote: > Could you help review this part? It would be better if one of the devicetree maintainers reviewed it, but they're stretched pretty thinly so you might need to sit tight. Will

Re: [PATCH 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-05 Thread Gregory CLEMENT
Hi Florian, On mer., janv. 04 2017, Florian Fainelli wrote: > On 01/03/2017 08:36 AM, Andrew Lunn wrote: >>> + >>> + switch: switch@10 { >>> + compatible = "marvell,mv88e6085"; >>> + #address-cells = <1>; >>> + #size-cells = <0>; >>> + reg = <16>; >>

Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell

2017-01-05 Thread Srinivas Kandagatla
On 05/01/17 05:34, Vivek Gautam wrote: Hi Srinivas, On Tue, Dec 20, 2016 at 3:17 AM, Stephen Boyd wrote: On 12/19, Vivek Gautam wrote: nvmem_cell_read() API fills in the argument 'len' with the number of bytes read from the cell. Many users don't care about this length value. So allow users

Re: [RFC PATCH 0/7] locking/rtqspinlock: Realtime queued spinlocks

2017-01-05 Thread Peter Zijlstra
On Wed, Jan 04, 2017 at 10:25:14AM -0500, Waiman Long wrote: > On 01/04/2017 07:49 AM, Peter Zijlstra wrote: > > On Tue, Jan 03, 2017 at 01:00:23PM -0500, Waiman Long wrote: > >> This patchset introduces a new variant of queued spinlocks - the > >> realtime queued spinlocks. The purpose of this new

Re: [PATCH] usb: dwc3: gadget: Avoid race between dwc3 interrupt handler and irq thread handler

2017-01-05 Thread Baolin Wang
Hi, On 5 January 2017 at 17:26, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: On 27 December 2016 at 18:52, Janusz Dziedzic wrote: > 2016-12-26 9:01 GMT+01:00 Baolin Wang : >> On some platfroms(like x86 platform), when one core is running the >>

Re: [PATCH v2] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-01-05 Thread Peter Zijlstra
On Thu, Jan 05, 2017 at 04:16:38PM +0800, Pan Xinhui wrote: > I do some tests about cmpxchg and cmpxchg_acquire before on ppc. > > loops in 15s of each cmpxchg is below. > > cmpxchg_relaxed: 336663 > cmpxchg_release: 369054 > cmpxchg_acquire: 363364 > cmpxchg: 179435 > > so cmpxchg is real

Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell

2017-01-05 Thread Vivek Gautam
On 01/05/2017 03:10 PM, Srinivas Kandagatla wrote: On 05/01/17 05:34, Vivek Gautam wrote: Hi Srinivas, On Tue, Dec 20, 2016 at 3:17 AM, Stephen Boyd wrote: On 12/19, Vivek Gautam wrote: nvmem_cell_read() API fills in the argument 'len' with the number of bytes read from the cell. Many us

RE: [RFC 1/4] mm: remove unused TASK_SIZE_OF()

2017-01-05 Thread David Laight
From: Dmitry Safonov > Sent: 30 December 2016 15:57 > All users of TASK_SIZE_OF(tsk) have migrated to mm->task_size or > TASK_SIZE_MAX since: > commit d696ca016d57 ("x86/fsgsbase/64: Use TASK_SIZE_MAX for > FSBASE/GSBASE upper limits"), > commit a06db751c321 ("pagemap: check permissions and capabil

Re: [PATCH] cpufreq: Remove CONFIG_CPU_FREQ_STAT_DETAILS config option

2017-01-05 Thread Gregory CLEMENT
Hi Viresh, On jeu., janv. 05 2017, Viresh Kumar wrote: > This doesn't have any benefit apart from saving a small amount of memory > when it is disabled. The ifdef hackery in the code makes it dirty > unnecessarily. > > Clean it up by removing the Kconfig option completely. Few defconfigs > are

Re: [PATCH v6 03/14] ACPI: ARM64: IORT: add missing comment for iort_dev_find_its_id()

2017-01-05 Thread Lorenzo Pieralisi
On Thu, Jan 05, 2017 at 02:05:06PM +0800, Hanjun Guo wrote: > On 2017/1/4 22:34, Lorenzo Pieralisi wrote: > >On Mon, Jan 02, 2017 at 09:31:34PM +0800, Hanjun Guo wrote: > >>We are missing req_id's comment for iort_dev_find_its_id(), > >>add it back. > > > >"Add missing req_id parameter to the iort_

Re: [PATCH 03/22] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-01-05 Thread Quentin Schulz
On 05/01/2017 09:27, Chen-Yu Tsai wrote: > On Thu, Jan 5, 2017 at 4:06 PM, Quentin Schulz > wrote: >> Hi Chen-Yu, >> >> On 05/01/2017 06:42, Chen-Yu Tsai wrote: >>> On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz >>> wrote: >> [...] + +#define AXP20X_ADC_RATE_MASK (3 <

[PATCH v2] x86/apic: Fix two typos in comments

2017-01-05 Thread Dou Liyang
s/ID/IDs/ s/inr_logical_cpuidi/nr_logical_cpuids/ s/generic_processor_info()/__generic_processor_info()/ Signed-off-by: Dou Liyang --- arch/x86/kernel/apic/apic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c i

Re: [PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Chanwoo Choi
Hi Andi, I correct the my previous comment about ldo23 and ldo25 because I check the final schematic document, I worked with wrong information of ldo23 and ldo25 on the patch[1]. [1] https://lkml.org/lkml/2016/11/3/61 I'll send the fix patch to you right now after that you better to work for thes

Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer

2017-01-05 Thread Christoph Hellwig
On Wed, Jan 04, 2017 at 04:47:03PM +0100, 王金浦 wrote: > This sounds scary. > Could you share how to reproduce it, this should go into stable if > it's the case. Step 1: Build your kernel with CONFIG_VMAP_STACK=y Step 2: issue a SG_IO ioctl, e.g. sg_inq /dev/vda

Re: [PATCH] x86/apic: Fix two typos in comments

2017-01-05 Thread Dou Liyang
Hi, Ingo At 01/05/2017 04:15 PM, Ingo Molnar wrote: * Dou Liyang wrote: s/inr_logical_cpuidi/nr_logical_cpuids/ s/generic_processor_info()/__generic_processor_info()/ Signed-off-by: Dou Liyang --- arch/x86/kernel/apic/apic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-05 Thread Boris Brezillon
On Thu, 5 Jan 2017 10:35:05 +0100 Lukasz Majewski wrote: > On Thu, 5 Jan 2017 10:19:35 +0100 > Boris Brezillon wrote: > > > On Thu, 5 Jan 2017 10:03:47 +0100 > > Lukasz Majewski wrote: > > > > > On Thu, 5 Jan 2017 09:50:35 +0100 > > > Boris Brezillon wrote: > > > > > > > On Thu, 5 Jan

Re: [PATCH] drm/i915/dp: Stop enabling limited color ranges for everything

2017-01-05 Thread Daniel Stone
Hi, On 5 January 2017 at 08:52, Daniel Vetter wrote: > On Thu, Jan 05, 2017 at 10:41:07AM +0200, Jani Nikula wrote: >> No matter what we do here, the question remains what to do with >> Chamelium. Changing the color range is really a workaround for >> Chamelium, not a fix. Using CEA range is perf

Re: [PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-05 Thread Charles Keepax
On Thu, Jan 05, 2017 at 08:07:01AM +, Lee Jones wrote: > On Wed, 04 Jan 2017, Charles Keepax wrote: > > > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout, this > > patch updates the implementation to use regmap_read_poll_timeout. We > > still keep arizona_poll_reg around as re

Re: [PATCH 4/6] pinctrl: intel: Add support for hardware debouncer

2017-01-05 Thread Mika Westerberg
On Thu, Jan 05, 2017 at 01:14:36AM +0200, Andy Shevchenko wrote: > On Wed, Jan 4, 2017 at 5:31 PM, Mika Westerberg > wrote: > > The next generation Intel GPIO hardware has two additional registers > > PADCFG2 and PADCFG3. The latter is marked as reserved but the former > > includes configuration f

Re: [PATCH 6/6] pinctrl: intel: Add Intel Gemini Lake pin controller support

2017-01-05 Thread Mika Westerberg
On Thu, Jan 05, 2017 at 01:18:19AM +0200, Andy Shevchenko wrote: > On Wed, Jan 4, 2017 at 5:31 PM, Mika Westerberg > wrote: > > This driver adds pinctrl/GPIO support for Intel Gemini Lake SoC. The > > GPIO controller is based on the next generation GPIO hardware but still > > compatible with the o

Re: [PATCH v2] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-01-05 Thread Boqun Feng
On Thu, Jan 05, 2017 at 04:16:38PM +0800, Pan Xinhui wrote: > > > 在 2017/1/4 17:41, Peter Zijlstra 写道: > > On Tue, Jan 03, 2017 at 05:07:54PM -0500, Waiman Long wrote: > > > On 01/03/2017 11:18 AM, Peter Zijlstra wrote: > > > > On Sun, Dec 25, 2016 at 03:26:01PM -0500, Waiman Long wrote: > > > >

Re: [RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2017-01-05 Thread Jose Abreu
Hi Ville, On 04-01-2017 16:36, Ville Syrjälä wrote: > On Wed, Jan 04, 2017 at 04:15:01PM +, Jose Abreu wrote: >> [snip] >>> Why does userspace need to know this? My thinking has been that the >>> driver would do the right thing automagically. >>> >>> We do probably want some kind of output

Re: [patch] mm, thp: add new background defrag option

2017-01-05 Thread Mel Gorman
On Wed, Jan 04, 2017 at 03:41:59PM -0800, David Rientjes wrote: > There is no thp defrag option that currently allows MADV_HUGEPAGE regions > to do direct compaction and reclaim while all other thp allocations simply > trigger kswapd and kcompactd in the background and fail immediately. > > The

Re: [PATCH v2 1/2] x86/efi: don't allocate memmap through memblock after mm_init()

2017-01-05 Thread Nicolai Stange
Ard Biesheuvel writes: > On 5 January 2017 at 07:42, Ingo Molnar wrote: >> >> * Nicolai Stange wrote: >> >>> Matt Fleming writes: >>> >>> > On Thu, 22 Dec, at 11:23:39AM, Nicolai Stange wrote: >>> >> So, after memblock is gone, allocations should be done through >>> >> the "normal" >>> >> page

Re: [PATCH 4/7] mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint

2017-01-05 Thread Michal Hocko
On Thu 05-01-17 15:04:58, Minchan Kim wrote: > On Wed, Jan 04, 2017 at 11:19:39AM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > mm_vmscan_lru_isolate currently prints only whether the LRU we isolate > > from is file or anonymous but we do not know which LRU this is. > > > > It is use

Re: [RFC PATCH 6/7] locking/rtqspinlock: Voluntarily yield CPU when need_sched()

2017-01-05 Thread Daniel Bristot de Oliveira
On 01/03/2017 07:00 PM, Waiman Long wrote: > For nested spinlock with outer lock acquired, it will > + * boost its priority to the highest RT priority level to try to acquire the > + * inner lock, finish up its work, release the locks and reenable preemption. DL scheduler turns the definition of

Re: [PATCH] x86/microcode/intel: Use correct buffer size for saving microcode data

2017-01-05 Thread Borislav Petkov
On Thu, Jan 05, 2017 at 04:45:18AM +, Junichi Nomura wrote: > On 01/05/17 10:02, Junichi Nomura wrote: > > In generic_load_microcode(), curr_mc_size is the size of the last > > allocated buffer and not always the size of the buffer pointed to by > > "new_mc". > ... > > @@ -864,6 +864,7 @@ stati

[PATCH v6 0/3] add gpio support to exar

2017-01-05 Thread Sudip Mukherjee
Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which can be controlled using gpio interface. v5 was sent in January, 2016 and after reviews it was suggested to split the exar code out of 8250_pci and make its own driver. For reference it is at https://patchwork.kernel.org/patch/

[PATCH v6 1/3] gpio: exar: add gpio for exar cards

2017-01-05 Thread Sudip Mukherjee
Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which can be controlled using gpio interface. Add the gpio specific code. Signed-off-by: Sudip Mukherjee --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-exar.c | 264 +

[PATCH v6 3/3] serial: 8250_pci: remove exar code

2017-01-05 Thread Sudip Mukherjee
Remove the exar specific codes from 8250_pci and blacklist those chips so that the exar serial binds to the devices. Signed-off-by: Sudip Mukherjee --- drivers/tty/serial/8250/8250_pci.c | 309 + 1 file changed, 6 insertions(+), 303 deletions(-) diff --git a/

[PATCH v7 1/4] drm/exynos: mic: Add mode_set callback function

2017-01-05 Thread Hoegeun Kwon
Before applying the patch, used the of_get_videomode function to parse the display-timings in the panel which is the child driver of dsi in the devicetree. this is wrong. So removed the of_get_videomode and fixed to get videomode struct through mode_set callback function. Signed-off-by: Hoegeun Kw

[PATCH] Bluetooth: Add another AR3012 04ca:3018 device

2017-01-05 Thread Dmitry Tunin
T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=04 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=04ca ProdID=3018 Rev=00.01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 C

[PATCH v6 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-05 Thread Sudip Mukherjee
Add the serial driver for the exar chips. And also register the platform device for the exar gpio. Signed-off-by: Sudip Mukherjee --- drivers/tty/serial/8250/8250_exar.c | 706 drivers/tty/serial/8250/Kconfig | 4 + drivers/tty/serial/8250/Makefile|

[PATCH v7 2/4] drm/exynos: mic: Fix parse_dt function

2017-01-05 Thread Hoegeun Kwon
The OF graph is not necessary because the panel is a child of dsi. therefore, the parse_dt function of dsi does not need to check the remote_node connected to the panel. and the whole parse_dt function should be refactored later. Signed-off-by: Hoegeun Kwon --- drivers/gpu/drm/exynos/exynos_drm_

Re: [PATCH] x86/microcode/intel: Fix allocation size of struct ucode_patch

2017-01-05 Thread Borislav Petkov
On Thu, Jan 05, 2017 at 01:03:51AM +, Junichi Nomura wrote: > We allocate struct ucode_patch here. > > "size" is a size of microcode data and used for kmemdup() later > in this function. > > Signed-off-by: Jun'ichi Nomura > Fixes: 06b8534cb728 ("x86/microcode: Rework microcode loading") > >

Re: [PATCH] cpufreq: Remove CONFIG_CPU_FREQ_STAT_DETAILS config option

2017-01-05 Thread Chanwoo Choi
Hi Viresh, On 2017년 01월 05일 17:27, Viresh Kumar wrote: > This doesn't have any benefit apart from saving a small amount of memory > when it is disabled. The ifdef hackery in the code makes it dirty > unnecessarily. > > Clean it up by removing the Kconfig option completely. Few defconfigs > are al

[PATCH v7 4/4] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-05 Thread Hoegeun Kwon
From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-off-by: Hoegeun Kwon Tested-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433-tm2

[PATCH v7 3/4] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-05 Thread Hoegeun Kwon
This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel driver. This panel has 1440x2560 resolution in 5.7-inch physical panel in the TM2 device. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun Kwon Tested-by: Chanwoo Choi Reviewed-by: Andrzej Hajda ---

Re: [Intel-gfx] linux-next: build failure after merge of the drm-misc tree

2017-01-05 Thread Jani Nikula
On Thu, 05 Jan 2017, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/usb/Kconfig:39:error: recursive dependency detected! > drivers/usb/Kconfig:39: symbol USB is selected by MOUSE_APPLETOUCH >

Re: [PATCH] KVM: eventfd: fix NULL deref irqbypass consumer

2017-01-05 Thread Paolo Bonzini
On 05/01/2017 10:05, Wanpeng Li wrote: > From: Wanpeng Li > > Reported syzkaller: > > BUG: unable to handle kernel NULL pointer dereference at 0008 > IP: irq_bypass_unregister_consumer+0x9d/0xb70 [irqbypass] > PGD 0 > > Oops: 0002 [#1] SMP > CPU: 1 PID: 125

printk: reset may_schedule if console_trylock() from console_unlock()

2017-01-05 Thread Tetsuo Handa
(Excluding linux-mm and restarting as a new thread.) Sergey Senozhatsky wrote at http://lkml.kernel.org/r/20161226113407.GA515@tigerII.localdomain : > Cc Greg, Jiri, > > On (12/26/16 19:54), Tetsuo Handa wrote: > [..] > > > > (3) I got below warning. (Though not reproducible.) > > If fb_fla

Re: [PATCH v2 2/2] [media] v4l: Add 10/16-bits per channel YUV pixel formats

2017-01-05 Thread Sakari Ailus
Hi Randy, Thanks for the update. On Thu, Jan 05, 2017 at 12:29:11AM +0800, Randy Li wrote: > The formats added by this patch are: > V4L2_PIX_FMT_P010 > V4L2_PIX_FMT_P010M > V4L2_PIX_FMT_P016 > V4L2_PIX_FMT_P016M > Currently, none of driver uses those format, but some video

[PATCH v7 0/4] Add support for the S6E3HA2 panel on TM2 board

2017-01-05 Thread Hoegeun Kwon
Purpose of this patch is add support for S6E3HA2 AMOLED panel on the TM2 board. The first patch adds support for S6E3HA2 panel device tree document and driver, the second patch add support for S6E3HA2 panel device tree. Change for V7: - Fixed the mode_set callback function of mic device driver.

Re: [PATCH 03/22] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs

2017-01-05 Thread Chen-Yu Tsai
On Thu, Jan 5, 2017 at 5:50 PM, Quentin Schulz wrote: > On 05/01/2017 09:27, Chen-Yu Tsai wrote: >> On Thu, Jan 5, 2017 at 4:06 PM, Quentin Schulz >> wrote: >>> Hi Chen-Yu, >>> >>> On 05/01/2017 06:42, Chen-Yu Tsai wrote: On Tue, Jan 3, 2017 at 12:37 AM, Quentin Schulz wrote: >>> [...]

Re: [patch] mm, thp: add new background defrag option

2017-01-05 Thread Michal Hocko
On Thu 05-01-17 10:13:30, Mel Gorman wrote: > On Wed, Jan 04, 2017 at 03:41:59PM -0800, David Rientjes wrote: > > There is no thp defrag option that currently allows MADV_HUGEPAGE regions > > to do direct compaction and reclaim while all other thp allocations simply > > trigger kswapd and kcompac

Re: [PATCH 0/7 v2] vm, vmscan: enahance vmscan tracepoints

2017-01-05 Thread Michal Hocko
Andrew, it seems that all the patches have been acked. One of the patches has been refreshed and send as a reply-to original one. One script in the Documentation directory needs to be updated but I guess this is low priority. Should I resubmit what I have with or you are going to pick it up from h

[v1] i4l: act2000: act2000:- Do not use 'asm/io.h' directly, use 'linux/io.h'.

2017-01-05 Thread Arvind Yadav
Make uniform definition of ioremap, ioremap_wc, ioremap_wt and ioremap_cache, tree-wide. Signed-off-by: Arvind Yadav --- drivers/staging/i4l/act2000/act2000.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/i4l/act2000/act2000.h b/drivers/staging/i4l/act2000/

Re: [PATCH 3/3] mfd: cros_ec: Add ACPI GPE handler for LID0 devices

2017-01-05 Thread Thierry Escande
Hi Lee, On 05/01/2017 08:54, Lee Jones wrote: On Wed, 04 Jan 2017, Thierry Escande wrote: Hi Lee, On 04/01/2017 10:06, Lee Jones wrote: On Fri, 16 Dec 2016, Thierry Escande wrote: From: Archana Patni This patch installs an ACPI GPE handler for LID0 ACPI device to indicate ACPI core that

Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer

2017-01-05 Thread 王金浦
2017-01-05 10:57 GMT+01:00 Christoph Hellwig : > On Wed, Jan 04, 2017 at 04:47:03PM +0100, 王金浦 wrote: >> This sounds scary. >> Could you share how to reproduce it, this should go into stable if >> it's the case. > > Step 1: Build your kernel with CONFIG_VMAP_STACK=y > Step 2: issue a SG_IO ioctl, e

Re: [PATCH] drm: Schedule the output_poll_work with 1s delay if we have delayed event

2017-01-05 Thread Peter Ujfalusi
On 01/05/2017 10:43 AM, Daniel Vetter wrote: > On Wed, Jan 04, 2017 at 02:00:53PM +0200, Peter Ujfalusi wrote: >> Instead of scheduling the work to handle the initial delayed event, use 1s >> delay. >> >> When the delayed event is handled w/o delay - in a similar matter when the >> poll had been

Re: [PATCH v6 1/3] gpio: exar: add gpio for exar cards

2017-01-05 Thread Andy Shevchenko
On Thu, Jan 5, 2017 at 12:20 PM, Sudip Mukherjee wrote: > Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which > can be controlled using gpio interface. > > Add the gpio specific code. > My comments below > +#include > +#include > +#include > +#include > +#include > +#inc

Re: [PATCH v5 13/17] irqdomain: irq_domain_check_msi_remap

2017-01-05 Thread Auger Eric
Hi Marc, On 04/01/2017 16:27, Marc Zyngier wrote: > On 04/01/17 14:11, Auger Eric wrote: >> Hi Marc, >> >> On 04/01/2017 14:46, Marc Zyngier wrote: >>> Hi Eric, >>> >>> On 04/01/17 13:32, Eric Auger wrote: This new function checks whether all platform and PCI MSI domains implement IRQ re

Re: ext4 filesystem corruption with 4.10-rc2 on ppc64le

2017-01-05 Thread Anton Blanchard
Hi Ted, > Anton or Chandan, could you do me a favor and verify whether or not > 64k block sizes are working for you on ppcle on ext4 by running > xfstests? Light duty testing works for me but when I stress ext4 with > pagesize==blocksize on ppcle64 via xfstests, it blows up. I suspect > (but am

[v1] rtl8192u: r8192U:- Do not use 'asm/io.h' directly, use 'linux/io.h'.

2017-01-05 Thread Arvind Yadav
Make uniform definition of ioremap, ioremap_wc, ioremap_wt and ioremap_cache, tree-wide. Signed-off-by: Arvind Yadav --- drivers/staging/rtl8192u/r8192U.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h in

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

2017-01-05 Thread Greentime Hu
Signed-off-by: Greentime Hu --- Changes in v4: - Use the same binding document to describe the same faraday ethernet controller and add faraday to vendor-prefixes.txt. Changes in v3: - Nothing changed in this patch but I have committed andestech to vendor-prefixes.txt. Changes in v2: - Cha

Re: [Intel-gfx] linux-next: build failure after merge of the drm-misc tree

2017-01-05 Thread Stephen Rothwell
Hi Jani, On Thu, 05 Jan 2017 12:24:13 +0200 Jani Nikula wrote: > > Daniel reverted it in drm-misc. OK, thanks. -- Cheers, Stephen Rothwell

Re: [PATCH 0/3 -v3] GFP_NOFAIL cleanups

2017-01-05 Thread Tetsuo Handa
Michal Hocko wrote: > > > Stop this! Seriously... This is just wasting time... > > > > You are free to ignore me. But > > my last reply in this subthread > OK. You can ignore me; I just won't give my Acked-by: or Reviewed-by: to this series. My understanding is that we changed to tolerate __G

Re: [PATCH] KVM: eventfd: fix NULL deref irqbypass consumer

2017-01-05 Thread Wanpeng Li
2017-01-05 18:24 GMT+08:00 Paolo Bonzini : > > > On 05/01/2017 10:05, Wanpeng Li wrote: >> From: Wanpeng Li >> >> Reported syzkaller: >> >> BUG: unable to handle kernel NULL pointer dereference at 0008 >> IP: irq_bypass_unregister_consumer+0x9d/0xb70 [irqbypass] >> PGD 0 >>

Re: [PATCH v6 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-05 Thread Andy Shevchenko
On Thu, Jan 5, 2017 at 12:20 PM, Sudip Mukherjee wrote: > Add the serial driver for the exar chips. And also register the > platform device for the exar gpio. > +++ b/drivers/tty/serial/8250/8250_exar.c > @@ -0,0 +1,706 @@ > +/* > + * Probe module for 8250/16550-type PCI serial ports. > + * > +

Re: [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2017-01-05 Thread 王金浦
2017-01-04 19:50 GMT+01:00 Mike Snitzer : > On Wed, Jan 04 2017 at 12:12am -0500, > NeilBrown wrote: > >> On Tue, Jan 03 2017, Jack Wang wrote: >> >> > 2016-12-23 12:45 GMT+01:00 Lars Ellenberg : >> >> On Fri, Dec 23, 2016 at 09:49:53AM +0100, Michael Wang wrote: >> >>> Dear Maintainers >> >>> >>

Re: printk: reset may_schedule if console_trylock() from console_unlock()

2017-01-05 Thread Sergey Senozhatsky
On (01/05/17 19:27), Tetsuo Handa wrote: [..] > > the other thing is... do we really need to console_conditional_schedule() > > from fbcon_*()? console_unlock() does cond_resched() after every line it > > prints. wouldn't that be enough? > > Every record, isn't it? yes. after every call to consol

[PATCH] i2c: i2c-cadence: Don't register the adapter until it's ready

2017-01-05 Thread Mike Looijmans
The driver calls i2c_add_adapter before writing to config registers, resulting in dmesg output like this, where devices fail to initialize: cdns-i2c ff03.i2c: timeout waiting on completion pca953x 1-0041: failed reading register pca953x: probe of 1-0041 failed with error -110 at24 1-0050: 512

Re: [PATCH] proc: Fix integer overflow of VmLib

2017-01-05 Thread Michal Hocko
I guess you meant s@overflow@underflow@ right? On Thu 05-01-17 00:29:18, Richard Weinberger wrote: > /proc//status can report extremely high VmLib values which > will confuse monitoring tools. > VmLib is mm->exec_vm minus text size, where exec_vm is the number of > bytes backed by an executable me

Re: [PATCH v3] arm64: mm: Fix NOMAP page initialization

2017-01-05 Thread Robert Richter
On 04.01.17 13:56:39, Ard Biesheuvel wrote: > Given that you are touching arch/arm/ as well as arch/arm64, could you > explain why only arm64 needs this treatment? Is it simply because we > don't have NUMA support there? I haven't considered a solution for arch/arm yet. The fixes are independent.

Re: [PATCH] proc: Fix integer overflow of VmLib

2017-01-05 Thread Richard Weinberger
Michal, Am 05.01.2017 um 11:53 schrieb Michal Hocko: > I guess you meant s@overflow@underflow@ right? Yep, of course. > On Thu 05-01-17 00:29:18, Richard Weinberger wrote: >> /proc//status can report extremely high VmLib values which >> will confuse monitoring tools. >> VmLib is mm->exec_vm minu

[PATCHv14 0/3] USB Type-C Connector class

2017-01-05 Thread Heikki Krogerus
The USB Type-C class is meant to provide unified interface to the userspace to present the USB Type-C ports in a system. Changes since v13: - New API. Everything is registered separately. Changes since v12: - Added prefer_role member to typec_capability structure as requested by Guenter Changes

[PATCHv14 3/3] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2017-01-05 Thread Heikki Krogerus
This adds driver for the USB Type-C PHY on Intel WhiskeyCove PMIC which is available on some of the Intel Broxton SoC based platforms. Signed-off-by: Heikki Krogerus --- drivers/usb/typec/Kconfig | 14 ++ drivers/usb/typec/Makefile | 1 + drivers/usb/typec/typec_wcove.c | 377 +

[PATCHv14 1/3] lib/string: add sysfs_match_string helper

2017-01-05 Thread Heikki Krogerus
Make a simple helper for matching strings with sysfs attribute files. In most parts the same as match_string(), except sysfs_match_string() uses sysfs_streq() instead of strcmp() for matching. This is more convenient when used with sysfs attributes. Signed-off-by: Heikki Krogerus --- include/lin

[PATCHv14 2/3] usb: USB Type-C connector class

2017-01-05 Thread Heikki Krogerus
The purpose of USB Type-C connector class is to provide unified interface for the user space to get the status and basic information about USB Type-C connectors on a system, control over data role swapping, and when the port supports USB Power Delivery, also control over power role swapping and Alt

[PATCH v4 0/2] Broadcom FlexRM ring manager support

2017-01-05 Thread Anup Patel
The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by offload

[PATCH v4 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-01-05 Thread Anup Patel
This patch adds device tree bindings document for the FlexRM ring manager found on Broadcom iProc SoCs. Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../bindings/mailbox/brcm,iproc-flexrm-mbox.txt| 59 ++ 1 file changed, 59 insertions(+)

[PATCH v4 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-01-05 Thread Anup Patel
Some of the Broadcom iProc SoCs have FlexRM ring manager which provides a ring-based programming interface to various offload engines (e.g. RAID, Crypto, etc). This patch adds a common mailbox driver for Broadcom FlexRM ring manager which can be shared by various offload engine drivers (implemente

Re: [PATCH 2/2] printk: always report lost messages on serial console

2017-01-05 Thread Petr Mladek
On Thu 2017-01-05 11:30:47, Sergey Senozhatsky wrote: > On (01/04/17 16:26), Petr Mladek wrote: > > On Wed 2017-01-04 22:34:48, Sergey Senozhatsky wrote: > > > On (01/04/17 11:52), Petr Mladek wrote: > > > [..] > > > > > this is from the real serial logs I'm looking at right now. we attach > > > >

Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer

2017-01-05 Thread Christoph Hellwig
On Thu, Jan 05, 2017 at 11:37:46AM +0100, 王金浦 wrote: > Thanks, so it's only relevant to kernel > 4.9, as CONFIG_VMAP_STACK > only introduced in 4.9 kernel. kernel >= 4.9, but otherwise, yes.

Re: [PATCH v2 2/4] linux/const.h: move UL() macro to include/linux/const.h

2017-01-05 Thread Catalin Marinas
> diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h > index bfe6328..4310bcc 100644 > --- a/arch/arm64/include/asm/memory.h > +++ b/arch/arm64/include/asm/memory.h > @@ -28,12 +28,6 @@ > #include > > /* > - * Allow for constants defined here to be used from assembl

Re: [PATCH perf/core 3/3] perf-probe: Fix to probe on gcc generated functions in modules

2017-01-05 Thread Masami Hiramatsu
On Wed, 4 Jan 2017 11:48:56 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 04, 2017 at 12:31:39PM +0900, Masami Hiramatsu escreveu: > > Fix to probe on gcc generated functions on modules. Since > > probing on a module is based on its symbol name, it should > > be adjusted on actual symbols.

Re: [PATCH] usb: dwc3: gadget: Avoid race between dwc3 interrupt handler and irq thread handler

2017-01-05 Thread Felipe Balbi
Hi, Baolin Wang writes: [...] and you have triggered this with mailine? How? We don't write to GEVNT* registers from PM code and we only allow runtime_suspend with cable dettached. >>> >>> Sorry for late reply since I am busy on other things. I just agreed >>> with the possible

Re: [PATCH] HID: i2c-hid: Add quirk for sleep before reset

2017-01-05 Thread Benjamin Tissoires
On Jan 05 2017 or thereabouts, Brendan McGrath wrote: > Support for the Asus Touchpad was recently added. It turns out this > device can fail initialisation (and become unusable) when the RESET > command is sent too soon after the POWER ON command. > > Unfortunately the i2c-hid specification does

Re: [PATCH 2/2] arm64: mm: enable CONFIG_HOLES_IN_ZONE for NUMA

2017-01-05 Thread Robert Richter
On 04.01.17 14:02:23, Will Deacon wrote: > Using early_pfn_valid feels like a bodge to me, since having pfn_valid > return false for something that early_pfn_valid says is valid (and is > therefore initialised in the memmap) makes the NOMAP semantics even more > confusing. The concern I have had w

Re: [PATCH v5 13/17] irqdomain: irq_domain_check_msi_remap

2017-01-05 Thread Marc Zyngier
On 05/01/17 10:45, Auger Eric wrote: > Hi Marc, > > On 04/01/2017 16:27, Marc Zyngier wrote: >> On 04/01/17 14:11, Auger Eric wrote: >>> Hi Marc, >>> >>> On 04/01/2017 14:46, Marc Zyngier wrote: Hi Eric, On 04/01/17 13:32, Eric Auger wrote: > This new function checks whether all

Re: [PATCH v5 13/17] irqdomain: irq_domain_check_msi_remap

2017-01-05 Thread Auger Eric
Hi Marc, On 05/01/2017 12:25, Marc Zyngier wrote: > On 05/01/17 10:45, Auger Eric wrote: >> Hi Marc, >> >> On 04/01/2017 16:27, Marc Zyngier wrote: >>> On 04/01/17 14:11, Auger Eric wrote: Hi Marc, On 04/01/2017 14:46, Marc Zyngier wrote: > Hi Eric, > > On 04/01/17 13:32

Re: [RFC PATCH 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-05 Thread Peter Zijlstra
On Wed, Jan 04, 2017 at 07:14:14PM +, Will Deacon wrote: > Hi Peter, > > On Wed, Jan 04, 2017 at 11:37:13AM +0100, Peter Zijlstra wrote: > > On Tue, Jan 03, 2017 at 06:10:26PM +, Will Deacon wrote: > > > The ARMv8.2 architecture introduces the Statistical Profiling Extension > > > (SPE). S

[PATCH v1 1/1] platform/x86: Remove PMIC GPIO block support

2017-01-05 Thread Andy Shevchenko
The Moorestown support was removed by commit 1a8359e411eb ("x86/mid: Remove Intel Moorestown"). Remove this leftover. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/Kconfig | 8 - drivers/platform/x86/Makefile | 1 - drivers/platform/x86/intel_pmic_gpio.c | 326 -

Re: [PATCH v2 1/2] x86/efi: don't allocate memmap through memblock after mm_init()

2017-01-05 Thread Ard Biesheuvel
On 5 January 2017 at 10:15, Nicolai Stange wrote: > Ard Biesheuvel writes: > >> On 5 January 2017 at 07:42, Ingo Molnar wrote: >>> >>> * Nicolai Stange wrote: >>> Matt Fleming writes: > On Thu, 22 Dec, at 11:23:39AM, Nicolai Stange wrote: >> So, after memblock is gone, allo

[PATCH v8 3/3] console: Add persistent scrollback buffers for all VGA consoles

2017-01-05 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback hi

<    1   2   3   4   5   6   7   8   9   >