Re: [PATCH 1/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support

2020-08-25 Thread Geert Uytterhoeven
On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Document RZ/G2H (R8A774E1) SoC bindings. > > No driver change is needed due to the fallback compatible value > "renesas,pwm-rcar". > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad

Re: [PATCH 2/4] i2c: at91: implement i2c bus recovery

2020-08-25 Thread Wolfram Sang
Hi Phil, yes, this thread is old but a similar issue came up again... On Fri, Oct 25, 2019 at 09:14:00AM +0800, Phil Reid wrote: > > > > > So at the beginning of a new transfer, we should check if SDA (or SCL?) > > > is low and, if it's true, only then we should try recover the bus. > > > >

Re: [PATCH] net: clean up codestyle for net/ipv4

2020-08-25 Thread David Miller
From: Miaohe Lin Date: Tue, 25 Aug 2020 08:32:11 -0400 > This is a pure codestyle cleanup patch. Also add a blank line after > declarations as warned by checkpatch.pl. > > Signed-off-by: Miaohe Lin Applied to net-next.

Re: [PATCH 6/7] mm: Pass pvec directly to find_get_entries

2020-08-25 Thread Matthew Wilcox
On Tue, Aug 25, 2020 at 02:33:24PM +0200, Jan Kara wrote: > On Mon 24-08-20 18:36:39, Matthew Wilcox wrote: > > We already have functions in filemap which take a pagevec, eg > > page_cache_delete_batch() and delete_from_page_cache_batch(). > > Right but those are really pretty internal helper

Re: [PATCH] MAINTAINERS: add Dafna Hirschfeld for rkisp1

2020-08-25 Thread Dafna Hirschfeld
Am 25.08.20 um 15:22 schrieb Helen Koike: Add Dafna Hirschfeld to rkisp1 maintainers list Signed-off-by: Helen Koike --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index deaafb617361c..3deb954b2bb5d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: a saner API for allocating DMA addressable pages

2020-08-25 Thread Christoph Hellwig
On Tue, Aug 25, 2020 at 01:30:41PM +0200, Marek Szyprowski wrote: > I really wonder what is the difference between this new API and > alloc_pages(GFP_DMA, n). Is this API really needed? I thought that this > is legacy thing to be removed one day... The difference is that the pages returned are

Re: [PATCH v2] pinctrl: sh-pfc: r8a7790: Add CAN pins, groups and functions

2020-08-25 Thread Geert Uytterhoeven
On Tue, Aug 25, 2020 at 11:55 AM Lad Prabhakar wrote: > Add pins, groups and functions for the CAN{0,1} interface. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Chris Paterson > --- > Hi All, > This patch is part of series [1], since rest of the patches have been > acked, I am resending patch

Re: [PATCH] net: Remove duplicated midx check against 0

2020-08-25 Thread David Miller
From: Miaohe Lin Date: Tue, 25 Aug 2020 08:10:37 -0400 > Check midx against 0 is always equal to check midx against sk_bound_dev_if > when sk_bound_dev_if is known not equal to 0 in these case. > > Signed-off-by: Miaohe Lin Applied to net-next, thanks.

Re: INFO: rcu detected stall in smp_call_function

2020-08-25 Thread peterz
+Cc Paul, who was weirdly forgotten last time And one additional question below, which made me remember this thing. On Wed, Jul 29, 2020 at 02:58:11PM +0200, pet...@infradead.org wrote: > > rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: > > rcu:Tasks blocked on level-0 rcu_node

[PATCH] MAINTAINERS: add Dafna Hirschfeld for rkisp1

2020-08-25 Thread Helen Koike
Add Dafna Hirschfeld to rkisp1 maintainers list Signed-off-by: Helen Koike --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index deaafb617361c..3deb954b2bb5d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14858,6 +14858,7 @@ F:

Re: [PATCH v2] ARM: dts: r8a7742-iwg21m: Add SPI NOR support

2020-08-25 Thread Geert Uytterhoeven
On Tue, Aug 25, 2020 at 10:54 AM Lad Prabhakar wrote: > Add support for the SPI NOR device used to boot up the system > to the System on Module DT. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Chris Paterson > --- > Hi all, > > This patch is part of series [1], since rest of the patches have

Re: [PATCH v2 3/4] media: misc: introduce microchip_csi2dc driver

2020-08-25 Thread Eugen.Hristev
On 25.08.2020 15:44, Eugen Hristev - M18282 wrote: > On 14.08.2020 01:44, Sakari Ailus wrote: > >> Hi Eugen, >> >> Thanks for the patch. > > Hello Sakari, > > Thanks for reviewing. > >> >> On Fri, Jul 03, 2020 at 10:44:15AM +0300, Eugen Hristev wrote: >>> Microchip CSI2DC (CSI2 Demultiplexer

Re: [PATCH v3 05/11] genirq: Shutdown irq chips in suspend/resume during hibernation

2020-08-25 Thread Christoph Hellwig
On Sat, Aug 22, 2020 at 02:36:37AM +0200, Thomas Gleixner wrote: > From: Thomas Gleixner > > followed by an empty new line before the actual changelog text > starts. That way the attribution of the patch when applying it will be > correct. The way he sent it attribution will be correct as he

Re: [PATCH] net: Avoid unnecessary inet_addr_type() call when addr is INADDR_ANY

2020-08-25 Thread David Miller
From: Miaohe Lin Date: Tue, 25 Aug 2020 07:40:48 -0400 > We can avoid unnecessary inet_addr_type() call by check addr against > INADDR_ANY first. > > Signed-off-by: Miaohe Lin Applied to net-next.

Re: [PATCH] net: Set ping saddr after we successfully get the ping port

2020-08-25 Thread David Miller
From: Miaohe Lin Date: Tue, 25 Aug 2020 07:33:22 -0400 > We can defer set ping saddr until we successfully get the ping port. So we > can avoid clear saddr when failed. Since ping_clear_saddr() is not used > anymore now, remove it. > > Signed-off-by: Miaohe Lin Applied to net-next, thanks.

Re: [EXT] Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-25 Thread James Morse
Hi Alison, On 25/08/2020 03:31, Alison Wang wrote: >> On 09/07/2020 09:22, Alison Wang wrote: >>> Add error detection for A53 and A72 cores. Hardware error injection is >>> supported on A53. Software error injection is supported on both. >> > >> >> As we can't safely write to these registers

Re: x86/kprobes: kretprobe fails to triggered if kprobe at function entry is not optimized (trigger by int3 breakpoint)

2020-08-25 Thread Masami Hiramatsu
On Tue, 25 Aug 2020 14:09:11 +0200 pet...@infradead.org wrote: > On Tue, Aug 25, 2020 at 03:15:38PM +0900, Masami Hiramatsu wrote: > > > From 24390dffe6eb9a3e95f7d46a528a1dcfd716dc81 Mon Sep 17 00:00:00 2001 > > From: Masami Hiramatsu > > Date: Tue, 25 Aug 2020 01:37:00 +0900 > > Subject:

Re: [REGRESSION] omapdrm/N900 display broken

2020-08-25 Thread Tomi Valkeinen
Hi Laurent, On 23/08/2020 19:26, Aaro Koskinen wrote: > Hi, > > On Tue, Aug 04, 2020 at 03:39:37PM +0300, Tomi Valkeinen wrote: >> On 04/08/2020 15:13, Tomi Valkeinen wrote: > >>> Can you try to pinpoint a bit where the hang happens? Maybe add >>> DRM/omapdrm debug prints, or perhaps sysrq

Re: [PATCH] crypto: sa2ul - Reduce stack usage

2020-08-25 Thread Tero Kristo
On 24/08/2020 16:12, Herbert Xu wrote: On Sun, Aug 16, 2020 at 02:56:43PM +0800, kernel test robot wrote: drivers/crypto/sa2ul.c: In function 'sa_prepare_iopads': drivers/crypto/sa2ul.c:432:1: warning: the frame size of 1076 bytes is larger than 1024 bytes [-Wframe-larger-than=] This

Re: [RESEND 3/3] venus: handle use after free for iommu_map/iommu_unmap

2020-08-25 Thread Stanimir Varbanov
On 8/7/20 9:24 AM, Mansur Alisha Shaik wrote: > In concurrency usecase and reboot scenario we are trying > to map fw.iommu_domain which is already unmapped during > shutdown. This is causing NULL pointer dereference crash. > > This case is handled by adding necessary checks. > > Call trace: >

AW: [PATCH v2] HID: roccat: add bounds checking in kone_sysfs_write_settings()

2020-08-25 Thread Walter Harms
lets hope the maintainer picks that up. re, wh Von: Dan Carpenter [dan.carpen...@oracle.com] Gesendet: Dienstag, 25. August 2020 09:29 An: Walter Harms Cc: Stefan Achatz; Jiri Kosina; Benjamin Tissoires; linux-in...@vger.kernel.org;

Re: [PATCH V3 2/3] arm64: dts: qcom: sc7180: Add sleep pin ctrl for BT uart

2020-08-25 Thread skakit
On 2020-08-21 22:52, Matthias Kaehlcke wrote: On Thu, Aug 20, 2020 at 07:21:06PM +0530, satya priya wrote: Add sleep pin ctrl for BT uart, and also change the bias configuration to match Bluetooth module. Signed-off-by: satya priya Reviewed-by: Akash Asthana --- Changes in V2: - This patch

[PATCH v11 4/5] powerpc/vdso: Switch VDSO to generic C implementation.

2020-08-25 Thread Christophe Leroy
For VDSO32 on PPC64, we create a fake 32 bits config, on the same principle as MIPS architecture, in order to get the correct parts of the different asm header files. With the C VDSO, the performance is slightly lower, but it is worth it as it will ease maintenance and evolution, and also brings

[PATCH] clk: sunxi-ng: sun8i: r40: Use sigma delta modulation for audio PLL

2020-08-25 Thread Jernej Skrabec
Audio cores need specific clock rates which can't be simply obtained by adjusting integer multipliers and dividers. HW for such cases supports delta-sigma modulation which enables fractional multipliers. Port H3 delta-sigma table to R40. They have identical audio PLLs. Signed-off-by: Jernej

[PATCH v11 3/5] powerpc/vdso: Save and restore TOC pointer on PPC64

2020-08-25 Thread Christophe Leroy
On PPC64, the TOC pointer needs to be saved and restored. Suggested-by: Michael Ellerman Signed-off-by: Christophe Leroy --- v9: New. I'm not sure this is really needed, I can't see the VDSO C code doing anything with r2, at least on ppc64_defconfig. So I let you decide whether you take it or

Re: [RFC PATCH 1/5] printk: implement pr_cont_t

2020-08-25 Thread Petr Mladek
On Thu 2020-08-20 12:33:23, David Laight wrote: > From: Petr Mladek > > Sent: 20 August 2020 11:16 > ... > > Now that I think about it. This is the biggest problem with any temporary > > buffer > > for pr_cont() lines. I am more and more convinced that we should just > > _keep the current

[PATCH v11 2/5] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-08-25 Thread Christophe Leroy
Prepare for switching VDSO to generic C implementation in following patch. Here, we: - Prepare the helpers to call the C VDSO functions - Prepare the required callbacks for the C VDSO functions - Prepare the clocksource.h files to define VDSO_ARCH_CLOCKMODES - Add the C trampolines to the generic

[PATCH v11 1/5] powerpc/processor: Move cpu_relax() into asm/vdso/processor.h

2020-08-25 Thread Christophe Leroy
cpu_relax() need to be in asm/vdso/processor.h to be used by the C VDSO generic library. Move it there. Signed-off-by: Christophe Leroy --- v9: Forgot to remove cpu_relax() from processor.h in v8 --- arch/powerpc/include/asm/processor.h | 13 ++---

[PATCH v11 5/5] powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32

2020-08-25 Thread Christophe Leroy
Provides __kernel_clock_gettime64() on vdso32. This is the 64 bits version of __kernel_clock_gettime() which is y2038 compliant. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso32/gettimeofday.S | 9 + arch/powerpc/kernel/vdso32/vdso32.lds.S| 1 +

[PATCH v11 0/5] powerpc: switch VDSO to C implementation

2020-08-25 Thread Christophe Leroy
This is the tenth version of a series to switch powerpc VDSO to generic C implementation. Changes in v11: - Rebased to today's powerpc/merge branch - Prototype of __arch_get_hw_counter() was modified in mainline (patch 2) Changes in v10 are: - Added a comment explaining the reason for the double

Re: [PATCH v2] netlink: remove duplicated nla_need_padding_for_64bit() check

2020-08-25 Thread David Miller
From: Miaohe Lin Date: Mon, 24 Aug 2020 23:25:17 -0400 > The need for padding 64bit is implicitly checked by nla_align_64bit(), so > remove this explicit one. > > Signed-off-by: Miaohe Lin Also applied, thank you.

[PATCH] vhost-iotlb: fix vhost_iotlb_itree_next() documentation

2020-08-25 Thread Stefano Garzarella
This patch contains trivial changes for the vhost_iotlb_itree_next() documentation, fixing the function name and the description of first argument (@map). Signed-off-by: Stefano Garzarella --- drivers/vhost/iotlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2] net: gain ipv4 mtu when mtu is not locked

2020-08-25 Thread David Miller
From: Miaohe Lin Date: Mon, 24 Aug 2020 23:20:28 -0400 > When mtu is locked, we should not obtain ipv4 mtu as we return immediately > in this case and leave acquired ipv4 mtu unused. > > Signed-off-by: Miaohe Lin Applied to net-next.

[PATCH 1/1] EDAC/ghes: Fix for NULL pointer dereference in ghes_edac_register()

2020-08-25 Thread Shiju Jose
After the 'commit b9cae27728d1 ("EDAC/ghes: Scan the system once on driver init")' applied, following error has occurred in ghes_edac_register() when CONFIG_DEBUG_TEST_DRIVER_REMOVE is enabled. The null ghes_hw.dimms pointer in the mci_for_each_dimm() of ghes_edac_register() caused the error.

[PATCH V2] ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()

2020-08-25 Thread Yu Kuai
if of_find_device_by_node() succeed, imx_es8328_probe() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Fixes: 7e7292dba215 ("ASoC: fsl: add imx-es8328 machine driver") Signed-off-by: Yu Kuai --- Changes from V1:

Re: [PATCH v18 00/32] per memcg lru_lock

2020-08-25 Thread Alex Shi
在 2020/8/25 下午4:52, Alex Shi 写道: > > 在 2020/8/25 上午9:56, Daniel Jordan 写道: >> On Mon, Aug 24, 2020 at 01:24:20PM -0700, Hugh Dickins wrote: >>> On Mon, 24 Aug 2020, Andrew Morton wrote: On Mon, 24 Aug 2020 20:54:33 +0800 Alex Shi wrote: >>> Andrew demurred on version 17 for lack of

Re: [PATCH 1/2] ASoC: fsl: imx-es8328: add missing kfree() call in imx_es8328_probe()

2020-08-25 Thread yukuai (C)
On 2020/08/25 20:11, Mark Brown wrote: On Tue, Aug 25, 2020 at 08:05:30PM +0800, Yu Kuai wrote: If memory allocation for 'data' or 'comp' succeed, imx_es8328_probe() doesn't have corresponding kfree() in exception handling. Thus add kfree() for this function implementation. @@ -151,7

Re: [RFC PATCH 0/5] KVM: arm64: Add pvtime LPT support

2020-08-25 Thread Mark Rutland
On Wed, Aug 19, 2020 at 09:54:40AM +0100, Steven Price wrote: > On 18/08/2020 15:41, Marc Zyngier wrote: > > On 2020-08-17 09:41, Keqian Zhu wrote: > We are discussing (re-)releasing the spec with the LPT parts added. If you > have fundamental objections then please me know. Like Marc, I argued

Re: [PATCH v4] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver

2020-08-25 Thread Fabio Estevam
Hi Chris, On Tue, Aug 25, 2020 at 12:04 AM Chris Healy wrote: > > From: Chris Healy > > Add syscon compatibility with Vybrid OCOTP driver binding. This is > required to access the UID. > > Fixes: 623069946952 ("nvmem: Add DT binding documentation for Vybrid > OCOTP driver") Fixes line should

[PATCH v4 3/4] objtool: orc: Skip setting orc_entry for non-text sections

2020-08-25 Thread Julien Thierry
Orc generation is only done for text sections, but some instructions can be found in non-text sections (e.g. .discard.text sections). Skip setting their orc sections since their whole sections will be skipped for orc generation. Reviewed-by: Miroslav Benes Signed-off-by: Julien Thierry ---

[PATCH v4 2/4] objtool: Move orc outside of check

2020-08-25 Thread Julien Thierry
Now that the objtool_file can be obtained outside of the check function, orc generation builtin no longer requires check to explicitly call its orc related functions. Signed-off-by: Julien Thierry --- tools/objtool/builtin-check.c | 10 +- tools/objtool/builtin-orc.c | 21

Re: [PATCH] panasonic-laptop: take over maintainership

2020-08-25 Thread Harald Welte
On Tue, Aug 25, 2020 at 06:13:41PM +0800, Kenneth Chan wrote: > Take over maintaniership of panasonic-laptop from Harald Welte. > > > Signed-off-by: Kenneth Chan Acked-by: Harald Welte -- - Harald Weltehttp://laforge.gnumonks.org/

[PATCH v2 2/6] dmaengine: axi-dmac: move active_descs list init after device-tree init

2020-08-25 Thread Alexandru Ardelean
We want to enable the clock right after it is obtained. Then later we'll want to read the core version via register-access (which requires the clock to be enabled). The initialization of the active_descs list can be postponed after reading from registers (or reading the device-tree).

[PATCH v2 5/6] dmaengine: axi-dmac: wrap channel parameter adjust into function

2020-08-25 Thread Alexandru Ardelean
The channel parameters (which are read from the device-tree) are adjusted for the DMAEngine framework in the axi_dmac_parse_chan_dt() function, after they are read from the device-tree. When we want to read these from registers, we will need to use the same logic, so this change splits the logic

[PATCH v2 0/6] dmaengine: axi-dmac: add support for reading bus attributes from register

2020-08-25 Thread Alexandru Ardelean
The series adds support for reading the DMA bus attributes from the INTERFACE_DESCRIPTION (0x10) register. The first 5 changes are a bit of rework prior to adding the actual change in patch 6, as things need to be shifted around a bit, to enable the clock to be enabled earlier, to be able to

Re: [PATCH] kprobes/x86: Fixes NMI context check on x86

2020-08-25 Thread kernel test robot
Hi Masami, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on tip/auto-latest linux/master linus/master v5.9-rc2 next-20200825] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

