Re: [PATCH] ext4: flag as supporting buffered async reads

2020-08-25 Thread Jens Axboe
On 8/24/20 4:56 AM, Jens Axboe wrote: > On 8/22/20 9:48 AM, Jens Axboe wrote: >> On 8/22/20 8:33 AM, Theodore Y. Ts'o wrote: >>> On Fri, Aug 21, 2020 at 03:26:35PM -0600, Jens Axboe wrote: >>> Resending this one, as I've been carrying it privately since May. The >>> necessary bits are now u

Re: [PATCH 3/5] ARM: dts: aspeed: yamp: Set 32MB FMC flash layout

2020-08-25 Thread Patrick Williams
On Mon, Aug 24, 2020 at 02:19:46PM -0700, rentao.b...@gmail.com wrote: > From: Tao Ren > > Set 32MB FMC flash layout in Yamp device tree explicitly because flash > layout settings were removed from "ast2500-facebook-netbmc-common.dtsi". > > Signed-off-by: Tao Ren > --- > arch/arm/boot/dts/aspe

Re: [PATCH 2/5] ARM: dts: aspeed: cmm: Set 32MB FMC flash layout

2020-08-25 Thread Patrick Williams
On Mon, Aug 24, 2020 at 02:19:45PM -0700, rentao.b...@gmail.com wrote: > From: Tao Ren > > Set 32MB FMC flash layout in CMM device tree explicitly because the flash > layout settings were removed from "ast2500-facebook-netbmc-common.dtsi". > > Signed-off-by: Tao Ren > --- > arch/arm/boot/dts/a

Re: [PATCH 1/5] ARM: dts: aspeed: Remove flash layout from Facebook AST2500 Common dtsi

2020-08-25 Thread Patrick Williams
On Mon, Aug 24, 2020 at 02:19:44PM -0700, rentao.b...@gmail.com wrote: > From: Tao Ren > > Remove FMC flash layout from ast2500-facebook-netbmc-common.dtsi because > flash size and layout varies across different Facebook AST2500 OpenBMC > platforms. > > Signed-off-by: Tao Ren > --- > .../boot/

Re: [PATCH v8 2/8] powerpc/vdso: Remove __kernel_datapage_offset and simplify __get_datapage()

2020-08-25 Thread Christophe Leroy
Le 04/08/2020 à 13:17, Christophe Leroy a écrit : On 07/16/2020 02:59 AM, Michael Ellerman wrote: Christophe Leroy writes: The VDSO datapage and the text pages are always located immediately next to each other, so it can be hardcoded without an indirection through __kernel_datapage_offset

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

2020-08-25 Thread peterz
On Tue, Aug 25, 2020 at 10:59:54PM +0900, Masami Hiramatsu wrote: > On Tue, 25 Aug 2020 15:30:05 +0200 > pet...@infradead.org wrote: > > > On Tue, Aug 25, 2020 at 10:15:55PM +0900, Masami Hiramatsu wrote: > > > > > > damn... one last problem is dangling instances.. so close. > > > > We can appare

[gustavoars-linux:for-linus/kspp] BUILD SUCCESS 308f765116e9176bf508c10b72ca80ad594e3119

2020-08-25 Thread kernel test robot
allmodconfig powerpc allnoconfig x86_64 randconfig-a003-20200825 x86_64 randconfig-a002-20200825 x86_64 randconfig-a001-20200825 x86_64 randconfig-a005-20200825 x86_64 randconfig-a006

Re: [PATCH v2 11/17] clk: imx: Add blk_ctrl combo driver

