Re: [PATCH v9 5/8] gpio: Initial support for ROHM bd70528 GPIO block

2019-02-14 Thread Linus Walleij
On Wed, Feb 13, 2019 at 2:34 PM Matti Vaittinen wrote: > ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be > controlled by GPIO framework. > > IRQs are handled by regmap-irq and GPIO driver is not > aware of the irq usage. > > Signed-off-by: Matti Vaittinen > Reviewed-by: Linus Walleij

Re: [PATCH] input: keyboard: gpio-keys-polled: use input name from pdata if available

2019-02-14 Thread Enrico Weigelt, metux IT consult
Dmitry Torokhov wrote: sorry for the late reply - lost your mail by broken filter :( (just picked it out now of the archive ...) > > Instead of hardcoding the input name to the driver name ('gpio-keys-polled'), > > allow the passing a name via platform data ('name' field was already present), >

[PATCH V5 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table

2019-02-14 Thread Anson Huang
Add i.MX8QXP CPU opp table to support cpufreq. Signed-off-by: Anson Huang --- Changes since V4: - remove redundant clock-latency property in A35_0; - add #cooling-cells for all A35 core. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++ 1 file

[PATCH V5 2/2] clk: imx: scu: add cpu frequency scaling support

2019-02-14 Thread Anson Huang
On NXP's i.MX SoCs with system controller inside, CPU frequency scaling can ONLY be done by system controller firmware, and it can ONLY be requested from secure mode, so Linux kernel has to call ARM SMC to trap to ARM-Trusted-Firmware to request system controller firmware to do CPU frequency

Re: [PATCH 7/8] initramfs: proide a generic free_initrd_mem implementation

2019-02-14 Thread Geert Uytterhoeven
On Thu, Feb 14, 2019 at 12:09 AM Christoph Hellwig wrote: > For most architectures free_initrd_mem just expands to the same > free_reserved_area call. Provide that as a generic implementation > marked __weak. > > Signed-off-by: Christoph Hellwig > arch/m68k/mm/init.c | 7 ---

Re: [PATCH v6 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-02-14 Thread Yash Shah
On Thu, Feb 14, 2019 at 2:07 AM Rob Herring wrote: > > On Wed, Feb 13, 2019 at 02:56:17PM +0530, Yash Shah wrote: > > DT documentation for PWM controller added. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Compatible string update] > > Signed-off-by: Atish Patra > > Signed-off-by: Yash

Re: [PATCH 03/11] kernel/locks: consolidate RWSEM_GENERIC_* options

2019-02-14 Thread Geert Uytterhoeven
On Thu, Feb 14, 2019 at 12:08 AM Christoph Hellwig wrote: > Introduce one central definition of RWSEM_XCHGADD_ALGORITHM and > RWSEM_GENERIC_SPINLOCK in kernel/Kconfig.locks and let architectures > select RWSEM_XCHGADD_ALGORITHM if they want it, otherwise default to > the spinlock version. > >

Re: [PATCH 07/11] init: consolidate the GENERIC_CALIBRATE_DELAY symbol

2019-02-14 Thread Geert Uytterhoeven
On Thu, Feb 14, 2019 at 3:25 AM Christoph Hellwig wrote: > Add one definition to init/Kconfig and let the architectures select it > if supported. The only complication is xtensa, where it is a user > visible option - we introduce a xtensa-specific symbol instead to work > around this. > >

Re: [PATCH 09/11] lib: consolidate the GENERIC_CSUM symbol

2019-02-14 Thread Geert Uytterhoeven
On Thu, Feb 14, 2019 at 3:25 AM Christoph Hellwig wrote: > Add one definition to lib/Kconfig and let the architectures > select if it supported. > > Signed-off-by: Christoph Hellwig > arch/m68k/Kconfig | 3 --- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH 10/11] lib: consolidate the GENERIC_HWEIGHT symbol

2019-02-14 Thread Geert Uytterhoeven
On Thu, Feb 14, 2019 at 3:11 AM Christoph Hellwig wrote: > Introduce a new ARCH_HAS_HWEIGHT symbol for alpha and ia64, and just > default to the generic version otherwise. > > Signed-off-by: Christoph Hellwig > arch/m68k/Kconfig | 4 Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 12:06 AM Lubomir Rintel wrote: > Similarly to PXA3xx, pinctrl-single can't set pin direction on MMP2 either. > See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for > PXA3xx") > > Fixes: a770d946371e ("gpio: pxa: add pin control gpio direction and

Re: [v3] Coccinelle: semantic patch for missing put_device()

2019-02-14 Thread Markus Elfring
>> +when != ex = \( (T)id \| >dev \| get_device(>dev) \| >> (T1)platform_get_drvdata(id) \) > > There is no need for the disjunction. There is also no need for the > different variables. Really? Would you like to distinguish the shown assignment expressions anyhow? > Different variables

Re: [PATCH v1] mmc: mmc: Fix HS setting in mmc_hs400_to_hs200()

2019-02-14 Thread Ulf Hansson
On Thu, 14 Feb 2019 at 03:14, Chaotian Jing wrote: > > On Wed, 2019-02-13 at 13:08 +0100, Ulf Hansson wrote: > > On Wed, 13 Feb 2019 at 10:07, Chaotian Jing > > wrote: > > > > > > mmc_hs400_to_hs200() begins with the card and host in HS400 mode. > > > Therefore, any commands sent to the card

Re: [PATCH -next 1/3] spmi: pmic-arb: select IRQ_DOMAIN_HIERARCHY in Kconfig

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 2:36 AM Brian Masney wrote: > Select IRQ_DOMAIN_HIERARCHY for pmic-arb in Kconfig since this driver > uses the version 2 IRQ interfaces. IRQ_DOMAIN_HIERARCHY selects > IRQ_DOMAIN, so it can be removed from here. > > Signed-off-by: Brian Masney Patch applied on the devel

Re: [v3] coccinelle: semantic patch for missing put_device()

2019-02-14 Thread Markus Elfring
> However, when we tried the following style, we encountered a parse error. I am sorry that my refactoring proposal did not completely fit to the applied software version. I am still curious if a development topic like “Support for SmPL disjunctions on every token” will evolve further.

Re: [PATCH -next 2/3] mfd: pm8xxx: select IRQ_DOMAIN_HIERARCHY in Kconfig

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 2:36 AM Brian Masney wrote: > Select IRQ_DOMAIN_HIERARCHY for pm8xxx in Kconfig since this driver uses > the version 2 IRQ interfaces. IRQ_DOMAIN_HIERARCHY selects IRQ_DOMAIN, > so it can be removed from here. > > Signed-off-by: Brian Masney > --- > Linus: For your

Re: [Patch v3 0/4] Protect against concurrent calls into UV BIOS

2019-02-14 Thread Ard Biesheuvel
On Wed, 13 Feb 2019 at 20:34, Hedi Berriche wrote: > > - Changes since v2 > Addressed comments from Ard Biesheuvel: > * expose efi_runtime_lock to UV platform only instead of globally > * remove unnecessary #ifdef CONFIG_EFI from bios_uv.c > > - Changes since v1: > Addressed comments from

Re: [PATCH -next 3/3] qcom: ssbi-gpio: correct boundary conditions in pm8xxx_domain_translate

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 2:36 AM Brian Masney wrote: > SSBI GPIOs are numbered 1..ngpio, so the boundary check in > pm8xxx_domain_translate() is off by one. This patch corrects that check. > > Signed-off-by: Brian Masney > --- > Originally found by Bjorn Andersson in spmi-gpio. > > Linus: For

Re: [PATCH v9 8/8] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-02-14 Thread Lee Jones
On Wed, 13 Feb 2019, Guenter Roeck wrote: > On 2/13/19 5:37 AM, Matti Vaittinen wrote: > > Initial support for watchdog block included in ROHM BD70528 > > power management IC. > > > > Configurations for low power states are still to be checked. > > > > Signed-off-by: Matti Vaittinen > >

Re: [PATCH] MAINTAINERS: update entry for drm/msm

2019-02-14 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 11:23:07AM -0500, Sean Paul wrote: > On Wed, Feb 13, 2019 at 05:04:59PM +0100, Daniel Vetter wrote: > > On Wed, Feb 13, 2019 at 4:43 PM Rob Clark via dri-devel > > wrote: > > > > > > On Wed, Feb 13, 2019 at 10:28 AM Daniel Vetter wrote: > > > > > > > > On Wed, Feb 13,

Re: [PATCH v9 8/8] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-02-14 Thread Matti Vaittinen
On Thu, Feb 14, 2019 at 08:18:49AM +, Lee Jones wrote: > On Wed, 13 Feb 2019, Guenter Roeck wrote: > > > On 2/13/19 5:37 AM, Matti Vaittinen wrote: > > > Initial support for watchdog block included in ROHM BD70528 > > > power management IC. > > > > > > Configurations for low power states are

Re: [PATCH 01/11] powerpc: remove dead ifdefs in

2019-02-14 Thread Christophe Leroy
Le 13/02/2019 à 18:39, Christoph Hellwig a écrit : __KERNEL__ is never not defined for non-uapi headers, and GENERIC_CSUM isn't ever set for powerpc either. GENERIC_CSUM was abandonned by commit d4fde568a34a ("powerpc/64: Use optimized checksum routines on little-endian") Could you also

Re: [PATCH 0/1] mips: loongson64: move EC header to include/asm/mach-loongson64

2019-02-14 Thread Tom Li
> Hi, > > Yifeng Li (1): > > mips: loongson64: move EC header to include/asm/mach-loongson64 > > This probably should be MFD driver under drivers/mfd. It's a longer > road, though... > > A. The problem of converting it to a MFD driver, is that there's still something doesn't fit together.

Re: [PATCH v2 0/6] Fixmap support and MM cleanups

2019-02-14 Thread Anup Patel
On Thu, Feb 14, 2019 at 6:07 AM Palmer Dabbelt wrote: > > On Wed, 13 Feb 2019 00:21:43 PST (-0800), a...@brainfault.org wrote: > > On Wed, Feb 13, 2019 at 4:45 AM Palmer Dabbelt wrote: > >> > >> On Sat, 19 Jan 2019 05:27:53 PST (-0800), Anup Patel wrote: > >> > This patchset does: > >> > 1.

Re: [PATCH v9 5/8] gpio: Initial support for ROHM bd70528 GPIO block

2019-02-14 Thread Matti Vaittinen
Thanks a bunch Linus, On Thu, Feb 14, 2019 at 09:00:33AM +0100, Linus Walleij wrote: > On Wed, Feb 13, 2019 at 2:34 PM Matti Vaittinen > wrote: > > > ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be > > controlled by GPIO framework. > > > > IRQs are handled by regmap-irq and GPIO driver is

Re: [PATCH v4 1/6] dt-bindings: usb: musb: Add support for MediaTek musb controller

2019-02-14 Thread Min Guo
Hi Rob, Sorry to bother you again. Can I describe usb-connector in usb node like this? usb2: usb@1120 { compatible = "mediatek,mt2701-musb"; "mediatek,mtk-musb"; reg = <0 0x1120 0 0x1000>; ... usb_connector: musb_connector { compatible =

[PATCH v2 0/2] ARM errata 814220

2019-02-14 Thread Benjamin Gaignard
Implement ARM errata 814220 for Cortex A7. This patch has been wroten by Jason Liu years ago but never send upstream. I have tried to contact the author on multiple email addresses but I haven't found any valid one... I have keep Jason's sign-off and just rebase the patch on to v5-rc6. version

[PATCH v2 2/2] ARM: stm32: select ARM errata 814220

2019-02-14 Thread Benjamin Gaignard
Make sure that ARM errata 814220 is selected by STM32MP157 SoC Signed-off-by: Benjamin Gaignard Acked-by: Arnd Bergmann --- arch/arm/mach-stm32/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig index 713c068b953f..be2403fa3deb

[PATCH v2 1/2] ARM: errata 814220-B-Cache maintenance by set/way operations can execute out of order.

2019-02-14 Thread Benjamin Gaignard
Description: The v7 ARM states that all cache and branch predictor maintenance operations that do not specify an address execute, relative to each other, in program order. However, because of this erratum, an L2 set/way cache maintenance operation can overtake an L1 set/way cache maintenance

Re: linux-next: Signed-off-by missing for commit in the leaks tree

2019-02-14 Thread Tobin C. Harding
On Thu, Feb 14, 2019 at 06:36:05PM +1100, Stephen Rothwell wrote: > Hi Tobin, > > Commit > > 5d06b3fc8e61 ("leaking_addresses: Completely remove --version flag") > > is missing a Signed-off-by from its author and committer. Thanks, fixed. Tobin signature.asc Description: PGP

Re: [PATCH v6 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-02-14 Thread Uwe Kleine-König
Hello, On Thu, Feb 14, 2019 at 01:25:27PM +0530, Yash Shah wrote: > On Wed, Feb 13, 2019 at 4:05 PM Uwe Kleine-König > wrote: > > On Wed, Feb 13, 2019 at 02:56:18PM +0530, Yash Shah wrote: > > > +static int pwm_sifive_enable(struct pwm_chip *chip, struct pwm_device > > > *dev, > > > +

Re: [PATCH V5 1/2] arm64: dts: freescale: imx8qxp: add cpu opp table

2019-02-14 Thread Viresh Kumar
On 14-02-19, 08:02, Anson Huang wrote: > Add i.MX8QXP CPU opp table to support cpufreq. > > Signed-off-by: Anson Huang > --- > Changes since V4: > - remove redundant clock-latency property in A35_0; > - add #cooling-cells for all A35 core. > --- >

Re: [PATCH] perf trace: Fix potential USE_AFTER_FREE problem

2019-02-14 Thread Jiri Olsa
On Thu, Feb 14, 2019 at 12:23:56AM -0500, Bo YU wrote: > From: Bo Yu > > There is a freed pointer "evsel", so fix it. > > Detected by CoverityScan, CID#1442595("Memory-illegalaccesses > (USE_AFTER_FREE)") > Fixes: 6ab3bc240ade4("perf trace: Support multiple "vfs_getname" probes") > >

[PATCH 1/2] input: keyboard: gpio-keys-polled: use input name from pdata if available

2019-02-14 Thread Enrico Weigelt, metux IT consult
Instead of hardcoding the input name to the driver name ('gpio-keys-polled'), allow the passing a name via platform data ('name' field was already present), but default to old behaviour in case of NULL. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Enrico Weigelt, metux IT

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 4:13 AM Suman Anna wrote: > [Me] > > To be able to use hierarchical interrupt domain in the kernel, the top > > interrupt controller must use the hierarchical (v2) irqdomain, so > > if this is anything else than the ARM GIC it will be an interesting > > undertaking to

gpio-keys-polled enhancements v2

2019-02-14 Thread Enrico Weigelt, metux IT consult
Hi folks, here's v2 of my gpio-keys-polled enhancements queue. I'm using this to allow it to be initialized by some other platform driver (in my case for the APUv2 board), when no proper fw data (oftree or acpi) is available. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux

[PATCH 2/2] input: keyboard: gpio_keys_polled: use gpio lookup table

2019-02-14 Thread Enrico Weigelt, metux IT consult
Support the recently introduced gpio lookup tables for attaching to gpio lines. So, harcoded gpio numbers aren't needed anymore. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/input/keyboard/gpio_keys_polled.c | 167

[PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Paul Kocialkowski
Check that our queues are not busy before setting the format or return EBUSY if that's the case. This ensures that our format can't change once buffers are allocated for the queue. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 14 ++ 1 file

[PATCH 2] coda: get rid of CODA_FREE()

2019-02-14 Thread Dan Carpenter
The CODA_FREE() macro just calls kvfree(). We can call that directly instead. Signed-off-by: Dan Carpenter --- fs/coda/coda_linux.h | 2 -- fs/coda/psdev.c | 8 fs/coda/upcall.c | 36 ++-- 3 files changed, 22 insertions(+), 24 deletions(-)

Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-02-14 Thread Lokesh Vutla
Hi Tony, On 13/02/19 8:56 PM, Tony Lindgren wrote: > * Lokesh Vutla [190213 04:26]: >> Hi Tony, >> >> On 12/02/19 9:52 PM, Tony Lindgren wrote: >>> Hi, >>> >>> * Lokesh Vutla [190212 07:43]: +Example: + +The following example demonstrates both interrupt router node and the

Re: [PATCH v6 0/5] i2c: ocores: improvements

2019-02-14 Thread Federico Vaga
On Thursday, February 14, 2019 4:07:33 AM CET Andrew Lunn wrote: > On Mon, Feb 11, 2019 at 05:49:08PM +0100, Federico Vaga wrote: > > This patch set provides improvements to the i2c-ocore driver. > > > > [V5 -> V6] > > - remove redundant code introduced in V5 (double read control register) > > >

Re: [PATCH -next] swiotlb: drop pointless static qualifier in swiotlb_dma_supported()

2019-02-14 Thread YueHaibing
On 2019/2/14 15:26, Christoph Hellwig wrote: > On Thu, Feb 14, 2019 at 01:41:47AM +, YueHaibing wrote: >> There is no need to have the 'struct dentry *d_swiotlb_usage' variable >> static since new value always be assigned before use it. > > FYI, this is in swiotlb_create_debugfs, not

Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-02-14 Thread Lokesh Vutla
On 13/02/19 9:02 PM, Tony Lindgren wrote: > * Lokesh Vutla [190213 04:23]: >> Hi Tony, >> >> On 12/02/19 10:00 PM, Tony Lindgren wrote: >>> Hi, >>> >>> * Lokesh Vutla [190212 07:43]: +The Interrupt Router (INTR) module provides a mechanism to route M +interrupt inputs to N interrupt

Re: [PATCH v1] mmc: mmc: Fix HS setting in mmc_hs400_to_hs200()

2019-02-14 Thread Chaotian Jing
On Thu, 2019-02-14 at 09:14 +0100, Ulf Hansson wrote: > On Thu, 14 Feb 2019 at 03:14, Chaotian Jing > wrote: > > > > On Wed, 2019-02-13 at 13:08 +0100, Ulf Hansson wrote: > > > On Wed, 13 Feb 2019 at 10:07, Chaotian Jing > > > wrote: > > > > > > > > mmc_hs400_to_hs200() begins with the card

Re: [PATCH v6 9/9] vsprintf: Avoid confusion between invalid address and value

2019-02-14 Thread Petr Mladek
On Wed 2019-02-13 15:54:55, Andy Shevchenko wrote: > On Tue, Feb 12, 2019 at 04:45:30PM +0100, Petr Mladek wrote: > > On Fri 2019-02-08 19:27:17, Andy Shevchenko wrote: > > > On Fri, Feb 08, 2019 at 04:23:10PM +0100, Petr Mladek wrote: > > > > We are able to detect invalid values handled by %p[iI]

Re: [PATCH v2 1/1] tee: add cancellation support to client interface

2019-02-14 Thread Jens Wiklander
Hi Igor, On Wed, Feb 13, 2019 at 2:36 PM Igor Opaniuk wrote: > > On Thu, 24 Jan 2019 at 19:32, Igor Opaniuk wrote: > > > > Add support of cancellation request to the TEE kernel internal > > client interface. Can be used by software TPM drivers, that leverage > > TEE under the hood (for instance

[PATCH 0/2] ASoC: da7219: BCLK and TDM flexibility improvements

2019-02-14 Thread Adam Thomson
This patch set updates the driver to be more flexible regarding the BCLK and TDM configurations of the device. Previously the BCLK rate was fixed at 64 periods per WCLK, when the codec is DAI clock master, but to satisfy devices which prefer a lower rate, and to save power, the BCLK rate is now

[PATCH 2/2] ASoC: da7219: Update TDM usage to be more flexible

2019-02-14 Thread Adam Thomson
The previous implementatation was restrictive with regards to BCLK rates for slave mode where the driver would not allow rates the codec couldn't provide itself as clock master. The codec is able to automatically determine and handle whatever rate is provided so this restriction isn't necessary

[PATCH 1/2] ASoC: da7219: Add support for master mode BCLK rate adjustment

2019-02-14 Thread Adam Thomson
Previously the driver would default the BCLK periods per WCLK to 64, to cover all possible non-TDM scenarios when the codec was DAI clock master. However some devices require a lower BCLK rate to operate correctly so with this in mind, this commit updates the code to be more dynamic, with BCLK

RE: [RFC][Patch v8 0/7] KVM: Guest Free Page Hinting

2019-02-14 Thread Wang, Wei W
On Wednesday, February 13, 2019 8:07 PM, Nitesh Narayan Lal wrote: > Once the host free the pages. All the isolated pages are returned back > to the buddy. (This is implemented in hyperlist_ready()) This actually has the same issue: the isolated pages have to wait to return to the buddy after

Re: [PATCH] printk: add KERN_NOTIME to skip the timestamp

2019-02-14 Thread Petr Mladek
On Wed 2019-02-13 09:31:54, Steven Rostedt wrote: > On Wed, 13 Feb 2019 22:00:04 +0800 > xiang xiao wrote: > > Here is a sample output with this patch: > > [ 10.991426] virtio_rpmsg_bus virtio1: rpmsg host is online > > [ 10.991443] remoteproc remoteproc1: registered virtio1 (type 7) > > [

[PATCH v2 -next] swiotlb: drop pointless static qualifier in swiotlb_create_debugfs()

2019-02-14 Thread YueHaibing
There is no need to have the 'struct dentry *d_swiotlb_usage' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing --- v2: fix patch title --- kernel/dma/swiotlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/dma/swiotlb.c

Re: [PATCH V3 1/5] genirq/affinity: don't mark 'affd' as const

2019-02-14 Thread Thomas Gleixner
On Wed, 13 Feb 2019, Keith Busch wrote: Cc+ Huacai Chen > On Wed, Feb 13, 2019 at 10:41:55PM +0100, Thomas Gleixner wrote: > > Btw, while I have your attention. There popped up an issue recently related > > to that affinity logic. > > > > The current implementation fails when: > > > >

Re: [PATCH 4.19 00/17] V4.19 backport of more 32-bit arm spectre patches

2019-02-14 Thread Julien Thierry
Hi David, On 13/02/2019 21:32, David Long wrote: > From: "David A. Long" > > V4.19 backport of spectre patches from Russell M. King's spectre branch. > Patches have been kvm-unit-test'ed on an arndale, run through kernelci, and > handed off to ARM for functional testing. > I've reviewed the

RE: [PATCH] ARC: Explicitly set ARCH_SLAB_MINALIGN = 8

2019-02-14 Thread Alexey Brodkin
Hi Vineet, Peter, all, > -Original Message- > From: Vineet Gupta > Sent: Thursday, February 14, 2019 2:24 AM > To: Peter Zijlstra > Cc: David Laight ; Alexey Brodkin > ; linux-snps- > a...@lists.infradead.org; Arnd Bergmann ; > linux-kernel@vger.kernel.org; > sta...@vger.kernel.org;

Re: [PATCH -next 2/3] mfd: pm8xxx: select IRQ_DOMAIN_HIERARCHY in Kconfig

2019-02-14 Thread Lee Jones
On Thu, 14 Feb 2019, Linus Walleij wrote: > On Thu, Feb 14, 2019 at 2:36 AM Brian Masney wrote: > > > Select IRQ_DOMAIN_HIERARCHY for pm8xxx in Kconfig since this driver uses > > the version 2 IRQ interfaces. IRQ_DOMAIN_HIERARCHY selects IRQ_DOMAIN, > > so it can be removed from here. > > > >

[PATCH v7 1/5] i2c: ocores: stop transfer on timeout

2019-02-14 Thread Federico Vaga
Detecting a timeout is ok, but we also need to assert a STOP command on the bus in order to prevent it from generating interrupts when there are no on going transfers. Example: very long transmission. 1. ocores_xfer: START a transfer 2. ocores_isr : handle byte by byte the transfer 3.

[PATCH v7 4/5] i2c: ocores: add SPDX tag

2019-02-14 Thread Federico Vaga
It adds the SPDX tag and it removes the old text about the GPLv2. Signed-off-by: Federico Vaga Reviewed-by: Andrew Lunn --- drivers/i2c/busses/i2c-ocores.c | 5 + include/linux/platform_data/i2c-ocores.h | 5 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH v7 2/5] i2c: ocores: do not handle IRQ if IF is not set

2019-02-14 Thread Federico Vaga
If the Interrupt Flag (IF) is not set, we should not handle the IRQ: - the line can be shared with other devices - it can be a spurious interrupt To avoid reading twice the status register, the ocores_process() function expects it to be read by the caller. Signed-off-by: Federico Vaga Acked-by:

[PATCH v7 5/5] i2c: ocores: checkpatch fixes

2019-02-14 Thread Federico Vaga
Miscellaneous style fixes from checkpatch Signed-off-by: Federico Vaga Reviewed-by: Andrew Lunn --- drivers/i2c/busses/i2c-ocores.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-ocores.c

[PATCH v7 3/5] i2c: ocores: add polling interface

2019-02-14 Thread Federico Vaga
This driver assumes that an interrupt line is always available for the I2C master. This is not always the case and this patch adds support for a polling version. Report from Andrew Lunn: I did some timing tests for this. On my box, we request a udelay of 80uS. The kernel actually delays for

[PATCH v7 0/5] i2c: ocores: improvements

2019-02-14 Thread Federico Vaga
This patch set provides improvements to the i2c-ocore driver. [V6 -> V7] - restore accidentally removed 'reviewed-by' tags in changelog [V5 -> V6] - remove redundant code introduced in V5 (double read control register) [V4 -> V5] - deterministic status of IEN bit in register "CONTROL" at the

Re: [PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2

2019-02-14 Thread Lubomir Rintel
On Thu, 2019-02-14 at 09:13 +0100, Linus Walleij wrote: > On Thu, Feb 14, 2019 at 12:06 AM Lubomir Rintel wrote: > > > Similarly to PXA3xx, pinctrl-single can't set pin direction on MMP2 either. > > See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for > > PXA3xx") > > > >

Re: [PATCH 01/11] powerpc: remove dead ifdefs in

2019-02-14 Thread Andreas Schwab
On Feb 13 2019, Christoph Hellwig wrote: > __KERNEL__ is never not defined for non-uapi headers, and GENERIC_CSUM "... never not ... non-..." That's a bit too negative, I think. :-) Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748

Re: [PATCH 4.14 V2 00/17] V4.14 backport of more 32-bit arm spectre patches

2019-02-14 Thread Julien Thierry
Hi David, On 14/02/2019 02:10, David Long wrote: > From: "David A. Long" > > V4.14 backport of spectre patches from Russell M. King's spectre branch. > Patches have been kvm-unit-test'ed on an arndale, run through kernelci, and > handed off to ARM for functional testing. Same as 4.19

Re: [PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Hans Verkuil
On 2/14/19 9:37 AM, Paul Kocialkowski wrote: > Check that our queues are not busy before setting the format or return > EBUSY if that's the case. This ensures that our format can't change > once buffers are allocated for the queue. > > Signed-off-by: Paul Kocialkowski > --- >

Re: [PATCH v6 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-02-14 Thread Matthias Brugger
On 14/02/2019 06:27, Erin Lo wrote: > On Wed, 2019-02-13 at 15:54 +0100, Matthias Brugger wrote: >> >> On 13/02/2019 10:03, Erin Lo wrote: >>> On Thu, 2019-02-07 at 16:30 +0100, Matthias Brugger wrote: On 24/01/2019 09:07, Erin Lo wrote: > From: Ben Ho > > Add basic chip

Re: [PATCH -next 2/3] mfd: pm8xxx: select IRQ_DOMAIN_HIERARCHY in Kconfig

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 9:51 AM Lee Jones wrote: > On Thu, 14 Feb 2019, Linus Walleij wrote: > > On Thu, Feb 14, 2019 at 2:36 AM Brian Masney wrote: > > > > > Select IRQ_DOMAIN_HIERARCHY for pm8xxx in Kconfig since this driver uses > > > the version 2 IRQ interfaces. IRQ_DOMAIN_HIERARCHY selects

Re: [PATCH v2 1/1] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-14 Thread Matthias Brugger
On 14/02/2019 08:54, shun-chih...@mediatek.com wrote: > From: Shun-Chih Yu > > Document the devicetree bindings for MediaTek Command-Queue DMA controller > which could be found on MT6765 SoC or other similar Mediatek SoCs. > > Signed-off-by: Shun-Chih Yu > Reviewed-by: Rob Herring >

Re: [PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2

2019-02-14 Thread Linus Walleij
On Thu, Feb 14, 2019 at 9:52 AM Lubomir Rintel wrote: > On Thu, 2019-02-14 at 09:13 +0100, Linus Walleij wrote: > > On Thu, Feb 14, 2019 at 12:06 AM Lubomir Rintel wrote: > > > > > Similarly to PXA3xx, pinctrl-single can't set pin direction on MMP2 > > > either. > > > See also: commit

Re: [PATCH] drm: imx: Use of_node_name_eq for node name comparisons

2019-02-14 Thread Philipp Zabel
Hi Rob, On Wed, 2019-02-13 at 12:07 -0600, Rob Herring wrote: > On Wed, Dec 5, 2018 at 1:50 PM Rob Herring wrote: > > > > Convert string compares of DT node names to use of_node_name_eq helper > > instead. This removes direct access to the node name pointer. > > > > For instances using

RE: [RFC][Patch v8 0/7] KVM: Guest Free Page Hinting

2019-02-14 Thread Wang, Wei W
On Wednesday, February 13, 2019 5:19 PM, David Hildenbrand wrote: > If you have to resize/alloc/coordinate who will report, you will need locking. > Especially, I doubt that there is an atomic xbitmap (prove me wrong :) ). Yes, we need change xbitmap to support it. Just thought of another

Re: [PATCH v2 2/4] dt-bindings: gnss: add mediatek binding

2019-02-14 Thread Johan Hovold
On Wed, Feb 13, 2019 at 04:24:00PM +0100, Loys Ollivier wrote: > On Mon 11 Feb 2019 at 14:17, Loys Ollivier wrote: > > On Mon 11 Feb 2019 at 08:33, Johan Hovold wrote: > >> Right, but please do look around for other receivers using this chipset > >> so that we can make the binding generic

Re: BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65

2019-02-14 Thread Pintu Agarwal
Hello Sai, Thanks so much for your help. On Thu, Feb 14, 2019 at 12:14 AM Sai Prakash Ranjan wrote: > > Hi, > > On 2/13/2019 8:10 PM, Pintu Agarwal wrote: > > OK thanks for your suggestions. sdm845-perf_defconfig did not work for > > me. The target did not boot. > > Perf defconfig works fine.

Re: [PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-14 Thread Sergei Shtylyov
Hello! On 14.02.2019 9:42, Huang Zijiang wrote: The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() ^ in? when skb is still used. The skb is be replaced by segments, so the ^^ will?

Re: [PATCH v6] mfd: tqmx86: IO controller with i2c, wachdog and gpio

2019-02-14 Thread Lee Jones
On Sat, 09 Feb 2019, Andrew Lunn wrote: > The QMX86 is a PLD present on some TQ-Systems ComExpress modules. It > provides 1 or 2 I2C bus masters, 8 GPIOs and a watchdog timer. Add an > MFD which will instantiate the individual drivers. > > Signed-off-by: Andrew Lunn > --- > drivers/mfd/Kconfig

Re: [PATCH v2] mfd: sec-core: Cleanup formatting to a consistent style

2019-02-14 Thread Lee Jones
On Mon, 11 Feb 2019, Krzysztof Kozlowski wrote: > Cleanup the formatting to have consistent style across the file (only > white-space issues). No expected difference in code. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Leave one-liners as is. > --- >

Re: [PATCH] mfd: mxs-lradc: Mark expected switch fall-through

2019-02-14 Thread Lee Jones
On Mon, 11 Feb 2019, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/mfd/mxs-lradc.c: In function ‘mxs_lradc_probe’: >

Re: [PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Paul Kocialkowski
Hi, On Thu, 2019-02-14 at 09:59 +0100, Hans Verkuil wrote: > On 2/14/19 9:37 AM, Paul Kocialkowski wrote: > > Check that our queues are not busy before setting the format or return > > EBUSY if that's the case. This ensures that our format can't change > > once buffers are allocated for the

RE: [v5 2/2] arm64: dts: lx2160a: add sata node support

2019-02-14 Thread Peng Ma
>-Original Message- >From: Mian Yousaf Kaukab >Sent: 2019年2月13日 3:01 >To: Peng Ma >Cc: ax...@kernel.dk; shawn...@kernel.org; robh...@kernel.org; >mark.rutl...@arm.com; Leo Li ; >linux-...@vger.kernel.org; devicet...@vger.kernel.org; >linux-kernel@vger.kernel.org;

Re: [PATCH v2 1/1] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-14 Thread Matthias Brugger
On 14/02/2019 08:54, shun-chih...@mediatek.com wrote: > From: Shun-Chih Yu > > Document the devicetree bindings for MediaTek Command-Queue DMA controller > which could be found on MT6765 SoC or other similar Mediatek SoCs. > > Signed-off-by: Shun-Chih Yu > Reviewed-by: Rob Herring >

Re: [PATCH v2 1/1] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-02-14 Thread Matthias Brugger
On 14/02/2019 08:54, shun-chih...@mediatek.com wrote: > From: Shun-Chih Yu > > Document the devicetree bindings for MediaTek Command-Queue DMA controller > which could be found on MT6765 SoC or other similar Mediatek SoCs. > > Signed-off-by: Shun-Chih Yu > Reviewed-by: Rob Herring >

Re: [PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Hans Verkuil
On 2/14/19 10:18 AM, Paul Kocialkowski wrote: > Hi, > > On Thu, 2019-02-14 at 09:59 +0100, Hans Verkuil wrote: >> On 2/14/19 9:37 AM, Paul Kocialkowski wrote: >>> Check that our queues are not busy before setting the format or return >>> EBUSY if that's the case. This ensures that our format

Re: [PATCH] mfd: twl6040: Fix device init errors for ACCCTL register

2019-02-14 Thread Lee Jones
On Mon, 11 Feb 2019, Tony Lindgren wrote: > I noticed that we can get a -EREMOTEIO errors on at least omap4 duovero: > > twl6040 0-004b: Failed to write 2d = 19: -121 > > And then any following register access will produce errors. > > There 2d offset above is register ACCCTL that gets written

Re: [RFC 1/6] mfd: Support for Ettus Research E31x devices PMU

2019-02-14 Thread Lee Jones
On Mon, 11 Feb 2019, Virendra Kakade wrote: > Document bindings for E31x device PMU MFD driver. > > Signed-off-by: Virendra Kakade > --- > Documentation/devicetree/bindings/mfd/e31x-pmu.txt | 14 ++ > 1 file changed, 14 insertions(+) > create mode 100644

[PATCH v2] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Paul Kocialkowski
Check that our queues are not busy before setting the format or return EBUSY if that's the case. This ensures that our format can't change once buffers are allocated for the queue. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 10 ++ 1 file

Re: [PATCH v6] cpufreq: intel_pstate: Reporting reasons why driver prematurely exit

2019-02-14 Thread Erwan Velu
Hey rafael, Does the V6 looks good to you ? Thanks, Erwan, Le 13/02/2019 à 13:21, Erwan Velu a écrit : > The init code path has several exceptions where the module can decide not to > load. > As CONFIG_X86_INTEL_PSTATE is generally set to Y, the return code is not > reachable. > The

Re: [PATCH v5 02/11] dt-bindings: power: supply: add DT bindings for max77650

2019-02-14 Thread Bartosz Golaszewski
śr., 13 lut 2019 o 21:48 Rob Herring napisał(a): > > On Wed, Feb 13, 2019 at 02:43:26PM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Add the DT binding document for the battery charger module of max77650. > > > > Signed-off-by: Bartosz Golaszewski > > --- > >

Re: [PATCH v3 00/13] ASoC: dmaengine updates, secondary CPU DAI for Odroid boards

2019-02-14 Thread Sylwester Nawrocki
On 2/13/19 19:41, Sylwester Nawrocki wrote: > This is a rebased version with the build break fixed and added > Krzysztof's Acks. Please ignore this patch set, it contains wrong versions of few patches on top, I will resend shortly.

With Due Respect!!!

2019-02-14 Thread Abdul Salam
My Dear Friend, Before I introduce myself, I wish to inform you that this letter is not a hoax mail and I urge you to treat it serious. This letter must come to you as a big surprise, but I believe it is only a day that people meet and become great friends and business partners. Please I

Re: [PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-14 Thread Bert Kenward
On 14/02/2019 06:42, Huang Zijiang wrote: > The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() > when skb is still used. The skb is be replaced by segments, so the > original skb should be consumed(not drop). > > Signed-off-by: Huang Zijiang Sergei's commit message fixups

RE: [PATCH 0/2] ASoC: da7219: BCLK and TDM flexibility improvements

2019-02-14 Thread Adam Thomson
On 13 February 2019 17:48, Adam Thomson wrote: This patch set updates the driver to be more flexible regarding the BCLK and TDM > configurations of the device. > > Previously the BCLK rate was fixed at 64 periods per WCLK, when the codec is > DAI > clock master, but to satisfy devices which

[PATCH v3 0/3] bd718x7: Support SNVS low power state

2019-02-14 Thread Matti Vaittinen
Patch series adding SNVS power state support to ROHM bd718x7 driver. The SNVS is a low power state used by i.MX family of SoCs. In SNVS state processor and most of the peripherials are shut off in order to minimize power consumption. BD71837 and BD71847 can be configured to use the SNVS state as

[PATCH v3 1/3] devicetree: bindings: bd718x7: document HW state related ROHM specific properties

2019-02-14 Thread Matti Vaittinen
Add ROHM BD71837 / BD71847 specific device tree bindings for controlling the PMIC shutdown/reset states and voltages for different HW states. The PMIC was designed to be used with NXP i.MX8 SoC and it supports SNVS low power state which seems to be typical for NXP i.MX SoCs. However, when SNVS is

Re: [RFC][Patch v8 0/7] KVM: Guest Free Page Hinting

2019-02-14 Thread David Hildenbrand
On 14.02.19 10:12, Wang, Wei W wrote: > On Thursday, February 14, 2019 1:22 AM, Nitesh Narayan Lal wrote: >> In normal condition yes we would not like to report any memory when the >> guest is already under memory pressure. >> >> I am not sure about the scenario where both guest and the host are

[PATCH] x86/mm/dump_pagetables: Remove the unused prev_pud variable

2019-02-14 Thread Shaokun Zhang
The 'prev_pud' local variable became unused after commit 04b67022fb6d ("x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y"), let's remove it. Cc: Dave Hansen Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter

Re: [RFC 2/6] mfd: Support for Ettus Research E31x devices PMU

2019-02-14 Thread Lee Jones
On Mon, 11 Feb 2019, Virendra Kakade wrote: > Signed-off-by: Virendra Kakade > --- > drivers/mfd/Kconfig | 7 +++ > drivers/mfd/Makefile | 2 +- > drivers/mfd/e31x-pmu.c | 89 > include/linux/mfd/e31x-pmu.h | 20 > 4 files

[PATCH] MAINTAINERS: add entry for memblock

2019-02-14 Thread Mike Rapoport
Hi, I was surprised to see lots of activity around memblock (beside the churn I create there), so I'm going to look after it. >From 7b3d02797ef18fb1c515f32125fb9b0055a312de Mon Sep 17 00:00:00 2001 From: Mike Rapoport Date: Thu, 14 Feb 2019 11:21:26 +0200 Subject: [PATCH] MAINTAINERS: add entry

[PATCH v3 Resend 03/13] ASoC: samsung: i2s: Move IP variant data to common driver data structure

2019-02-14 Thread Sylwester Nawrocki
The IP variant data is another thing common for both DAIs, move it to the driver's common data structure. Signed-off-by: Sylwester Nawrocki Acked-by: Krzysztof Kozlowski --- sound/soc/samsung/i2s.c | 42 - 1 file changed, 21 insertions(+), 21

[PATCH v3 Resend 00/13] ASoC: dmaengine updates, secondary CPU DAI for Odroid

2019-02-14 Thread Sylwester Nawrocki
This is a rebased version with the build break fixed and added Krzysztof's Acks. My apologies, I double checked there is no build errors between patches this time. Below is cover letter text from v2. This series restores support for the secondary CPU DAI in samsung/i2s.c driver and adds

  1   2   3   4   5   6   7   8   9   10   >