[PATCH v2 5/6] dmaengine: axi-dmac: wrap channel parameter adjust into function

2020-08-25 Thread Alexandru Ardelean
The channel parameters (which are read from the device-tree) are adjusted for the DMAEngine framework in the axi_dmac_parse_chan_dt() function, after they are read from the device-tree. When we want to read these from registers, we will need to use the same logic, so this change splits the logic

[PATCH v2 4/6] dmaengine: axi-dmac: wrap entire dt parse in a function

2020-08-25 Thread Alexandru Ardelean
All these attributes will be read from registers in newer core versions, so just wrap the logic into a function. Signed-off-by: Alexandru Ardelean --- drivers/dma/dma-axi-dmac.c | 40 +++--- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git

[PATCH v2 1/6] dmaengine: axi-dmac: move version read in probe

2020-08-25 Thread Alexandru Ardelean
The 'version' of the IP core will be needed to adapt the driver to a new feature (i.e. reading some DMA parameters from registers). To do that, the version will be checked, so this is being moved out of the axi_dmac_detect_caps() function. Signed-off-by: Alexandru Ardelean ---

[PATCH v2 4/6] dmaengine: axi-dmac: wrap entire dt parse in a function

2020-08-25 Thread Alexandru Ardelean
All these attributes will be read from registers in newer core versions, so just wrap the logic into a function. Signed-off-by: Alexandru Ardelean --- drivers/dma/dma-axi-dmac.c | 40 +++--- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git