2020-08-25 Thread Abel Vesa
On 20-08-25 14:07:29, Philipp Zabel wrote: > On Tue, 2020-08-25 at 14:24 +0300, Abel Vesa wrote: > [...] > > > > +static int imx_blk_ctrl_reset_set(struct reset_controller_dev *rcdev, > > > > + unsigned long id, bool assert) > > > > +{ > > > > + struct imx_blk_

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

2020-08-25 Thread peterz
On Tue, Aug 25, 2020 at 03:30:05PM +0200, pet...@infradead.org wrote: > On Tue, Aug 25, 2020 at 10:15:55PM +0900, Masami Hiramatsu wrote: > > OK, this looks good to me too. > > I'll make a series to rewrite kretprobe based on this patch, OK? > > Please, I'll send the fix along when I have it. On

Re: [PATCH bpf-next v9 5/7] bpf: Implement bpf_local_storage for inodes

2020-08-25 Thread KP Singh
On 8/25/20 2:52 AM, Martin KaFai Lau wrote: > On Sun, Aug 23, 2020 at 06:56:10PM +0200, KP Singh wrote: >> From: KP Singh >> >> Similar to bpf_local_storage for sockets, add local storage for inodes. >> The life-cycle of storage is managed with the life-cycle of the inode. >> i.e. the storage i

Configuring Fortigate 60D Firewall SSL VPN with FortiToken 2FA (Advanced Configuration)

2020-08-25 Thread Turritopsis Dohrnii Teo En Ming
Subject: Configuring Fortigate 60D Firewall SSL VPN with FortiToken 2FA (Advanced Configuration) Author: Mr. Turritopsis Dohrnii Teo En Ming Country: Singapore Date: 25 August 2020 Tuesday Singapore Time Type of Publication: PDF Manual Document Version: 20200825.01 INTRODUCTION Fo

Schönen Tag

2020-08-25 Thread Mr.Ahmed Muzashah
Schönen Tag, Ich bin Ahmed Muzashah, Account Manager einer Investmentbank hier in Burkina Faso. In meinem Unternehmen wird seit langem ein Kontoprojekt von einem Kunden unserer Bank eröffnet. Ich habe die Möglichkeit, den verbleibenden Fonds (15,8 Millionen US-Dollar) zu übertragen. Fünfzehn Milli

[PATCH 1/3] software node: Power management operations for software nodes

2020-08-25 Thread Heikki Krogerus
Adding separate PM operations vector for the software nodes. The software node specific PM operations make it possible to handle most PM related quirks separately in their own functions instead of conditionally in the device driver's generic PM functions (and in some cases all over the driver). The

[PATCH 0/3] PM operations for software nodes

2020-08-25 Thread Heikki Krogerus
Hi guys, Unfortunately the last patch depends on this: https://lore.kernel.org/linux-usb/20200821131101.81915-1-heikki.kroge...@linux.intel.com/ Would it be easiest that Felipe took care of these (assuming they are acceptable)? thanks, Heikki Krogerus (3): software node: Power management oper

[PATCH 3/3] usb: dwc3: pci: Register a software node for the dwc3 platform device

2020-08-25 Thread Heikki Krogerus
By registering the software node directly instead of just the properties in it, the driver can take advantage of also the other features the software nodes have. Initially using the nodes for isolating the Intel Broxton specific power management quirk by handling it in Broxton's very own power man

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

2020-08-25 Thread Nick Desaulniers
On Tue, Aug 25, 2020 at 5:30 AM Masahiro Yamada wrote: > > On Tue, Aug 25, 2020 at 4:10 PM Nick Desaulniers > wrote: > > > > Masahiro, are you implying that we shouldn't take the > > -fno-builtin-stpcpy patch, because Clang is inconsistent? (That can be > > fixed.) Even though -fno-builtin-stpcpy

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 15:30:05 +0200 pet...@infradead.org wrote: > On Tue, Aug 25, 2020 at 10:15:55PM +0900, Masami Hiramatsu wrote: > > > > damn... one last problem is dangling instances.. so close. > > > We can apparently unregister a kretprobe while there's still active > > > kretprobe_instance'

drivers/iommu/sun50i-iommu.c:890:14: warning: variable 'iova' set but not used

2020-08-25 Thread kernel test robot
: i386-randconfig-r015-20200825 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): git checkout 4100b8c229b328358cc4a82f5042dbf22f1c1ccb # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue

[PATCH v3] lib/string.c: implement stpcpy

2020-08-25 Thread Nick Desaulniers
LLVM implemented a recent "libcall optimization" that lowers calls to `sprintf(dest, "%s", str)` where the return value is used to `stpcpy(dest, str) - dest`. This generally avoids the machinery involved in parsing format strings. `stpcpy` is just like `strcpy` except it returns the pointer to the

[PATCH 2/3] software node: Introduce device_add_software_node()

2020-08-25 Thread Heikki Krogerus
This helper will register a software node and then assign it to device at the same time. The function will also make sure that the device can't have more than one software node. Signed-off-by: Heikki Krogerus --- drivers/base/swnode.c| 45 include/lin

[PATCH v3] lib/string.c: implement stpcpy

