Re: [PATCH v6 11/25] usb: chipidea: vbus event may exist before starting gadget

2017-01-03 Thread Peter Chen
On Wed, Dec 28, 2016 at 02:56:57PM -0800, Stephen Boyd wrote: > From: Peter Chen > > At some situations, the vbus may already be there before starting > gadget. So we need to check vbus event after switch to gadget in > order to handle missing vbus event. The typical use cases are plugging > vbus

[lkp-developer] [drm] 2ab8c5f8c0: WARNING:at_drivers/gpu/drm/drm_mode_config.c:#drm_mode_config_cleanup[drm]

2017-01-03 Thread kernel test robot
FYI, we noticed the following commit: commit: 2ab8c5f8c0358010a19e82656fa4826a6a51d1e0 ("drm: Clean up connectors by unreferencing them") https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge

ATTENZIONE;

2017-01-03 Thread Sistemi amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

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

2017-01-03 Thread Andi Shyti
Hi, > + compatible = "samsung,tm2e", "samsung,exynos5433"; this is supposed to be "samsung,tm2". Will wait for other comments and fix it in v2. Andi

[PATCH 1/1] extcon: usb-gpio: add pinctrl operation during system PM

2017-01-03 Thread Peter Chen
At some systems, the pinctrl setting will be lost or needs to set as "sleep" state to save power consumption. So, we need to configure pinctrl as "sleep" state when system enters suspend, and as "default" state after system resumes. In this way, the pinctrl value can be recovered as "default" state

Re: [PATCH 1/3] m68k/mac: Improve NMI handler

2017-01-03 Thread Geert Uytterhoeven
Hi Finn, On Tue, Jan 3, 2017 at 5:31 AM, Finn Thain wrote: > On Mon, 2 Jan 2017, Geert Uytterhoeven wrote: >> > >> > -/* >> > - * console_loglevel determines NMI handler function >> > - */ >> > +extern void show_registers(struct pt_regs *); >> >> Seems like we do have a declaration in ... . > > Y

[PATCH 0/7] perf tools: Add switch-output size and time threshold options