Re: [PATCH v4 0/4] Remove dependency of check subcmd upon orc

2020-08-25 Thread Julien Thierry
Hi, Sorry for the duplicate send. An issue happened while sending this one. Please ignore this thread. Thanks, Julien On 8/25/20 1:46 PM, Julien Thierry wrote: Hi, Matt Helsley's change[1] provided a base framework to opt-in/out objtool subcommands at compile time. This makes it easier

[PATCH v2 2/6] dmaengine: axi-dmac: move active_descs list init after device-tree init

2020-08-25 Thread Alexandru Ardelean
We want to enable the clock right after it is obtained. Then later we'll want to read the core version via register-access (which requires the clock to be enabled). The initialization of the active_descs list can be postponed after reading from registers (or reading the device-tree).

[PATCH v2 3/6] dmaengine: axi-dmac: move clock enable earlier

2020-08-25 Thread Alexandru Ardelean
The clock may also be required to read registers from the IP core (if it is provided and the driver needs to control it). So, move it earlier in the probe. Signed-off-by: Alexandru Ardelean --- drivers/dma/dma-axi-dmac.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-)

[PATCH v2 6/6] dmaengine: axi-dmac: add support for reading bus attributes from registers

2020-08-25 Thread Alexandru Ardelean
Starting with core version 4.3.a the DMA bus attributes can (and should) be read from the INTERFACE_DESCRIPTION (0x10) register. For older core versions, this will still need to be provided from the device-tree. The bus-type values are identical to the ones stored in the device-trees, so we just