2020-08-25 Thread Nick Desaulniers
LLVM implemented a recent "libcall optimization" that lowers calls to `sprintf(dest, "%s", str)` where the return value is used to `stpcpy(dest, str) - dest`. This generally avoids the machinery involved in parsing format strings. `stpcpy` is just like `strcpy` except it returns the pointer to the

Re: [PATCH] power: supply: Add dependency to lego-ev3-battery Kconfig options

2020-08-25 Thread Sebastian Reichel
Hi, On Mon, Aug 17, 2020 at 01:25:45PM -0500, David Lechner wrote: > Acked-by: David Lechner Thanks, queued. -- Sebastian signature.asc Description: PGP signature

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

2020-08-25 Thread Mel Gorman
On Tue, Aug 25, 2020 at 02:18:18PM +0200, Vincent Guittot wrote: > 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

[PATCH v1 2/9] powerpc/vdso: Remove get_page() in vdso_pagelist initialization

2020-08-25 Thread Christophe Leroy
Partly copied from commit 16fb1a9bec61 ("arm64: vdso: clean up vdso_pagelist initialization"). No need to get_page() the vdso text/data - these are part of the kernel image. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso.c | 18 ++ 1 file changed, 6 insertions(+),

[PATCH v1 4/9] powerpc/vdso: Remove unnecessary ifdefs in vdso_pagelist initialization

2020-08-25 Thread Christophe Leroy
No need of all those #ifdefs around the pagelist initialisation, use IS_ENABLED(), GCC will kick out unused static variables. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso.c | 57 +++--- 1 file changed, 22 insertions(+), 35 deletions(-) diff --git

[PATCH v1 9/9] powerpc/vdso: Remove unused \tmp param in __get_datapage()

2020-08-25 Thread Christophe Leroy
The \tmp param is not used anymore, remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/vdso/gettimeofday.h | 4 ++-- arch/powerpc/include/asm/vdso_datapage.h | 2 +- arch/powerpc/kernel/vdso32/cacheflush.S | 2 +- arch/powerpc/kernel/vdso32/datapage.S| 4 ++-

[PATCH v1 5/9] powerpc/vdso: move to _install_special_mapping() and remove arch_vma_name()

2020-08-25 Thread Christophe Leroy
>From commit 2fea7f6c98f5 ("arm64: vdso: move to _install_special_mapping and remove arch_vma_name"). Use the new _install_special_mapping() API added by commit a62c34bd2a8a ("x86, mm: Improve _install_special_mapping and fix x86 vdso naming") which obsolete install_special_mapping(). And remove

[PATCH v1 1/9] powerpc/vdso: Remove BUG_ON() in vdso_init()

2020-08-25 Thread Christophe Leroy
If we are not able to allocate memory for the pagelists, bail out. There is no reason to crash the machine, just have vdso init fail. Signed-off-by: Christophe Leroy --- This series is based on top of the series switching to C VDSO implementation, but in fact only the last patch depends on that

[PATCH v1 3/9] powerpc/vdso: Remove NULL termination element in vdso_pagelist

2020-08-25 Thread Christophe Leroy
No need of a NULL last element in pagelists, install_special_mapping() knows how long the list is. Remove that element. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/vdso.c b/arch

[PATCH v1 7/9] powerpc/vdso: Move vdso datapage up front

2020-08-25 Thread Christophe Leroy
Move the vdso datapage in front of the VDSO area, before vdso test. This will allow to remove the __kernel_datapage_offset symbol and simplify __get_datapage() in the following patch. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mmu_context.h | 4 +++- arch/powerpc/kernel/vdso.

[PATCH v1 6/9] powerpc/vdso: Provide vdso_remap()

2020-08-25 Thread Christophe Leroy
Provide vdso_remap() through _install_special_mapping() and drop arch_remap(). This adds a test of the size and returns -EINVAL if the size is not correct. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mm-arch-hooks.h | 25 - arch/powerpc/kernel/vdso.c

[PATCH v1 8/9] powerpc/vdso: Remove __kernel_datapage_offset and simplify __get_datapage()

2020-08-25 Thread Christophe Leroy
The VDSO datapage and the text pages are always located immediately next to each other, so it can be hardcoded without an indirection through __kernel_datapage_offset Before: clock-getres-realtime-coarse:vdso: 714 nsec/call clock-gettime-realtime-coarse:vdso: 792 nsec/call clock-gettime-re

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

