Re: [PATCH] rtc: proc: printf using alarm for alrm

2018-12-10 Thread yuankuiz
On 2018-12-07 04:38 AM, Alexandre Belloni wrote: On 06/12/2018 15:22:51+0800, yuank...@codeaurora.org wrote: Hi, Kindly, this format change formats the rtc dump from: alrm_time : 00:00:00 alrm_date : 1970-01-01 alarm_IRQ : no alrm_pending

Re: [PATCH v2 2/5] ASoC: qcom: sdm845: Create and setup jack in init callback

2018-12-10 Thread Rohit Kumar
Hello Mark, On 12/7/2018 1:51 AM, Mark Brown wrote: On Wed, Nov 28, 2018 at 05:00:34PM +0800, Cheng-Yi Chiang wrote: Add a callback for init ops on dai_link to create and setup jack. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang This looks like you're forwarding a patch from Ro

Re: [PATCH v3] drm/rockchip: support hwc layer

2018-12-10 Thread Heiko Stuebner
Am Mittwoch, 5. Dezember 2018, 14:52:30 CET schrieb Randy Li: > From: ayaka > > The Windows 2/3 or a RGB UI layer is a high performance flexibly > plane. It is too waste to use it as a cursor plane. > > I have verified this patch with weston git version, I am not > sure whether X would meet with

Re: [PATCH] drivers/base: use a worker for sysfs unbind

2018-12-10 Thread Greg Kroah-Hartman
On Mon, Dec 10, 2018 at 09:46:53AM +0100, Daniel Vetter wrote: > Drivers might want to remove some sysfs files, which needs the same > locks and ends up angering lockdep. Relevant snippet of the stack > trace: > > kernfs_remove_by_name_ns+0x3b/0x80 > bus_remove_driver+0x92/0xa0 > acpi_video_

Re: [PATCH -next] input: keyboard: remove duplicated include from mtk-pmic-keys.c

2018-12-10 Thread Lee Jones
On Mon, 10 Dec 2018, YueHaibing wrote: > On 2018/12/10 14:15, Lee Jones wrote: > > On Sun, 09 Dec 2018, YueHaibing wrote: > > > >> Remove duplicated include. > >> > >> Signed-off-by: YueHaibing > >> --- > >> drivers/input/keyboard/mtk-pmic-keys.c | 1 - > >> 1 file changed, 1 deletion(-) > >> >

Re: [PATCH v4 1/2] dmaengine: 8250_mtk_dma: add Mediatek uart DMA support

2018-12-10 Thread kbuild test robot
/commits/Long-Cheng/add-uart-DMA-function/20181210-125624 config: s390-allmodconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCH v3 08/15] irqchip: Add RDA8810PL interrupt driver

2018-12-10 Thread Marc Zyngier
On 10/12/2018 09:56, Manivannan Sadhasivam wrote: > Hi Marc, > > On Mon, Dec 10, 2018 at 09:39:13AM +, Marc Zyngier wrote: >> On 28/11/2018 13:50, Manivannan Sadhasivam wrote: >>> Add interrupt driver for RDA Micro RDA8810PL SoC. >>> >>> Signed-off-by: Andreas Färber >>> Signed-off-by: Maniva

[PATCH] arm64: dts: allwinner: a64: Fix the video engine compatible

2018-12-10 Thread Paul Kocialkowski
When introducing the video-codec node for the video engine, the compatible for the H5 was used instead of the compatible for the A64. Use the right compatible instead. Fixes: d60ce24740d2 ("arm64: dts: allwinner: a64: Add Video Engine node") Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/d

Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-10 Thread Peter Zijlstra
On Sat, Dec 08, 2018 at 12:38:05PM -0500, Steven Rostedt wrote: > On Sat, 8 Dec 2018 11:44:23 +0100 > Peter Zijlstra wrote: > > > Why do we care about lost events? Because strace records *all* events, > > > as that's what it does and that's what it always has done. It would be > > > a break in fu

Re: [PATCH] drivers/base: use a worker for sysfs unbind