[PATCH 2/3] dt-bindings: iio: gyro: adxrs290: Add required interrupts property

2020-08-25 Thread Nishant Malpani
Append 'interrupts' as a required property and provide a suitable example for using a GPIO interrupt line. Signed-off-by: Nishant Malpani --- .../devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 1/6] dmaengine: axi-dmac: move version read in probe

2020-08-25 Thread Alexandru Ardelean
The 'version' of the IP core will be needed to adapt the driver to a new feature (i.e. reading some DMA parameters from registers). To do that, the version will be checked, so this is being moved out of the axi_dmac_detect_caps() function. Signed-off-by: Alexandru Ardelean ---

[PATCH v4 4/4] objtool: check: Use orc definition only when needed

2020-08-25 Thread Julien Thierry
Implementation of ORC requires some definitions that are currently provided by the target architecture headers. Do not depend on these definitions when the orc subcommand is not implemented. This avoid requiring arches with no orc implementation to provide dummy orc definitions. Signed-off-by:

[PATCH v2 0/6] dmaengine: axi-dmac: add support for reading bus attributes from register

2020-08-25 Thread Alexandru Ardelean
The series adds support for reading the DMA bus attributes from the INTERFACE_DESCRIPTION (0x10) register. The first 5 changes are a bit of rework prior to adding the actual change in patch 6, as things need to be shifted around a bit, to enable the clock to be enabled earlier, to be able to

