[PATCH 1/2] drm/sun4i: hdmi: Fix an error handling path in 'sun4i_hdmi_bind()'

2018-03-18 Thread Christophe JAILLET
If we can not allocate the HDMI encoder regmap, we still need to free some resources before returning. Fixes: 4b1c924b1fc1 ("drm/sun4i: hdmi: create a regmap for later use") Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 d

Re: [PATCH v4 6/7] dt-bindings: Introduce interconnect consumers bindings

2018-03-18 Thread Bjorn Andersson
On Fri 09 Mar 13:09 PST 2018, Georgi Djakov wrote: > Add documentation for the interconnect consumer bindings, that will allow > to link a device node (consumer) to its interconnect controller hardware. > > Tha aim is to enable drivers to request a framework API to configure an > interconnect pat

Re: [PATCH v4 2/7] dt-bindings: Introduce interconnect provider bindings

2018-03-18 Thread Bjorn Andersson
On Fri 09 Mar 13:09 PST 2018, Georgi Djakov wrote: > diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt > b/Documentation/devicetree/bindings/interconnect/interconnect.txt [..] > +Required properties: > +- compatible : contains the interconnect provider vendor specific co

[PATCH v2] net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred

2018-03-18 Thread Christophe JAILLET
If the optional regulator is deferred, we must release some resources. They will be re-allocated when the probe function will be called again. Fixes: 6eacf31139bf ("ethernet: arc: Add support for Rockchip SoC layer device tree bindings") Signed-off-by: Christophe JAILLET --- v2: v1 did not compi

Re: [PATCH v5 0/2] Remove false-positive VLAs when using max()

2018-03-18 Thread Rasmus Villemoes
On 2018-03-18 22:33, Linus Torvalds wrote: > On Sun, Mar 18, 2018 at 2:13 PM, Rasmus Villemoes > wrote: >> On 2018-03-17 19:52, Linus Torvalds wrote: >>> >>> Ok, so it really looks like that same "__builtin_constant_p() doesn't >>> return a constant". >>> >>> Which is really odd, but there you hav

Re: [PATCH v5 0/2] Remove false-positive VLAs when using max()

2018-03-18 Thread Linus Torvalds
On Sun, Mar 18, 2018 at 3:59 PM, Rasmus Villemoes wrote: > > OK, I missed where this was made about side effects of x and y We never made it explicit, since all we really cared about in the end is the constantness. But yes: > but I suppose the idea was to use > > no_side_effects(x) && no_side

Re: [PATCH v1 13/19] arm: dts: mt7623: move node mt6323 leds to mt6323.dtsi

2018-03-18 Thread Matthias Brugger
On 03/02/2018 11:46 PM, Sean Wang wrote: > On Fri, 2018-03-02 at 09:40 -0600, Rob Herring wrote: >> On Fri, Feb 23, 2018 at 06:16:33PM +0800, sean.w...@mediatek.com wrote: >>> From: Sean Wang >>> >>> Since those LEDs are parts of PMIC MT6323, it is reasonable to merge >>> those LEDs node definit

Re: [PATCH 1/3] x86, pkeys: do not special case protection key 0

2018-03-18 Thread Ram Pai
On Sun, Mar 18, 2018 at 10:30:48AM +0100, Thomas Gleixner wrote: > On Sat, 17 Mar 2018, Ram Pai wrote: > > On Fri, Mar 16, 2018 at 02:46:56PM -0700, Dave Hansen wrote: > > > > > > From: Dave Hansen > > > > > > mm_pkey_is_allocated() treats pkey 0 as unallocated. That is > > > inconsistent with

Re: [PATCH v1 07/19] arm: dts: mt7623: fix the regulators mmc should use on bananapi-r2

2018-03-18 Thread Matthias Brugger
On 02/23/2018 11:16 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Both mmc devices on bananapi-r2 board should all use the fixed regulators > as their power source instead of PMIC MT6323 exports. > > Signed-off-by: Sean Wang Pushed to v4.16-next/dts32 Thanks! > --- > arch/arm/bo

Re: [PATCH v1 09/19] arm: dts: mt7623: add related clock properties to cpu[1-3] nodes

2018-03-18 Thread Matthias Brugger
On 02/23/2018 11:16 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Complement the missing clock properties cpu[1-3] should depend on. > > Signed-off-by: Sean Wang > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux...@vger.kernel.org Pushed to v4.16-next/dts32 Thanks! > ---

Re: [PATCH v1 08/19] arm: dts: mt7623: enable three available UARTs on bananapi-r2

2018-03-18 Thread Matthias Brugger
On 02/23/2018 11:16 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > On bpi-r2 board, totally there're four UARTs which we usually called > uart[0-3] helpful to extend slow-I/O devices. Among those ones, uart2 has > dedicated pin slot which is used to console log. uart[0-1] appear at the

