[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 ...

[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

[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 ++

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

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 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 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 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

[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

[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

[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

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

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 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 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] 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 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 > -

[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

[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

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

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 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 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] 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

[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_

[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

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

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 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 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 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 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 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

[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] 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

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 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/

[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

[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

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

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

[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] 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

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 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 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: 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] 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: [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 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: [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 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 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 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 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 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] 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 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] 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 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 1/8] rbtree: Cache leftmost node internally

2017-06-09 Thread Jan Kara
On Thu 08-06-17 11:03:22, Davidlohr Bueso wrote: > Red-black tree semantics imply that nodes with smaller or > greater (or equal for duplicates) keys always be to the > left and right, respectively. For the kernel this is > extremely evident when considering our rb_first() semantics. > Enabling loo

Re: [PATCH 2/2] dt-bindings: iio: update STM32 timers clock names

2017-06-09 Thread Benjamin Gaignard
2017-06-09 9:37 GMT+02:00 Fabrice Gasnier : > Clock name has been updated during driver/DT binding review: > https://lkml.org/lkml/2016/12/13/718 > Update DT binding doc to reflect this. > > Signed-off-by: Fabrice Gasnier > --- > Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt

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

2017-06-09 Thread Lee Jones
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 +- > drivers/video/backlight/adp8870_bl.c | 2 +- >

Re: Sleeping BUG in khugepaged for i586

2017-06-09 Thread Michal Hocko
On Fri 09-06-17 08:48:58, Vlastimil Babka wrote: > On 06/08/2017 10:30 PM, Michal Hocko wrote: > > But I guess you are primary after syncing the preemptive mode for 64 and > > 32b systems, right? I agree that having a different model is more than > > unfortunate because 32b gets much less testing c

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

2017-06-09 Thread Lee Jones
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 +- > drivers/video/backlight/adp8860_bl.c | 2 +- >

Re: [PATCH 1/2] dt-bindings: mfd: update STM32 timers clock names

2017-06-09 Thread Benjamin Gaignard
2017-06-09 9:37 GMT+02:00 Fabrice Gasnier : > Clock name has been updated during driver/DT binding review: > https://lkml.org/lkml/2016/12/13/718 > Update DT binding doc to reflect this. > > Signed-off-by: Fabrice Gasnier > --- > Documentation/devicetree/bindings/mfd/stm32-timers.txt | 2 +- > 1

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

2017-06-09 Thread 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-gpio" for the > compatible string is a misnomer. >

Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-09 Thread Peter Xu
On Fri, Jun 09, 2017 at 09:29:45AM +0200, Paolo Bonzini wrote: > > > On 09/06/2017 04:50, Peter Xu wrote: > > Even, I'm thinking whether we can unconditionally setup PDST only in > > pi_load(), then post_block() only needs to handle the NV bit. > > No, you can't do that without fiddling with the

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

2017-06-09 Thread Richard Genoud
2017-06-09 9:37 GMT+02:00 Linus Walleij : > 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 value, >> selecting t

Re: [PATCH v2] firmware: fix sending -ERESTARTSYS due to signal on fallback

2017-06-09 Thread Martin Fuzzey
On 09/06/17 03:57, Luis R. Rodriguez wrote: On Thu, Jun 8, 2017 at 6:10 PM, Luis R. Rodriguez wrote: Android didn't send the signal, the kernel did (SIGCHLD). Like this: 1) Android init (pid=1) fork()s (say pid=42) [this child process is totally unrelated to firmware loading] 2) Android init

[PATCH 0/2] Fix STM32 timers dt-bindings

2017-06-09 Thread Fabrice Gasnier
STM32 timers clock names has been updated during driver/DT binding review: https://lkml.org/lkml/2016/12/13/718 STM32 timers driver has been fixed with these remarks. It looks like it's been missed on DT binding part. Update DT binding doc to reflect this as well. Fabrice Gasnier (2): dt-bindin

Re: [PATCHv2 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-06-09 Thread Linus Walleij
On Thu, Jun 1, 2017 at 2:18 PM, Richard Genoud wrote: > If more than one gpio bank has the "pwm" property, only one will be > registered successfully, all the others will fail with: > mvebu-gpio: probe of f1018140.gpio failed with error -17 > > That's because in alloc_pwms(), the chip->base (aka

[PATCH 1/2] dt-bindings: mfd: update STM32 timers clock names

2017-06-09 Thread Fabrice Gasnier
Clock name has been updated during driver/DT binding review: https://lkml.org/lkml/2016/12/13/718 Update DT binding doc to reflect this. Signed-off-by: Fabrice Gasnier --- Documentation/devicetree/bindings/mfd/stm32-timers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D

[PATCH 2/2] dt-bindings: iio: update STM32 timers clock names

2017-06-09 Thread Fabrice Gasnier
Clock name has been updated during driver/DT binding review: https://lkml.org/lkml/2016/12/13/718 Update DT binding doc to reflect this. Signed-off-by: Fabrice Gasnier --- Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

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

2017-06-09 Thread Linus Walleij
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 value, > selecting the B counter when id==1 and A counter when id==0. >

Re: [PATCH v5 4/5] arm64: dts: exynos: Remove the OF graph from DSI node

2017-06-09 Thread Krzysztof Kozlowski
On Wed, Jun 07, 2017 at 03:14:20PM +0900, Hoegeun Kwon wrote: > On 05/19/2017 03:17 PM, Hoegeun Kwon wrote: > >On 05/16/2017 01:48 AM, Krzysztof Kozlowski wrote: > >>On Wed, Mar 08, 2017 at 01:54:11PM +0900, Hoegeun Kwon wrote: > >>>The OF graph is not needed because the panel is a child of dsi. Re

Re: [PATCH v10 1/3] DT add arctic to vendor prefix for ArcticSand

2017-06-09 Thread Lee Jones
On Thu, 08 Jun 2017, Olimpiu Dejeu wrote: > dt-bindings: vendor-prefixes: add arctic to vendor prefix > > Acked-by: Rob Herring > Reviewed-by: Jingoo Han > Signed-off-by: Olimpiu Dejeu > --- > v9 => v10: > - (Re-submit) Per Rob Herring's request changed vendor-prefix to arctic > v8 => v9: > -

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

2017-06-09 Thread Ralph Sennhauser
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 initialize ptracer_cred on fork") in Linus tree fixes the issue. Tested with v4.11.4. Ple

Re: [RFC PATCH 2/4] mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic

2017-06-09 Thread Michal Hocko
On Wed 07-06-17 10:10:36, Wei Yang wrote: [...] > Hmm... Let me be more specific. With two factors, costly or not, flag set or > not, we have four combinations. Here it is classified into two categories. > > 1. __GFP_RETRY_MAYFAIL not set > > Brief description on behavior: > costly: pick up t

Re: [PATCH v6 2/2] fpga manager: Add Altera CvP driver

2017-06-09 Thread Andy Shevchenko
On Fri, Jun 9, 2017 at 3:22 AM, Anatolij Gustschin wrote: > Add FPGA manager driver for loading Arria-V/Cyclone-V/Stratix-V > and Arria-10 FPGAs via CvP. > Thanks for an update. I'm fine with it... Reviewed-by: Andy Shevchenko ...but just in case see comments below (you can address them if you

[PATCH] arm: aspeed: Add Aspeed board file with clocksource devicetree fixup

2017-06-09 Thread Andrew Jeffery
Add the clock-names property in init_timer() to work-around Aspeed devicetrees from times prior to merging the Moxart/Aspeed and Faraday drivers. Signed-off-by: Andrew Jeffery --- Well, here's an implementation I knocked up. It's a fair chunk of code for marginal benefit. Joel is against it. At

Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-09 Thread Paolo Bonzini
On 09/06/2017 04:50, Peter Xu wrote: > Even, I'm thinking whether we can unconditionally setup PDST only in > pi_load(), then post_block() only needs to handle the NV bit. No, you can't do that without fiddling with the blocked_vcpu lists in pi_load. > (PS. since I'm at here... could I ask why

Re: [PATCH v11 02/12] sun4i-codec: Add Differential Line Capture Switch and its routes

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 | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c > index 2f65aa7

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

2017-06-09 Thread Vladimir Zapolskiy
Hello Geert, 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: request for member ‘data’ in something not a structure or union IMHO fi

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

2017-06-09 Thread Krzysztof Kozlowski
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 fixed here? What about Exynos5250 and Exynos5420?

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

2017-06-09 Thread Dong Aisheng
Hi Linus & j, On Mon, May 29, 2017 at 6:42 PM, jmondi wrote: > Hi Linus, > > On Mon, May 29, 2017 at 10:45:44AM +0200, Linus Walleij wrote: >> On Tue, May 23, 2017 at 8:37 PM, jmondi wrote: >> >> >> I did not follow too much. >> >> But it seems IMX7ULP/Vybrid to be also a fan of generic >> >> ou

Re: [PATCH v6 1/2] fpga: Add flag to indicate bitstream needs decompression

2017-06-09 Thread Andy Shevchenko
On Fri, Jun 9, 2017 at 3:22 AM, Anatolij Gustschin wrote: > Add a flag that is passed to the write_init() callback, indicating > that the bitstream is compressed. > > The low-level driver will deal with the flag, or return an error, > if compressed bitstreams are not supported. > Reviewed-by: And

[PATCH] usb: host: ehci: workaround PME bug on AMD EHCI controller

2017-06-09 Thread Kai-Heng Feng
As Alan Stern points out [1], the PME signal is not enabled when controller is in D3, therefore it's not being woken up when new deivces get plugged in. Workaround this bug by preventing the controller enters D3 power state. [1] https://www.spinics.net/lists/linux-usb/msg157462.html Signed-off-b

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

2017-06-09 Thread Linus Walleij
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 not restore the > original value on exit. But th

<    4   5   6   7   8   9   10   >