[PATCH v2 6/6] dmaengine: axi-dmac: add support for reading bus attributes from registers

2020-08-25 Thread Alexandru Ardelean
Starting with core version 4.3.a the DMA bus attributes can (and should) be read from the INTERFACE_DESCRIPTION (0x10) register. For older core versions, this will still need to be provided from the device-tree. The bus-type values are identical to the ones stored in the device-trees, so we just

[PATCH v4 1/4] objtool: Move object file loading out of check

2020-08-25 Thread Julien Thierry
Structure objtool_file can be used by different subcommands. In fact it already is, by check and orc. Provide a function that allows to initialize objtool_file, that builtin can call, without relying on check to do the correct setup for them and explicitly hand the objtool_file to them.

[PATCH 3/3] iio: gyro: adxrs290: Add debugfs register access support

2020-08-25 Thread Nishant Malpani
Extend support to read/write byte data from/to the device using debugfs iio interface. Signed-off-by: Nishant Malpani --- drivers/iio/gyro/adxrs290.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/iio/gyro/adxrs290.c b/drivers/iio/gyro/adxrs290.c index

[PATCH v4 0/4] Remove dependency of check subcmd upon orc

2020-08-25 Thread Julien Thierry
Hi, Matt Helsley's change[1] provided a base framework to opt-in/out objtool subcommands at compile time. This makes it easier for architectures to port objtool, one subcommand at a time. Orc generation relies on the check operation implementation. However, the way this is done causes the check

[PATCH v2 3/6] dmaengine: axi-dmac: move clock enable earlier

2020-08-25 Thread Alexandru Ardelean
The clock may also be required to read registers from the IP core (if it is provided and the driver needs to control it). So, move it earlier in the probe. Signed-off-by: Alexandru Ardelean --- drivers/dma/dma-axi-dmac.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-)