Re: [PATCH v1 10/19] arm: dts: mt7623: remove useless property pinctrl-names at node switch@0

2018-03-18 Thread Matthias Brugger
On 02/23/2018 11:16 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > The property pinctrl-names is totally superfluous. It would be good to > remove the property to keep the node neatness. There is actually > unnecessary to set up any pins for data path TRGMII between main SoC and > MT75

Re: [PATCH v1 11/19] arm: dts: mt7623: use - instead of _ in DT node name

2018-03-18 Thread Matthias Brugger
On 02/23/2018 11:16 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > It should be good that no use "_" is in DT node name. Consequently, > those nodes in certain files which have an inappropriate name containing > "_" are all being replaced with "-". > > Signed-off-by: Sean Wang > Cc:

Re: [PATCH net] net: fec: Fix unbalanced PM runtime calls

2018-03-18 Thread David Miller
From: Florian Fainelli Date: Sun, 18 Mar 2018 14:42:22 -0700 > On 03/18/2018 01:35 PM, David Miller wrote: >> Queue this up for -stable? > > I would be inclined to say yes, it was not exactly easy to track down a > set of commits, since this was changed quite a bit. Ok, queued up.

linux-next: manual merge of the net-next tree with the syscalls tree

2018-03-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: include/linux/socket.h between commits: 06947f40e3e9 ("net: socket: add __sys_recvfrom() helper; remove in-kernel call to syscall") bd4053a762c6 ("net: socket: move check for forbid_cmsg_compat to __sys_...msg()")

Re: [ACPI / processor] d619c81e24: WARNING:at_include/linux/cpumask.h:#cpumask_test_cpu

2018-03-18 Thread Dou Liyang
Hi lkp team Thank you for testing. At 03/16/2018 07:17 PM, kernel test robot wrote: FYI, we noticed the following commit (built with gcc-7): commit: d619c81e246424e322f7a902bed6e60b90668d56 ("ACPI / processor: Get accurate possible CPU count") url: https://github.com/0day-ci/linux/commits/Do

Re: kbuild: move cc-option and cc-disable-warning after incl. arch Makefile

2018-03-18 Thread Stefan Agner
Hi Masahiro, On 27.11.2017 13:15, Masahiro Yamada wrote: > Geert reported commit ae6b289a3789 ("kbuild: Set KBUILD_CFLAGS before > incl. arch Makefile") broke cross-compilation using a cross-compiler > that supports less compiler options than the host compiler. > > For example, > > cc1: error:

[PATCH 3/4] GPU: drm: Fixed Spacing issue

2018-03-18 Thread Paul McQuade
space prohibited after that open parenthesis '(' Signed-off-by: Paul McQuade --- drivers/gpu/drm/drm_bufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index 9af9efd84ee7..8e345ba16858 100644 --- a/drivers/gpu/drm/dr

[PATCH 2/4] GPU: drm: Fixed Spacing issue

2018-03-18 Thread Paul McQuade
"foo ** bar" should be "foo **bar" Signed-off-by: Paul McQuade --- drivers/gpu/drm/drm_bufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index 83b3d0801262..9af9efd84ee7 100644 --- a/drivers/gpu/drm/drm_bufs.c +++ b

[PATCH 4/4] GPU: drm: Fixed Coding issue

2018-03-18 Thread Paul McQuade
code indent should use tabs where possible Signed-off-by: Paul McQuade --- drivers/gpu/drm/drm_bufs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index 8e345ba16858..ba8cfe65c65b 100644 --- a/drivers/gpu/drm/drm_

[PATCH 1/4] GPU: drm: Fixed Spacing issue

2018-03-18 Thread Paul McQuade
"foo * bar" should be "foo *bar" Signed-off-by: Paul McQuade --- drivers/gpu/drm/drm_bufs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index 1ee84dd802d4..83b3d0801262 100644 --- a/drivers/gpu/drm/drm_bufs.c

[PATCH] mm/memblock: cast constant ULLONG_MAX to phys_addr_t

2018-03-18 Thread Stefan Agner
This fixes a warning shown when phys_addr_t is 32-bit int when compiling with clang: mm/memblock.c:927:15: warning: implicit conversion from 'unsigned long long' to 'phys_addr_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]

Re: [PATCH 3.16 56/76] x86/syscall: Sanitize syscall table de-references under speculation

2018-03-18 Thread Ben Hutchings
On Mon, 2018-03-12 at 08:32 +0100, Jiri Slaby wrote: > On 03/12/2018, 04:06 AM, Ben Hutchings wrote: > > In 3.16 the x86_32 syscall table lookup is also written in assembly. > > So I've taken Jiri's version and added similar masking in entry_32.S, > > using edx as the temporary. edx is clobbered b

Re: [RFC PATCH 1/2] ftrace: Allow arches to opt-out of static ftrace