2020-08-25 Thread Jan Kiszka
On 25.08.20 14:35, Petr Mladek wrote: > 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

Re: [PATCH v2 0/3] Some clean-ups for bio merge

2020-08-25 Thread Baolin Wang
Hi, On Tue, Aug 18, 2020 at 01:45:27PM +0800, Baolin Wang wrote: > Hi, > > There are some duplicated code when trying to merge bio from pluged list > and software queue, thus this patch set did some clean-ups when merging > a bio. Any comments are welcome. Thanks. > > Changes from v1: > - Drop

Re: [PATCH v5 00/16] Allwinner A100 Initial support

2020-08-25 Thread Lee Jones
On Tue, 25 Aug 2020, Maxime Ripard wrote: > On Mon, Aug 24, 2020 at 09:03:27AM +0100, Lee Jones wrote: > > On Mon, 24 Aug 2020, Frank Lee wrote: > > > > > ping.. > > > > "Please don't send content free pings and please allow a reasonable > > time for review. People get busy, go on holiday,

Re: [PATCH v5 00/16] Allwinner A100 Initial support

2020-08-25 Thread Wolfram Sang
On Tue, Aug 25, 2020 at 10:55:32AM +0200, Maxime Ripard wrote: > On Mon, Aug 24, 2020 at 09:03:27AM +0100, Lee Jones wrote: > > On Mon, 24 Aug 2020, Frank Lee wrote: > > > > > ping.. > > > > "Please don't send content free pings and please allow a reasonable > > time for review. People get

[PATCH] clk: renesas: cpg-mssr: Add clk entry for VSPR

2020-08-25 Thread Lad Prabhakar
Add clock entry 130 for VSPR module, so that this module can be used on R8A7742 (RZ/G1H) SoC. Note: The entry for VSPR clock was accidentally dropped from RZ/G manual when all the information related to RT were removed. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- Similar details can

Re: [PATCH] ARM: dts: sun4i: Enable HDMI support on the Mele A1000

2020-08-25 Thread Maxime Ripard
On Fri, Aug 21, 2020 at 01:18:33PM -0400, Stefan Monnier wrote: > Enable the display pipeline and HDMI output. > > Signed-off-by: Stefan Monnier Applied, thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH 0/2] ARM: dts: sun8i: r40: Enable mali400 GPU

2020-08-25 Thread Maxime Ripard
On Mon, Aug 24, 2020 at 05:04:32PM +0200, Jernej Skrabec wrote: > Following two patches enable Mali400 GPU on Allwinner R40 SoC. At this > point I didn't add table for frequency switching because it would > require far more testing and defaults work stable and reasonably well. > > Please take a lo

[PATCH mmc-next v3 2/2] mmc: allow setting slot index via device tree alias

2020-08-25 Thread Matthias Schiffer
As with GPIO, UART and others, allow specifying the device index via the aliases node in the device tree. On embedded devices, there is often a combination of removable (e.g. SD card) and non-removable MMC devices (e.g. eMMC). Therefore the index might change depending on * host of removable devi

Re: [PATCH v5 05/16] pinctrl: sunxi: add support for the Allwinner A100 pin controller

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:05:49PM +0800, Frank Lee wrote: > From: Yangtao Li > > This commit introduces support for the pin controller on A100. > > Signed-off-by: Yangtao Li Acked-by: Maxime Ripard Thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH] arm64: dts: allwinner: h5: remove Mali GPU PMU module

2020-08-25 Thread Maxime Ripard
On Sat, Aug 22, 2020 at 02:27:55PM +0800, Qiang Yu wrote: > H5's Mali GPU PMU is not present or working corretly although > H5 datasheet record its interrupt vector. > > Adding this module will miss lead lima driver try to shutdown > it and get waiting timeout. This problem is not exposed before >

[PATCH mmc-next v3 1/2] dt-bindings: mmc: add alias example

2020-08-25 Thread Matthias Schiffer
As for I2C and SPI, it now is possible to reserve a fixed index for mmc/mmcblk devices. Signed-off-by: Matthias Schiffer --- v3: new patch Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc

Re: [PATCH v2 13/14] [DO NOT MERGE] arm64: dts: allwinner: h6: Add GPU OPP table