2018-12-10 Thread Daniel Vetter
On Mon, Dec 10, 2018 at 11:06:34AM +0100, Greg Kroah-Hartman wrote: > On Mon, Dec 10, 2018 at 09:46:53AM +0100, Daniel Vetter wrote: > > Drivers might want to remove some sysfs files, which needs the same > > locks and ends up angering lockdep. Relevant snippet of the stack > > trace: > > > > ke

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-10 Thread Georgi Djakov
Hi Rafael, On 12/10/18 11:04, Rafael J. Wysocki wrote: > On Thu, Dec 6, 2018 at 3:55 PM Greg KH wrote: >> >> On Wed, Dec 05, 2018 at 12:41:35PM -0800, Evan Green wrote: >>> On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov >>> wrote: Modern SoCs have multiple processors and various dedic

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 09:41:51 + Yogesh Narayan Gaur wrote: > > > +/* Instead of busy looping invoke readl_poll_timeout functionality. > > > +*/ static int fspi_readl_poll_tout(struct nxp_fspi *f, void __iomem > > > *base, > > > + u32 mask, u32 delay_us, > > > +

Re: [PATCH] drivers/base: use a worker for sysfs unbind

2018-12-10 Thread Daniel Vetter
On Mon, Dec 10, 2018 at 11:18:32AM +0100, Daniel Vetter wrote: > On Mon, Dec 10, 2018 at 11:06:34AM +0100, Greg Kroah-Hartman wrote: > > On Mon, Dec 10, 2018 at 09:46:53AM +0100, Daniel Vetter wrote: > > > Drivers might want to remove some sysfs files, which needs the same > > > locks and ends up a

[PATCH] ceph: make 'nocopyfrom' a default mount option

2018-12-10 Thread Luis Henriques
Since we found a problem with the 'copy-from' operation after objects have been truncated, offloading object copies to OSDs should be discouraged until the issue is fixed. Thus, this patch adds the 'nocopyfrom' mount option to the default mount options which effectily means that remote copies won'

[PATCH v4 0/4] irqchip/gic-v3: Add support to DT based quirk for msm8996

2018-12-10 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. There are many devices out there with this restriction in place and there has been no update to this firmware since last few years, making those devices totally unusable for upstream development. My previous attempts to add quirk bas

[PATCH v4 3/4] irqchip: gic-v3: Add quirk for msm8996 secured registers

2018-12-10 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. Its been more than 2+ years of wait for this to be fixed, which has no hopes to be fixed. This change was introduced for the "lead device" on msm8996 platform. It looks like all publicly available msm8996 and other Qualcomm SoCs have

[PATCH v4 1/4] dt-bindings/gic-v3: Add msm8996 compatible string

2018-12-10 Thread Srinivas Kandagatla
Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. There are many devices out there with this restriction in place and there has been no update to this firmware since last few years, making those devices totally unusable for upstream development. IIDR register value conflicts with ot

[PATCH v4 4/4] arm64: dts: add msm8996 compatible to gicv3

2018-12-10 Thread Srinivas Kandagatla
Add compatible to gicv3 node to enable quirk required to restrict writing to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor. With this quirk MSM8996 can at least boot out of mainline, which can help community to work with boards based on MSM8996. Without this patch Qualcomm

[PATCH v4 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Srinivas Kandagatla
This patch adds support to device tree based quirks based on device tree compatible string. Signed-off-by: Srinivas Kandagatla --- drivers/irqchip/irq-gic-common.c | 12 drivers/irqchip/irq-gic-common.h | 3 +++ drivers/irqchip/irq-gic-v3.c | 5 + 3 files changed, 20 inser

[GIT PULL] Thunderbolt changes for v4.21

2018-12-10 Thread Mika Westerberg
Hi Greg, This includes automatic enabling of IOMMU based DMA protection from possibly malicious devices connected through Thunderbolt ports. In addition we make sure PCIe ATS (Address Translation Service) is not enabled for such devices to prevent them from passing IOMMU protection. Please pull,

Re: [PATCH] Input: restore EV_ABS ABS_RESERVED

2018-12-10 Thread Jiri Kosina
On Fri, 7 Dec 2018, Benjamin Tissoires wrote: > OK, thanks Dmitry. > > Jiri, I have pushed this in for-4.20/upstream-fixes. > > I think the branch has enough now to justify a PR towards Linus. Agreed. I will be sending it today. Thanks, -- Jiri Kosina SUSE Labs

Re: [PATCH v9 1/8] KVM: arm/arm64: Share common code in user_mem_abort()

2018-12-10 Thread Suzuki K Poulose
On 10/12/2018 08:56, Christoffer Dall wrote: On Mon, Dec 03, 2018 at 01:37:37PM +, Suzuki K Poulose wrote: Hi Anshuman, On 03/12/2018 12:11, Anshuman Khandual wrote: On 10/31/2018 11:27 PM, Punit Agrawal wrote: The code for operations such as marking the pfn as dirty, and dcache/icac

Re: [PATCH -next] drm/ast: Remove set but not used variable 'bo'

2018-12-10 Thread Daniel Vetter
On Sat, Dec 08, 2018 at 08:36:25AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/ast/ast_fb.c: In function 'astfb_create': > drivers/gpu/drm/ast/ast_fb.c:194:17: warning: > variable 'bo' set but not used [-Wunused-but-set-variable] > > It never use

Re: [PATCH v3 0/3] Add ALC294 quirks for ASUS laptops

2018-12-10 Thread Takashi Iwai
On Fri, 07 Dec 2018 10:17:10 +0100, Jian-Hong Pan wrote: > > Add Realtek ALC294 quirks for ASUS X542UN, UX533FD, UX433FN and UX333FA > laptops. > > Chris Chiu (1): > ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN > > Jian-Hong Pan (2): > ALSA: hda/realtek: Enable audi

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-10 Thread Jan Kara
On Fri 07-12-18 21:24:46, Jerome Glisse wrote: > Another crazy idea, why not treating GUP as another mapping of the page > and caller of GUP would have to provide either a fake anon_vma struct or > a fake vma struct (or both for PRIVATE mapping of a file where you can > have a mix of both private a

Re: [PATCH] kernel/hung_task.c: force ignore_loglevel before panic

2018-12-10 Thread Sergey Senozhatsky
On (12/10/18 18:58), Tetsuo Handa wrote: > +*/ > + if (sysctl_hung_task_panic && !ignore_loglevel) > + ignore_loglevel = true; > >>> > >>> console_verbose()? > >> > >> Thanks Sergey, it is really my need. I will prepare fo

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Schrempf Frieder
Hi Yogesh, Boris, On 10.12.18 11:19, Boris Brezillon wrote: > On Mon, 10 Dec 2018 09:41:51 + > Yogesh Narayan Gaur wrote: > +/* Instead of busy looping invoke readl_poll_timeout functionality. +*/ static int fspi_readl_poll_tout(struct nxp_fspi *f, void __iomem *base, +

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Schrempf Frieder
Hi Yogesh, On 10.12.18 10:41, Yogesh Narayan Gaur wrote: [...]>>> + >>> +static void nxp_fspi_prepare_lut(struct nxp_fspi *f, >>> +const struct spi_mem_op *op) >>> +{ >>> + void __iomem *base = f->iobase; >>> + u32 lutval[4] = {}; >>> + int lutidx = 1, i; >>> + >>

[PATCH 1/4] mm: Check if mmu notifier callbacks are allowed to fail

2018-12-10 Thread Daniel Vetter
Just a bit of paranoia, since if we start pushing this deep into callchains it's hard to spot all places where an mmu notifier implementation might fail when it's not allowed to. Inspired by some confusion we had discussing i915 mmu notifiers and whether we could use the newly-introduced return va

[PATCH 4/4] mm, notifier: Add a lockdep map for invalidate_range_start

2018-12-10 Thread Daniel Vetter
This is a similar idea to the fs_reclaim fake lockdep lock. It's fairly easy to provoke a specific notifier to be run on a specific range: Just prep it, and then munmap() it. A bit harder, but still doable, is to provoke the mmu notifiers for all the various callchains that might lead to them. But

[PATCH 3/4] mm, notifier: Catch sleeping/blocking for !blockable

2018-12-10 Thread Daniel Vetter
We need to make sure implementations don't cheat and don't have a possible schedule/blocking point deeply burried where review can't catch it. I'm not sure whether this is the best way to make sure all the might_sleep() callsites trigger, and it's a bit ugly in the code flow. But it gets the job d

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 10:31:57 + Schrempf Frieder wrote: > >> Yes, I need to validate op->addr.nbytes else LUT would going to be > >> programmed for 0 addrlen. > >> I have checked this on the target. > > > > Also agree there. Some operations have 0 address bytes. We could also > > test addr

[PATCH 2/4] kernel.h: Add non_block_start/end()

2018-12-10 Thread Daniel Vetter
In some special cases we must not block, but there's not a spinlock, preempt-off, irqs-off or similar critical section already that arms the might_sleep() debug checks. Add a non_block_start/end() pair to annotate these. This will be used in the oom paths of mmu-notifiers, where blocking is not al

[PATCH 0/4] mmu notifier debug checks v2

2018-12-10 Thread Daniel Vetter
Hi all, Here's v2 of my mmu notifier debug checks. I think the last two patches could probably be extended to all callbacks, but I'm not really clear on the exact rules. But happy to extend them if there's interest. This stuff helps us catch issues in the i915 mmu notifier implementation. Thank

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 10:35:35 + Schrempf Frieder wrote: > >>> + > >>> +static int nxp_fspi_exec_op(struct spi_mem *mem, const struct > >>> +spi_mem_op *op) { > >>> + struct nxp_fspi *f = spi_controller_get_devdata(mem->spi->master); > >>> + int err = 0; > >>> + > >>> + mutex_lock(&f->lock); >

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, Frieder, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 3:49 PM > To: Yogesh Narayan Gaur > Cc: Schrempf Frieder ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; broo...@kernel.org; linux- > s...@vge

Re: [PATCH 1/4] mm: Check if mmu notifier callbacks are allowed to fail

2018-12-10 Thread Koenig, Christian
Patches #1 and #3 are Reviewed-by: Christian König Patch #2 is Acked-by: Christian König because I can't judge if adding the counter in the thread structure is actually a good idea. In patch #4 I honestly don't understand at all how this stuff works, so no-comment from my side on this. Chr

Re: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Tudor.Ambarus
Hi, Yogesh, On 12/03/2018 10:39 AM, Yogesh Narayan Gaur wrote: > - Add opcodes for octal I/O commands > * Read : 1-1-8 and 1-8-8 protocol > * Write : 1-1-8 and 1-8-8 protocol > * opcodes for 4-byte address mode command > > - Entry of macros in _convert_3to4_xxx function > > - Add flag spe

Re: [PATCH v9 1/8] KVM: arm/arm64: Share common code in user_mem_abort()

2018-12-10 Thread Suzuki K Poulose
On 10/12/2018 08:56, Christoffer Dall wrote: On Mon, Dec 03, 2018 at 01:37:37PM +, Suzuki K Poulose wrote: Hi Anshuman, On 03/12/2018 12:11, Anshuman Khandual wrote: On 10/31/2018 11:27 PM, Punit Agrawal wrote: The code for operations such as marking the pfn as dirty, and dcache/icac

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-10 Thread Dr. Greg
On Wed, Nov 28, 2018 at 11:22:28AM -0800, Jarkko Sakkinen wrote: Good morning, I hope everyone had a pleasant weekend. > On Wed, Nov 28, 2018 at 04:49:41AM -0600, Dr. Greg wrote: > > We've been carrying a patch, that drops in on top of the proposed > > kernel driver, that implements the needed po

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 10:43:56 + Yogesh Narayan Gaur wrote: > > > Thus, in LUT preparation we have assigned only the base address. > > > Now if I have assigned ahb_buf_size to FSPI_FLSHXXCR0 register then for > > read/write data beyond limit of ahb_buf_size offset I get data corruption. > >

Re: mainline/master boot bisection: v4.20-rc5-79-gabb8d6ecbd8f on jetson-tk1

2018-12-10 Thread Ravi Bangoria
Hi, Can you please provide more details. I don't understand how this patch can cause boot failure. >From the log found at https://storage.kernelci.org/mainline/master/v4.20-rc5-79-gabb8d6ecbd8f/arm/multi_v7_defconfig+CONFIG_EFI=y+CONFIG_ARM_LPAE=y/lab-baylibre/boot-tegra124-jetson-tk1.html 23:21

Re: [PATCH v4 2/4] irqchip/gic: common: add support to device tree based quirks

2018-12-10 Thread Marc Zyngier
On 10/12/2018 10:23, Srinivas Kandagatla wrote: > This patch adds support to device tree based quirks based on > device tree compatible string. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/irqchip/irq-gic-common.c | 12 > drivers/irqchip/irq-gic-common.h | 3 +++ > driver

Re: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Boris Brezillon
On Mon, 3 Dec 2018 08:39:18 + Yogesh Narayan Gaur wrote: > - Add opcodes for octal I/O commands > * Read : 1-1-8 and 1-8-8 protocol > * Write : 1-1-8 and 1-8-8 protocol > * opcodes for 4-byte address mode command > > - Entry of macros in _convert_3to4_xxx function > > - Add flag spec

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:20 PM > To: Yogesh Narayan Gaur > Cc: Schrempf Frieder ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; broo...@kernel.org; linux- > s...@vger.kernel.

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-10 Thread Rafael J. Wysocki
On Mon, Dec 10, 2018 at 11:18 AM Georgi Djakov wrote: > > Hi Rafael, > > On 12/10/18 11:04, Rafael J. Wysocki wrote: > > On Thu, Dec 6, 2018 at 3:55 PM Greg KH wrote: > >> > >> On Wed, Dec 05, 2018 at 12:41:35PM -0800, Evan Green wrote: > >>> On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov > >>>

Re: [PATCH v9 1/8] KVM: arm/arm64: Share common code in user_mem_abort()

2018-12-10 Thread Christoffer Dall
On Mon, Dec 10, 2018 at 10:47:42AM +, Suzuki K Poulose wrote: > > > On 10/12/2018 08:56, Christoffer Dall wrote: > >On Mon, Dec 03, 2018 at 01:37:37PM +, Suzuki K Poulose wrote: > >>Hi Anshuman, > >> > >>On 03/12/2018 12:11, Anshuman Khandual wrote: > >>> > >>> > >>>On 10/31/2018 11:27 PM

[PATCH v4 1/2] staging: iio: ad7606: Move out of staging

2018-12-10 Thread Stefan Popa
Move ad7606 ADC driver out of staging and into the mainline. Signed-off-by: Stefan Popa --- Changes in v2: - Simplified the Kconfig menu. - Added SPDX-License-Identifier. - Ordered the includes alphabetically. - Used a threaded interrupt. - Replaced ad7606_

[PATCH v4 2/2] dt-bindings: iio: adc: Add docs for AD7606 ADC

2018-12-10 Thread Stefan Popa
Document support for AD7606 Analog to Digital Converter. Signed-off-by: Stefan Popa --- Changes in v2: - fixed indentation issues. - used gpios instead of gpio. - added vendor prefix for conversion-start-gpios, first-data-gpios, and range-gpios. Changes in v3:

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 10:59:54 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Monday, December 10, 2018 4:20 PM > > To: Yogesh Narayan Gaur > > Cc: Schrempf Frieder ; linux- > > m...@lists.infr

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 10:59:54 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Monday, December 10, 2018 4:20 PM > > To: Yogesh Narayan Gaur > > Cc: Schrempf Frieder ; linux- > > m...@lists.infr

Re: [PATCH v2 26/34] dt-bindings: arm: Convert Renesas board/soc bindings to json-schema

2018-12-10 Thread Simon Horman
On Thu, Dec 06, 2018 at 01:38:42PM -0600, Rob Herring wrote: > On Wed, Dec 5, 2018 at 1:44 PM Simon Horman wrote: > > > > On Tue, Dec 04, 2018 at 09:08:57AM -0600, Rob Herring wrote: > > > On Tue, Dec 4, 2018 at 8:57 AM Geert Uytterhoeven > > > wrote: > > > > > > > > Hi Simon, > > > > > > > > On

Re: [PATCH] ceph: make 'nocopyfrom' a default mount option

2018-12-10 Thread Ilya Dryomov
On Mon, Dec 10, 2018 at 11:23 AM Luis Henriques wrote: > > Since we found a problem with the 'copy-from' operation after objects have > been truncated, offloading object copies to OSDs should be discouraged > until the issue is fixed. > > Thus, this patch adds the 'nocopyfrom' mount option to the

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-12-10 Thread Vokáč Michal
On 6.12.2018 17:16, Uwe Kleine-König wrote: > On Thu, Dec 06, 2018 at 03:37:55PM +, Vokáč Michal wrote: >> On 6.12.2018 14:59, Uwe Kleine-König wrote: >>> On Thu, Dec 06, 2018 at 01:41:31PM +, Vokáč Michal wrote: >>> >>> Can it happen, that pinctrl_pins_pwm is PTR_ERR(-EPROBE_DEFER)? >> >>

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:27 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; broo...@kernel.org; > marek.va...@gmail.com; vigne...@ti.com; linux-...@vger.kernel.org; > d

Re: [PATCH v2 1/6] misc: dt-bindings: Add Qualcomm Fastrpc bindings

2018-12-10 Thread Srinivas Kandagatla
Thanks for the review, On 07/12/18 18:23, Mark Rutland wrote: On Fri, Dec 07, 2018 at 04:35:08PM +, Srinivas Kandagatla wrote: The FastRPC driver implements an IPC (Inter-Processor Communication) mechanism that allows for clients to transparently make remote method invocations across DSP an

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-12-10 Thread Uwe Kleine-König
On Mon, Dec 10, 2018 at 11:15:05AM +, Vokáč Michal wrote: > On 6.12.2018 17:16, Uwe Kleine-König wrote: > > On Thu, Dec 06, 2018 at 03:37:55PM +, Vokáč Michal wrote: > >> On 6.12.2018 14:59, Uwe Kleine-König wrote: > >>> On Thu, Dec 06, 2018 at 01:41:31PM +, Vokáč Michal wrote: > >>> >

Re: [PATCH 3/3] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2018-12-10 Thread Vignesh R
On 10/12/18 2:15 PM, Boris Brezillon wrote: > On Wed, 3 Oct 2018 22:26:03 +0530 > Vignesh R wrote: > >> Cadence OSPI controller IP supports Octal IO (x8 IO lines), >> It also has an integrated PHY. IP register layout is very >> similar to existing QSPI IP except for additional bits to support Oct

Re: [PATCH net-next v2] netfilter: ebtables: avoid resetting limit rule state

2018-12-10 Thread Pablo Neira Ayuso
Hi Linus, On Sun, Dec 09, 2018 at 07:14:05AM +0100, Linus Lüssing wrote: > So far any changes with ebtables will reset the state of limit rules, > leading to spikes in traffic. This is especially noticeable if changes > are done frequently, for instance via a daemon. > > This patch fixes this by

Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-12-10 Thread Liang Yang
On 2018/12/7 17:24, Miquel Raynal wrote: Hi Jianxin, Looks good to me overall, a few comments inline. Jianxin Pan wrote on Sat, 17 Nov 2018 00:40:38 +0800: From: Liang Yang Add initial support for the Amlogic NAND flash controller which found in the Meson-GXBB/GXL/AXG SoCs. Signed-off-b

Re: [PATCH v2 0/4] Add Actions Semi Owl family S700 I2C support

2018-12-10 Thread Parthiban Nallathambi
Ping on this patch series! On 11/26/18 7:58 PM, Parthiban Nallathambi wrote: This patch series adds support for Actions Semi Owl SoC family S700 I2C controller. S700 provides 4 I2C masters and with cubieboard7 2 (I2C0 and I2C1) are exposed. Added pinctrl definition for I2C controllers in cubieb

[PATCH net-next] ipvlan: Remove a useless comparison

2018-12-10 Thread YueHaibing
Fix following gcc warning: drivers/net/ipvlan/ipvlan_main.c:543:12: warning: comparison is always false due to limited range of data type [-Wtype-limits] 'mode' is a u16 variable, IPVLAN_MODE_L2 is zero, the comparison is always false Signed-off-by: YueHaibing --- drivers/net/ipvlan/ipvlan_ma

RE: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:39 PM > To: Yogesh Narayan Gaur > Cc: Schrempf Frieder ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; broo...@kernel.org; linux- > s...@vger.kernel.

Re: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 11:17:20 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Monday, December 10, 2018 4:27 PM > > To: Yogesh Narayan Gaur > > Cc: linux-...@lists.infradead.org; broo...@kernel

Re: [PATCH 3/3] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 16:49:29 +0530 Vignesh R wrote: > On 10/12/18 2:15 PM, Boris Brezillon wrote: > > On Wed, 3 Oct 2018 22:26:03 +0530 > > Vignesh R wrote: > > > >> Cadence OSPI controller IP supports Octal IO (x8 IO lines), > >> It also has an integrated PHY. IP register layout is very > >>

RE: [PATCH v5 3/7] mtd: spi-nor: add opcodes for octal Read/Write commands

2018-12-10 Thread Yogesh Narayan Gaur
Hi, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, December 10, 2018 4:57 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; broo...@kernel.org; > marek.va...@gmail.com; vigne...@ti.com; linux-...@vger.kernel.org; > devicet

[PATCH v2] cpuidle: Add 'above' and 'below' idle state metrics

2018-12-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add two new metrics for CPU idle states, "above" and "below", to count the number of times the given state had been asked for (or entered from the kernel's perspective), but the observed idle duration turned out to be too short or too long for it (respectively). These met

Re: [PATCH] media: vimc: add configfs API to configure the topology

2018-12-10 Thread Hans Verkuil
On 12/7/18 7:22 PM, Helen Koike wrote: > Add API to allow userspace to create any type of topology in vimc using > basic system calls such as mkdir/rmdir/read/write. > > Signed-off-by: Helen Koike > > --- > Hi, > > This patch introduces the configufs API for configuring the topology in > vimc w

Re: [PATCH v3] cpuidle: big.LITTLE: add of_node_put()

2018-12-10 Thread Rafael J. Wysocki
On Sunday, December 9, 2018 7:20:26 AM CET Frank Lee wrote: > On Wed, Nov 21, 2018 at 12:14 AM Yangtao Li wrote: > > > > of_find_node_by_path() acquires a reference to the node > > returned by it and that reference needs to be dropped by its caller. > > bl_idle_init() doesn't do that, so fix it. >

[RFC PATCH] PM / OPP: Always expose one supply in debugfs

2018-12-10 Thread Quentin Perret
On some platforms, the opp_table->regulator_count field is kept at zero even though opp->supplies is always allocated. However, the loop used to display the supplies in the debugfs doesn't deal correctly with this, which results in the supplies not being displayed in debugfs on those platforms. Fi

Re: [PATCH 1/2] staging: rtl8723bs: remove dead code, rtw_port_switch_chk()

2018-12-10 Thread Hans de Goede
Hi, Thank you for the patches. On 10-12-18 10:52, Michael Straube wrote: The function rtw_port_switch_chk() returns always false. Remove the function and related dead code. Signed-off-by: Michael Straube Both patches look good to me: Acked-by: Hans de Goede Regards, Hans --- drive

RE: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-10 Thread Adam Thomson
On 10 December 2018 09:01, Adam Thomson wrote: > On 06 December 2018 03:02, Kyle Tso wrote: > > > Current matching rules ensure that the voltage range of selected > > Source Capability is entirely within the range defined in one of the > > Sink Capabilities. This is reasonable but not practical b

[PATCH] VMCI: Use memdup_user() rather than duplicating its implementation

2018-12-10 Thread Wen Yang
Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Wen Yang CC: Arnd Bergmann CC: Greg Kroah-Hartman CC: linux-kernel@vger.kernel.org --- drivers/misc/vmw_vmci/vmci_host.c | 18

[PATCH net-next] ieee802154: ca8210: remove a dead branch

2018-12-10 Thread YueHaibing
Fix follwing gcc warning: drivers/net/ieee802154/ca8210.c:730:10: warning: comparison is always false due to limited range of data type [-Wtype-limits] the variable 'len' is of type u8 and cannot greater than CA8210_SPI_BUF_SIZE , which is 256. Signed-off-by: YueHaibing --- drivers/net/ieee80

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2018-12-10 Thread Vokáč Michal
On 10.12.2018 12:17, Uwe Kleine-König wrote: > On Mon, Dec 10, 2018 at 11:15:05AM +, Vokáč Michal wrote: >> On 6.12.2018 17:16, Uwe Kleine-König wrote: >>> On Thu, Dec 06, 2018 at 03:37:55PM +, Vokáč Michal wrote: On 6.12.2018 14:59, Uwe Kleine-König wrote: > On Thu, Dec 06, 2018 a

Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 19:23:46 +0800 Liang Yang wrote: > >> + mtd->ecc_stats.failed++; > >> + continue; > >> + } > >> + mtd->ecc_stats.corrected += ECC_ERR_CNT(*info); > >> + bitflips = max_t(u32, bitflips, ECC_ERR_CNT(*info)); > >> + }

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

2018-12-10 Thread Or Gerlitz
On Mon, Dec 10, 2018 at 3:38 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > net/sched/cls_flower.c > > between commit: > > 35cc3cefc4de ("net/sched: cls_flower: Reject duplicated rules also under > skip_sw") > > from the net tre

[PATCH] powerpc/83xx: handle machine check caused by watchdog timer

2018-12-10 Thread Christophe Leroy
When the watchdog timer is set in interrupt mode, it causes a machine check when it times out. The purpose of this mode is to ease debugging, not to crash the kernel and reboot the machine. This patch implements a special handling for that, in order to not crash the kernel if the watchdog times ou

[PATCH v3] mmc: mediatek: Add MMC_CAP_SDIO_IRQ support

2018-12-10 Thread Jjian Zhou
From: jjian zhou This patch enables support SDIO IRQs. It enables MMC_CAP_SDIO_IRQ & MMC_CAP2_SDIO_IRQ_NOTHREAD and implement the ->ack_sdio_irq callback. Signed-off-by: Jjian Zhou Signed-off-by: Chaotian Jing Signed-off-by: Yong Mao --- drivers/mmc/host/mtk-sd.c | 49 +++

Re: [PATCH 0/4] soc: renesas: rcar-sysc: Miscellaneous fixes and cleanups

2018-12-10 Thread Simon Horman
On Thu, Dec 06, 2018 at 10:02:07AM +0100, Geert Uytterhoeven wrote: > On Wed, Dec 5, 2018 at 4:39 PM Geert Uytterhoeven > wrote: > > This series (against renesas-devel-20181204-v4.20-rc5) contains > > miscellaneous fixes and cleanups for the R-Car SYSC driver. > > > > This has been tested on R-Car

Re: [PATCH 4/4] soc: renesas: rcar-sysc: Fix power domain control after system resume

2018-12-10 Thread Simon Horman
On Thu, Dec 06, 2018 at 09:22:24AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Dec 5, 2018 at 10:21 PM Simon Horman wrote: > > On Wed, Dec 05, 2018 at 04:39:45PM +0100, Geert Uytterhoeven wrote: > > > To control power to a power domain, the System Controller (SYSC) needs > > > the co

[PATCH v3 6/6] arm64: dts: allwinner: a64-amarula-relic: Add OV5640 camera node

2018-12-10 Thread Jagan Teki
Amarula A64-Relic board by default bound with OV5640 camera, so add support for it with below pin information. - PE13, PE12 via i2c-gpio bitbanging - CLK_CSI_MCLK as external clock - PE1 as external clock pin muxing - ALDO1 as AVDD supply - DLDO3 as DOVDD supply - ELDO3 as DVDD supply - PE14 gpio

[PATCH v3 4/6] arm64: dts: allwinner: a64: Add A64 CSI controller

2018-12-10 Thread Jagan Teki
Allwinner A64 CSI controller has similar features as like in H3, but work by lowering clock than default mod clock. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/s

[PATCH v3 3/6] media: sun6i: Set 300MHz mod clock for A64

2018-12-10 Thread Jagan Teki
The default CSI_SCLK seems unable to drive the sensor to capture the image, so update it to working clock rate 300MHz for A64. Signed-off-by: Jagan Teki --- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/sunxi/su

[PATCH v3 2/6] media: sun6i: Add A64 compatible support

2018-12-10 Thread Jagan Teki
Allwinner A64 CSI has single channel time-multiplexed BT.656 CMOS sensor interface like H3 but work by lowering clock than default mod clock. So use separate compatibe to support it. Signed-off-by: Jagan Teki --- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 1 + 1 file changed, 1 insert

[PATCH v3 0/6] media/sun6i: Allwinner A64 CSI support

2018-12-10 Thread Jagan Teki
This series support CSI on Allwinner A64. Allwinner A64 CSI has single channel time-multiplexed BT.656 CMOS sensor interface like H3 but work by lowering clock than default mod clock. Changes for v3: - update dt-bindings for A64 - set mod clock via csi driver - remove assign clocks from dtsi - re

[PATCH v3 5/6] arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1

2018-12-10 Thread Jagan Teki
Some camera modules have the SoC feeding a master clock to the sensor instead of having a standalone crystal. This clock signal is generated from the clock control unit and output from the CSI MCLK function of pin PE1. Add a pinmux setting for it for camera sensors to reference. Signed-off-by: Ja

[PATCH v3 1/6] dt-bindings: media: sun6i: Add A64 CSI compatible

2018-12-10 Thread Jagan Teki
Allwinner A64 CSI has single channel time-multiplexed BT.656 CMOS sensor interface like H3 but work by lowering clock than default mod clock. Add a compatible string for it. Signed-off-by: Jagan Teki --- Documentation/devicetree/bindings/media/sun6i-csi.txt | 1 + 1 file changed, 1 insertion(+)

Re: [RFC PATCH] PM / OPP: Always expose one supply in debugfs

2018-12-10 Thread Quentin Perret
On Monday 10 Dec 2018 at 11:32:47 (+), Quentin Perret wrote: > On some platforms, the opp_table->regulator_count field is kept at zero > even though opp->supplies is always allocated. However, the loop used to > display the supplies in the debugfs doesn't deal correctly with this, > which resul

Re: [PATCH v3] cpuidle: big.LITTLE: add of_node_put()

2018-12-10 Thread Daniel Lezcano
Hi Yangtao, On 20/11/2018 17:14, Yangtao Li wrote: > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > bl_idle_init() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li > --- > Changes in v3: > -update chang

Build regressions/improvements in v4.20-rc6

2018-12-10 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.20-rc6[1] compared to v4.19[2]. Summarized: - build errors: +3/-0 - build warnings: +497/-449 JFYI, when comparing v4.20-rc6[1] to v4.20-rc5[3], the summaries are: - build errors: +0/-0 - build warnings: +138/-137 Ha

Re: [PATCH 3/3] mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver

2018-12-10 Thread Faiz Abbas
Hi Adrian, On 07/12/18 7:02 PM, Adrian Hunter wrote: > On 5/12/18 5:07 PM, Faiz Abbas wrote: >> Hi Adrian, >> >> On 05/12/18 7:12 PM, Adrian Hunter wrote: >>> On 29/11/18 6:15 PM, Faiz Abbas wrote: The host controllers on TI's AM654 SOCs are not compatible with the phy and consumer model

Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-10 Thread Catalin Marinas
On Sun, Dec 09, 2018 at 09:41:31AM -0600, Richard Henderson wrote: > On 12/7/18 12:39 PM, Kristina Martsenko wrote: > > When pointer authentication is in use, data/instruction pointers have a > > number of PAC bits inserted into them. The number and position of these > > bits depends on the configu

Re: [PATCH v4] iommu/dma: Use NUMA aware memory allocations in __iommu_dma_alloc_pages()

2018-12-10 Thread Robin Murphy
On 30/11/2018 11:14, John Garry wrote: From: Ganapatrao Kulkarni Change function __iommu_dma_alloc_pages() to allocate pages for DMA from respective device NUMA node. The ternary operator which would be for alloc_pages_node() is tidied along with this. The motivation for this change is to have

Re: [PATCH v2 3/4] x86/kvm/hyper-v: direct mode for synthetic timers

2018-12-10 Thread Roman Kagan
On Mon, Nov 26, 2018 at 04:47:31PM +0100, Vitaly Kuznetsov wrote: > Turns out Hyper-V on KVM (as of 2016) will only use synthetic timers > if direct mode is available. With direct mode we notify the guest by > asserting APIC irq instead of sending a SynIC message. > > The implementation uses exist

Re: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: Add MMC/SD support

2018-12-10 Thread Nishanth Menon
On 13:33-20181210, Sekhar Nori wrote: > On 08/12/18 9:24 PM, Nishanth Menon wrote: > > On 14:12-20181207, Faiz Abbas wrote: > > > >> + > >> +&sdhci0 { > >> + status = "okay"; > >> + pinctrl-names = "default"; > >

Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-12-10 Thread Liang Yang
On 2018/12/10 19:38, Boris Brezillon wrote: On Mon, 10 Dec 2018 19:23:46 +0800 Liang Yang wrote: + mtd->ecc_stats.failed++; + continue; + } + mtd->ecc_stats.corrected += ECC_ERR_CNT(*info); + bitflips = ma

Re: [PATCH v13 08/25] kasan: initialize shadow to 0xff for tag-based mode

2018-12-10 Thread Andrey Konovalov
On Mon, Dec 10, 2018 at 2:35 AM Paul Gortmaker wrote: > > On Thu, Dec 6, 2018 at 7:25 AM Andrey Konovalov wrote: >> >> A tag-based KASAN shadow memory cell contains a memory tag, that >> corresponds to the tag in the top byte of the pointer, that points to that >> memory. The native top byte valu

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-10 Thread Boris Brezillon
On Mon, 10 Dec 2018 11:25:55 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Monday, December 10, 2018 4:39 PM > > To: Yogesh Narayan Gaur > > Cc: Schrempf Frieder ; linux- > > m...@lists.infr

[RESEND PATCH v3] backlight: pwm_bl: Fix brightness levels for non-DT case.

2018-12-10 Thread Enric Balletbo i Serra
Commit '88ba95bedb79 ("backlight: pwm_bl: Compute brightness of LED linearly to human eye")' allows the possibility to compute a default brightness table when there isn't the brightness-levels property in the DT. Unfortunately the changes made broke the pwm backlight for the non-DT boards. Usually

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