2018-03-18 Thread Michael Ellerman
Steven Rostedt writes: > On Sat, 17 Mar 2018 00:46:32 +1100 > Michael Ellerman wrote: > >> There is a small but non-zero amount of code required by arches to >> suppory non-dynamic (static) ftrace, and more importantly there is the >> added work of testing both configurations. >> >> There are a

Applied "ASoC: samsung: Mark unused Odroid compatibles as deprecated" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: samsung: Mark unused Odroid compatibles as deprecated has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component()" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "spi: jcore: disable ref_clk after getting its rate" to the spi tree

2018-03-18 Thread Mark Brown
The patch spi: jcore: disable ref_clk after getting its rate has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "ASoC: da7210: Use devm_snd_soc_register_component()" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: da7210: Use devm_snd_soc_register_component() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Applied "ASoC: uniphier: add syscon property to binding document" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: uniphier: add syscon property to binding document has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

Applied "ASoC: wm8400: Use devm_snd_soc_register_component()" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: wm8400: Use devm_snd_soc_register_component() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Applied "ASoC: uniphier: add syscon property for UniPhier sound system" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: uniphier: add syscon property for UniPhier sound system has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

linux-next: build warning after merge of the crypto tree

2018-03-18 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from drivers/crypto/chelsio/chcr_ipsec.c:66:0: drivers/crypto/chelsio/chcr_crypto.h:343:12: warning: 'chcr_ahash_continue' declared 'static' but never defined [-Wunus

Re: [RFC PATCH 2/2] powerpc: Only support DYNAMIC_FTRACE not static

2018-03-18 Thread Michael Ellerman
Steven Rostedt writes: > On Sat, 17 Mar 2018 00:46:33 +1100 > Michael Ellerman wrote: > >> We've had dynamic ftrace support for over 9 years since Steve first >> wrote it, all the distros use dynamic, and static is basically >> untested these days, so drop support for static ftrace. >> >> Signe

Linux 4.16-rc6

2018-03-18 Thread Linus Torvalds
This has been a nice quiet week, so rc6 is pretty tiny. Everything looks like we're on a usual schedule - I'll make an rc7, but hopefully that will be it. Mostly driver changes (usb, gpu, sound, scsi, md), but it's all tiny. Some arch fixes (x86 and microblaze, tiny changes to others), and some fi

Re: [PATCH v2 0/7] KASan for arm

2018-03-18 Thread Liuwenliang (Abbott Liu)
On 03/19/2018 03:14 AM, Florian Fainelli wrote: >Thanks for posting these patches! Just FWIW, you cannot quite add >someone's Tested-by for a patch series that was just resubmitted given >the differences with v1. I just gave it a spin on a Cortex-A5 (no LPAE) >and it looks like test_kasan.ko is pas

[PATCH] arm64: dts: uniphier: add syscon property for UniPhier sound system

2018-03-18 Thread Katsuhiro Suzuki
This patch adds syscon property for specifying soc-glue core into device-tree of LD11/LD20 SoC. Currently, soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. Signed-off-by: Katsuhiro Suzuki --- arch/arm/boot/dts/uniphier-pxs2.dtsi

Re: [PATCH v2 0/7] KASan for arm

2018-03-18 Thread Florian Fainelli
On 03/18/2018 06:20 PM, Liuwenliang (Abbott Liu) wrote: > On 03/19/2018 03:14 AM, Florian Fainelli wrote: >> Thanks for posting these patches! Just FWIW, you cannot quite add >> someone's Tested-by for a patch series that was just resubmitted given >> the differences with v1. I just gave it a spi

Re: [PATCH v3 1/2] ASoC: codecs: Add support for PCM1789

2018-03-18 Thread Mark Brown
On Sat, Mar 17, 2018 at 07:19:51PM +0800, kbuild test robot wrote: > >> sound/soc/codecs/pcm1789.c:265:1-3: ERROR: test of a variable/field address > > 265if (&priv->work) >266flush_work(&priv->work); This is a legit warning but otherwise this looks g

Re: [PATCH v4 0/9] Initial Allwinner H6 support

2018-03-18 Thread Icenowy Zheng
于 2018年3月19日 GMT+08:00 上午4:17:44, Maxime Ripard 写到: >On Fri, Mar 16, 2018 at 10:02:06PM +0800, Icenowy Zheng wrote: >> This patchset adds initial support for the Allwinner H6 SoC. >> >> It's quite different from earlier Allwinner SoCs. For example, the >> memory map is refactored, and the CCU i

Re: [PATCHv2 4/4] gpio: Remove VLA from stmpe driver

2018-03-18 Thread Phil Reid
On 16/03/2018 02:00, Laura Abbott wrote: The new challenge is to remove VLAs from the kernel (see https://lkml.org/lkml/2018/3/7/621) This patch replaces a VLA with an appropriate call to kmalloc_array. Signed-off-by: Laura Abbott --- v2: Switch to GFP_KERNEL. There was some discussion about i

linux-next: manual merge of the drm-misc tree with the drm tree

2018-03-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/intel_color.c between commit: db61d160b3ed ("drm/i915: Remove the pointless 1:1 matrix copy") from the drm tree and commit: d5517a39dce4 ("drm/i915: Remove the blob->data casts") from the drm-

Re: [PATCH v2 2/5] soc: mediatek: update power domain data of MT2712

2018-03-18 Thread Matthias Brugger
On 03/12/2018 08:03 AM, Weiyi Lu wrote: > 1. split MFG power domain into MFG/MFG_SC1/MFG_SC2/MFG_SC3 > according to MT2712 ECO design change > 2. add subdomain support for MT2712 > > Signed-off-by: Weiyi Lu Pushed to v4.16-next/soc Thanks! > --- > drivers/soc/mediatek/mtk-scpsys.c | 42 > +

Re: [PATCH v2 1/5] dt-bindings: soc: update MT2712 power dt-bindings

2018-03-18 Thread Matthias Brugger
On 03/12/2018 08:03 AM, Weiyi Lu wrote: > Add new power domains(MFG_SC1/MFG_SC2/MFG_SC3) > for MT2712 according to ECO design change. > > Signed-off-by: Weiyi Lu > Reviewed-by: Rob Herring Pushed to v4.16-next/soc Thanks! > --- > include/dt-bindings/power/mt2712-power.h | 3 +++ > 1 file c

Re: [PATCH v2 1/2] tracing: Improve design of preemptirq tracepoints and its users

2018-03-18 Thread Joel Fernandes
On Sat, Mar 17, 2018 at 12:03 PM, kbuild test robot wrote: > Hi Joel, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.16-rc5 next-20180316] > [if your patch is applied to the wrong git tree, please drop us a note to

[PATCH net-next v2 1/2] brcmfmac: add new dt entries for SG SDIO settings

2018-03-18 Thread Alexey Roslyakov
There are 3 fields in SDIO settings (quirks) to workaround some of the SG SDIO host particularities, i.e higher align requirements for SG items. All coding is done the long time ago, but there is no way to change the driver behavior without patching the kernel. Add missing devicetree entries. Sign

[PATCH net-next v2 2/2] dt: bindings: add new dt entries for brcmfmac

2018-03-18 Thread Alexey Roslyakov
In case if the host has higher align requirements for SG items, allow setting device-specific aligns for scatterlist items. Signed-off-by: Alexey Roslyakov --- Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documenta

Re: [PATCH v1] arm: dts: mt7623: add PCIe related nodes

2018-03-18 Thread Matthias Brugger
On 02/14/2018 04:27 AM, Ryder Lee wrote: > This patch adds some device nodes for the PCIe function block and updates > related pinmux. > > Moreover, we add interrupt-map properties in both parent and children as > the chip only has one IRQ per slot that is connected to all INTx and get > propaga

[PATCH net-next v2 0/2] brcmfmac: add new dt entries for SG SDIO settings

2018-03-18 Thread Alexey Roslyakov
Changes in v2: don't check of_property_read_* return values since it doesn't change the value if property not found. Suggested by Andrew Lunn.

Applied "ASoC: add tda7419 audio processor binding" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: add tda7419 audio processor binding has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "ASoC: add tda7419 audio processor driver" to the asoc tree

2018-03-18 Thread Mark Brown
The patch ASoC: add tda7419 audio processor driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

[PATCH v2 2/2] ALSA: usb: initial USB Audio Device Class 3.0 support

2018-03-18 Thread Ruslan Bilovol
Recently released USB Audio Class 3.0 specification introduces many significant changes comparing to previous versions, like - new Power Domains, support for LPM/L1 - new Cluster descriptor - changed layout of all class-specific descriptors - new High Capability descriptors - New class-specifi

[PATCH v2 1/2] ALSA: usb-audio: move audioformat quirks to quirks.c

2018-03-18 Thread Ruslan Bilovol
Offload USB audio interface parsing function by moving quirks to a specially designed location (quirks.c) Signed-off-by: Ruslan Bilovol --- sound/usb/quirks.c | 34 ++ sound/usb/quirks.h | 4 sound/usb/stream.c | 30 +- 3 files ch

[PATCH v2 0/2] USB Audio Device Class 3.0 support

2018-03-18 Thread Ruslan Bilovol
Hi Takashi, This patch adds initial USB Audio Device Class 3.0 [1] support to the ALSA that we discussed at ELCE. The patch was tested with UAC3 gadget [2] that I posted to USB mailing list before. It is good for working with BADD device which implements such topologies like BAIF (Basic Audio Inp

Re: [PATCH 02/19] csky: Exception handling and syscall

2018-03-18 Thread Mark Rutland
Hi, On Mon, Mar 19, 2018 at 03:51:24AM +0800, Guo Ren wrote: > +inline static unsigned int > +get_regs_value(unsigned int rx, struct pt_regs *regs) > +{ > + unsigned int value; > + > + if(rx == 0){ > + if(user_mode(regs)){ > + asm volatile("mfcr %0, ss1\n":"

Re: [PATCH v3 18/18] infiniband: cxgb4: Eliminate duplicate barriers on weakly-ordered archs

2018-03-18 Thread Jason Gunthorpe
On Sat, Mar 17, 2018 at 02:30:10PM -0400, Sinan Kaya wrote: > Somebody also has to take a task and work very hard to get rid of > __raw_writeX() > APIs in drivers/net directory. It looked like a very common practice though > it clearly violates multiarch portability concerns Jason and Deve highli

Re: [PATCH] init: no need to wait device probe

2018-03-18 Thread Zhang, Ning A
在 2018-03-17六的 12:17 -0700,Randy Dunlap写道: > Maintainers don't mine mailing lists for patches to apply. thank you very much, I will resend my patch. BR. Ning.

Re: [alsa-devel] [PATCH -next] ASoC: wm8400: Use devm_snd_soc_register_component()

2018-03-18 Thread Kuninori Morimoto
Hi Wei > Since the remove callback is removed, the snd_soc_unregister_component() > is missing when remove device. Using devm_snd_soc_register_component() > instead of snd_soc_register_component(). > > Fixes: 10dc44c6462d ("ASoC: wm8400: replace codec to component") > Signed-off-by: Wei Yongjun

Re: [PATCH 3/3] arm64: dts: mt2712: Add auxadc device node.

2018-03-18 Thread Matthias Brugger
On 10/16/2017 05:09 PM, Matthias Brugger wrote: > > > On 10/13/2017 05:11 PM, Matthias Brugger wrote: >> >> >> On 09/24/2017 05:47 PM, Jonathan Cameron wrote: >>> On Thu, 21 Sep 2017 09:26:52 +0800 >>> Zhiyong Tao wrote: >>> Add auxadc device node for MT2712. Signed-off-by: Zhiy

Re: [PATCH v2 0/7] KASan for arm

2018-03-18 Thread Liuwenliang (Abbott Liu)
On 03/19/2018 09:23 AM, Florian Fainelli wrote: >On 03/18/2018 06:20 PM, Liuwenliang (Abbott Liu) wrote: >> On 03/19/2018 03:14 AM, Florian Fainelli wrote: >>> Thanks for posting these patches! Just FWIW, you cannot quite add >>> someone's Tested-by for a patch series that was just resubmitted give

RE: [PATCH 1/2] ARM: dts: pfuze3000: update sw1a/vldo4 voltage range

2018-03-18 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Sunday, March 18, 2018 8:55 PM > To: Anson Huang > Cc: Robin Gong ; Shawn Guo ; > Sascha Hauer ; Fabio Estevam > ; Rob Herring ; Mark Rutland > ; Russell King - ARM Linux ;

RE: [PATCH] ARM: dts: imx7s: add anatop vdd1p2 regulator

2018-03-18 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Monday, March 19, 2018 3:54 AM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Rob > Herring ; Mark Rutland ; > Russell King - ARM Linux ; dl-linux-imx

RE: [PATCH 2/2] ARM: dts: imx6sx-sabreauto: add external 24MHz clock source

2018-03-18 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Sunday, March 18, 2018 9:04 PM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Rob > Herring ; Mark Rutland ; > Russell King - ARM Linux ; Michael Turq

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-18 Thread Jason Gunthorpe
On Fri, Mar 16, 2018 at 02:55:25PM +0200, Jarkko Sakkinen wrote: > On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > > TCPA log are can be empty when the TPM is disabled. This commit changes > > > the > > > beh

Compliment of the day to you Dear Friend

2018-03-18 Thread Mrs.Natacha.Farouk
Compliment of the day to you Dear Friend. for security reason contact me Through this email (mrsnatacha.far...@barid.com) Dear Friend. I am Mrs.Natacha Farouk. am sending this brief letter to solicit your partnership to transfer $5.5 million US Dollars. I shall send you more information and proc

Re: [PATCH] bpf: whitelist syscalls for error injection

2018-03-18 Thread Andy Lutomirski
On Sun, Mar 18, 2018 at 6:47 AM, Dominik Brodowski wrote: > On Fri, Mar 16, 2018 at 03:55:04PM -0700, Howard McLauchlan wrote: >> On 03/13/2018 04:56 PM, Andy Lutomirski wrote: >> > On Tue, Mar 13, 2018 at 11:16 PM, Howard McLauchlan >> > wrote: >> >> Error injection is a useful mechanism to fai

Re: [PATCH v4 10/10] ARM: sunxi: smp: Add initialization of CNTVOFF

2018-03-18 Thread Chen-Yu Tsai
On Mon, Mar 19, 2018 at 3:07 AM, Mylène Josserand wrote: > Hello Mark, > > Please, excuse me for this late answer and thank you for the review! > > On Wed, 7 Mar 2018 12:18:33 + > Marc Zyngier wrote: > >> On 23/02/18 13:37, Mylène Josserand wrote: >> > On Cortex-A7, the CNTVOFF register from

Re: [PATCH 0/2] drm/sun4i: Fix some error handling paths in 'sun4i_hdmi_bind()'

2018-03-18 Thread Chen-Yu Tsai
On Mon, Mar 19, 2018 at 6:48 AM, Christophe JAILLET wrote: > I've splitted these fixes into 2 patches becasue they do not fixe the same > commit. > > Christophe JAILLET (2): > drm/sun4i: hdmi: Fix an error handling path in 'sun4i_hdmi_bind()' > drm/sun4i: hdmi: Fix another error handling path

[PATCH] vfio iommu type1: improve memory pinning process for raw PFN mapping

2018-03-18 Thread Jason Cai (Xiang Feng)
When using vfio to pass through a PCIe device (e.g. a GPU card) that has a huge BAR (e.g. 16GB), a lot of cycles are wasted on memory pinning because PFNs of PCI BAR are not backed by struct page, and the corresponding VMA has flag VM_PFNMAP. With this change, when pinning a region which is a raw

[PATCH V2 2/2] ARM: dts: imx6sx-sabreauto: add external 24MHz clock source

2018-03-18 Thread Anson Huang
On i.MX6SX SabreAuto board, there is external 24MHz clock source for analog clock2, add this clock source to clock tree. Signed-off-by: Anson Huang --- changes since V1: remove unnecessary clocks container. arch/arm/boot/dts/imx6sx-sabreauto.dts | 6 ++ 1 file changed, 6 insertions(+

[PATCH V2 1/2] clk: imx6sx: add missing lvds2 clock to the clock tree

2018-03-18 Thread Anson Huang
i.MX6SX has lvds2 (analog clock2), an I/O clock like lvds1. And this lvds2, along with lvds1, can be used to provide external clock source to the internal pll, such as pll4_audio and pll5_video. This patch mainly adds the lvds2 to the clock tree and fix its relationship with pll accordingly. Sign

Re: [PATCH] mm: add config for readahead window

2018-03-18 Thread Huang, Ying
Wei Wang writes: > Android devices boot time benefits by bigger readahead window setting from > init. This patch will make readahead window a config so early boot can > benefit by it as well. Can you change the source code of init to call ioctl(BLKRASET) early? Best Regards, Huang, Ying

Re: [PATCH] f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read

2018-03-18 Thread Chao Yu
On 2018/3/16 21:23, Ritesh Harjani wrote: > Quota code itself is serializing the operations by taking mutex_lock. > It seems a below deadlock can happen if GF_NOFS is not used in > f2fs_quota_read > > __switch_to+0x88 > __schedule+0x5b0 > schedule+0x78 > schedule_preempt_disabled+0x20 > __mutex_lo

Re: kbuild: move cc-option and cc-disable-warning after incl. arch Makefile

2018-03-18 Thread Masahiro Yamada
2018-03-19 9:41 GMT+09:00 Stefan Agner : > Hi Masahiro, > > On 27.11.2017 13:15, Masahiro Yamada wrote: >> Geert reported commit ae6b289a3789 ("kbuild: Set KBUILD_CFLAGS before >> incl. arch Makefile") broke cross-compilation using a cross-compiler >> that supports less compiler options than the ho

Re: [PATCH v1 02/19] dt-bindings: cpufreq: mediatek: use - instead of _ in examples

2018-03-18 Thread Sean Wang
Hi, Matthias I'm worried you missed the patch which already got both tags Reviewed-by from Rob and Acked-by: Viresh and thus I thought it should be ready for your tree. For the other patches in the same series, I will have v2 to refine them according to these suggestions and comments in v1 and l

RE: [PATCH 1/2] pci: host: pci-hyperv: Replace GFP_ATOMIC with GFP_KERNEL in hv_pci_onchannelcallback

2018-03-18 Thread KY Srinivasan
> -Original Message- > From: Jia-Ju Bai > Sent: Sunday, March 18, 2018 7:53 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; bhelg...@google.com > Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Jia-Ju Bai > Subject: [PATCH 1

[PATCH] init: no need to wait device probe

2018-03-18 Thread ning . a . zhang
From: Zhang Ning there are 2 reasons for no need to wait device probe reason 1: mount root device is very late in kernel initial stage. all initcalls are finished. that means most of probe functions are returned. and deferred probe are also finished by late_initcall. only async probe driver are

RE: [PATCH] vmbus: use put_device() if device_register fail

2018-03-18 Thread KY Srinivasan
> -Original Message- > From: devel On Behalf > Of Arvind Yadav > Sent: Saturday, March 17, 2018 11:48 PM > To: Stephen Hemminger ; Haiyang Zhang > > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org > Subject: [PATCH] vmbus: use put_device() if device_register fail > > if

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Vinod Koul
On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > > > > This patch is causing a build error on arm and arm64 per i.e. > > > > https://kernelci.org/build/id/5aac017e59b5141cb1b3a4d5/ > > > > > > > > Builds are

linux-next: manual merge of the tip tree with the arm-soc tree

2018-03-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/bus/arm-cci.c between commit: 3de6be7a3dd8 ("drivers/bus: Split Arm CCI driver") from the arm-soc tree and commit: edb39592a587 ("perf: Fix sibling iteration") from the tip tree. I fixed it up (I added the fol

Re: [PATCH] f2fs: don't put dentry page in pagecache into highmem

2018-03-18 Thread Yunlong Song
Hi, Jaegeuk, I find this patch is removed from current branch of dev-test recently, why? Any bugs? On 2018/2/28 20:31, Yunlong Song wrote: Previous dentry page uses highmem, which will cause panic in platforms using highmem (such as arm), since the address space of dentry pages from highmem

Re: [PATCH] mm: add config for readahead window

2018-03-18 Thread Wei Wang
On Sun, Mar 18, 2018 at 7:37 PM Huang, Ying wrote: > Wei Wang writes: > > Android devices boot time benefits by bigger readahead window setting from > > init. This patch will make readahead window a config so early boot can > > benefit by it as well. > Can you change the source code of init to

[PATCH] ARM: dts: imx7d-pinfunc: update sai select input value

2018-03-18 Thread Anson Huang
Update SAI select input daisy chain value according to Reference Manual. Signed-off-by: Anson Huang Signed-off-by: Shengjiu Wang --- arch/arm/boot/dts/imx7d-pinfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx7d-pinfunc.h b/arch/arm/boot/dts

[PATCH] irqchip: irq-gic-v4: return real error code

2018-03-18 Thread Peng Hao
__irq_domain_alloc_irqs will return some different error code, so we should return real error code in its_alloc_vcpu_irqs. Signed-off-by: Peng Hao --- drivers/irqchip/irq-gic-v4.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-gic-v4.c b/drivers/i

Re: [PATCH v2 3/3] dt-bindings: phy-mtk-tphy: add properties for U2 slew rate calibrate

2018-03-18 Thread Chunfeng Yun
On Sun, 2018-03-18 at 07:48 -0500, Rob Herring wrote: > On Mon, Mar 12, 2018 at 01:25:40PM +0800, Chunfeng Yun wrote: > > Add two properties of ref_clk and coefficient used by U2 slew rate > > calibrate which may vary on different SoCs > > > > Signed-off-by: Chunfeng Yun > > --- > > Documentatio

Re: [PATCH 4.15 000/128] 4.15.11-stable review

2018-03-18 Thread Dan Rue
On Sun, Mar 18, 2018 at 12:15:23PM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 18, 2018 at 11:25:26AM +0100, Greg Kroah-Hartman wrote: > > On Fri, Mar 16, 2018 at 04:22:21PM +0100, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.15.11 release. > > > There a

RE: [PATCH] vmbus: use put_device() if device_register fail

2018-03-18 Thread Michael Kelley (EOSG)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > On Behalf > Of KY Srinivasan > Sent: Sunday, March 18, 2018 8:02 PM > To: Arvind Yadav ; Stephen Hemminger > ; Haiyang Zhang > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH] vmbus: us

Re: [PATCH 4.14 056/109] clk: ti: clkctrl: add support for retrying failed init

2018-03-18 Thread Dan Rue
On Fri, Mar 16, 2018 at 04:23:25PM +0100, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Tero Kristo > > > [ Upstream commit 729e13bf58e643b9accd2a14c55b555958702fb0 ] > > In case the clkctrl node conta

Re: [PATCH 1/2] pci: host: pci-hyperv: Replace GFP_ATOMIC with GFP_KERNEL in hv_pci_onchannelcallback

2018-03-18 Thread Jia-Ju Bai
On 2018/3/19 10:52, KY Srinivasan wrote: -Original Message- From: Jia-Ju Bai Sent: Sunday, March 18, 2018 7:53 AM To: KY Srinivasan ; Haiyang Zhang ; Stephen Hemminger ; bhelg...@google.com Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; Ji

[PATCH 0/2] staging: typec: rt1711h typec driver and dt-bindings

2018-03-18 Thread ShuFan Lee
From: ShuFan Lee This patch series add rt1711h typec chip driver and dt-bindings changelogs between v1 & v2 - use gpiod_* instead of gpio_* changelogs between v2 & v3 - add dt-bindings for rt1711h typec driver ShuFan Lee (2): staging: typec: rt1711h typec chip driver dt-bindings: usb: rt17

[PATCH 2/2] dt-bindings: usb: rt1711h device tree binding document

2018-03-18 Thread ShuFan Lee
From: ShuFan Lee Add device tree binding document for Richtek RT1711H Type-C chip driver Signed-off-by: ShuFan Lee --- .../devicetree/bindings/usb/richtek,rt1711h.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/rich

[PATCH 1/2] staging: typec: rt1711h typec chip driver

2018-03-18 Thread ShuFan Lee
From: ShuFan Lee Richtek RT1711H Type-C chip driver that works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Add definition of TCPC_CC_STATUS_TOGGLING. Signed-off-by: ShuFan Lee --- drivers/staging/typec/Kconfig | 8 + drivers/staging/typec/Mak

Re: linux-next: manual merge of the kvms390 tree with the nds32 tree

2018-03-18 Thread Stephen Rothwell
Hi all, On Mon, 26 Feb 2018 13:34:45 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the kvms390 tree got a conflict in: > > drivers/video/console/Kconfig > > between commit: > > 2312dbf7462b ("drivers/video/concole: add negative dependency for > VGA_CONSOLE on nds32") > >

[PATCH v6] clk: lpc32xx: Set name of regmap_config

2018-03-18 Thread Jeffy Chen
We are now allowing to register debugfs without a valid device, and not having a valid name will end up using "dummy*" to create debugfs dir. Signed-off-by: Jeffy Chen Acked-by: Vladimir Zapolskiy --- Changes in v6: Modify name as Vladimir suggested. drivers/clk/nxp/clk-lpc32xx.c | 1 + 1 fil

Re: Intel GemniLake xHCI connected devices can never wake up the system from suspend

2018-03-18 Thread Daniel Drake
On Mon, Mar 19, 2018 at 6:36 AM, Rafael J. Wysocki wrote: > On Fri, Mar 16, 2018 at 10:06 AM, Mathias Nyman > wrote: >> Adding Rafael directly to CC >> >> In short, if _S3D and _S3W are missing in DSDT then a PCI device >> stays in D0 during suspend in Linux, but goes to D3 in Windows. >> >> USB

Re: [PATCH v5 3/4] clk: lpc32xx: Set name of regmap_config

2018-03-18 Thread JeffyChen
Hi Vladimir, On 03/19/2018 05:57 AM, Vladimir Zapolskiy wrote: > static struct regmap_config lpc32xx_scb_regmap_config = { >+ .name = "lpc32xx-scb", please rename it to "scb", LPC32xx SoC name is already known from the context. When it's done, feel free to add to the next version my Acked-

[PATCH][v4] PM / sleep: Do not delay the synchronization of MTRR during resume

2018-03-18 Thread Yu Chen
From: Chen Yu Sometimes it is too late for the APs to adjust their MTRRs to the valid ones saved before suspend - currently this action is performed by set_mtrr_state() after all the APs have been brought up. In some cases the BIOS might scribble the MTRR across suspend, as a result we might get

Re: [PATCH 18/19] clocksource: add timer-nationalchip.c

2018-03-18 Thread Mark Rutland
Hi, On Mon, Mar 19, 2018 at 03:51:40AM +0800, Guo Ren wrote: > +#define NC_VA_COUNTER_1_STATUS (void *)(timer_reg + 0x00) > +#define NC_VA_COUNTER_1_VALUE(void *)(timer_reg + 0x04) > +#define NC_VA_COUNTER_1_CONTROL (void *)(timer_reg + 0x10) > +#define N

Re: [PATCH] ASoC: uniphier: evea: add switch for changing source of line-in

2018-03-18 Thread Katsuhiro Suzuki
Hello Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, March 15, 2018 1:26 AM > To: Suzuki, Katsuhiro > Cc: alsa-de...@alsa-project.org; Masami Hiramatsu ; > Jassi Brar ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org > Subj

Re: [PATCH v1 1/2] dt-bindings: usb: Update documentation for Qualcomm DWC3 driver

2018-03-18 Thread Manu Gautam
Hi, On 3/18/2018 6:19 PM, Rob Herring wrote: > On Tue, Mar 13, 2018 at 04:06:00PM +0530, Manu Gautam wrote: >> Existing documentation has lot of incorrect information as it >> was originally added for a driver that no longer exists. >> >> Signed-off-by: Manu Gautam >> --- >> .../devicetree/bind

Re: [RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Al Viro
On Sun, Mar 18, 2018 at 06:18:48PM +, Al Viro wrote: > I'd done some digging in that area, will find the notes and post. OK, found: We have two ABIs in the game - syscall and normal C. The latter (for all targets we support) can be described in the following terms: * there is a seri

<    1   2   3   4   5   >