Re: [PATCH v5 03/11] gpio-exar/8250-exar: Fix passing in of parent PCI device

2017-06-09 Thread Jan Kiszka
On 2017-06-09 09:21, Linus Walleij wrote: > On Fri, Jun 2, 2017 at 9:28 AM, Jan Kiszka wrote: > >> This fixes reloading of the GPIO driver for the same platform device >> instance as created by the exar UART driver: First of all, the driver >> sets drvdata to its own value during probing and does

Re: [PATCH] s390/crash: Fix KEXEC_NOTE_BYTES definition

2017-06-09 Thread Dave Young
On 06/09/17 at 10:29am, Dave Young wrote: > On 06/09/17 at 10:17am, Xunlei Pang wrote: > > S390 KEXEC_NOTE_BYTES is not used by note_buf_t as before, which > > is now defined as follows: > > typedef u32 note_buf_t[CRASH_CORE_NOTE_BYTES/4]; > > It was changed by the CONFIG_CRASH_CORE feature. >

Re: [PATCH 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-06-09 Thread Krzysztof Kozlowski
On Fri, Jun 09, 2017 at 01:59:14PM +0900, Hoegeun Kwon wrote: > The display-timing and delay are included in the panel driver. So it > should be removed in dts. > > Signed-off-by: Hoegeun Kwon > --- > arch/arm/boot/dts/exynos3250-rinato.dts | 22 -- > 1 file changed, 22 delet

Re: [PATCH] gpio: mvebu: change compatible string for PWM support

2017-06-09 Thread Richard Genoud
2017-06-09 9:42 GMT+02:00 Linus Walleij : > On Thu, Jun 1, 2017 at 10:08 PM, Ralph Sennhauser > wrote: > >> As it turns out more than just Armada 370 and XP support using GPIO >> lines as PWM lines. For example the Armada 38x family has the same >> hardware support. As such "marvell,armada-370-xp-

Re: [PATCH v11 04/12] sun4i-codec: Add Mic1 Capture Volume, Mic2 Capture Volume.

2017-06-09 Thread Chen-Yu Tsai
On Fri, Jun 9, 2017 at 2:22 PM, Danny Milosavljevic wrote: > Signed-off-by: Danny Milosavljevic > --- > sound/soc/sunxi/sun4i-codec.c | 41 + > 1 file changed, 41 insertions(+) > > diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c

Re: [PATCH 05/12] sun4i-codec: Move struct sun4i_codec_quirks further up.

2017-06-09 Thread Chen-Yu Tsai
On Fri, Jun 9, 2017 at 2:22 PM, Danny Milosavljevic wrote: Why? > Signed-off-by: Danny Milosavljevic > --- > sound/soc/sunxi/sun4i-codec.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec

Re: [PATCH v11 06/12] sun4i-codec: Add support for extra controls to struct sun4i_codec_quirks and use them.

2017-06-09 Thread Chen-Yu Tsai
On Fri, Jun 9, 2017 at 2:22 PM, Danny Milosavljevic wrote: Again, why? > Signed-off-by: Danny Milosavljevic > --- > sound/soc/sunxi/sun4i-codec.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c > index f56a59

Re: [PATCH 2/2] video: adp8870: move header file out of I2C realm

2017-06-09 Thread Lee Jones
On Fri, 09 Jun 2017, Lee Jones wrote: > On Mon, 22 May 2017, Wolfram Sang wrote: > > > include/linux/i2c is not for client devices. Move the header file to a > > more appropriate location. > > > > Signed-off-by: Wolfram Sang > > --- > > arch/blackfin/mach-bf537/boards/stamp.c| 2 +- > >

Re: [PATCH 1/2] video: adp8860: move header file out of I2C realm

2017-06-09 Thread Lee Jones
On Fri, 09 Jun 2017, Lee Jones wrote: > On Mon, 22 May 2017, Wolfram Sang wrote: > > > include/linux/i2c is not for client devices. Move the header file to a > > more appropriate location. > > > > Signed-off-by: Wolfram Sang > > --- > > arch/blackfin/mach-bf537/boards/stamp.c| 2 +- > >

Some filesystems set MNT_* flags in superblock->s_flags

2017-06-09 Thread David Howells
Al Viro wrote: > * what the hell is ms_flags thing doing in __vfs_new_sb_config()? > It's a really vile mix of unrelated flags and operations we had in existing > mount(2) ABI. With MS_KERNMOUNT thrown into that loo^Wmix. Sure, we need > to parse the garbage fed to mount(2). And we need

Re: [PATCH v11 07/12] sun4i-codec: Add extra controls to sun4i_codec_quirks, sun7i_codec_quirks.

2017-06-09 Thread Chen-Yu Tsai
On Fri, Jun 9, 2017 at 2:22 PM, Danny Milosavljevic wrote: > Signed-off-by: Danny Milosavljevic > --- > sound/soc/sunxi/sun4i-codec.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c > index b1da14d1..d453af65 100644 > ---

Re: [PATCH v2 01/11] pinctrl: dt-bindings: add documentation for AP806 pin controllers

2017-06-09 Thread Linus Walleij
On Fri, Jun 2, 2017 at 4:23 PM, Gregory CLEMENT wrote: > Document the device tree binding for the pin controllers found on the > Armada 7K and Armada 8K SoCs. > > Acked-by: Rob Herring > Signed-off-by: Gregory CLEMENT This patch does not apply to any of my branches, I have no clue what tree yo

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-06-09 Thread jmondi
Hi Dong, On Fri, Jun 09, 2017 at 03:26:57PM +0800, Dong Aisheng wrote: > Hi Linus & j, > > >> > >> I just want to know if "output-enable" is the right name? > >> "output-buffer-enable"? > > > > Great! Thanks! > > > > On naming: if we need "output-buffer-enable" should we add > > "input-buffer-enab

Re: [PATCH 0/3] omap_hsmmc: use mmc_regulator_get_supply() to get regulators

2017-06-09 Thread Kishon Vijay Abraham I
Hi Uffe, On Thursday 08 June 2017 12:45 PM, Ulf Hansson wrote: > On 7 June 2017 at 10:36, Kishon Vijay Abraham I wrote: >> This series deprecates "vmmc_aux" supply property and uses the generic >> "vqmmc" property. >> >> Not sure how exactly to handle omap3-overo-base.dtsi which already has >> bo

Re: [RFC PATCH] sched: select_idle_core should select least utilized core

2017-06-09 Thread Peter Zijlstra
On Thu, Jun 08, 2017 at 03:06:39PM -0700, subhra mazumdar wrote: > > > On 06/08/2017 12:59 PM, Peter Zijlstra wrote: > > On Thu, Jun 08, 2017 at 03:26:32PM -0400, Subhra Mazumdar wrote: > > > Current select_idle_core tries to find a fully idle core and if it fails > > > select_idle_cpu next retur

Re: [PATCH] of: Introduce of_node_get_match_data() helper

2017-06-09 Thread Geert Uytterhoeven
Hi Vladimir, On Fri, Jun 9, 2017 at 9:30 AM, Vladimir Zapolskiy wrote: > On 04/25/2017 08:40 PM, Geert Uytterhoeven wrote: >> If CONFIG_OF=n, code using >> >> info = of_match_node(matchs, np)->data; >> >> fails to compile: >> >> warning: dereferencing ‘void *’ pointer >> error: reques

Re: Linux 4.11 - broken enlightenment window manager (fixed in 4.12)

2017-06-09 Thread Greg Kroah-Hartman
On Fri, Jun 09, 2017 at 09:35:09AM +0200, Ralph Sennhauser wrote: > Hi Greg, > > With 4.11 the enlightenment window mangers fails to start setuid > children due to commit 64b875f7ac8a ("ptrace: Capture the ptracer's > creds not PT_PTRACE_CAP"). > > Commit c70d9d809fde ("ptrace: Properly initializ

Re: [PATCH v10 1/6] i2c: designware: Cleaning and comment style fixes.

2017-06-09 Thread Luis Oliveira
On 09-Jun-17 6:12, Peter Rosin wrote: > On 2017-06-08 19:36, Luis Oliveira wrote: >> complicated to review. The work here won't bring any additional work to >> backported fixes because is just style and reordering. > > I challenge that. If there is an old bug that existed before this patch > that

Re: [PATCH v5 10/23] mtd: nand: denali: rework interrupt handling

2017-06-09 Thread Boris Brezillon
Hi Masahiro, On Fri, 9 Jun 2017 02:26:34 +0900 Masahiro Yamada wrote: > Hi Boris > > 2017-06-09 0:43 GMT+09:00 Boris Brezillon > : > > On Thu, 8 Jun 2017 21:58:00 +0900 > > Masahiro Yamada wrote: > > > >> Hi Boris, > >> > >> 2017-06-08 20:26 GMT+09:00 Boris Brezillon > >> : > >> > On Thu

Re: [PATCH 1/2] DT: pinctrl: Add binding documentation for Spreadtrum pin controller

2017-06-09 Thread Linus Walleij
On Wed, May 31, 2017 at 9:58 AM, Baolin Wang wrote: > On 一, 5月 29, 2017 at 06:18:29下午 +0200, Linus Walleij wrote: >> > +pad driving level, system control select >> >> Actually I do not understand at all what "domain pad driving level" >> or "system control select" means, those are very generic t

Re: [PATCH] Staging: comedi: ni_labpc_regs: fixed a block comment alignment issue

2017-06-09 Thread Ian Abbott
On 2017-06-07 19:31, Amisha Singh wrote: Fixed a coding style issue. Signed-off-by: Amisha Singh --- drivers/staging/comedi/drivers/ni_labpc_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_labpc_regs.h b/drivers/staging/comedi/drive

[PATCH] sched/fair: fix typo in printk message

2017-06-09 Thread Marcin Nowakowski
'schedstats' kernel parameter should be set to enable/disable, so correct the printk hint saying that it should be set to 'enable' rather than 'enabled' to enable scheduler tracepoints. Signed-off-by: Marcin Nowakowski --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

RE: [PATCH 6/6] tty: serial: lpuart: add a more accurate baud rate calculation method

2017-06-09 Thread A.S. Dong
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Saturday, June 03, 2017 1:11 AM > To: A.S. Dong > Cc: linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm > Mailing List; Greg Kroah-Hartman; Jiri Slaby; Andy Duan; Stefan Agn

Re: Some filesystems set MNT_* flags in superblock->s_flags

2017-06-09 Thread Miklos Szeredi
On Fri, Jun 9, 2017 at 9:48 AM, David Howells wrote: > Al Viro wrote: > >> * what the hell is ms_flags thing doing in __vfs_new_sb_config()? >> It's a really vile mix of unrelated flags and operations we had in existing >> mount(2) ABI. With MS_KERNMOUNT thrown into that loo^Wmix. Sure, w

[PATCH v1 2/2] ARM: dts: rk322x: add spdif node

2017-06-09 Thread Sugar Zhang
This patch add spdif node for rk322x. Signed-off-by: Sugar Zhang --- arch/arm/boot/dts/rk322x.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 48a0c1c..56f0842 100644 --- a/arch/arm/boot/dts/rk322

[PATCH v1 0/2] Patches to add support spdif for rk322x

2017-06-09 Thread Sugar Zhang
These patches to add support spdif for rk322x socs. Sugar Zhang (2): ASoC: rockchip: add bindings for spdif controller ARM: dts: rk322x: add spdif node .../devicetree/bindings/sound/rockchip-spdif.txt | 2 ++ arch/arm/boot/dts/rk322x.dtsi| 20 +++

Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection

2017-06-09 Thread Ralph Sennhauser
On Fri, 9 Jun 2017 09:37:55 +0200 Linus Walleij wrote: > On Thu, Jun 1, 2017 at 2:18 PM, Richard Genoud > wrote: > > > The blink counter A was always selected because 0 was forced in the > > blink select counter register. > > The variable 'set' was obviously there to be used as the register > >

Re: [PATCH] pinctrl: stm32: remove useless check

2017-06-09 Thread Linus Walleij
On Wed, May 31, 2017 at 11:10 AM, Alexandre TORGUE wrote: > There is no link between the number of elements of tab which contains all > pin desc (located in each pinctrl-stm32.c files) and the pin number > (defined in the tab). > > Signed-off-by: Alexandre TORGUE Patch applied. Yours, Linu

Re: [PATCH v2 2/4] perf/x86: Fix data source decoding for Skylake

2017-06-09 Thread Madhavan Srinivasan
On Thursday 08 June 2017 01:45 PM, Peter Zijlstra wrote: On Wed, Jun 07, 2017 at 04:22:24PM -0700, Andi Kleen wrote: diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index b1c0b187acfe..95daade294d7 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/

Re: [PATCH v2 0/8] omap*: Fixes/Cleanups for MMC devicetree node

2017-06-09 Thread Kishon Vijay Abraham I
Hi, On Thursday 08 June 2017 12:50 PM, Ulf Hansson wrote: > On 7 June 2017 at 11:37, Kishon Vijay Abraham I wrote: >> There are the set of fixes that were sent initially as part >> of [1]. >> >> These are mostly fixes w.r.t populating regulators in >> mmc dt node. It was working before because th

Re: [PATCH v2 01/11] pinctrl: dt-bindings: add documentation for AP806 pin controllers

2017-06-09 Thread Gregory CLEMENT
Hi Linus, On ven., juin 09 2017, Linus Walleij wrote: > On Fri, Jun 2, 2017 at 4:23 PM, Gregory CLEMENT > wrote: > >> Document the device tree binding for the pin controllers found on the >> Armada 7K and Armada 8K SoCs. >> >> Acked-by: Rob Herring >> Signed-off-by: Gregory CLEMENT > > This

Re: [PATCH] gpio: mockup: use devm_kcalloc() where applicable

2017-06-09 Thread Linus Walleij
On Thu, Jun 1, 2017 at 1:47 PM, Bartosz Golaszewski wrote: > When allocating a zeroed array of objects use devm_kcalloc() instead > of manually calculating the required size and using devm_kzalloc(). > > Signed-off-by: Bartosz Golaszewski This does not apply on the GPIO "devel" branch in my tre

[PATCH v1 1/2] ASoC: rockchip: add bindings for spdif controller

2017-06-09 Thread Sugar Zhang
this patch add compatible for rk3228/rk3328 spdif, Signed-off-by: Sugar Zhang --- Documentation/devicetree/bindings/sound/rockchip-spdif.txt | 2 ++ sound/soc/rockchip/rockchip_spdif.c| 4 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindi

Re: [PATCH 2/3] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-06-09 Thread Matthias Brugger
On 01/06/17 08:08, Erin Lo wrote: From: YT Shen I miss the Singed-off-by from YT Shen. This patch adds the device node of display backlight for MT2701 Signed-off-by: Weiqing Kong Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm

Re: [PATCH] wireless: wlcore: spi: remove unnecessary variable

2017-06-09 Thread Kalle Valo
"Gustavo A. R. Silva" writes: > Remove unnecessary variable and refactor the code. > > Addresses-Coverity-ID: 1365000 > Signed-off-by: Gustavo A. R. Silva I'll remove "wireless:" from the prefix. -- Kalle Valo

Re: [PATCH 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2017-06-09 Thread Matthias Brugger
On 01/06/17 08:08, Erin Lo wrote: From: YT Shen This patch adds the device nodes for the DISP function blocks for MT2701 Signed-off-by: YT Shen Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 84 +++ 1 file changed, 84 insertions(+) di

Re: [PATCH 13/17] RISC-V: Add include subdirectory

2017-06-09 Thread Peter Zijlstra
On Wed, Jun 07, 2017 at 03:17:27PM +0200, Peter Zijlstra wrote: > > +static inline void arch_spin_unlock(arch_spinlock_t *lock) > > +{ > > + __asm__ __volatile__ ( > > + "amoswap.w.rl x0, x0, %0" > > + : "=A" (lock->lock) > > + :: "memory"); > > +} > > + > > +static

Re: [PATCH 2/4] thp: fix MADV_DONTNEED vs. numa balancing race

2017-06-09 Thread Vlastimil Babka
On 05/23/2017 02:42 PM, Vlastimil Babka wrote: > On 05/16/2017 10:29 PM, Andrea Arcangeli wrote: >> On Wed, Apr 12, 2017 at 03:33:35PM +0200, Vlastimil Babka wrote: >>> >>> pmdp_invalidate() does: >>> >>> pmd_t entry = *pmdp; >>> set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresen

Re: [PATCH RFC 1/2] thermal/cpu idle cooling: Introduce cpu idle cooling driver

2017-06-09 Thread Daniel Lezcano
On Tue, Jun 06, 2017 at 09:11:35AM +0530, viresh kumar wrote: > + Daniel > > On 05-06-17, 17:07, Tao Wang wrote: > > cpu idle cooling driver performs synchronized idle injection across > > all cpu in same cluster, offers a new method to cooling down cpu, > > that is similar to intel_power_clamp dr

Re: [PATCH 1/3] arm: dts: mt2701: Add ethernet device node

2017-06-09 Thread Matthias Brugger
On 01/06/17 08:08, Erin Lo wrote: From: Sean Wang Add ethernet device node for MT2701 Signed-off-by: Sean Wang Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot

Re: [PATCH 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2017-06-09 Thread Philipp Zabel
Hi Matthias, On Fri, 2017-06-09 at 10:14 +0200, Matthias Brugger wrote: > > On 01/06/17 08:08, Erin Lo wrote: > > From: YT Shen > > > > This patch adds the device nodes for the DISP function blocks for MT2701 > > > > Signed-off-by: YT Shen > > Signed-off-by: Erin Lo > > --- > > arch/arm/bo

[PATCH v2] efi: fix boot panic because of invalid bgrt image address

2017-06-09 Thread Dave Young
Maniaxx reported a kernel boot failure of below: (emulated the panic by using same invalid phys addr in code) There are also a bug in bugzilla.kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=195633 The reported panic happens after below commit: 7b0a911 efi/x86: Move the EFI BGRT init code

[PATCH] KVM: ARM64: fix phy counter access failure in guest.

2017-06-09 Thread Hu Huajun
When reading the cntpct_el0 in guest with VHE (Virtual Host Extension) enabled in host, the "Unsupported guest sys_reg access" error reported. The reason is cnthctl_el2.EL1PCTEN is not enabled, which is expected to be done in kvm_timer_init_vhe(). The problem is kvm_timer_init_vhe is called by cpu_

Re: [PATCH] ARM: dts: exynos: Add the OF graph between fimd and dsi

2017-06-09 Thread Hoegeun Kwon
On 06/09/2017 04:27 PM, Krzysztof Kozlowski wrote: On Fri, Jun 09, 2017 at 11:59:33AM +0900, Hoegeun Kwon wrote: It should be connected to OF graph between fimd and dsi. Add the OF graph between fimd and dsi. I need more explanation why this is needed. What happens without this? What issue is f

RE: [RFC] usb-phy-generic: Add support to SMSC USB3315

2017-06-09 Thread Peter Chen
> >I have a look at your patches >(http://www.spinics.net/lists/linux-usb/msg157134.html) >and I wonder if power sequence is applicable only on hub node? No, power sequence can be used for any devices which needs to carry out power on before probe. > hub are probed too >late (after ci_ulpi_ini

Re: [PATCH 5/8] lib/interval_tree: Fast overlap detection

2017-06-09 Thread Christian König
Am 08.06.2017 um 20:03 schrieb Davidlohr Bueso: Allow interval trees to quickly check for overlaps to avoid unnecesary tree lookups in interval_tree_iter_first(). As of this patch, all interval tree flavors will require using a 'rb_root_cached' such that we can have the leftmost node easily avai

Re: [PATCH v5 03/11] gpio-exar/8250-exar: Fix passing in of parent PCI device

2017-06-09 Thread Greg Kroah-Hartman
On Fri, Jun 02, 2017 at 09:28:46AM +0200, Jan Kiszka wrote: > This fixes reloading of the GPIO driver for the same platform device > instance as created by the exar UART driver: First of all, the driver > sets drvdata to its own value during probing and does not restore the > original value on exit

Re: [PATCH] platform/x86: wmi: Fix printing info about WDG structure

2017-06-09 Thread Pali Rohár
On Thursday 08 June 2017 08:16:18 Darren Hart wrote: > On Sat, May 27, 2017 at 11:49:22PM +0300, Andy Shevchenko wrote: > > On Sat, May 27, 2017 at 11:48 PM, Pali Rohár wrote: > > > On Saturday 27 May 2017 15:33:14 Andy Shevchenko wrote: > > >> On Sat, May 27, 2017 at 4:17 PM, Pali Rohár > > >> w

Re: [PATCH 3/3] mm: migrate: Stabilise page count when migrating transparent hugepages

2017-06-09 Thread zhong jiang
On 2017/6/8 20:07, Will Deacon wrote: > On Thu, Jun 08, 2017 at 12:52:07PM +0200, Vlastimil Babka wrote: >> On 06/06/2017 07:58 PM, Will Deacon wrote: >>> When migrating a transparent hugepage, migrate_misplaced_transhuge_page >>> guards itself against a concurrent fastgup of the page by checking t

Re: [PATCH v5 01/11] serial: exar: Leave MPIOs as output for Commtech adapters

2017-06-09 Thread Greg Kroah-Hartman
On Fri, Jun 09, 2017 at 09:20:43AM +0200, Linus Walleij wrote: > On Fri, Jun 2, 2017 at 9:28 AM, Jan Kiszka wrote: > > > Commtech adapters apparently need the original setting as outputs, see > > https://marc.info/?l=linux-gpio&m=149557425201323&w=2. Account for that. > > > > Fixes: 7dea8165f1d6

[PATCH v1] thermal: int340x_thermal: Switch to use new generic UUID API

2017-06-09 Thread Andy Shevchenko
There are new types and helpers that are supposed to be used in new code. As a preparation to get rid of legacy types and API functions do the conversion here. The conversion fixes a potential bug in int340x_thermal as well since we have to use memcmp() on binary data. Acked-by: Zhang Rui Signe

[PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y

2017-06-09 Thread Masahiro Yamada
Prior to commit fcc8487d477a ("uapi: export all headers under uapi directories"), genhdr-y was meant to specify generated UAPI headers. - generated-y: generated headers (other than asm-generic wrappers) - header-y : headers to be exported - genhdr-y : generated headers to be exported (generate

Re: [PATCH 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-06-09 Thread Hoegeun Kwon
On 06/09/2017 04:45 PM, Krzysztof Kozlowski wrote: On Fri, Jun 09, 2017 at 01:59:14PM +0900, Hoegeun Kwon wrote: The display-timing and delay are included in the panel driver. So it should be removed in dts. Signed-off-by: Hoegeun Kwon --- arch/arm/boot/dts/exynos3250-rinato.dts | 22 ---

Re: [PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y

2017-06-09 Thread Masahiro Yamada
2017-06-09 17:29 GMT+09:00 Masahiro Yamada : > Prior to commit fcc8487d477a ("uapi: export all headers under uapi > directories"), genhdr-y was meant to specify generated UAPI headers. > > - generated-y: generated headers (other than asm-generic wrappers) > - header-y : headers to be exported > -

Re: [PATCH] gpio: lp87565: Add support for GPIO

2017-06-09 Thread Linus Walleij
On Thu, Jun 1, 2017 at 5:10 AM, Keerthy wrote: > Add driver for lp87565 PMIC family GPIOs. Three GPIOs are supported > and can be configured in Open-drain output or Push-pull output. > > Signed-off-by: Keerthy (...) > The latest version of mfd driver for this pmic is posted: > https://lkml.org/

Re: [PATCH v2] efi: fix boot panic because of invalid bgrt image address

2017-06-09 Thread Ard Biesheuvel
On 9 June 2017 at 08:24, Dave Young wrote: > Maniaxx reported a kernel boot failure of below: > (emulated the panic by using same invalid phys addr in code) > There are also a bug in bugzilla.kernel.org: > https://bugzilla.kernel.org/show_bug.cgi?id=195633 > > The reported panic happens after bel

Re: [PATCH 1/4] drm: bridge: dw-hdmi: Export hdmi_phy_configure_dwc_hdmi_3d_tx

2017-06-09 Thread Jose Abreu
Hi Mark, On 09-06-2017 05:03, Mark yao wrote: > Ignore this patch, Jose has a better patch to solve rk3399 hdmi > phy configure. > > Hi Jose > > Sorry for missing your patch about hdmi 2.0 vendor phy fixup: > https://urldefense.proofpoint.com/v2/url?u=https-3A__patchwork.kernel.org_patch_9702229&

Re: [PATCH v10 1/6] i2c: designware: Cleaning and comment style fixes.

2017-06-09 Thread Andy Shevchenko
On Fri, 2017-06-09 at 07:12 +0200, Peter Rosin wrote: > On 2017-06-08 19:36, Luis Oliveira wrote: > > complicated to review. The work here won't bring any additional work > > to > > backported fixes because is just style and reordering. > > I challenge that. If there is an old bug that existed bef

Re: [PATCH] KVM: ARM64: fix phy counter access failure in guest.

2017-06-09 Thread Christoffer Dall
Hi, On Sat, Jun 10, 2017 at 12:22:20AM +0800, Hu Huajun wrote: > When reading the cntpct_el0 in guest with VHE (Virtual Host Extension) > enabled in host, the "Unsupported guest sys_reg access" error reported. > The reason is cnthctl_el2.EL1PCTEN is not enabled, which is expected > to be done in k

[PATCH] ARM: dts: omap3-overo: Remove "vqmmc-supply" property from MMC dt node

2017-06-09 Thread Kishon Vijay Abraham I
commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") while enabling WiFi/BT combo added regulator to trigger the nReset signal of the Bluetooth module in vqmmc-supply. However BT should be handled by UART. Moreover "vqmmc" is not a defined binding for omap_hsmmc. While "vqmmc" in

[PATCH] MAINTAINERS: Add mediatek git repository

2017-06-09 Thread Matthias Brugger
Mediatek repository lives in github for quite a while. Add the repository to the file. Signed-off-by: Matthias Brugger --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f7d568b8f133..41410639f650 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -155

[GIT PULL] Another EFI BGRT fix for v4.12

2017-06-09 Thread Ard Biesheuvel
The following changes since commit 7425826f4f7ac60f2538b06a7f0a5d1006405159: efi/bgrt: Skip efi_bgrt_init() in case of non-EFI boot (2017-05-28 11:06:17 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent for you to fetch

[PATCH] efi: fix boot panic because of invalid bgrt image address

2017-06-09 Thread Ard Biesheuvel
From: Dave Young Maniaxx reported a kernel boot failure of below: (emulated the panic by using same invalid phys addr in code) There are also a bug in bugzilla.kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=195633 The reported panic happens after below commit: 7b0a911478c7 efi/x86: Mov

Re: [PATCH v2 2/3] pinctrl: cherryview: Add terminate entry for dmi_system_id tables

2017-06-09 Thread Linus Walleij
On Thu, Jun 1, 2017 at 11:30 AM, Jean Delvare wrote: > On Wed, 17 May 2017 13:25:13 +0300, Mika Westerberg wrote: >> From: Wei Yongjun >> >> Make sure dmi_system_id tables are NULL terminated. >> >> Fixes: 703650278372 ("pinctrl: cherryview: Add a quirk to make Acer >> Chromebook keyboard work a

Re: [PATCH trivial] gpio: of: Spelling: s/retures/returns/

2017-06-09 Thread Linus Walleij
On Thu, Jun 1, 2017 at 12:30 PM, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Patch applied. Yours, Linus Walleij

Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions

2017-06-09 Thread Andy Shevchenko
On Thu, 2017-06-08 at 18:36 +0100, Luis Oliveira wrote: > - Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support > - Slave functions added to core library file > - Slave abort sources added to common source file > - New driver: i2c-designware-slave added > - Changes in the Makefile to compile

Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions

2017-06-09 Thread Andy Shevchenko
t-20170608] > [if your patch is applied to the wrong git tree, please drop us a note > to help improve the system] > > url:https://github.com/0day-ci/linux/commits/Luis-Oliveira/i2c-des > ignware-add-I2C-SLAVE-support/20170609-143533 > base:   https://git.kernel.org/pub/scm/linux

Re: [PATCH v3 1/5] pinctrl: qcom: Add ipq8074 pinctrl driver

2017-06-09 Thread Linus Walleij
On Thu, Jun 1, 2017 at 1:27 PM, Varadarajan Narayanan wrote: > Add initial pinctrl driver to support pin configuration with > pinctrl framework for ipq8074. > > Signed-off-by: Manoharan Vijaya Raghavan > Signed-off-by: Varadarajan Narayanan It's a good idea that you include the maintainer, Bjo

[PATCH v1 3/4] ASoC: rockchip: i2s: add other configurable formats

2017-06-09 Thread Sugar Zhang
From: zhangjun simple-audio-card,bitclock-inversion = <1> : bclk falling edge taken simple-audio-card,format = "dsp_a" : pcm no delay mode simple-audio-card,format = "dsp_b" : pcm late 1 mode Signed-off-by: zhangjun Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_i2s.c | 30 ++

[PATCH v1 1/4] ASoC: rockchip: i2s: add a delay before i2s clear

2017-06-09 Thread Sugar Zhang
in order to guarantee i2s lrck signal integrity, when i2s stop, need at least one lrck cycle to ensure signal integrity. the max delay time is when lrck is 8khz, the delay time is 125us(1/8khz), using udelay(150) with a 25us margin. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_i2

Re: [PATCH v10 1/6] i2c: designware: Cleaning and comment style fixes.

2017-06-09 Thread Peter Rosin
On 2017-06-09 10:38, Andy Shevchenko wrote: > On Fri, 2017-06-09 at 07:12 +0200, Peter Rosin wrote: >> On 2017-06-08 19:36, Luis Oliveira wrote: >>> @@ -984,12 +984,12 @@ int i2c_dw_probe(struct dw_i2c_dev *dev) >>> } >>> >>> i2c_dw_disable_int(dev); >>> - r = devm_request_irq(dev->dev,

[PATCH v1 0/4] Patches to fix some problem for rockchip i2s

2017-06-09 Thread Sugar Zhang
These patches to fix some problem for rockchip i2s. Sugar Zhang (3): ASoC: rockchip: i2s: add a delay before i2s clear ASoC: rockchip: i2s: add support for i2s bclk fs configuration ASoC: rockchip: i2s: fixup clk div zhangjun (1): ASoC: rockchip: i2s: add other configurable formats ...

Re: [RFC PATCH 3/4] ARM: l2x0: add arm,ecc-enable property for aurora

2017-06-09 Thread Jan Lübbe
On Do, 2017-06-08 at 16:11 +1200, Chris Packham wrote: > + if (of_property_read_bool(np, "arm,ecc-enable")) { > + mask |= L2C_AUX_CTRL_EVTMON_ENABLE; > + val |= L2C_AUX_CTRL_EVTMON_ENABLE; > + } else if (of_property_read_bool(np, "arm,ecc-disable")) { > +

Re: [PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Kishon Vijay Abraham I
Hi, On Thursday 08 June 2017 04:05 PM, Raviteja Garimella wrote: > Changes in v8: > = > -Renamed phy shutdown routine > -Used devm_request_irq in stead of threaded irq That's not what I intended. Continue to use threaded irq but remove delayed work. Thanks Kishon > -Removed devm_unr

[PATCH v1 4/4] ASoC: rockchip: i2s: fixup clk div

2017-06-09 Thread Sugar Zhang
we found mclk maybe not precise as required because of PLL, but it still can be used and no side effect. for example, if we require mclk 11289600, but get 11289598, it doesn't matter. so using DIV_ROUND_CLOSEST to fix it. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_i2s.c | 4 ++-

Re: [PATCH] pinctrl: sunxi: constify irq_domain_ops

2017-06-09 Thread Linus Walleij
On Fri, Jun 2, 2017 at 1:29 PM, Tobias Klauser wrote: > struct irq_domain_ops is not modified, so it can be made const. > > Suggested-by: Marc Zyngier > Signed-off-by: Tobias Klauser Patch applied with Maxime's ACK. Yours, Linus Walleij

[PATCH v1 2/4] ASoC: rockchip: i2s: add support for i2s bclk fs configuration

2017-06-09 Thread Sugar Zhang
this patch add support for i2s bclk fs configuration, we can configure bclk_fs by devicetree as required. Signed-off-by: Sugar Zhang --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 2 ++ sound/soc/rockchip/rockchip_i2s.c| 9 - 2 files changed, 10 i

Re: [PATCH net-next] net: phy: use of_mdio_parse_addr

2017-06-09 Thread Michael Ellerman
Liviu Dudau writes: > On Fri, Jun 02, 2017 at 02:22:51PM -0400, David Miller wrote: >> From: Jon Mason >> Date: Wed, 31 May 2017 15:43:30 -0400 >> >> > use of_mdio_parse_addr() in place of an OF read of reg and a bounds >> > check (which is litterally the exact same thing that >> > of_mdio_pars

Re: [PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Raviteja Garimella
Hi, On Fri, Jun 9, 2017 at 2:25 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 08 June 2017 04:05 PM, Raviteja Garimella wrote: >> Changes in v8: >> = >> -Renamed phy shutdown routine >> -Used devm_request_irq in stead of threaded irq > > That's not what I intended. Continue

Re: [PATCH 2/6] efi: Avoid fortify checks in EFI stub

2017-06-09 Thread Ard Biesheuvel
On 8 June 2017 at 02:37, Kees Cook wrote: > On Wed, Jun 7, 2017 at 1:54 AM, Ard Biesheuvel > wrote: >> On 7 June 2017 at 03:12, Kees Cook wrote: >>> On Tue, Jun 6, 2017 at 10:17 AM, Mark Rutland wrote: On Tue, Jun 06, 2017 at 05:13:07PM +, Ard Biesheuvel wrote: > (+ Mark, Matt) >>>

[PATCH 01/11] HID: hid-core: convert to use DRIVER_ATTR_RO and drv_groups

2017-06-09 Thread Greg Kroah-Hartman
In the quest to get rid of DRIVER_ATTR(), this patch converts the hid-core code to use DRIVER_ATTR_RO() and also moves to use drv_groups as creating individual sysfs files is not good (it races with userspace notifications.) Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: Signed-off-by: Greg Kroah-H

[PATCH 03/11] PCI: pci-driver: convert to use DRIVER_ATTR_WO

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and all of the pci-driver core driver attributes can be trivially changed to use DRIVER_ATTR_WO(). Cc: Bjorn Helgaas Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/pci/pci-driver.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH 02/11] IB: nes: convert to use DRIVER_ATTR_RW

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and all of the nes.c driver attributes can be trivially changed to use DRIVER_ATTR_RW(), making the code smaller and easier to manage over time. Cc: Faisal Latif Cc: Doug Ledford Cc: Sean Hefty Cc: Hal Rosenstock Cc: Signed-off-by: Greg Kroah-Hartman

[PATCH 04/11] TTY: hvc: convert to use DRIVER_ATTR_RW

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the hvc driver's attribute can be trivially changed to use DRIVER_ATTR_RW(). Cc: Jiri Slaby Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/tty/hvc/hvcs.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/tty/hvc

[PATCH 09/11] platform: thinkpad_acpi: convert to use DRIVER_ATTR_RO/RW

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the thinkpad_acpi driver's attributes can be trivially changed to use DRIVER_ATTR_RO() and DRIVER_ATTR_RW(). Cc: Henrique de Moraes Holschuh Cc: Darren Hart Cc: Andy Shevchenko Cc: Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/

[PATCH] dt-bindings: Add vendor prefix for Linksys

2017-06-09 Thread Ralph Sennhauser
Linksys (http://www.linksys.com/us/) is a vendor of networking products mostly for use by home and small business user. The brand is currently owned by Belkin International, Inc. (http://www.belkin.com/us/). The vendor prefix linksys is already used by various supported boards. Signed-off-by: Ral

Re: [PATCH] powerpc: dts: use #include "..." to include local DT

2017-06-09 Thread Masahiro Yamada
Hi (+Anatolij Gustschin ) Ping. I am not 100% sure who is responsible for this, but somebody, could take a look at this patch, please? 2017-05-24 14:12 GMT+09:00 Masahiro Yamada : > Most of DT files in PowerPC use #include "..." to make pre-processor > include DT in the same directory, but we

[PATCH] regmap: irq: allow to register one cell interrupt controllers

2017-06-09 Thread Vladimir Zapolskiy
The change makes possible to use regmap-irq interface within drivers of simple interrupt controllers, which don't have an option to handle different interrupt types and thus have one cell interrupt controllers described in device tree bindings. Signed-off-by: Vladimir Zapolskiy --- drivers/base/

[PATCH 08/11] pcmcia: ds: convert to use DRIVER_ATTR_RO

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the pcmcia driver's attribute can be trivially changed to use DRIVER_ATTR_RO(). Cc: Russell King Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/pcmcia/ds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pcmcia/d

[PATCH 11/11] USB: usbip: convert to use DRIVER_ATTR_RW

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the usbip driver attribute can be trivially changed to use DRIVER_ATTR_RW(). Cc: Valentina Manea Cc: Shuah Khan Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/usb/usbip/stub_main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-)

[PATCH 07/11] wireless: ipw2x00: convert to use DRIVER_ATTR_RW

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the ipw2x00 driver's attributes can be trivially changed to use DRIVER_ATTR_RW(). Cc: Stanislav Yakovlev Cc: Kalle Valo Cc: Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8 +++- drivers/net/wireless

[PATCH 10/11] s390: drivers: convert to use DRIVER_ATTR_RO/WO

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the s390 drivers' attributes can be trivially changed to use DRIVER_ATTR_RO() and DRIVER_ATTR_WO(). Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Julian Wiedmann Cc: Ursula Braun Cc: Peter Oberparleiter Cc: Gerald Schaefer Cc: Signed-off-by: Gr

Re: [PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Kishon Vijay Abraham I
Hi, On Friday 09 June 2017 02:30 PM, Raviteja Garimella wrote: > Hi, > > On Fri, Jun 9, 2017 at 2:25 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 08 June 2017 04:05 PM, Raviteja Garimella wrote: >>> Changes in v8: >>> = >>> -Renamed phy shutdown routine >>> -Used devm_r

[PATCH] ARM: dts: rk322x: fix i2s1 pinctrl error

2017-06-09 Thread Sugar Zhang
Signed-off-by: Sugar Zhang --- arch/arm/boot/dts/rk322x.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 48a0c1c..cc6a27d 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dt

[PATCH 06/11] net: ehea: convert to use DRIVER_ATTR_RO

2017-06-09 Thread Greg Kroah-Hartman
We are trying to get rid of DRIVER_ATTR(), and the ehea driver's attribute can be trivially changed to use DRIVER_ATTR_RO(). Cc: Douglas Miller Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

Resizeable PCI BAR support V5

2017-06-09 Thread Christian König
Hi everyone, This is the fith incarnation of this set of patches. It enables device drivers to resize and most likely also relocate the PCI BAR of devices they manage to allow the CPU to access all of the device local memory at once. This is very useful for GFX device drivers where the default P

[PATCH v5 3/6] PCI: add functionality for resizing resources v6

2017-06-09 Thread Christian König
From: Christian König This allows device drivers to request resizing their BARs. The function only tries to reprogram the windows of the bridge directly above the requesting device and only the BAR of the same type (usually mem, 64bit, prefetchable). This is done to make sure not to disturb othe

[PATCH v5 5/6] drm/amdgpu: move hw generation check into amdgpu_doorbell_init

2017-06-09 Thread Christian König
From: Christian König This way we can savely call it on SI as well. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm

Re: [PATCH v3 12/17] gpio: madera: Support Cirrus Logic Madera class codecs

2017-06-09 Thread Linus Walleij
On Fri, Jun 2, 2017 at 5:03 PM, Richard Fitzgerald wrote: > This adds support for the GPIOs on Cirrus Logic Madera class codecs. > Any pins not used for special functions (see the pinctrl driver) can be > used as general single-bit input or output lines. The number of available > GPIOs varies bet

Re: [PATCH 01/35] ARM: defconfig: Cleanup from old Kconfig options

2017-06-09 Thread Liviu Dudau
On Thu, Jun 08, 2017 at 06:10:12PM +0200, Krzysztof Kozlowski wrote: > Remove old, dead Kconfig options (in order appearing in this commit): > - EXPERIMENTAL is gone since v3.9; > - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); > - MTD_CONCAT: commit f53fdebcc3e1 ("mtd: drop M

  1   2   3   4   5   6   7   8   9   10   >