[PATCH v4 0/4] Remove dependency of check subcmd upon orc

2020-08-25 Thread Julien Thierry
Hi, Matt Helsley's change[1] provided a base framework to opt-in/out objtool subcommands at compile time. This makes it easier for architectures to port objtool, one subcommand at a time. Orc generation relies on the check operation implementation. However, the way this is done causes the check

[PATCH 0/3] iio: gyro: adxrs290: Add triggered buffer & debugfs support

2020-08-25 Thread Nishant Malpani
Introduce DATA_RDY trigger for triggered buffer setup; this enables continuous data capture. Additionally, add support for direct register access using the debugfs iio interface. The device-tree bindings documentation illustrates an example of using a GPIO irq line to trigger a data capture.

[PATCH 1/3] iio: gyro: adxrs290: Add triggered buffer support

2020-08-25 Thread Nishant Malpani
Provide a way for continuous data capture by setting up buffer support. The data ready signal exposed at the SYNC pin of the ADXRS290 is exploited as a hardware interrupt which triggers to fill the buffer. Triggered buffer setup was tested with both hardware trigger (DATA_RDY) and software

[PATCH v4 1/4] objtool: Move object file loading out of check

2020-08-25 Thread Julien Thierry
Structure objtool_file can be used by different subcommands. In fact it already is, by check and orc. Provide a function that allows to initialize objtool_file, that builtin can call, without relying on check to do the correct setup for them and explicitly hand the objtool_file to them.

[PATCH v4 2/4] objtool: Move orc outside of check

2020-08-25 Thread Julien Thierry
Now that the objtool_file can be obtained outside of the check function, orc generation builtin no longer requires check to explicitly call its orc related functions. Signed-off-by: Julien Thierry --- tools/objtool/builtin-check.c | 10 +- tools/objtool/builtin-orc.c | 21

[PATCH 1/1] iio: gyro: adxrs290: Insert missing mutex initialization call

2020-08-25 Thread Nishant Malpani
Insert a missing mutex_init() call during the probe that initializes the driver's local lock to unlocked state. Fixes: 2c8920fff145 ("iio: gyro: Add driver support for ADXRS290") Signed-off-by: Nishant Malpani --- drivers/iio/gyro/adxrs290.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH] sched/fair: Fix wrong cpu selecting from isolated domain

2020-08-25 Thread Jiang Biao
On Tue, 25 Aug 2020 at 17:28, xunlei wrote: > > On 2020/8/25 下午2:37, Jiang Biao wrote: > > On Mon, 24 Aug 2020 at 20:31, Xunlei Pang wrote: > >> > >> We've met problems that occasionally tasks with full cpumask > >> (e.g. by putting it into a cpuset or setting to full affinity) > >> were

Re: [PATCH v4] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver

2020-08-25 Thread Stefan Agner
On 2020-08-25 05:04, Chris Healy wrote: > From: Chris Healy > > Add syscon compatibility with Vybrid OCOTP driver binding. This is > required to access the UID. > > Fixes: 623069946952 ("nvmem: Add DT binding documentation for Vybrid > OCOTP driver") > Cc: sta...@vger.kernel.org >

Re: [PATCH v2 3/4] media: misc: introduce microchip_csi2dc driver

2020-08-25 Thread Eugen.Hristev
On 14.08.2020 01:44, Sakari Ailus wrote: > Hi Eugen, > > Thanks for the patch. Hello Sakari, Thanks for reviewing. > > On Fri, Jul 03, 2020 at 10:44:15AM +0300, Eugen Hristev wrote: >> Microchip CSI2DC (CSI2 Demultiplexer Controller) is a misc bridge device >> that converts a byte stream in

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-25 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 09:34, Stephan Gerhold wrote: > > On Tue, Aug 25, 2020 at 08:43:42AM +0200, Ulf Hansson wrote: > > On Tue, 25 Aug 2020 at 06:43, Viresh Kumar wrote: > > > > > > On 24-08-20, 17:08, Stephan Gerhold wrote: > > > > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote:

Re: [PATCH 9/9] iomap: Change calling convention for zeroing

