Re: [PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 5:16 PM, Arnd Bergmann wrote: > The rework of the suspend/resume handling uses the wrong #ifdef check, leading > to a build warning without CONFIG_PM_SLEEP: > > drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: > 'samsung_pinctrl_resume' defined but not used [-Werr

Re: [PATCH 0/2] pinctrl: sunxi: Merge A31s pinctrl driver with A31

2017-02-06 Thread Linus Walleij
On Thu, Feb 2, 2017 at 9:13 AM, Maxime Ripard wrote: > On Thu, Feb 02, 2017 at 12:25:45AM +0800, Chen-Yu Tsai wrote: >> Hi everyone, >> >> This series merges support for the A31s' pin controller into the A31 >> driver, using the new sunxi variants support code. The A31s is a trimmed >> down versio

Re: [PATCH] mfd: stm32-timers: fix driver removal

2017-02-06 Thread Benjamin Gaignard
2017-02-01 17:41 GMT+01:00 Fabrice Gasnier : > Add missing of_platform_depopulate() upon driver removal. > > Signed-off-by: Fabrice Gasnier > --- > drivers/mfd/stm32-timers.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/mfd/stm32-timers.c b/drivers/mfd/stm32-timers.c >

Re: [PATCH] pinctrl: sunxi: Remove stray printk call in sun5i driver's probe function

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 5:02 PM, Chen-Yu Tsai wrote: > There is a stray printk call in the new sun5i pinctrl driver's probe > function. > > Remove it. > > Signed-off-by: Chen-Yu Tsai Patch applied. Yours, Linus Walleij

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Jani Nikula
On Tue, 31 Jan 2017, Noralf Trønnes wrote: > +#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE BACKLIGHT_CLASS_DEVICE is a tristate, you'll want #if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE) and probably either depends on BACKLIGHT_CLASS_DEVICE or depends on BACKLIGHT_CLASS_DEVICE || BAC

[tip:perf/core] kprobes/arm64: Remove a redundant dependency from the Kconfig

2017-02-06 Thread tip-bot for Masami Hiramatsu
Commit-ID: cd1ee3b1e30b4c6c0858e0c0b4ca1b4d86020ada Gitweb: http://git.kernel.org/tip/cd1ee3b1e30b4c6c0858e0c0b4ca1b4d86020ada Author: Masami Hiramatsu AuthorDate: Mon, 6 Feb 2017 18:54:33 +0900 Committer: Ingo Molnar CommitDate: Mon, 6 Feb 2017 11:07:06 +0100 kprobes/arm64: Remove a r

[tip:perf/core] kprobes/x86: Use hlist_for_each_entry() instead of hlist_for_each_entry_safe()

2017-02-06 Thread tip-bot for Masami Hiramatsu
Commit-ID: b6263178b8dbd9fe70d55f136c2a1da39309520e Gitweb: http://git.kernel.org/tip/b6263178b8dbd9fe70d55f136c2a1da39309520e Author: Masami Hiramatsu AuthorDate: Mon, 6 Feb 2017 18:55:43 +0900 Committer: Ingo Molnar CommitDate: Mon, 6 Feb 2017 11:07:07 +0100 kprobes/x86: Use hlist_fo

[tip:WIP.sched/core 118/167] arch/sh/kernel/cpu/sh2a/fpu.c:559:1: note: in expansion of macro 'BUILD_TRAP_HANDLER'

2017-02-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 3cb464183709fc66902b262ce921cb5a410697d1 commit: d8c081caed34b16d17d639fa49889d2b7b22c9b0 [118/167] sched/headers: Remove from config: sh-rsk7203_defconfig (attached as .config) compiler: sh4-linux-gnu-gc

Re: [PATCH v3 1/7] drm: Add DRM support for tiny LCD displays

2017-02-06 Thread Jani Nikula
On Tue, 31 Jan 2017, Noralf Trønnes wrote: > +const struct file_operations tinydrm_fops = { > + .owner = THIS_MODULE, > + .open = drm_open, > + .release= drm_release, > + .unlocked_ioctl = drm_ioctl, > +#ifdef CONFIG_COMPAT > + .compat_ioctl = drm_c

Re: linux-next: build warnings after merge of the crypto tree

2017-02-06 Thread Cyrille Pitchen
Hi all, Le 06/02/2017 à 02:28, Stephen Rothwell a écrit : > Hi Herbert, > > After merging the crypto tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > warning: (CRYPTO_DEV_ATMEL_AUTHENC) selects CRYPTO_DEV_ATMEL_SHA which has > unmet direct dependencies (CRYPTO

Re: [PATCH 3/5] drm: convert drivers to use of_graph_get_remote_node

2017-02-06 Thread Neil Armstrong
On 02/04/2017 04:36 AM, Rob Herring wrote: > Convert drivers to use the new of_graph_get_remote_node() helper > instead of parsing the endpoint node and then getting the remote device > node. Now drivers can just specify the device node and which > port/endpoint and get back the connected remote de

Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include

2017-02-06 Thread Ilya Dryomov
On Sun, Feb 5, 2017 at 8:07 AM, Stafford Horne wrote: > This was causing a build failure for openrisc when using musl and > gcc 5.4.0 since the file is not available in the toolchain. > > It doesnt seem this is needed and removing it does not cause any build > warnings for me. > > Signed-off-by: S

Re: [PATCH 2/5] drm: of: introduce drm_of_find_panel_or_bridge

2017-02-06 Thread Liviu Dudau
On Fri, Feb 03, 2017 at 09:36:32PM -0600, Rob Herring wrote: > Many drivers have a common pattern of searching the OF graph for either an > attached panel or bridge and then finding the DRM struct for the panel > or bridge. Also, most drivers need to handle deferred probing when the > DRM device is

Re: [PATCH] gpio: dwapb: Add support for next generation of X-Gene SoC

2017-02-06 Thread Linus Walleij
On Tue, Jan 31, 2017 at 8:43 PM, Hoan Tran wrote: > Next generation of X-Gene SoC's GPIO hardware register map is very > similar to DW GPIO. It only differs by a few register addresses. > This patch modifies DW GPIO driver to accommodate the difference > in a few register addresses. > > Signed-of

Build regressions/improvements in v4.10-rc7

2017-02-06 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.10-rc7[1] compared to v4.9[2]. Summarized: - build errors: +1/-8 - build warnings: +1261/-891 JFYI, when comparing v4.10-rc7[1] to v4.10-rc6[3], the summaries are: - build errors: +/- - build warnings: +404/-584 Happ

Re: [PATCHSET 0/3] perf diff: Introduce delta-abs compute method

2017-02-06 Thread Jiri Olsa
On Mon, Feb 06, 2017 at 04:20:34PM +0900, Namhyung Kim wrote: SNIP > > git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git > > Thanks, > Namhyung > > > Namhyung Kim (3): > perf diff: Add 'delta-abs' compute method > perf diff: Add diff.order config option > perf diff

[PATCH 3/3] thermal: devfreq: Check OPP for errors

2017-02-06 Thread Viresh Kumar
It is possible for dev_pm_opp_find_freq_exact() to return errors. It was all fine earlier as dev_pm_opp_get_voltage() had a check within it to check for invalid OPPs, but dev_pm_opp_put() doesn't have any similar checks and the callers need to make sure OPP is valid before calling them. Also updat

[PATCH 2/3] thermal: cpu_cooling: Check OPP for errors

2017-02-06 Thread Viresh Kumar
It is possible for dev_pm_opp_find_freq_exact() to return errors. It was all fine earlier as dev_pm_opp_get_voltage() had a check within it to check for invalid OPPs, but dev_pm_opp_put() doesn't have any similar checks and the callers need to make sure OPP is valid before calling them. Also updat

[PATCH 1/3] thermal: devfreq: Simplify expression

2017-02-06 Thread Viresh Kumar
There is no need to check for IS_ERR() as we are looking for a very particular error value here. Drop the first check. Reported-by: Dan Carpenter Signed-off-by: Viresh Kumar --- drivers/thermal/devfreq_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal

Re: [PATCH v3 12/24] add mux and video interface bridge entity functions

2017-02-06 Thread Philipp Zabel
On Sun, 2017-02-05 at 17:36 +0200, Laurent Pinchart wrote: > Hi Steve, > > Thank you for the patch > > On Friday 06 Jan 2017 18:11:30 Steve Longerbeam wrote: > > From: Philipp Zabel > > > > Signed-off-by: Philipp Zabel > > --- > > Documentation/media/uapi/mediactl/media-types.rst | 22 +++

Re: rtlwifi: rtl8192c_common: "BUG: KASAN: slab-out-of-bounds"

2017-02-06 Thread Johannes Berg
On Sat, 2017-02-04 at 12:41 -0600, Larry Finger wrote: > On 02/04/2017 10:58 AM, Dmitry Osipenko wrote: > > Seems the problem is caused by rtl92c_dm_*() casting .priv to > > "struct > > rtl_pci_priv", while it is "struct rtl_usb_priv". > > Those routines are shared by rtl8192ce and rtl8192cu, thus

Re: [PATCH] pinctrl: sunxi: make sun5i explicitly non-modular

2017-02-06 Thread Linus Walleij
On Thu, Feb 2, 2017 at 9:17 PM, Paul Gortmaker wrote: > We had all these corrected in commit 0c8c6ba00cbf ("pinctrl: sunxi: > make bool drivers explicitly non-modular") but this new one recently > crept in. > > The Kconfig currently controlling compilation of this code is: > >drivers/pinctrl/

Re: [PATCH 3/5] drm: convert drivers to use of_graph_get_remote_node

2017-02-06 Thread Liviu Dudau
On Fri, Feb 03, 2017 at 09:36:33PM -0600, Rob Herring wrote: > Convert drivers to use the new of_graph_get_remote_node() helper > instead of parsing the endpoint node and then getting the remote device > node. Now drivers can just specify the device node and which > port/endpoint and get back the c

Re: [PATCH v2 2/2] drm: mali-dp: enable gamma support

2017-02-06 Thread Liviu Dudau
On Wed, Feb 01, 2017 at 02:48:50PM +, Mihail Atanassov wrote: > Add gamma via the DRM GAMMA_LUT/GAMMA_LUT_SIZE CRTC > properties. The expected LUT size is 4096 in order > to produce as accurate a set of segments as possible. > > This version uses only the green channel's gamma curve > to set t

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-06 Thread Ingo Molnar
* Mike Galbraith wrote: > Hi Ingo, > > Doing my ~daily tip merge of -rt, I couldn't help noticing $subject, as > they grow more functionality in -rt, which is allegedly slowly but > surely headed toward merge. I don't suppose they could be left intact? > I can easily restore them in my local

Re: [PATCH 1/5] of: introduce of_graph_get_remote_node

2017-02-06 Thread Philipp Zabel
Hi Rob, thanks for this clean-up series! I was not aware how far the duplication has spread over time. On Fri, 2017-02-03 at 21:36 -0600, Rob Herring wrote: > The OF graph API leaves too much of the graph walking to clients when > in many cases the driver doesn't care about accessing the port or

Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

2017-02-06 Thread Michal Hocko
On Sun 05-02-17 19:43:07, Tetsuo Handa wrote: [...] > Below one is also a loop. Maybe we can add __GFP_NOMEMALLOC to GFP_NOWAIT ? No, GFP_NOWAIT is just too generic to use this flag. > [ 257.781715] Out of memory: Kill process 5171 (a.out) score 842 or > sacrifice child > [ 257.784726] Killed

Re: pciehp is broken from 4.10-rc1

2017-02-06 Thread Mika Westerberg
On Sun, Feb 05, 2017 at 08:34:54AM +0100, Lukas Wunner wrote: > > sca05-0a81fd8d:~ # echo 1 > /sys/bus/pci/slots/11/power > > [ 375.376609] pci_hotplug: power_write_file: power = 1 > > [ 375.382175] pciehp :b3:00.0:pcie004: pciehp_get_power_status: > > SLOTCTRL a8 value read 17f1 > > [ 375.

Re: [PATCH] selftest: cpufreq: Update MAINTAINERS file

2017-02-06 Thread Viresh Kumar
On 20-01-17, 11:10, Viresh Kumar wrote: > Update MAINTAINERS file with cpufreq's selftest directory. > > Signed-off-by: Viresh Kumar > --- > Hi shuah, > > Can you please add this one as well along with the code? Thanks. > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-02-06 Thread Thierry Reding
On Fri, Feb 03, 2017 at 09:54:42AM +0100, Andrzej Hajda wrote: > Hi Thierry, > > Finally something technical :) > > On 02.02.2017 18:58, Thierry Reding wrote: > > On Tue, Jan 31, 2017 at 01:05:20PM +0100, Andrzej Hajda wrote: > >> On 31.01.2017 09:54, Thierry Reding wrote: > >>> On Tue, Jan 31, 2

Re: [PATCH 0/2] drm/panel: Add support for the Sitronix ST7789V

2017-02-06 Thread Maxime Ripard
Hi Noralf, On Fri, Feb 03, 2017 at 07:48:51PM +0100, Noralf Trønnes wrote: > > Den 03.02.2017 10.59, skrev Maxime Ripard: > > Hi, > > > > Here is an attempt at supporting the ST7789V LCD controller from Sitronix. > > What happens if there's another panel driven by ST7789V that needs > a differe

Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

2017-02-06 Thread Michal Hocko
On Sun 05-02-17 19:43:07, Tetsuo Handa wrote: > Michal Hocko wrote: > I got same warning with ext4. Maybe we need to check carefully. > > [ 511.215743] = > [ 511.218003] WARNING: RECLAIM_FS-safe -> RECLAIM_FS-unsafe lock order > detected > [

Re: [PATCH 2/5] drm: of: introduce drm_of_find_panel_or_bridge

2017-02-06 Thread Philipp Zabel
On Fri, 2017-02-03 at 21:36 -0600, Rob Herring wrote: > Many drivers have a common pattern of searching the OF graph for either an > attached panel or bridge and then finding the DRM struct for the panel > or bridge. Also, most drivers need to handle deferred probing when the > DRM device is not ye

Re: [PATCH 4/4] md: fast clone bio in bio_clone_mddev()

2017-02-06 Thread Ming Lei
On Mon, Feb 6, 2017 at 4:54 PM, Christoph Hellwig wrote: > On Sun, Feb 05, 2017 at 02:22:13PM +0800, Ming Lei wrote: >> Firstly bio_clone_mddev() is used in raid normal I/O and isn't >> in resync I/O path. >> >> Secondly all the direct access to bvec table in raid happens on >> resync I/O except f

Re: [REGRESSION] Two issues that prevent process accounting (taskstats) from working correctly

2017-02-06 Thread Martin Steigerwald
Am Montag, 19. Dezember 2016, 18:25:49 CET schrieb Peter Zijlstra: > On Mon, Dec 19, 2016 at 01:06:00PM +0100, Martin Steigerwald wrote: > > 2) When using the NETLINK inface, the command TASKSTATS_CMD_GET > > consequently returns -EINVAL. > > > > The code that is used by the atopacctd daemon is ba

Re: [RFC/PATCH 1/3] security: add the security_task_copy() hook

2017-02-06 Thread Tetsuo Handa
Djalal Harouni wrote: > To achieve the above we add the security_task_copy() hook that allows us > to clone the Timgad context of parent into child task_struct. > > The security hook can also be used by new LSMs after the child task has > done some initialization, this way they won't clash with th

Re: [PATCH] clk: sunxi-ng: Check kzalloc() for errors and cleanup error path

2017-02-06 Thread Maxime Ripard
On Fri, Feb 03, 2017 at 03:00:50PM -0800, Stephen Boyd wrote: > This kzalloc() could fail. Let's bail out with -ENOMEM here > instead of NULL dereferencing. That silences static checkers. We > should also cleanup on the error path even though this function > returning an error probably means the sy

Re: [PATCH 2/2] drm/panel: Add driver for sitronix ST7789V panel

2017-02-06 Thread Maxime Ripard
Hi Noralf, On Fri, Feb 03, 2017 at 07:53:58PM +0100, Noralf Trønnes wrote: > > Den 03.02.2017 10.59, skrev Maxime Ripard: > > Signed-off-by: Maxime Ripard > > --- > > drivers/gpu/drm/panel/Kconfig | 4 +- > > drivers/gpu/drm/panel/Makefile | 1 +- > > dri

Re: [PATCH] clk: sunxi-ng: select SUNXI_CCU_MULT for sun5i

2017-02-06 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 03:33:57PM +0100, Arnd Bergmann wrote: > We get a link error when CCU_MULT is not set with the > newly added driver: > > drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.17+0x4): undefined > reference to `ccu_mult_ops' > drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__

Re: [PATCH 3/5] drm: convert drivers to use of_graph_get_remote_node

2017-02-06 Thread Philipp Zabel
On Fri, 2017-02-03 at 21:36 -0600, Rob Herring wrote: > Convert drivers to use the new of_graph_get_remote_node() helper > instead of parsing the endpoint node and then getting the remote device > node. Now drivers can just specify the device node and which > port/endpoint and get back the connecte

Re: [PATCH 4/5] drm: convert drivers to use drm_of_find_panel_or_bridge

2017-02-06 Thread Philipp Zabel
On Fri, 2017-02-03 at 21:36 -0600, Rob Herring wrote: > Similar to the previous commit, convert drivers open coding OF graph > parsing to use drm_of_find_panel_or_bridge instead. > > This changes some error messages to debug messages (in the graph core). > Graph connections are often "no connects"

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Thierry Reding
On Mon, Feb 06, 2017 at 11:07:42AM +0100, Daniel Vetter wrote: > On Mon, Feb 6, 2017 at 10:35 AM, Thierry Reding > wrote: > > > > > > +EXPORT_SYMBOL(tinydrm_disable_backlight); > > > > > +#endif > > > > > > > > These look like they really should be part of the backlight subsystem. > > I > > > > d

Re: [PATCH] tty/serial: atmel: ensure state is restored after suspending

2017-02-06 Thread Richard Genoud
Hi Alexandre, On 03/02/2017 23:53, Alexandre Belloni wrote: > When going to suspend, the UART registers may be lost because the power to > VDDcore is cut. This is not an issue in the normal case but when > no_console_suspend is used, we need to restore the registers in order to > get a functional

Re: [RFC PATCH] Memory hotplug support for arm64 platform

2017-02-06 Thread Andrea Reale
Hi Scott, Hi all, in reply to the issues that Scott reported last month, myself and Maciej investigated further by running quite a number of experiments on the physical and virtual environments we have avaialable. We collected all the results and relevant logs in a Web page at https://hotplug-tes

Re: [PATCH 6/8] Documentation: dt: Add new compatible to STM32 pinctrl driver bindings

2017-02-06 Thread Alexandre Torgue
On 02/06/2017 09:46 AM, Linus Walleij wrote: On Wed, Feb 1, 2017 at 4:58 PM, Alexandre Torgue wrote: On 02/01/2017 04:06 PM, Rob Herring wrote: On Fri, Jan 27, 2017 at 05:15:19PM +0100, Alexandre TORGUE wrote: Add new compatible for stm32f469 MCU. Signed-off-by: Alexandre TORGUE diff -

[GIT PULL 0/7] EFI updates for v4.11 part 2

2017-02-06 Thread Ard Biesheuvel
These are patches that were still being discussed when I sent the first pull request last week, but we feel they are now in shape to be merged. Please pull. The following changes since commit a21a300289bb5a582cc96be23446fa35236a6a9a: efi: libstub: Preserve .debug sections after absolute reloca

[PATCH 3/7] efi: Add SHIM and image security database GUID definitions

2017-02-06 Thread Ard Biesheuvel
From: David Howells Add the definitions for shim and image security database, both of which are used widely in various Linux distros. Signed-off-by: Josh Boyer Signed-off-by: David Howells Cc: Matt Fleming Signed-off-by: Ard Biesheuvel --- include/linux/efi.h | 3 +++ 1 file changed, 3 inse

[PATCH 5/7] efi: Disable secure boot if shim is in insecure mode

2017-02-06 Thread Ard Biesheuvel
From: Josh Boyer A user can manually tell the shim boot loader to disable validation of images it loads. When a user does this, it creates a UEFI variable called MokSBState that does not have the runtime attribute set. Given that the user explicitly disabled validation, we can honor that and no

[PATCH 1/7] x86/efi: Allow invocation of arbitrary runtime services

2017-02-06 Thread Ard Biesheuvel
From: David Howells Provide the ability to perform mixed-mode runtime service calls for x86 in the same way that commit 0a637ee61247bd4bed9b2a07568ef7a1cfc76187 ("x86/efi: Allow invocation of arbitrary boot services") provides the ability to invoke arbitrary boot services. Suggested-by: Lukas Wu

[PATCH 6/7] efi: Print the secure boot status in x86 setup_arch()

2017-02-06 Thread Ard Biesheuvel
From: David Howells Print the secure boot status in the x86 setup_arch() but otherwise do nothing more for now. More functionality will be added later, but this at least allows for testing. Signed-off-by: David Howells Cc: Matt Fleming [ardb: use efi_enabled() instead of IS_ENABLED(CONFIG_EFI)

[PATCH 4/7] efi: Get the secure boot status

2017-02-06 Thread Ard Biesheuvel
From: David Howells Get the firmware's secure-boot status in the kernel boot wrapper and stash it somewhere that the main kernel image can find. The efi_get_secureboot() function is extracted from the arm stub and (a) generalised so that it can be called from x86 and (b) made to use efi_call_run

[PATCH 7/7] efi: libstub: Make file I/O chunking x86-specific

2017-02-06 Thread Ard Biesheuvel
The ARM decompressor is finicky when it comes to uninitialized variables with local linkage, the reason being that it may relocate .text and .bss independently when executing from ROM. This is only possible if all references into .bss from .text are absolute, and this happens to be the case for ref

[PATCH 2/7] arm/efi: Allow invocation of arbitrary runtime services

2017-02-06 Thread Ard Biesheuvel
From: David Howells efi_call_runtime() is provided for x86 to be able abstract mixed mode support. Provide this for ARM also so that common code work in mixed mode also. Suggested-by: Lukas Wunner Cc: Matt Fleming Signed-off-by: David Howells Signed-off-by: Ard Biesheuvel --- arch/arm/incl

Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-02-06 Thread Jani Nikula
On Tue, 31 Jan 2017, Noralf Trønnes wrote: > +static bool mipi_dbi_command_is_read(struct mipi_dbi *mipi, u8 cmd) Okay this is one giant bikeshedding nitpick, but here goes anyway. Why do you call MIPI DBI just "mipi", here and all around? Why not "mipi_dbi" or "dbi"? We never talk about "vesa" d

Re: [PATCH 0/2] drm/panel: Add support for the Sitronix ST7789V

2017-02-06 Thread Noralf Trønnes
Den 06.02.2017 11.39, skrev Maxime Ripard: Hi Noralf, On Fri, Feb 03, 2017 at 07:48:51PM +0100, Noralf Trønnes wrote: Den 03.02.2017 10.59, skrev Maxime Ripard: Hi, Here is an attempt at supporting the ST7789V LCD controller from Sitronix. What happens if there's another panel driven by ST7

Re: [PATCH v2] usb: misc: add USB251xB/xBi Hi-Speed Hub Controller Driver

2017-02-06 Thread Richard Leitner
On 02/05/2017 08:42 AM, Greg KH wrote: > On Fri, Feb 03, 2017 at 11:55:24AM +0100, Richard Leitner wrote: >> +/** >> + * ascii2utf16le() - Helper routine for producing UTF-16LE string >> descriptors >> + * @s: Null-terminated ASCII (actually ISO-8859-1) string >> + * @buf: Buffer for UTF-16LE stri

Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-02-06 Thread Jani Nikula
On Mon, 06 Feb 2017, Thierry Reding wrote: > On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Trønnes wrote: >> Add support for MIPI DBI compatible controllers. >> Interface type C option 1 and 3 are supported (SPI). >> >> Signed-off-by: Noralf Trønnes >> --- >> Documentation/gpu/tinydrm.rst

Re: [PATCH 1/2 v3] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-02-06 Thread vinayak menon
On Fri, Feb 3, 2017 at 8:29 PM, Michal Hocko wrote: > On Fri 03-02-17 10:56:42, vinayak menon wrote: >> On Thu, Feb 2, 2017 at 9:31 PM, Michal Hocko wrote: >> > >> > Why would you like to chose and kill a task when the slab reclaim can >> > still make sufficient progres? Are you sure that the sla

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Dave Stevenson
Hi Hans. On 06/02/17 09:08, Hans Verkuil wrote: Hi Eric, Great to see this driver appearing for upstream merging! See below for my review comments, focusing mostly on V4L2 specifics. On 01/27/2017 10:54 PM, Eric Anholt wrote: - Supports raw YUV capture, preview, JPEG and H264. - Uses videobu

Re: [PATCH RESEND v7 2/2] Add support for OV5647 sensor.

2017-02-06 Thread Ramiro Oliveira
Hi Sakari, Thank you for your feedback. On 2/3/2017 8:17 PM, Sakari Ailus wrote: > Hi Ramiro, > > Thanks for the update! > > Please see some comments below... some streaming and hardware control > related matters I missed earlier. > > On Fri, Feb 03, 2017 at 06:18:33PM +, Ramiro Oliveira w

[PATCH] cpumask: add cpumask_any_and_but()

2017-02-06 Thread Mark Rutland
In some cases, it's useful to be able to select a random cpu from the intersection of two masks, excluding a particular CPU. For example, in some systems an uncore PMU is shared by a subset of CPUs, and management of this PMU is assigned to some arbitrary CPU in this set. Whenever the management C

Re: regression for m68k/coldfire

2017-02-06 Thread Greg Ungerer
Hi Laurent, On 04/02/17 19:49, Laurent Vivier wrote: Le 04/02/2017 à 03:03, Greg Ungerer a écrit : Hi Laurent, On 04/02/17 01:22, Laurent Vivier wrote: Le 03/02/2017 à 16:17, Waldemar Brodkorb a écrit : [snip] Btw: Laurent, are you m68k with mmu support are going to be included upstream? I

Re: [PATCH V2 1/2] netfilter: ctnetlink: Fix regression in CTA_STATUS processing

2017-02-06 Thread Pablo Neira Ayuso
On Thu, Jan 26, 2017 at 02:49:43PM -0800, Kevin Cernekee wrote: > The libnetfilter_conntrack userland library always sets IPS_CONFIRMED > when building a CTA_STATUS attribute. If this toggles the bit from > 0->1, the parser will return an error. On Linux 4.4+ this will cause any > NFQA_EXP attrib

Re: linux-next: manual merge of the arm64 tree with the qcom tree

2017-02-06 Thread Will Deacon
On Mon, Feb 06, 2017 at 10:23:29AM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the arm64 tree got conflicts in: > > arch/arm/kernel/armksyms.c > arch/arm64/kernel/arm64ksyms.c > arch/arm64/kernel/smccc-call.S > include/linux/arm-smccc.h > > between commits: >

Re: [PATCH 0/6] PM / Domains: Implement domain performance states

2017-02-06 Thread Rafael J. Wysocki
On Monday, February 06, 2017 11:05:05 AM Viresh Kumar wrote: > On 16-01-17, 11:00, Viresh Kumar wrote: > > On 03-01-17, 16:36, Viresh Kumar wrote: > > > Hi, > > > > > > An earlier series[1] tried to implement bindings for PM domain > > > performance states. Rob Herring suggested that we can actual

Re: [PATCH V2 2/2] netfilter: ctnetlink: Fix regression in CTA_HELP processing

2017-02-06 Thread Pablo Neira Ayuso
On Thu, Jan 26, 2017 at 02:49:44PM -0800, Kevin Cernekee wrote: > Prior to Linux 4.4, it was usually harmless to send a CTA_HELP attribute > containing the name of the current helper. That is no longer the case: > as of Linux 4.4, if ctnetlink_change_helper() returns an error from > the ct->master

Re: [PATCH -next] drm: mxsfb: fix error return code in mxsfb_load()

2017-02-06 Thread Gustavo Padovan
Hi Wei, 2017-02-05 Wei Yongjun : > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun > --- > drivers/gpu/drm/mxsfb/mxsfb_drv.c | 1 + > 1 file changed, 1 insertion(+) > >

Re: [PATCH] drm/vc4: simplify exit path of a failed allocation of dsi_connector

2017-02-06 Thread Gustavo Padovan
Hi Colin, 2017-02-03 Colin King : > From: Colin Ian King > > If dsi_connector fails to allocate, the exit path via label 'fail' > checks if connector is null, which it always is, so the cleanup > that destroys connector is never going to be called. Hence the > failure path can be more optimall

Re: pciehp is broken from 4.10-rc1

2017-02-06 Thread Rafael J. Wysocki
On Monday, February 06, 2017 12:37:06 PM Mika Westerberg wrote: > On Sun, Feb 05, 2017 at 08:34:54AM +0100, Lukas Wunner wrote: > > > sca05-0a81fd8d:~ # echo 1 > /sys/bus/pci/slots/11/power > > > [ 375.376609] pci_hotplug: power_write_file: power = 1 > > > [ 375.382175] pciehp :b3:00.0:pcie00

Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-02-06 Thread Thierry Reding
On Mon, Feb 06, 2017 at 01:30:09PM +0200, Jani Nikula wrote: > On Mon, 06 Feb 2017, Thierry Reding wrote: > > On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Trønnes wrote: > >> Add support for MIPI DBI compatible controllers. > >> Interface type C option 1 and 3 are supported (SPI). > >> > >> S

Re: [PATCH v2] usb: misc: add USB251xB/xBi Hi-Speed Hub Controller Driver

2017-02-06 Thread Greg KH
On Mon, Feb 06, 2017 at 12:19:40PM +0100, Richard Leitner wrote: > On 02/05/2017 08:42 AM, Greg KH wrote: > > On Fri, Feb 03, 2017 at 11:55:24AM +0100, Richard Leitner wrote: > >> +/** > >> + * ascii2utf16le() - Helper routine for producing UTF-16LE string > >> descriptors > >> + * @s: Null-termin

Fractional divider on the Atmel USART controller

2017-02-06 Thread Romain Izard
Hello, On Atmel SAMA5D2, when trying to configure a serial port for 3 Mbauds operation, I do not always get the requested baud rate. If the hardware flow control is disabled by software, the line works correctly. But if I set the crtscts option, the line does not work, and after checking the line

[tip:WIP.sched/core 166/167] include/sound/control.h:107:2: error: unknown type name 'wait_queue_head_t'

2017-02-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 3cb464183709fc66902b262ce921cb5a410697d1 commit: 437af2a38b67158b963a3009f5f79ff9303f45f0 [166/167] hrtimer: Remove the include from config: sparc64-allmodconfig (attached as .config) compiler: sparc64-li

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-06 Thread Rafael J. Wysocki
On Monday, February 06, 2017 06:54:37 AM Lukas Wunner wrote: > Since commit 68db9bc81436 ("PCI: pciehp: Add runtime PM support for PCIe > hotplug ports") we runtime suspend a hotplug port to D3hot when all its > children are runtime suspended or none are present. > > When runtime suspending the po

Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox

2017-02-06 Thread Jani Nikula
On Mon, 06 Feb 2017, changbin...@intel.com wrote: > From: Changbin Du > > Prompt user how to quickly jump to the item he/she is interested in. :o All these years. I... I didn't know. Thanks! > Signed-off-by: Changbin Du > --- > scripts/kconfig/mconf.c | 8 > 1 file changed, 4 inserti

Re: [PATCH 5/6] dmaengine: Add Broadcom SBA RAID driver

2017-02-06 Thread Anup Patel
On Sun, Feb 5, 2017 at 11:36 AM, Vinod Koul wrote: > On Thu, Feb 02, 2017 at 10:17:15AM +0530, Anup Patel wrote: >> +config BCM_SBA_RAID >> +tristate "Broadcom SBA RAID engine support" >> +depends on (ARM64 && MAILBOX && RAID6_PQ) || COMPILE_TEST >> +select DMA_ENGINE >> +

Re: [PATCH] drm/panel: simple: ensure Sharp lq123p1jx31 isn't turned off too soon

2017-02-06 Thread Thierry Reding
On Thu, Feb 02, 2017 at 03:38:53PM -0800, Douglas Anderson wrote: > The Sharp lq123p1jx31 has a requirement that the VDD is on for at > least 300 ms before being turned off. At the moment nothing anywhere > in the kernel is ensuring this. Looks to me like .delay.prepare would be a better fit. Tha

Re: [PATCH 2/3] thermal: cpu_cooling: Check OPP for errors

2017-02-06 Thread Rafael J. Wysocki
On Monday, February 06, 2017 03:56:28 PM Viresh Kumar wrote: > It is possible for dev_pm_opp_find_freq_exact() to return errors. It was > all fine earlier as dev_pm_opp_get_voltage() had a check within it to > check for invalid OPPs, but dev_pm_opp_put() doesn't have any similar > checks and the ca

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-06 Thread Mark Brown
On Sun, Feb 05, 2017 at 08:30:33PM -0800, Dmitry Torokhov wrote: > On Sun, Feb 05, 2017 at 05:07:37PM +0100, Mark Brown wrote: > > The tlv320aic32x4 driver isn't a particularly well written driver in > > this regard in the first place - I don't recall the details but I > > strongly suspect that th

Re: [PATCH v3 01/14] mm: thp: make __split_huge_pmd_locked visible.

2017-02-06 Thread Zi Yan
On 6 Feb 2017, at 0:12, Naoya Horiguchi wrote: > On Sun, Feb 05, 2017 at 11:12:39AM -0500, Zi Yan wrote: >> From: Zi Yan >> >> It allows splitting huge pmd while you are holding the pmd lock. >> It is prepared for future zap_pmd_range() use. >> >> Signed-off-by: Zi Yan >> --- >> include/linux/h

[PATCH v2 3/7] gpio: mockup: implement naming the lines

2017-02-06 Thread Bartosz Golaszewski
In order to allow testing line lookup by name from user space, add a new boolean parameter that indicates whether we want the lines to be named. The name is created by concatenating the chip name and the line offset value. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 35 ++

[PATCH v2 7/7] gpio: mockup: implement event injecting over debugfs

2017-02-06 Thread Bartosz Golaszewski
Create a debugfs directory for every mockup chip and a single file for every line. Writing (0 or 1) to these files allows the user to inject line events (falling or rising edge respectively). Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 115

[PATCH v2 5/7] gpio: mockup: add a dummy irqchip

2017-02-06 Thread Bartosz Golaszewski
Setup a dummy irqchip that will allow us to inject line events for testing purposes. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-mockup.c | 65 ++ 2 files changed, 66 insertions(+) diff --git a/drivers/g

[PATCH v2 0/7] gpio: mockup: extensions for testing purposes

2017-02-06 Thread Bartosz Golaszewski
I would like to create an automated test-suite for libgpiod, but the gpio-mockup driver is quite limited when it comes to current user space functionality - I can't test neither line event notifications nor finding GPIO lines by name. This series proposes to extend the gpio framework by allowing t

[PATCH v2 6/7] gpiolib: include from gpiolib.h

2017-02-06 Thread Bartosz Golaszewski
We want pull gpiolib.h in from the gpio mockup driver, but gpiod_flags is defined in consumer.h, so we need that too indirectly. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpiolib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index

[PATCH v2 4/7] irqdesc: add memory managed version of irq_alloc_descs()

2017-02-06 Thread Bartosz Golaszewski
Add a devres flavor of __devm_irq_alloc_descs() and corresponding helper macros. Signed-off-by: Bartosz Golaszewski --- include/linux/irq.h | 19 +++ kernel/irq/devres.c | 38 ++ 2 files changed, 57 insertions(+) diff --git a/include/linux/irq

[PATCH v2 2/7] gpio: mockup: code shrink

2017-02-06 Thread Bartosz Golaszewski
Moving a couple of lines around allows us to shrink the code a bit while keeping the same functionality. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 29 - 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/drivers/gpio/gpio-mockup.c

[PATCH v2 1/7] gpio: mockup: readability tweaks

2017-02-06 Thread Bartosz Golaszewski
The following patch tries to improve the readability of the mockup driver. The driver is called gpio-mockup, so add the same prefix to all functions and structures. Add some newlines and use a temporary pointer in gpio_mockup_add(). Drop the name of the direction enum and rename the enum values

Re: [PATCH v2 0/7] gpio: mockup: extensions for testing purposes

2017-02-06 Thread Bartosz Golaszewski
2017-02-06 13:10 GMT+01:00 Bartosz Golaszewski : > I would like to create an automated test-suite for libgpiod, but > the gpio-mockup driver is quite limited when it comes to current > user space functionality - I can't test neither line event > notifications nor finding GPIO lines by name. > > Thi

Re: [PATCH 2/2] drm/panel: Add driver for sitronix ST7789V panel

2017-02-06 Thread Noralf Trønnes
Den 06.02.2017 11.50, skrev Maxime Ripard: Hi Noralf, On Fri, Feb 03, 2017 at 07:53:58PM +0100, Noralf Trønnes wrote: Den 03.02.2017 10.59, skrev Maxime Ripard: Signed-off-by: Maxime Ripard --- drivers/gpu/drm/panel/Kconfig | 4 +- drivers/gpu/drm/panel/Makefile

[RFC PATCH] perf/stat: Add --disable-hwdt

2017-02-06 Thread Borislav Petkov
Hi guys, so I've been tracing recently on an AMD F15h which has those funky counter constraints and am seeing this: # ./perf stat sleep 1 Performance counter stats for 'sleep 1': 0.749208 task-clock (msec) #0.001 CPUs utilized 1 conte

[PATCH v2 09/10] soc: mediatek: add MT6797 scysys support

2017-02-06 Thread Mars Cheng
This adds scysys support for MT6797 Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c| 114 ++ include/dt-bindings/power/mt6797-power.h | 30 2 files changed, 144 insertions(+) create mode 100644 include

[PATCH v2 00/10] Add Basic SoC support for MT6797

2017-02-06 Thread Mars Cheng
This patch set adds basic SoC support for mediatek's first 10-core chip, X20, also known as MT6797. - based on 4.10-rc2 - support multiple base address for sysirq - support common clk Changes since v1: - add multiple base addresses support, v1 only allow 2 bases - clean up clk driver Kevin-CW C

[PATCH v2 06/10] clk: mediatek: add clk support for MT6797

2017-02-06 Thread Mars Cheng
From: Kevin-CW Chen Add MT6797 clock support, include topckgen, apmixedsys, infracfg and subsystem clocks Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng --- drivers/clk/mediatek/Kconfig | 33 ++ drivers/clk/mediatek/Makefile |5 + drivers/clk/mediatek/clk-mt67

Re: [PATCH] iommu: mtk: remove bogus 'select' statements

2017-02-06 Thread Joerg Roedel
On Thu, Feb 02, 2017 at 03:29:03PM +0100, Arnd Bergmann wrote: > The mediatek IOMMU driver enables some drivers that it does not directly > rely on, and that causes a warning for build testing: > > warning: (MTK_IOMMU_V1) selects COMMON_CLK_MT2701_VDECSYS which has unmet > direct dependencies (CO

[PATCH v2 08/10] soc: mediatek: add MT6797 power dt-bindings

2017-02-06 Thread Mars Cheng
This adds power dt-bindings for MT6797 Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- .../devicetree/bindings/soc/mediatek/scpsys.txt|6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documenta

[PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-06 Thread Mars Cheng
Originally driver only supports one base. However, MT6797 has more than one bases to configure interrupt polarity. To support possible design change, here comes a solution to use arbitrary number of bases. Signed-off-by: Mars Cheng --- drivers/irqchip/irq-mtk-sysirq.c | 71

[PATCH v2 05/10] dt-bindings: arm: mediatek: document clk bindings for MT6797

2017-02-06 Thread Mars Cheng
From: Kevin-CW Chen This patch adds the binding documentation for apmixedsys, imgsys, infracfg, mmsys, topckgen, vdecsys and vencsys for MT6797. Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt |1 + .../bindings/arm/mediatek/me

Re: [PATCHv7 4/8] printk: always use deferred printk when flush printk_safe lines

2017-02-06 Thread Petr Mladek
On Mon 2017-02-06 11:08:20, Sergey Senozhatsky wrote: > On (02/06/17 10:48), Sergey Senozhatsky wrote: > [..] > > from many places: > > > > 4x printk_safe_flush_buffer() > > 1x __printk_safe_flush() > > > > > > replacing printk_safe_flush_line() with printk_deferred() produces things > >

[PATCH v2 07/10] soc: mediatek: refine scysys for mediatek platforms

2017-02-06 Thread Mars Cheng
This adds 2 refinements: avoid fixed spm power statue and add vdec item Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c | 35 +-- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/drivers/soc/mediatek/mt

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