2020-08-25 Thread Maxime Ripard
Hi Clement, On Mon, Aug 03, 2020 at 09:54:05AM +0200, Clément Péron wrote: > Hi Maxime and All, > > On Sat, 4 Jul 2020 at 16:56, Clément Péron wrote: > > > > Hi Maxime, > > > > On Sat, 4 Jul 2020 at 14:13, Maxime Ripard wrote: > > > > > > Hi, > > > > > > On Sat, Jul 04, 2020 at 12:25:34PM +0200

Re: [PATCH 0/7] Allwinner A64 digital audio codec fixes

2020-08-25 Thread Maxime Ripard
Hi Mark, On Tue, Aug 18, 2020 at 05:54:50PM +0100, Mark Brown wrote: > On Sat, 25 Jul 2020 20:25:50 -0500, Samuel Holland wrote: > > This series fixes a couple of issues with the digital audio codec in the > > Allwinner A64 SoC: > > 1) Left/right channels were swapped when playing/recording audi

Re: [PATCH] arm64: dts: allwinner: replace numerical constant with CCU_CLKX

2020-08-25 Thread Maxime Ripard
On Mon, Aug 03, 2020 at 05:30:22PM +0300, Alexander Kochetkov wrote: > From: Alexander Kochetkov > > Signed-off-by: Alexander Kochetkov Applied, thanks Maxime signature.asc Description: PGP signature

Re: [PATCH 0/7] Support of MIPI CSI-2 for A83T and OV8865 camera

2020-08-25 Thread Maxime Ripard
Hi, On Fri, Aug 21, 2020 at 04:59:28PM +0200, Kévin L'hôpital wrote: > > Kévin L'hôpital (7): > media: sun6i-csi: Fix the bpp for 10-bit bayer formats > dt-bindings: media: i2c: Add documentation for ov8865 > media: i2c: Add support for the OV8865 image sensor > media: sunxi: sun6i-csi: M

Re: [PATCH 1/7] media: sun6i-csi: Fix the bpp for 10-bit bayer formats

2020-08-25 Thread Maxime Ripard
On Fri, Aug 21, 2020 at 04:59:29PM +0200, Kévin L'hôpital wrote: > 10-bit bayer formats are aligned to 16 bits in memory, so this is what > needs to be used as bpp for calculating the size of the buffers to > allocate. > > Signed-off-by: Kévin L'hôpital Generally speaking, you should also explai

Re: arm: dts: allwinner: a20: Add Drejo DS167 initial support

2020-08-25 Thread Maxime Ripard
Hi, On Sun, Aug 02, 2020 at 11:29:24PM +0300, stul...@gmail.com wrote: > From: Sertac TULLUK > > Drejo DS167 is an Allwinner A20 based IoT device, which support > > - Allwinner A20 Cortex-A7 > - Mali-400MP2 GPU > - AXP209 PMIC > - 1GB DDR3 RAM > - 8GB eMMC > - 10/100M Ethernet > - SATA > - HDM

Re: [PATCH] arm64: dts: allwinner: Mark timer as stopped in suspend

2020-08-25 Thread Maxime Ripard
Hi! On Sat, Aug 08, 2020 at 09:18:22PM -0500, Samuel Holland wrote: > When possible, system firmware on 64-bit Allwinner platforms disables > OSC24M during system suspend. Since this oscillator is the clock source > for the ARM architectural timer, this causes the timer to stop counting. > Therefo

Re: [PATCH] drm/sun4i: Constify static structs

2020-08-25 Thread Maxime Ripard
Hi, On Tue, Aug 04, 2020 at 11:53:37PM +0200, Rikard Falkeborn wrote: > A number of static variables are not modified and can be made const to > allow the compiler to put them in read-only memory. > > Signed-off-by: Rikard Falkeborn Applied, thanks! Maxime signature.asc Description: PGP signa

[git pull] m68knommu changes for v5.9-rc3

2020-08-25 Thread Greg Ungerer
Hi Linus, Please pull the m68knommu changes for v5.9-rc3. Only a single fix for the binfmt_flat loader (reverting a recent change). Regards Greg The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are available in the Git

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

2020-08-25 Thread David Laight
From: Petr Mladek > Sent: 25 August 2020 14:11 > > 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 m