2020-08-25 Thread Matthew Wilcox
On Tue, Aug 25, 2020 at 02:27:11PM +1000, Dave Chinner wrote: > On Mon, Aug 24, 2020 at 09:35:59PM -0600, Andreas Dilger wrote: > > On Aug 24, 2020, at 9:26 PM, Matthew Wilcox wrote: > > > > > > On Tue, Aug 25, 2020 at 10:27:35AM +1000, Dave Chinner wrote: > > >>> do { > > >>> -

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 01:00:12PM +0100, Valentin Schneider wrote: > On 25/08/20 12:32, Andy Shevchenko wrote: > > On Tue, Aug 25, 2020 at 02:26:05PM +0300, Andy Shevchenko wrote: > >> On Tue, Aug 25, 2020 at 02:24:05PM +0300, Andy Shevchenko wrote: > >> > On Tue, Aug 25, 2020 at 11:12:21AM

Re: [PATCH] drm/vkms: Use alpha value to blend values.

2020-08-25 Thread Sidong Yang
On Mon, Aug 24, 2020 at 11:15:01PM -0400, Rodrigo Siqueira wrote: > Hi Sidong, > > Thanks a lot for your patch and effort to improve VKMS. > > On 08/18, Sidong Yang wrote: > > I wrote this patch for TODO list in vkms documentation. > > > > Use alpha value to blend source value and destination

Re: [PATCH 0/2][next] update gdb scripts for lockless printk ringbuffer

2020-08-25 Thread Petr Mladek
On Mon 2020-08-24 10:20:53, Kieran Bingham wrote: > Hi Petr, > > On 21/08/2020 09:55, Jan Kiszka wrote: > > On 21.08.20 10:08, Petr Mladek wrote: > >> On Fri 2020-08-14 23:31:23, John Ogness wrote: > >>> Hi, > >>> > >>> When we brought in the new lockless printk ringbuffer, we overlooked the >

Re: [PATCH 2/5] dmaengine: axi-dmac: move clock enable earlier

2020-08-25 Thread Alexandru Ardelean
On Tue, Aug 25, 2020 at 2:24 PM Vinod Koul wrote: > > On 19-08-20, 10:16, Alexandru Ardelean wrote: > > The clock may also be required to read registers from the IP core (if it is > > provided and the driver needs to control it). > > So, move it earlier in the probe. > > > > Signed-off-by:

[PATCH] net: clean up codestyle for net/ipv4

2020-08-25 Thread Miaohe Lin
This is a pure codestyle cleanup patch. Also add a blank line after declarations as warned by checkpatch.pl. Signed-off-by: Miaohe Lin --- net/ipv4/ip_options.c | 35 +++ net/ipv4/ip_output.c | 2 +- net/ipv4/route.c | 6 +++--- 3 files changed, 23

Re: [PATCH 6/7] mm: Pass pvec directly to find_get_entries

2020-08-25 Thread Jan Kara
On Mon 24-08-20 18:36:39, Matthew Wilcox wrote: > On Mon, Aug 24, 2020 at 06:16:20PM +0200, Jan Kara wrote: > > On Wed 19-08-20 16:05:54, Matthew Wilcox (Oracle) wrote: > > > All callers of find_get_entries() use a pvec, so pass it directly > > > instead of manipulating it in the caller. > > > >

Re: [PATCH v2 9/9] objtool: Abstract unwind hint reading

2020-08-25 Thread Julien Thierry
On 8/3/20 10:35 PM, Josh Poimboeuf wrote: On Mon, Aug 03, 2020 at 01:13:14PM +0100, Julien Thierry wrote: On 7/31/20 3:04 PM, Josh Poimboeuf wrote: On Fri, Jul 31, 2020 at 08:00:58AM +0100, Julien Thierry wrote: + cfa->offset = hint->sp_offset; + insn->cfi.hint_type =

Re: (EXT) Re: (EXT) Re: [PATCH mmc-next v2] mmc: allow setting slot index via device tree alias

2020-08-25 Thread Matthias Schiffer
On Tue, 2020-08-25 at 14:27 +0200, Ulf Hansson wrote: > On Tue, 25 Aug 2020 at 14:00, Matthias Schiffer > wrote: > > > > On Tue, 2020-08-25 at 11:39 +0200, Matthias Schiffer wrote: > > > On Tue, 2020-08-25 at 11:14 +0200, Ulf Hansson wrote: > > > > On Thu, 20 Aug 2020 at 09:59, Matthias Schiffer

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-25 Thread Daniel Stone
Hi Mauro, On Tue, 25 Aug 2020 at 12:30, Mauro Carvalho Chehab wrote: > Sorry, but I can't agree that review is more important than to be able > to properly indicate copyrights in a valid way at the legal systems that > it would apply ;-) The way to properly indicate copyright coverage is to

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-25 Thread Masahiro Yamada
On Tue, Aug 25, 2020 at 4:10 PM Nick Desaulniers wrote: > > On Mon, Aug 24, 2020 at 10:34 AM Arvind Sankar wrote: > > > > On Tue, Aug 25, 2020 at 12:57:22AM +0900, Masahiro Yamada wrote: > > > > > > > > > To prevent transformation from foo() into bar(), > > > there are two ways in Clang to do

Re: (EXT) Re: [PATCH mmc-next v2] mmc: allow setting slot index via device tree alias

2020-08-25 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 14:00, Matthias Schiffer wrote: > > On Tue, 2020-08-25 at 11:39 +0200, Matthias Schiffer wrote: > > On Tue, 2020-08-25 at 11:14 +0200, Ulf Hansson wrote: > > > On Thu, 20 Aug 2020 at 09:59, Matthias Schiffer > > > wrote: > > > > --- a/drivers/mmc/core/host.c > > > > +++

Re: [PATCH 1/3] dt-bindings: Add support for Broadcom USB pin map driver

2020-08-25 Thread Alan Cooper
On Mon, Aug 24, 2020 at 7:30 PM Rob Herring wrote: > > On Wed, Aug 12, 2020 at 04:20:16PM -0400, Al Cooper wrote: > > Add DT bindings for the Broadcom USB pin map driver. This driver allows > > some USB input and output signals to be mapped to any GPIO instead > > of the normal dedicated pins

Re: [PATCH] kprobes/x86: Fixes NMI context check on x86

2020-08-25 Thread kernel test robot
Hi Masami, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on tip/auto-latest linux/master linus/master v5.9-rc2 next-20200825] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH] checkpatch: Allow not using -f with files that are in git