2017-01-03 Thread Jiri Olsa
hi, adding a way to configure switch data output for size and time, like: $ sudo perf record -e 'sched:*' --switch-output=10M -avg callchain: type FP switch-output with 10M size threshold mmap size 528384B [ perf record: dump data: Woken up 37 times ] [ perf record: Dump perf.data.2017

[PATCH 7/7] perf record: Add switch-output time option argument

2017-01-03 Thread Jiri Olsa
It's now possible to specify the threshold time for perf.data like: $ perf record --switch-output=30s ... Once it's reached, the current data are dumped in to the perf.data. file and session does on. $ perf record --switch-output=30s ... [ perf record: dump data: Woken up 44 times ] [ pe

[PATCH 3/7] perf record: Fix --switch-output documentation and comment

2017-01-03 Thread Jiri Olsa
There's no --signal-trigger option, also adding the code comment into record man page. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-wbfnc3deti65q8ntw30lj...@git.kernel.org --- tools/perf/Documentation/perf-record

[PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Jiri Olsa
It's now possible to specify the threshold size for perf.data like: $ perf record --switch-output=2G ... Once it's reached, the current data are dumped in to the perf.data. file and session does on. $ perf record --switch-output=2G ... [ perf record: dump data: Woken up 7244 times ] [ pe

[PATCH 4/7] perf record: Add struct switch_output

2017-01-03 Thread Jiri Olsa
Next patches will add more --switch-output option arguments, so preparing the data holder. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-tibmeq1qw3kgrfzrswt5x...@git.kernel.org --- tools/perf/builtin-record.c | 16

[PATCH 5/7] perf record: Change switch-output option to take optional argument

2017-01-03 Thread Jiri Olsa
Next patches will add --switch-output option arguments, changing the option to allow that and adding its default value to 'signal'. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-d3qy0tnc4m2dyt8yd6x5p...@git.kernel.

[PATCH] pinctrl: amd: fix compilation warning

2017-01-03 Thread Linus Walleij
3bfd44306c65 ("pinctrl: amd: Add support for additional GPIO") created the following warning: drivers/pinctrl/pinctrl-amd.c: In function 'amd_gpio_dbg_show': drivers/pinctrl/pinctrl-amd.c:210:3: warning: 'pin_num' may be used uninitialized in this function [-Wmaybe-uninitialized] for (; i < pi

[PATCH 1/7] tools lib subcmd: Add OPT_STRING_OPTARG_SET option

2017-01-03 Thread Jiri Olsa
To allow string options with default argument and variable set when the option is used. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Josh Poimboeuf Link: http://lkml.kernel.org/n/tip-xqtj0dy6t4bzah3jqi20t...@git.kernel.org --- tools/lib/subcmd/parse-option

[PATCH 2/7] perf record: Make __record_options static

2017-01-03 Thread Jiri Olsa
There's no need for this one to be global. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-wbfnc3deti65q8ntw30lj...@git.kernel.org --- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 14:03:28, Minchan Kim wrote: > Hi Michal, > > On Fri, Dec 30, 2016 at 05:37:42PM +0100, Michal Hocko wrote: > > On Sat 31-12-16 01:04:56, Minchan Kim wrote: > > [...] > > > > From 5f1bc22ad1e54050b4da3228d68945e70342ebb6 Mon Sep 17 00:00:00 2001 > > > > From: Michal Hocko > > > >

Re: [PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM

2017-01-03 Thread Boris Brezillon
On Sun, 1 Jan 2017 18:58:27 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors on arch/um, which does not support HAS_IOMEM, > while the oxnas_nand.c driver uses interfaces that are > supplied by HAS_IOMEM. > > (loadable module build:) > ERROR: "devm_ioremap_resource" [drivers

[PATCH 2/2] Fix warning during compilation

2017-01-03 Thread ivan . stoyanov
From: amk drivers/dma/ipu/ipu_irq.c: In function 'ipu_irq_fn': drivers/dma/ipu/ipu_irq.c:342:4: warning: 'irq' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: amk --- drivers/dma/ipu/ipu_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH v2 3/4] ARM64: dts: exynos5433: use macros for pinctrl configuration on Exynos5433

2017-01-03 Thread Linus Walleij
On Fri, Dec 30, 2016 at 4:17 PM, Krzysztof Kozlowski wrote: > On Fri, Dec 30, 2016 at 02:32:39PM +0100, Linus Walleij wrote: >> On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote: >> >> > Use the macros defined in include/dt-bindings/pinctrl/samsung.h >> > instead of hardcoded values. >> > >> > Si

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

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 3, 2017 at 9:57 AM, Jaechul Lee wrote: > From: Andi Shyti > > Currently tm2e dts includes tm2 but there are some differences > between the two boards and tm2 has some properties that tm2e > doesn't have. > > That's why it's important to keep the two dts files independent > and put all

Re: [PATCH v2 RESEND] video: backlight: pwm_bl: Initialize fb_bl_on[x] and use_count during pwm_backlight_probe()

2017-01-03 Thread Lee Jones
Thierry, Jingoo, Please respond to Lukasz. On Mon, 26 Dec 2016, Lukasz Majewski wrote: > The commit a55944ca82d2 > ("backlight: update bd state & fb_blank properties when necessary") > has posed some extra restrictions on blanking and unblanking frame buffer > device. > > Unfortunately, pwm_bl

[RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Anshuman Khandual
node_isset can give incorrect result if the node number is beyond the bitmask size (MAX_NUMNODES in this case) which is not checked inside test_bit. Hence check for the bit limits (MAX_NUMNODES) inside the node_isset function before calling test_bit. Signed-off-by: Anshuman Khandual --- include/

Re: [PATCH] x86: fix kaslr and memmap collision

2017-01-03 Thread Baoquan He
Hi Dan, On 11/22/16 at 09:26am, Dan Williams wrote: > [ replying for Dave since he's offline today and tomorrow ] > > On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote: > > > > * Dave Jiang wrote: > > > >> CONFIG_RANDOMIZE_BASE relocates the kernel to a random base address. > >> However it do

RE: [PATCH] pinctrl: amd: fix compilation warning

2017-01-03 Thread Shah, Nehal-bakulchandra
Thanks Linus for fixing this. Nehal -Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: Tuesday, January 3, 2017 1:51 PM To: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Cc: linux-g...@vger.kernel.org; Linus Walleij ; S-k, Shyam-sundar ;

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

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 10:36:31, Tetsuo Handa wrote: [...] > I'm OK with "[PATCH 1/3] mm: consolidate GFP_NOFAIL checks in the allocator > slowpath" given that we describe that we make __GFP_NOFAIL stronger than > __GFP_NORETRY with this patch in the changelog. Again. __GFP_NORETRY | __GFP_NOFAIL is nons

Re: [PATCH v6 05/14] ACPI: platform-msi: retrieve dev id from IORT

2017-01-03 Thread Tomasz Nowicki
On 02.01.2017 14:31, Hanjun Guo wrote: For devices connecting to ITS, it needs dev id to identify itself, and this dev id is represented in the IORT table in named componant node [1] for platform devices, so in this patch we will scan the IORT to retrieve device's dev id. Introduce iort_pmsi_get

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: > node_isset can give incorrect result if the node number is beyond the > bitmask size (MAX_NUMNODES in this case) which is not checked inside > test_bit. Hence check for the bit limits (MAX_NUMNODES) inside the > node_isset function before calling

Re: [PATCHv2 3/8] rtc: add STM32 RTC driver

2017-01-03 Thread Amelie DELAUNAY
Hi Mathieu, Thanks for reviewing, On 12/16/2016 08:08 PM, Mathieu Poirier wrote: On Fri, Dec 16, 2016 at 09:50:52AM +0100, Amelie Delaunay wrote: This patch adds support for the STM32 RTC. Signed-off-by: Amelie Delaunay --- drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile| 1 + d

Re: [PATCH v2 0/2] ALSA: Fix usb-audio races

2017-01-03 Thread Ioan-Adrian Ratiu
On Tue, 03 Jan 2017, Ioan-Adrian Ratiu wrote: > On Mon, 02 Jan 2017, Ioan-Adrian Ratiu wrote: >> Many thanks to Takashi Iwai & Sakamoto for their awesome feedback. >> >> Changes since v1: >> * Rebased my fix on top of tiwai's revert and integrated the changes >> from the original fix into

[PATCH v2] Fix CMD6 timeout issue

2017-01-03 Thread Yong Mao
yong mao (2): mmc: core: Fix CMD6 timeout issue mmc: mediatek: correct the implementation of msdc_card_busy drivers/mmc/core/core.c | 19 +++ drivers/mmc/host/mtk-sd.c | 7 ++- 2 files changed, 21 insertions(+), 5 deletions(-) -- 1.8.1.1.dirty

[PATCH v2 1/2] mmc: core: Fix CMD6 timeout issue

2017-01-03 Thread Yong Mao
From: yong mao When initializing EMMC, after switch to HS400, it will issue CMD6 to change ext_csd, if first CMD6 got CRC error, the repeat CMD6 may get timeout, that's because card is not back to transfer state immediately. For resolving this issue, it need check if card is busy before sending

[PATCH v2 2/2] mmc: mediatek: correct the implementation of msdc_card_busy

2017-01-03 Thread Yong Mao
From: yong mao msdc_card_busy only need check if the data0 is low. In sdio data1 irq mode, data1 may be low because of interruption. Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a

[PATCH] f2fs: fix small discards when se->valid_blocks is zero

2017-01-03 Thread Yunlong Song
In the small discard case, when se->valid_blocks is zero, the add_discard_addrs will directly return without __add_discard_entry. This will cause the file delete have no small discard. The case is like this: 1. Allocate free 2M segment 2. Write a file (size n blocks < 512) in that 2M segment, se->

Re: [PATCH] mtd: davinci-nand: disable subpage write for davinci-nand

2017-01-03 Thread Boris Brezillon
Hi Sushaanth, Sorry for the late reply, I'm dequeing old NAND related patches and found this one. Is this patch still needed? On Tue, 8 Mar 2016 14:38:15 +0530 Sushaanth Srirangapathi wrote: > Commit 28c015a9daabe4e ("mtd: davinci-nand: disable subpage write for > keystone-nand") disables subp

[PATCH 1/4] perf, tools: Add probing for xed

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add autoprobing for the xed disassembler library. Can be downloaded from https://github.com/intelxed/xed Signed-off-by: Andi Kleen --- tools/build/Makefile.feature | 6 -- tools/build/feature/Makefile | 8 ++-- tools/build/feature/test-all.c | 5 + tools/build

New attempt at adding an disassembler to perf

2017-01-03 Thread Andi Kleen
A native disassembler in perf is very useful, in particular with perf script to trace instruction streams, but also for other analysis. Previously I attempted to do this using the udis86 library, but that was rejected because: - udis86 was not maintained anymore and lacking recent instructions -

Re: [v2, 1/4] ARM: davinci: da8xx-dt: Add ti-aemif lookup for clock matching

2017-01-03 Thread Sekhar Nori
On Monday 02 January 2017 01:34 PM, Sekhar Nori wrote: > On Saturday 31 December 2016 06:22 AM, David Lechner wrote: >> On 08/10/2016 06:00 AM, Karl Beldan wrote: >>> Many davinci boards (da830 and da850 families) don't have their clocks >>> in DT yet and won't be successful in getting an unnamed a

[PATCH 4/4] perf, tools, script: Add brstackasm output for branch stacks

2017-01-03 Thread Andi Kleen
From: Andi Kleen Implement printing full disassembled sequences for branch stacks in perf script. This allows to directly print hot paths for individual samples, together with branch misprediction and cycle count / IPC information if available (on Skylake systems) % perf record -b ... % perf scr

Re: [lkp-developer] [sched/core] 6b94780e45: unixbench.score -4.5% regression

2017-01-03 Thread Vincent Guittot
Hi Xiaolong, Thanks for testing, I'm going to look for another root cause It was also mentioned a -2.9% regression with a 8 threads Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz with 6G memory. Have you checked this platform too ? Regards, Vincent On 3 January 2017 at 08:13, Ye Xiaolong wrote: > On 0

[PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

2017-01-03 Thread Peter Chen
At some systems, the pinctrl setting will be lost or needs to set as "sleep" state to save power consumption. So, we need to configure pinctrl as "sleep" state when system enters suspend, and as "default" state after system resumes. In this way, the pinctrl value can be recovered as "default" state

[PATCH v2] soc: zte: Add header for PM domains specifiers

2017-01-03 Thread Baoyou Xie
This patch adds header with values used for ZTE 2967 SoC's power domain driver. Signed-off-by: Baoyou Xie --- include/dt-bindings/zte,pm_domains.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 include/dt-bindings/zte,pm_domains.h diff --git a/include/dt-bind

Re: [PATCH] ARM: davinci_all_defconfig: enable dumb vga-dac drm bridge

2017-01-03 Thread Bartosz Golaszewski
2016-11-25 10:13 GMT+01:00 Bartosz Golaszewski : > This enables the dumb-vga-dac driver by default for davinci boards. > > The driver is needed for tilcdc support on da850-lcdk board. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/configs/davinci_all_defconfig | 2 ++ > 1 file changed, 2

[PATCH 2/4] perf, tools: Add disassembler for x86 using the XED library

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add a generic disassembler function for x86 using the XED library, and a fallback function for architectures that don't implement one. Other architectures can implement their own disassembler functions. The previous version of this patch used udis86, but was rejected because udi

[PATCH 3/4] perf, tools, script: Add support for printing assembler

2017-01-03 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the Intel xed library to implement assembler o

Re: [PATCH v2 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-01-03 Thread Boris Brezillon
Hi Alison, The subject prefix should be "memory: " and not "mtd: ifc: ". Looks good otherwise. No need to resend, I can fix that when applying. Regards, Boris On Tue, 3 Jan 2017 10:41:05 +0800 Alison Wang wrote: > As Freescale/NXP IFC controller is available on LS1021A, the dependency > for

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-03 Thread Benjamin Tissoires
On Dec 29 2016 or thereabouts, Pali Rohár wrote: > On Thursday 29 December 2016 22:09:32 Michał Kępień wrote: > > > On Thursday 29 December 2016 14:47:19 Michał Kępień wrote: > > > > > On Thursday 29 December 2016 09:29:36 Michał Kępień wrote: > > > > > > > Dell platform team told us that some (DMI

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Anshuman Khandual
On 01/03/2017 02:14 PM, Michal Hocko wrote: > On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: >> node_isset can give incorrect result if the node number is beyond the >> bitmask size (MAX_NUMNODES in this case) which is not checked inside >> test_bit. Hence check for the bit limits (MAX_NUMNODES

Re: [RFC PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-03 Thread Zhou Wang
On 2017/1/3 14:39, Tomasz Nowicki wrote: > On 22.12.2016 10:07, Zhou Wang wrote: >> Multiple PCIe host bridges may exists in one PCIe segment. So bus range for >> each >> host bridge should be in the coverage of bus range of related PCIe segment. >> >> This patch will support this kind of scenario

Re: [PATCH v2 0/2] ALSA: Fix usb-audio races

2017-01-03 Thread Takashi Iwai
On Tue, 03 Jan 2017 09:47:06 +0100, Ioan-Adrian Ratiu wrote: > > On Tue, 03 Jan 2017, Ioan-Adrian Ratiu wrote: > > On Mon, 02 Jan 2017, Ioan-Adrian Ratiu wrote: > >> Many thanks to Takashi Iwai & Sakamoto for their awesome feedback. > >> > >> Changes since v1: > >> * Rebased my fix on top of

[PATCH v3] soc: zte: Add header for PM domains specifiers

2017-01-03 Thread Baoyou Xie
This patch adds header with values used for zx96718 SoC's power domain driver. Signed-off-by: Baoyou Xie --- include/dt-bindings/soc/zte,pm_domains.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 include/dt-bindings/soc/zte,pm_domains.h diff --git a/include/

Re: linux-next: manual merge of the drm-intel-fixes tree with the vfio-fixes tree

2017-01-03 Thread Jani Nikula
On Tue, 03 Jan 2017, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-intel-fixes tree got a conflict in: > > drivers/gpu/drm/i915/gvt/kvmgt.c > > between commit: > > 99e3123e3d72 ("vfio-mdev: Make mdev_device private and abstract interfaces") > > from the vfio-fixes t

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 14:37:09, Anshuman Khandual wrote: > On 01/03/2017 02:14 PM, Michal Hocko wrote: > > On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: > >> node_isset can give incorrect result if the node number is beyond the > >> bitmask size (MAX_NUMNODES in this case) which is not checked insid

Re: [PATCH 1/4] mmc: mediatek: Fix CMD6 timeout issue

2017-01-03 Thread Yong Mao
On Thu, 2016-12-01 at 10:51 +0100, Ulf Hansson wrote: > On 8 November 2016 at 07:08, Yong Mao wrote: > > From: yong mao > > > > When initializing EMMC, after switch to HS400, > > it will issue CMD6 to change ext_csd, if first CMD6 got CRC > > error, the repeat CMD6 may get timeout, that's > > bec

RE: [PATCH v2 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-01-03 Thread Alison Wang
Ok, I see. Thanks. Best Regards, Alison Wang > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@free-electrons.com] > Sent: Tuesday, January 03, 2017 5:05 PM > To: Alison Wang > Cc: marek.va...@gmail.com; cyrille.pitc...@atmel.com; linux- > ker...@vger.kernel.org; linu

[PATCH] drm/meson: Fix plane atomic check when no crtc for the plane

2017-01-03 Thread Neil Armstrong
When no CRTC is associated with the plane, the meson_plane_atomic_check() call breaks the kernel with an Oops. Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller") Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_plane.c | 3 +++ 1 file changed, 3 insertions

Re: [PATCH] ARM: davinci_all_defconfig: enable dumb vga-dac drm bridge

2017-01-03 Thread Sekhar Nori
On Friday 25 November 2016 02:43 PM, Bartosz Golaszewski wrote: > This enables the dumb-vga-dac driver by default for davinci boards. > > The driver is needed for tilcdc support on da850-lcdk board. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/configs/davinci_all_defconfig | 2 ++ >

Re: [PATCH v6 6/8] IIO: add STM32 timer trigger driver

2017-01-03 Thread Benjamin Gaignard
2017-01-02 19:22 GMT+01:00 Jonathan Cameron : > On 02/01/17 08:46, Benjamin Gaignard wrote: >> 2016-12-30 22:12 GMT+01:00 Jonathan Cameron : >>> On 09/12/16 14:15, Benjamin Gaignard wrote: Timers IPs can be used to generate triggers for other IPs like DAC, ADC or other timers. Each t

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-03 Thread Pali Rohár
On Tuesday 03 January 2017 10:06:41 Benjamin Tissoires wrote: > On Dec 29 2016 or thereabouts, Pali Rohár wrote: > > On Thursday 29 December 2016 22:09:32 Michał Kępień wrote: > > > Also, just to make sure we do not overthink this, I understand that > > > not every unit of the models from the white

Re: [RFC PATCH] sched: Remove set_task_state()

2017-01-03 Thread Peter Zijlstra
On Fri, Dec 30, 2016 at 10:17:53AM -0800, Davidlohr Bueso wrote: > - set_task_state(current, TASK_RUNNING); > + set_current_state(TASK_RUNNING); Obviously good. > - set_task_state(tsk, TASK_UNINTERRUPTIBLE); > + set_current_state(TA

Re: linux-next: build failure after merge of the drm-intel-fixes tree

2017-01-03 Thread Zhenyu Wang
On 2017.01.02 21:48:57 -0700, Alex Williamson wrote: > > Alex, I liked to have kvmgt related mdev interface change be merged through > > vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply > > below fix in your tree? I think in general for possible interface change in > > f

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-03 Thread Dmitry Vyukov
On Mon, Jan 2, 2017 at 7:01 PM, Paolo Bonzini wrote: > > > On 02/01/2017 11:17, Dmitry Vyukov wrote: >> On Mon, Jan 2, 2017 at 11:09 AM, Paolo Bonzini wrote: >>> >>> >>> >>> On 01/01/2017 04:44, Wanpeng Li wrote: From: Wanpeng Li This was reported by syzkaller: BUG: unab

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-03 Thread Paolo Bonzini
On 02/01/2017 20:39, Stephen Hemminger wrote: >>> >>> I would like to minimize what we include in the uapi header; especially >>> when MSFT has made no guarantees >>> with regards how they may be evolved. I will also work on getting some >>> clarity on both stability and >>> under what license

Re: kvm: GPF in irq_bypass_unregister_consumer

2017-01-03 Thread Dmitry Vyukov
On Sat, Nov 12, 2016 at 2:21 AM, Dmitry Vyukov wrote: > Hello, > > The following programs triggers GPF in irq_bypass_unregister_consumer > if run in a parallel loop: > https://gist.githubusercontent.com/dvyukov/0d18d7b11659187ec3eab22285b4a67e/raw/c1c622ca26ebce0c7b77e3200970ca0f7792cb32/gistfile1

Re: [PATCH 15/20] ARM/hw_breakpoint: Convert to hotplug state machine

2017-01-03 Thread Mark Rutland
Hi, On Mon, Jan 02, 2017 at 09:15:29PM +0100, Linus Walleij wrote: > On Mon, Jan 2, 2017 at 4:00 PM, Russell King - ARM Linux > wrote: > > On Mon, Jan 02, 2017 at 03:34:32PM +0100, Linus Walleij wrote: > >> in the first line of arch_hw_breakpoint_init() in > >> arch/arm/kernel/hw_breakpoint.c > >

Re: [PATCH v6 05/14] ACPI: platform-msi: retrieve dev id from IORT

2017-01-03 Thread Tomasz Nowicki
On 03.01.2017 09:43, Tomasz Nowicki wrote: On 02.01.2017 14:31, Hanjun Guo wrote: For devices connecting to ITS, it needs dev id to identify itself, and this dev id is represented in the IORT table in named componant node [1] for platform devices, so in this patch we will scan the IORT to retrie

Re: [PATCH 2/4] perf/x86: Fix period for non sampling events

2017-01-03 Thread Peter Zijlstra
On Wed, Dec 28, 2016 at 02:31:04PM +0100, Jiri Olsa wrote: > When in counting mode we setup the counter with the > longest possible period and read the value with read > syscall. > > We also still setup the PMI to be triggered when such > counter overflow to reconfigure it. > > We also get PEBS i

Re: [PATCH v2 1/4] pinctrl: samsung: Fix the width of PINCFG_TYPE_DRV bitfields for Exynos5433

2017-01-03 Thread Andi Shyti
Hi Linus and Krzysztof, > > > From: Chanwoo Choi > > > > > > This patch fixes the wrong width of PINCFG_TYPE_DRV bitfields for > > > Exynos5433 > > > because PINCFG_TYPE_DRV of Exynos5433 has 4bit fields in the *_DRV > > > registers. Usually, other Exynos have 2bit field for PINCFG_TYPE_DRV. > >

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Anshuman Khandual
On 01/03/2017 02:47 PM, Michal Hocko wrote: > On Tue 03-01-17 14:37:09, Anshuman Khandual wrote: >> On 01/03/2017 02:14 PM, Michal Hocko wrote: >>> On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: node_isset can give incorrect result if the node number is beyond the bitmask size (MAX_NU

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-03 Thread Richard Weinberger
Ted, Am 01.01.2017 um 22:47 schrieb Theodore Ts'o: > On Mon, Dec 19, 2016 at 12:25:32PM +0100, Richard Weinberger wrote: >> That way we can get rid of the direct dependency on CONFIG_BLOCK. >> >> Reported-by: Arnd Bergmann >> Reported-by: Randy Dunlap >> Suggested-by: Christoph Hellwig >> Fixes

Build regressions/improvements in v4.10-rc2

2017-01-03 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.10-rc2[1] compared to v4.9[2]. Summarized: - build errors: +3/-8 - build warnings: +1131/-542 JFYI, when comparing v4.10-rc2[1] to v4.10-rc1[3], the summaries are: - build errors: +2/-7242 - build warnings: +169/-242

Re: Build regressions/improvements in v4.10-rc2

2017-01-03 Thread Geert Uytterhoeven
On Tue, Jan 3, 2017 at 10:50 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.10-rc2[1] to v4.10-rc1[3], the summaries are: > - build errors: +2/-7242 + /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c: error: 'cached_to_uncached' undeclared (first use in this function): => 99:17 + /ho

Re: [PATCH 7/7] misc: intel-ish-client: add intel ishtp clients driver

2017-01-03 Thread Jiri Kosina
On Fri, 23 Dec 2016, Even Xu wrote: [ ... snip ... ] > +static ssize_t ishtp_cl_write(struct file *file, const char __user *ubuf, > + size_t length, loff_t *offset) > +{ > + struct ishtp_cl_miscdev *ishtp_cl_misc = file->private_data; > + struct ishtp_cl *cl; > + void *write_buf; >

Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options

2017-01-03 Thread Wangnan (F)
On 2017/1/3 16:19, Jiri Olsa wrote: hi, adding a way to configure switch data output for size and time, like: $ sudo perf record -e 'sched:*' --switch-output=10M -avg callchain: type FP switch-output with 10M size threshold mmap size 528384B [ perf record: dump data: Woken up 37

Re: [PATCH 1/1] extcon: usb-gpio: add pinctrl operation during system PM

2017-01-03 Thread Roger Quadros
Hi Peter, On 03/01/17 10:17, Peter Chen wrote: > At some systems, the pinctrl setting will be lost or needs to > set as "sleep" state to save power consumption. So, we need to > configure pinctrl as "sleep" state when system enters suspend, > and as "default" state after system resumes. In this wa

Re: [PATCH 0/5] kernel-doc tweaks and cleanup of rST vs. non-rST backends

2017-01-03 Thread Jani Nikula
On Mon, 02 Jan 2017, Paolo Bonzini wrote: > Hi, > > these patches are the result of my experiments with using kernel-doc > for QEMU's documentation. Patches 1 and 2 should be relatively > straightforward, as they are simple bugfixes. Patches 3 to 5, instead, > are making the docbook backend (and

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

2017-01-03 Thread Andi Shyti
Hi Krzysztof, > > Currently tm2e dts includes tm2 but there are some differences > > between the two boards and tm2 has some properties that tm2e > > doesn't have. > > > > That's why it's important to keep the two dts files independent > > and put all the commonalities in a tm2-common.dtsi file. >

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

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 3, 2017 at 11:58 AM, Andi Shyti wrote: > Hi Krzysztof, > >> > Currently tm2e dts includes tm2 but there are some differences >> > between the two boards and tm2 has some properties that tm2e >> > doesn't have. >> > >> > That's why it's important to keep the two dts files independent >>

Re: [RFC PATCH] sched: Remove set_task_state()

2017-01-03 Thread Mark Rutland
On Fri, Dec 30, 2016 at 10:17:53AM -0800, Davidlohr Bueso wrote: > Secondly for a higher overview, an unlink microbenchmark was used, > which pounds on a single file with open, close,unlink combos with > increasing thread counts (up to 4x ncpus). While the workload is > quite unrealistic, it does c

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-03 Thread Leon Romanovsky
On Tue, Jan 03, 2017 at 10:32:50AM +0800, Kenneth Lee wrote: > On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > > Date: Sun, 1 Jan 2017 08:47:12 +0200 > > From: Leon Romanovsky > > To: Kenneth Lee > > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > >

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Richard Cochran
On Tue, Jan 03, 2017 at 10:36:11AM +0530, Harini Katakam wrote: > I understand that it is not accurate - it is an initial version. No, it is not inaccurate at all, it is WRONG. This means that time stamps will be randomly associated with PTP network packets. To the application, the protocol will

Re: [PATCH 1/2] printk: drop call_console_drivers() unused param

2017-01-03 Thread Petr Mladek
On Sat 2016-12-24 23:09:01, Sergey Senozhatsky wrote: > We do suppress_message_printing() check before we call > call_console_drivers() now, so `level' param is not needed > anymore. > > Signed-off-by: Sergey Senozhatsky > --- > kernel/printk/printk.c | 12 > 1 file changed, 4 inser

Re: [PATCH] mm: introduce kv[mz]alloc helpers

2017-01-03 Thread Vlastimil Babka
On 01/02/2017 02:37 PM, Michal Hocko wrote: From: Michal Hocko Using kmalloc with the vmalloc fallback for larger allocations is a common pattern in the kernel code. Yet we do not have any common helper for that and so users have invented their own helpers. Some of them are really creative when

Re: [PATCH 2/2] mm: add PageWaiters indicating tasks are waiting for a page bit

2017-01-03 Thread Mel Gorman
On Thu, Dec 29, 2016 at 03:26:15PM +1000, Nicholas Piggin wrote: > > And I fixed that too. > > > > Of course, I didn't test the changes (apart from building it). But > > I've been running the previous version since yesterday, so far no > > issues. > > It looks good to me. > FWIW, I blindly queu

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

2017-01-03 Thread Andi Shyti
> >> > Currently tm2e dts includes tm2 but there are some differences > >> > between the two boards and tm2 has some properties that tm2e > >> > doesn't have. > >> > > >> > That's why it's important to keep the two dts files independent > >> > and put all the commonalities in a tm2-common.dtsi file

Re: Potential issues (security and otherwise) with the current cgroup-bpf API

2017-01-03 Thread Michal Hocko
On Tue 20-12-16 10:11:50, Peter Zijlstra wrote: > On Mon, Dec 19, 2016 at 05:56:24PM -0800, Andy Lutomirski wrote: > > >> Huh? My example in the original email attaches a program in a > > >> sub-hierarchy. Are you saying that 4.11 could make that example stop > > >> working? > > > > > > Are you s

[PATCH v2] ARM: dts: imx/vf: Correct license text

2017-01-03 Thread Alexandre Belloni
The license text has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Reviewed-by: Heiko Schocher Acked-by: Marcel Ziswiler Acked-by: Uwe Kleine-König Acked-by: Afzal Mohammed Acked-by: Micha

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Richard Cochran
On Tue, Jan 03, 2017 at 10:36:11AM +0530, Harini Katakam wrote: > I understand that it is not accurate - it is an initial version. Why do you say, "it is an initial version?" The Atmel device has this IP core burned in. The core is hopelessly broken, and it cannot be fixed in SW either, so what

Re: [PATCH] mm: introduce kv[mz]alloc helpers

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 11:23:04, Vlastimil Babka wrote: > On 01/02/2017 02:37 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > Using kmalloc with the vmalloc fallback for larger allocations is a > > common pattern in the kernel code. Yet we do not have any common helper > > for that and so users h

Re: [tip:timers/urgent] ktime: Get rid of the union

2017-01-03 Thread Peter Zijlstra
On Sun, Dec 25, 2016 at 05:26:33AM -0800, tip-bot for Thomas Gleixner wrote: > Commit-ID: 64dac5c9e0f5a933e4520f0cb689b7b143925207 > Gitweb: http://git.kernel.org/tip/64dac5c9e0f5a933e4520f0cb689b7b143925207 > Author: Thomas Gleixner > AuthorDate: Sun, 25 Dec 2016 11:38:40 +0100 > Committ

Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred

2017-01-03 Thread Mel Gorman
On Fri, Dec 30, 2016 at 02:30:32PM -0800, David Rientjes wrote: > On Fri, 30 Dec 2016, Mel Gorman wrote: > > > Michal is correct in that my intent for defer was to have "never stall" > > as the default behaviour. This was because of the number of severe stalls > > users experienced that lead to r

Re: [LKP] [lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression

2017-01-03 Thread Dietmar Eggemann
Hi Vincent and Ying, On 01/02/2017 04:42 PM, Vincent Guittot wrote: Hi Ying, On 28 December 2016 at 09:17, Huang, Ying wrote: Vincent Guittot writes: Le Tuesday 13 Dec 2016 . 09:47:30 (+0800), Huang, Ying a .crit : Hi, Vincent, Vincent Guittot writes: [...] --- kernel/sched/fair.c

Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options

2017-01-03 Thread Jiri Olsa
On Tue, Jan 03, 2017 at 05:51:46PM +0800, Wangnan (F) wrote: > > > On 2017/1/3 16:19, Jiri Olsa wrote: > > hi, > > adding a way to configure switch data output > > for size and time, like: > > > >$ sudo perf record -e 'sched:*' --switch-output=10M -avg > >callchain: type FP > >switch

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-03 Thread Wanpeng Li
2017-01-03 17:27 GMT+08:00 Dmitry Vyukov : > On Mon, Jan 2, 2017 at 7:01 PM, Paolo Bonzini wrote: >> >> >> On 02/01/2017 11:17, Dmitry Vyukov wrote: >>> On Mon, Jan 2, 2017 at 11:09 AM, Paolo Bonzini wrote: On 01/01/2017 04:44, Wanpeng Li wrote: > From: Wanpeng Li > >

Re: [PATCH 0/5] Staging: comedi: Proc FS related cleanup

2017-01-03 Thread Ian Abbott
On 30/12/16 11:24, Cheah Kok Cheong wrote: This series does trivial cleanup for COMEDI proc fs related stuff. Cheah Kok Cheong (5): Staging: comedi: comedi_fops: Avoid orphaned proc entry Staging: comedi: proc: Change file permission to read only Staging: comedi: proc: Add __init prefix

[PATCH v3 2/2] ARM: dts: imx6q: Add mccmon6 board support

2017-01-03 Thread Lukasz Majewski
From: Lukasz Majewski This patch provides support for Liebherr's Monitor 6 board (abverrated as mccmon6) to Linux kernel. Signed-off-by: Lukasz Majewski --- Changes for v3: - Reorganize the dts file according to Shawn Guo's comments Changes for v2: - Reorganize the dts file according to Valdim

[PATCH v3 1/2] Doc: devicetree: bindings: Add vendor prefix entry - lwn

2017-01-03 Thread Lukasz Majewski
This patch adds entry for LWN - the Liebherr-Werk Nenzing GmbH company to vendor-prefixes.txt file. Signed-off-by: Lukasz Majewski --- Changes for v3: - Update to v4.10-rc2 Changes for v2: - New patch --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+

RE: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Rafal Ozieblo
>From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >Sent: 3 stycznia 2017 06:06 >Subject: Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM. > >Hi Richard, > >On Mon, Jan 2, 2017 at 9:43 PM, Richard Cochran >wrote: >> On Mon, Jan 02, 2017 at 03:47:07PM +0100, Nicolas

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Harini Katakam
Hi Richard, On Tue, Jan 3, 2017 at 3:59 PM, Richard Cochran wrote: > On Tue, Jan 03, 2017 at 10:36:11AM +0530, Harini Katakam wrote: >> I understand that it is not accurate - it is an initial version. > > Why do you say, "it is an initial version?" > > The Atmel device has this IP core burned in.

Re: [PATCH] Staging: comedi: comedi_compat32: fixed a syntax error

2017-01-03 Thread Ian Abbott
On 26/12/16 06:26, Jonathan Villatoro wrote: Fixed a syntax error in the function definition's parameter. It's not really a syntax error, just a coding style issue. Signed-off-by: Jonathan Horacio Villatoro Córdoba --- drivers/staging/comedi/comedi_compat32.h | 2 +- 1 file changed, 1 inse

Re: AMD Bulldozer topology regression since 4.6

2017-01-03 Thread Brice Goglin
Le 29/11/2016 22:02, Brice Goglin a écrit : > Le 29/11/2016 20:39, Borislav Petkov a écrit : >> Does that fix it? >> >> Patch is against latest tip/master because we have some more changes in >> that area. > I tested the second patch on top of 4.8.11, it brings core_id back to > where it was befo

  1   2   3   4   5   6   7   8   9   10   >