Re: [PATCH v5 15/16] dt-bindings: arm: sunxi: Add Allwinner A100 Perf1 Board bindings

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:20:12PM +0800, Frank Lee wrote: > From: Yangtao Li > > Document board compatible names for Allwinner A100 Perf1 Board. > > Signed-off-by: Yangtao Li > Reviewed-by: Rob Herring Applied, thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH v5 07/16] dt-bindings: thermal: sun8i: Add binding for A100's THS controller

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:10:57PM +0800, Frank Lee wrote: > From: Yangtao Li > > Add a binding for A100's ths controller. > > Signed-off-by: Yangtao Li > Reviewed-by: Rob Herring Acked-by: Maxime Ripard Thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH v5 11/16] dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:14:48PM +0800, Frank Lee wrote: > From: Yangtao Li > > There is no one use "allwinner,sun9i-a80-sc-nmi". The A80 uses > "allwinner,sun9i-a80-nmi". > > Let's fix it. > > Signed-off-by: Yangtao Li > Acked-by: Rob Herring Applied, thanks! Maxime signature.asc Descri

Re: [PATCH] drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()

2020-08-25 Thread Maxime Ripard
Hi, On Tue, Aug 25, 2020 at 07:44:03PM +0800, Yu Kuai wrote: > If sun8i_r40_tcon_tv_set_mux() succeed, at_dma_xlate() doesn't have a > corresponding put_device(). Thus add put_device() to fix the exception > handling for this function implementation. > > Fixes: 0305189afb32 ("drm/sun4i: tcon: Add

Re: [PATCH v5 14/16] arm64: allwinner: A100: add the basical Allwinner A100 DTSI file

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:18:24PM +0800, Frank Lee wrote: > From: Yangtao Li > > Allwinner A100 is a new SoC with Cortex-A53 cores, this commit adds > the basical DTSI file of it, including the clock, i2c, pins, sid, ths, > nmi, and UART support. > > Signed-off-by: Yangtao Li Applied, thanks!

Re: [PATCH v5 16/16] arm64: allwinner: A100: add support for Allwinner Perf1 board

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:21:05PM +0800, Frank Lee wrote: > From: Yangtao Li > > A100 perf1 is an Allwinner A100-based SBC, with the following features: > > - 1GiB DDR3 DRAM > - AXP803 PMIC > - 2 USB 2.0 ports > - MicroSD slot and on-board eMMC module > - on-board Nand flash > - ··· > > Adds i

net/netfilter/nft_set_rbtree.c:85:4: warning: Address of local auto-variable assigned to a function parameter.

2020-08-25 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6a9dc5fd6170d0a41c8a14eb19e63d94bea5705a commit: e32a4dc6512ce3c1a1920531246e7037896e510a netfilter: nf_tables: make sets built-in date: 5 months ago compiler: arc-elf-gcc (GCC) 9.3.0 If you fix the issue

Re: [PATCH v5 01/16] dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and R-CCU

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 02:56:08PM +0800, Frank Lee wrote: > From: Yangtao Li > > This patch adds binding to a100's ccu clock and r-ccu clock. > > Signed-off-by: Yangtao Li > Reviewed-by: Rob Herring Applied, thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH v5 02/16] clk: sunxi-ng: add support for the Allwinner A100 CCU

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 02:58:43PM +0800, Frank Lee wrote: > From: Yangtao Li > > Add support for a100 in the sunxi-ng CCU framework. > > Signed-off-by: Yangtao Li Applied, thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH v5 00/16] Allwinner A100 Initial support

2020-08-25 Thread Maxime Ripard
On Mon, Aug 24, 2020 at 09:03:27AM +0100, Lee Jones wrote: > On Mon, 24 Aug 2020, Frank Lee wrote: > > > ping.. > > "Please don't send content free pings and please allow a reasonable > time for review. People get busy, go on holiday, attend conferences > and so on so unless there is some

Re: [PATCH v5 08/16] thermal: sun8i: add TEMP_CALIB_MASK for calibration data in sun50i_h6_ths_calibrate

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:11:42PM +0800, Frank Lee wrote: > From: Yangtao Li > > For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of > calculation. On the other hand, the newer SOC may store other data in > the space other than 12bit sensor data. Add mask operation to read d

Re: [PATCH v5 12/16] dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:15:53PM +0800, Frank Lee wrote: > From: Yangtao Li > > Add a binding for A100's nmi controller. > > Signed-off-by: Yangtao Li > Acked-by: Rob Herring Applied, thanks! Maxime signature.asc Description: PGP signature