2020-08-25 Thread Rasmus Villemoes
On 25/08/2020 02.09, Joe Perches wrote: > If a file exists in git and checkpatch is used without the -f > flag for scanning a file, then checkpatch will scan the file > assuming it's a patch and emit: > > ERROR: Does not appear to be a unified-diff format patch > > Change the behavior to assume

[PATCH] null_blk: add support for max open/active zone limit for zoned devices

2020-08-25 Thread Niklas Cassel
Add support for user space to set a max open zone and a max active zone limit via configfs. By default, the default value is 0 == no limit. Call the block layer API functions used for exposing the configured limits to sysfs. Add accounting in null_blk_zoned so that these new limits are

[net-next v5 5/6] net: marvell: prestera: Add Switchdev driver implementation

2020-08-25 Thread Vadym Kochan
The following features are supported: - VLAN-aware bridge offloading - VLAN-unaware bridge offloading - FDB offloading (learning, ageing) - Switchport configuration Currently there are some limitations like: - Only 1 VLAN-aware bridge instance supported - FDB ageing

[net-next v5 3/6] net: marvell: prestera: Add basic devlink support

2020-08-25 Thread Vadym Kochan
Add very basic support for devlink interface: - driver name - fw version - devlink ports Signed-off-by: Vadym Kochan --- PATCH v5: 1) Simplified some error path handling by simple return error code in: - prestera_dl_info_get(...) 2) Remove not-needed err assignment

[net-next v5 4/6] net: marvell: prestera: Add ethtool interface support

2020-08-25 Thread Vadym Kochan
The ethtool API provides support for the configuration of the following features: speed and duplex, auto-negotiation, MDI-x, forward error correction, port media type. The API also provides information about the port status, hardware and software statistic. The following limitation exists: -

[net-next v5 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-08-25 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. The current implementation supports only boards designed for the Marvell Switchdev solution and requires special firmware. The core

[net-next v5 2/6] net: marvell: prestera: Add PCI interface support

2020-08-25 Thread Vadym Kochan
Add PCI interface driver for Prestera Switch ASICs family devices, which provides: - Firmware loading mechanism - Requests & events handling to/from the firmware - Access to the firmware on the bus level The firmware has to be loaded each time the device is reset. The driver is

[net-next v5 6/6] dt-bindings: marvell,prestera: Add description for device-tree bindings

2020-08-25 Thread Vadym Kochan
Add brief description how to configure base mac address binding in device-tree. Describe requirement for the PCI port which is connected to the ASIC, to allow access to the firmware related registers. Signed-off-by: Vadym Kochan --- .../bindings/net/marvell,prestera.txt | 34

[net-next v5 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x)

2020-08-25 Thread Vadym Kochan
Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. Prestera Switchdev is a firmware based driver that operates via PCI bus. The current implementation supports only boards designed for the

[net-next v5 2/2] seg6: Add documentation for seg6_inherit_inner_ipv4_dscp sysctl

2020-08-25 Thread Ahmed Abdelsalam
This patch adds a documentation for seg6_inherit_inner_ipv4_dscp sysctl into Documentation/networking/ip-sysctl.rst Signed-off-by: Ahmed Abdelsalam --- Documentation/networking/ip-sysctl.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/networking/ip-sysctl.rst

[net-next v5 1/2] seg6: inherit DSCP of inner IPv4 packets

2020-08-25 Thread Ahmed Abdelsalam
This patch allows SRv6 encapsulation to inherit the DSCP value of the inner IPv4 packet. This allows forwarding packet across the SRv6 fabric based on their original traffic class. The option is controlled through a sysctl (seg6_inherit_inner_ipv4_dscp). The sysctl has to be set to 1 to enable

[PATCH] sched/numa: use runnable_avg to classify node

2020-08-25 Thread Vincent Guittot
Use runnable_avg to classify numa node state similarly to what is done for normal load balancer. This helps to ensure that numa and normal balancers use the same view of the state of the system. - large arm64system: 2 nodes / 224 CPUs hackbench -l (256000/#grp) -g #grp grptip/sched/core

[PATCH] net: Remove duplicated midx check against 0

2020-08-25 Thread Miaohe Lin
Check midx against 0 is always equal to check midx against sk_bound_dev_if when sk_bound_dev_if is known not equal to 0 in these case. Signed-off-by: Miaohe Lin --- net/ipv4/ip_sockglue.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/ipv4/ip_sockglue.c

<    4   5   6   7   8   9   10   11   12   13   >