Re: [PATCH v5 03/16] dt-bindings: pinctrl: sunxi: Get rid of continual nesting

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:00:31PM +0800, Frank Lee wrote: > From: Yangtao Li > > Rather than a continual nesting of 'else' clauses, just make > each 'if' a new entry under 'allOf' and get rid of the else. > > Signed-off-by: Yangtao Li > Reviewed-by: Rob Herring Acked-by: Maxime Ripard Than

Re: [PATCH v5 04/16] dt-bindings: pinctrl: sunxi: Add A100 pinctrl bindings

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:02:42PM +0800, Frank Lee wrote: > From: Yangtao Li > > Add device tree binding Documentation details for A100 pinctrl driver, > which has a r pin controller and a pin controller with more irq lines. > > Signed-off-by: Yangtao Li > Reviewed-by: Rob Herring Acked-by:

Re: [PATCH v5 09/16] thermal: sun8i: Add A100's THS controller support

2020-08-25 Thread Maxime Ripard
On Fri, Jul 24, 2020 at 03:11:43PM +0800, Frank Lee wrote: > From: Yangtao Li > > This patch add thermal sensor controller support for A100, > which is similar to the previous ones. > > Signed-off-by: Yangtao Li Acked-by: Maxime Ripard Thanks! Maxime signature.asc Description: PGP signatur

Re: [PATCH 2/7] dt-bindings: media: i2c: Add documentation for ov8865

2020-08-25 Thread Maxime Ripard
Hi, On Fri, Aug 21, 2020 at 04:59:30PM +0200, Kévin L'hôpital wrote: > Add a documentation for the sensor ov8865 from Omnivision. > > Signed-off-by: Kévin L'hôpital In order to ease the submission of both drivers, you should probably split this series into two, one with the MIPI-CSI driver, and

Re: [PATCH] ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix dcdc1 regulator

2020-08-25 Thread Maxime Ripard
On Mon, Aug 24, 2020 at 09:36:49PM +0200, Jernej Skrabec wrote: > DCDC1 regulator powers many different subsystems. While some of them can > work at 3.0 V, some of them can not. For example, VCC-HDMI can only work > between 3.24 V and 3.36 V. According to OS images provided by the board > manufactu

[PATCH 2/2] sched/topology: Move SD_DEGENERATE_GROUPS_MASK out of linux/sched/topology.h

2020-08-25 Thread Valentin Schneider
SD_DEGENERATE_GROUPS_MASK is only useful for sched/topology.c, but still gets defined for anyone who imports topology.h, leading to a flurry of unused variable warnings. Move it out of the header and place it next to the SD degeneration functions in sched/topology.c. Fixes: 4ee4ea443a5d ("sched/t

Re: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes

2020-08-25 Thread Geert Uytterhoeven
On Tue, Aug 25, 2020 at 12:45 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) > device tree. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. w

[PATCH 1/2] sched/topology: Move sd_flag_debug out of linux/sched/topology.h

2020-08-25 Thread Valentin Schneider
Defining an array in a header imported all over the place clearly is a daft idea, that still didn't stop me from doing it. Leave a declaration of sd_flag_debug in topology.h and move its definition to sched/debug.c. Fixes: b6e862f38672 ("sched/topology: Define and assign sched_domain flag metada

Re: [PATCH v5] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

2020-08-25 Thread Amit Pundir
Hi Konrad, On Sat, 22 Aug 2020 at 02:51, Konrad Dybcio wrote: > > Hi > > First of all, sorry if anybody sees this twice. I've been messing with > Thunderbird lately. > > > > > dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r3.dtb > > dtb-$(CONFIG_ARCH_QCOM) += sdm845-db845c.dtb > > +dtb-$(C

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

2020-08-25 Thread peterz
On Tue, Aug 25, 2020 at 10:15:55PM +0900, Masami Hiramatsu wrote: > > damn... one last problem is dangling instances.. so close. > > We can apparently unregister a kretprobe while there's still active > > kretprobe_instance's out referencing it. > > Yeah, kretprobe already provided the per-instan

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 Prabhaka

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

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 func

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 g

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: include/linux/hid

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 Co

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 man

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 from

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: [PATCH

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 works

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 pa

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; linux-kernel@vger.ker

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 a

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

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

[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

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