Re: [PATCH v1 09/14] mm: multigenerational lru: mm_struct list

2021-03-23 Thread Huang, Ying
Yu Zhao writes: > On Mon, Mar 22, 2021 at 11:13:19AM +0800, Huang, Ying wrote: >> Yu Zhao writes: >> >> > On Wed, Mar 17, 2021 at 11:37:38AM +0800, Huang, Ying wrote: >> >> Yu Zhao writes: >> >> >> >> > On Tue, Mar 16, 2021 at 02:44:31PM +0800, Huang, Ying wrote: >> >> > The scanning overhead

Re: [PATCH v6] mm: cma: support sysfs

2021-03-23 Thread Minchan Kim
On Tue, Mar 23, 2021 at 11:26:08PM -0700, John Hubbard wrote: > On 3/23/21 10:44 PM, Minchan Kim wrote: > > On Tue, Mar 23, 2021 at 09:47:27PM -0700, John Hubbard wrote: > > > On 3/23/21 8:27 PM, Minchan Kim wrote: > > > ... > > > > > > +static int __init cma_sysfs_init(void) > > > > > > +{ > > > >

[PATCH] ALSA: pcm: A typo fix

2021-03-23 Thread Bhaskar Chowdhury
s/unconditonally/unconditionally/ Signed-off-by: Bhaskar Chowdhury --- sound/core/pcm_native.c | 80 - 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 17a85f4815d5..9884961bca7d 1006

Re: [PATCH RESEND 0/7] gpio-rockchip driver

2021-03-23 Thread jay...@rock-chips.com
I'm forget to send-to include Bartosz, I'll remember in next version -- jay...@rock-chips.com >Separate gpio driver from pinctrl driver, and support v2 controller. > >Jianqun Xu (7): >  pinctrl/rockchip: separate struct rockchip_pin_bank to a head file >  pinctrl/pinctrl-rockchip.h: ad

Re: [PATCH 6/6] arm64: dts: qcom: sc7280: Add nodes to boot WPSS

2021-03-23 Thread Sibi Sankar
On 2021-03-24 03:36, Stephen Boyd wrote: Quoting Bjorn Andersson (2021-03-13 20:16:39) On Sat 13 Mar 15:46 CST 2021, Stephen Boyd wrote: > Quoting Sibi Sankar (2021-03-08 21:51:51) > > Add miscellaneous nodes to boot the Wireless Processor Subsystem on > > Maybe add (WPSS) after the name so we

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

2021-03-23 Thread Stephen Rothwell
Hi all, After merging the amdgpu tree, today's linux-next build (htmldocs) produced this warning: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:398: warning: Incorrect use of kernel-doc format: * @crc_rd_wrk Introduced by commit bbf514b0c626 ("drm/amd/display: Add kernel doc to

Re: [PATCH] lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS

2021-03-23 Thread Julian Braha
On Monday, March 22, 2021 3:43:41 AM EDT you wrote: > Hi Julian, > > On Sun, Mar 21, 2021 at 11:40 PM Julian Braha wrote: > > On Sunday, March 21, 2021 2:28:43 PM EDT you wrote: > > > On Sat, Mar 20, 2021 at 1:17 AM Julian Braha > > > wrote: > > > > When LATENCYTOP is enabled and ARCH_WANT_FRAM

[PATCH 7/7] gpio/rockchip: drop irq_gc_lock/irq_gc_unlock for irq set type

2021-03-23 Thread Jianqun Xu
There has spin lock for irq set type already, so drop irq_gc_lock and irq_gc_unlock. Signed-off-by: Jianqun Xu --- drivers/gpio/gpio-rockchip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-rockchip.c b/drivers/gpio/gpio-rockchip.c index 048e7eecddba..c9c55614bbef 100644

[PATCH 6/7] gpio/rockchip: always enable clock for gpio controller

2021-03-23 Thread Jianqun Xu
Since gate and ungate pclk of gpio has very litte benifit for system power consumption, just keep it always ungate. Signed-off-by: Jianqun Xu --- drivers/gpio/gpio-rockchip.c | 68 +--- 1 file changed, 9 insertions(+), 59 deletions(-) diff --git a/drivers/gpio/gp

[PATCH 5/7] gpio/rockchip: support next version gpio controller

2021-03-23 Thread Jianqun Xu
The next version gpio controller on SoCs like rk3568 have more write mask bits for registers. Signed-off-by: Jianqun Xu --- drivers/gpio/gpio-rockchip.c | 280 ++--- drivers/pinctrl/pinctrl-rockchip.h | 2 + 2 files changed, 215 insertions(+), 67 deletions(-) dif

[PATCH 1/7] pinctrl/rockchip: separate struct rockchip_pin_bank to a head file

2021-03-23 Thread Jianqun Xu
Separate struct rockchip_pin_bank to pinctrl-rockchip.h file, which will be used by gpio-rockchip driver in the future. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 224 +- drivers/pinctrl/pinctrl-rockchip.h | 244 + 2 fil

[PATCH] scsi: lpfc: A mundane typo fix

2021-03-23 Thread Bhaskar Chowdhury
s/conditons/conditions/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/lpfc/lpfc_els.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index f0a758138ae8..04fb95edc5b0 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +

[PATCH 4/7] gpio/rockchip: use struct rockchip_gpio_regs for gpio controller

2021-03-23 Thread Jianqun Xu
Store register offsets in the struct rockchip_gpio_regs, this patch prepare for the driver update for new gpio controller. Signed-off-by: Jianqun Xu --- drivers/gpio/gpio-rockchip.c | 85 -- drivers/pinctrl/pinctrl-rockchip.h | 38 + 2 files changed,

[PATCH 3/7] gpio: separate gpio driver from pinctrl-rockchip driver

2021-03-23 Thread Jianqun Xu
Separate the gpio driver from the pinctrl driver. Signed-off-by: Jianqun Xu --- drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rockchip.c | 657 +++ drivers/pinctrl/pinctrl-rockchip.c | 685 +

[PATCH RESEND 0/7] gpio-rockchip driver

2021-03-23 Thread Jianqun Xu
Separate gpio driver from pinctrl driver, and support v2 controller. Jianqun Xu (7): pinctrl/rockchip: separate struct rockchip_pin_bank to a head file pinctrl/pinctrl-rockchip.h: add pinctrl device to gpio bank struct gpio: separate gpio driver from pinctrl-rockchip driver gpio/rockchip:

[PATCH 2/7] pinctrl/pinctrl-rockchip.h: add pinctrl device to gpio bank struct

2021-03-23 Thread Jianqun Xu
Store a pointer from the pinctrl device for the gpio bank. Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pinctrl-rockchip.h b/drivers/pinctrl/pinctrl-rockchip.h index ba4afab2845f..20f734ce3933 100644 --- a

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-03-23 Thread Viresh Kumar
On 24-03-21, 14:41, Jie Deng wrote: > > On 2021/3/24 14:09, Viresh Kumar wrote: > > On 24-03-21, 14:05, Jie Deng wrote: > > Or, now that I think about it a bit more, another thing we can do here is > > see if > > virtqueue_get_buf() returns NULL, if it does then we should keep expecting > > more

[syzbot] possible deadlock in scheduler_tick

2021-03-23 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:1c273e10 Merge tag 'zonefs-5.12-rc4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13c0414ed0 kernel config: https://syzkaller.appspot.com/x/.config?x=6abda3336c698a07 das

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-03-23 Thread Jie Deng
On 2021/3/24 14:09, Viresh Kumar wrote: On 24-03-21, 14:05, Jie Deng wrote: Or, now that I think about it a bit more, another thing we can do here is see if virtqueue_get_buf() returns NULL, if it does then we should keep expecting more messages as it may be early interrupt. What do you say ?

Re: [PATCH v3 2/3] dt-bindings: power: rockchip: Convert to json-schema and extend

2021-03-23 Thread Johan Jonker
On 3/24/21 4:23 AM, Elaine Zhang wrote: > Convert the soc/rockchip/power_domain.txt binding document to > json-schema and move to the power bindings directory. > Add RK3568 SoCs for rockchip power binding document. > > Signed-off-by: Enric Balletbo i Serra > Signed-off-by: Elaine Zhang > --- >

[tip:x86/boot] BUILD SUCCESS 4c674481dcf9974834b96622fa4b079c176f36f9

2021-03-23 Thread kernel test robot
powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a003-20210323 i386 randconfig-a004-20210323 i386 randconfig-a001-20210323 i386

[PATCH v8 3/3] arm64: dts: ti: k3-j7200: Add support for higher speed modes and update delay select values for MMCSD subsystems

2021-03-23 Thread Aswath Govindraju
The following speed modes are now supported in J7200 SoC, - HS200 and HS400 modes at 1.8 V card voltage, in MMCSD0 subsystem [1]. - UHS-I speed modes in MMCSD1 subsystem [1]. Add support for UHS-I modes by adding voltage regulator device tree nodes and corresponding pinmux details, to power cycle

[PATCH v8 2/3] arm64: dts: ti: k3-j7200-common-proc-board: Disable unused gpio modules

2021-03-23 Thread Aswath Govindraju
From: Faiz Abbas There are 6 gpio instances inside SoC with 2 groups as show below: Group one: wkup_gpio0, wkup_gpio1 Group two: main_gpio0, main_gpio2, main_gpio4, main_gpio6 Only one instance from each group can be used at a time. So use main_gpio0 and wkup_gpio0 in current linux conte

[PATCH v8 1/3] arm64: dts: ti: k3-j7200: Add gpio nodes

2021-03-23 Thread Aswath Govindraju
From: Faiz Abbas There are 4 instances of gpio modules in main domain: gpio0, gpio2, gpio4 and gpio6 Groups are created to provide protection between different processor virtual worlds. Each of these modules I/O pins are muxed within the group. Exactly one module can be selected to contr

[PATCH v8 0/3] J7200: Add support for GPIO and higher speed modes in MMCSD subsystems

2021-03-23 Thread Aswath Govindraju
The following series of patches - Add support for GPIO subsystem in main and wakeup domains. - Add voltage regulator device tree nodes and their corresponding pinmux to support power cycle and voltage switch required for UHS-I modes - sets respective tags in sdhci0 node to support higher speeds -

[PATCH v5 1/2] usbip: tools: add options and examples in man page related to device mode

2021-03-23 Thread Hongren Zheng (Zenithal)
The commit e0546fd8b748 ("usbip: tools: Start using VUDC backend in usbip tools") implemented device mode for user space tools, however the corresponding options are not documented in man page. This commit documents the options and provides examples on device mode. Also the command `usbip port` is

[PATCH] drm/nouveau/bios/init: A typo fix

2021-03-23 Thread Bhaskar Chowdhury
s/conditon/condition/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index 9de74f41dcd2..

Re: [PATCH] media: venus : hfi: add venus image info into smem

2021-03-23 Thread Stephen Boyd
Quoting Dikshita Agarwal (2021-03-23 22:40:57) > fill fw version info into smem to be printed as part of s/fill/Fill/ > soc info. > > Signed-off-by: Dikshita Agarwal > --- > drivers/media/platform/qcom/venus/hfi_msgs.c | 36 > ++-- > 1 file changed, 34 insertions(+), 2

Re: [PATCH] scripts: Fix incremental build header re-generation

2021-03-23 Thread Masahiro Yamada
On Thu, Mar 18, 2021 at 11:55 AM Jeevan Shriram wrote: > > > On 3/1/2021 7:36 PM, Masahiro Yamada wrote: > > On Mon, Mar 1, 2021 at 11:23 PM Jeevan Shriram > > wrote: > >> compile.h and autoconf.h are ignored when checking headers sha as they > >> are always re-generated for every kernel compila

[PATCH] misc: genwqe: Rudimentary typo fixes

2021-03-23 Thread Bhaskar Chowdhury
s/requsted/requested/ .two different places. s/equests/requests/ s/occured/occurred/..two different places. s/conditon/condition/ s/requestors/requesters/ Signed-off-by: Bhaskar Chowdhury --- drivers/misc/genwqe/card_ddcb.c | 14 +++--- 1 file changed, 7 insertions(+), 7

Re: [PATCH v6] mm: cma: support sysfs

2021-03-23 Thread John Hubbard
On 3/23/21 10:44 PM, Minchan Kim wrote: On Tue, Mar 23, 2021 at 09:47:27PM -0700, John Hubbard wrote: On 3/23/21 8:27 PM, Minchan Kim wrote: ... +static int __init cma_sysfs_init(void) +{ + unsigned int i; + + cma_kobj_root = kobject_create_and_add("cma", mm_kobj); + if (!cma_

Re: [PATCH v5 00/27] Memory Folios

2021-03-23 Thread Matthew Wilcox
On Tue, Mar 23, 2021 at 08:29:16PM -0400, Johannes Weiner wrote: > On Mon, Mar 22, 2021 at 06:47:44PM +, Matthew Wilcox wrote: > > On Mon, Mar 22, 2021 at 01:59:24PM -0400, Johannes Weiner wrote: > > > On Sat, Mar 20, 2021 at 05:40:37AM +, Matthew Wilcox (Oracle) wrote: > > > > This series

Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-03-23 Thread Sumit Garg
On Tue, 23 Mar 2021 at 22:04, Ahmad Fatoum wrote: > > Hello Horia, > > On 21.03.21 21:01, Horia Geantă wrote: > > On 3/16/2021 7:02 PM, Ahmad Fatoum wrote: > >> This patch series builds on top of Sumit's rework to have the CAAM as yet > >> another > >> trusted key backend. > >> > > Shouldn't the

Re: [PATCH v2 -next] powerpc: kernel/time.c - cleanup warnings

2021-03-23 Thread Christophe Leroy
Le 24/03/2021 à 07:14, Christophe Leroy a écrit : Le 24/03/2021 à 00:05, Alexandre Belloni a écrit : On 23/03/2021 23:18:17+0100, Alexandre Belloni wrote: Hello, On 23/03/2021 05:12:57-0400, He Ying wrote: We found these warnings in arch/powerpc/kernel/time.c as follows: warning: symbol

[PATCH net-next] rds: Fix some typos for rds

2021-03-23 Thread Wang Hai
s/alloced/allocated/ s/synching/syncing/ s/connction/connection/ s/beween/between/ Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/rds/ib_ring.c | 2 +- net/rds/ib_send.c | 2 +- net/rds/send.c | 4 ++-- net/rds/tcp_recv.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)

[PATCH net-next] 6lowpan: Fix some typos in nhc_udp.c

2021-03-23 Thread Wang Hai
s/Orignal/Original/ s/infered/inferred/ Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/6lowpan/nhc_udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/6lowpan/nhc_udp.c b/net/6lowpan/nhc_udp.c index 8a3507524f7b..33f17bd8cda7 100644 --- a/net/6lowpan/nhc_u

[PATCH net-next] net/packet: Fix a typo in af_packet.c

2021-03-23 Thread Wang Hai
s/sequencially/sequentially/ Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/packet/af_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 6bbc7a448593..fe29fc1b8b9d 100644 --- a/net/packet/af_packet.c +++ b/

RE: [PATCH v3] dt-binding: leds: Document leds-multi-gpio bindings

2021-03-23 Thread Alexander Dahl
Hello, > Hermes Zhang hat am 24.03.2021 07:04 geschrieben: > > > > > > > > Notes: > > > Add maxItems > > > > What about the other part of the series? I think you should send both > > patches together with an introduction message on both. If you only change > > one patch for a new version

Re: [PATCH v2 -next] powerpc: kernel/time.c - cleanup warnings

2021-03-23 Thread Christophe Leroy
Le 24/03/2021 à 00:05, Alexandre Belloni a écrit : On 23/03/2021 23:18:17+0100, Alexandre Belloni wrote: Hello, On 23/03/2021 05:12:57-0400, He Ying wrote: We found these warnings in arch/powerpc/kernel/time.c as follows: warning: symbol 'decrementer_max' was not declared. Should it be stat

[PATCH net-next] net/tls: Fix a typo in tls_device.c

2021-03-23 Thread Wang Hai
s/beggining/beginning/ Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/tls/tls_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tls/tls_device.c b/net/tls/tls_device.c index f7fb7d2c1de1..89a5d4fad0a2 100644 --- a/net/tls/tls_device.c +++ b/net/tls/tls_de

[PATCH] scsi: esp_scsi: Trivial typo fixes

2021-03-23 Thread Bhaskar Chowdhury
s/conditon/condition/ s/pecularity/peculiarity/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/esp_scsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c index 007ccef5d1e2..342535ac0570 100644 --- a/drivers/scsi/esp_

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-03-23 Thread Viresh Kumar
On 24-03-21, 14:05, Jie Deng wrote: > For simplicity, the original patch sent only 1 message to vq each time . I > changed the way to send I missed those earlier discussions :) > a batch of requests in one time in order to improve efficiency according to > Jason' suggestion. I agree. > As we di

RE: [PATCH 2/9] watchdog: of_xilinx_wdt: Used BIT macro

2021-03-23 Thread Srinivas Neeli
Hi, > -Original Message- > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Tuesday, March 16, 2021 7:53 AM > To: Srinivas Neeli ; Michal Simek ; > Shubhrajyoti Datta ; Srinivas Goud > > Cc: w...@linux-watchdog.org; linux-watch...@vger.kernel.org; linux-arm- > ker...@lists.infradea

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-03-23 Thread Jie Deng
On 2021/3/24 12:20, Viresh Kumar wrote: On 23-03-21, 22:19, Jie Deng wrote: +static int virtio_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) +{ + struct virtio_i2c *vi = i2c_get_adapdata(adap); + struct virtqueue *vq = vi->vq; + struct virtio_i2c_req *req

Re: [PATCH 1/3] tty: serial: Add UART driver for Cortina-Access platform

2021-03-23 Thread Greg Kroah-Hartman
On Tue, Mar 23, 2021 at 07:28:51PM +, Alex Nemirovsky wrote: > > > > On Mar 23, 2021, at 2:22 AM, Greg Kroah-Hartman > > wrote: > > > > On Thu, Feb 18, 2021 at 06:42:09PM -0800, Alex Nemirovsky wrote: > >> From: Jason Li > >> > >> This driver supports Cortina Access UART IP integrated >

Re: [PATCH 1/3] tty: serial: Add UART driver for Cortina-Access platform

2021-03-23 Thread Greg Kroah-Hartman
On Tue, Mar 23, 2021 at 07:25:58PM +, Alex Nemirovsky wrote: > Hi Greg, > > > On Mar 23, 2021, at 2:24 AM, Greg Kroah-Hartman > > wrote: > > > > On Thu, Feb 18, 2021 at 06:42:09PM -0800, Alex Nemirovsky wrote: > >> +static struct cortina_uart_port *cortina_uart_ports; > > > > Why is this n

RE: [PATCH 7/9] watchdog: of_xilinx_wdt: Add Versal Window watchdog support

2021-03-23 Thread Srinivas Neeli
Hi Guenter, Thanks for review > -Original Message- > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Tuesday, March 16, 2021 8:01 AM > To: Srinivas Neeli ; Michal Simek ; > Shubhrajyoti Datta ; Srinivas Goud > > Cc: w...@linux-watchdog.org; linux-watch...@vger.kernel.org; linux-a

RE: [PATCH v3] dt-binding: leds: Document leds-multi-gpio bindings

2021-03-23 Thread Hermes Zhang
> > > > Notes: > > Add maxItems > > What about the other part of the series? I think you should send both > patches together with an introduction message on both. If you only change > one patch for a new version spin of the series, just send the other one > unchanged. > > (It makes no sense t

Re: [PATCH 2/2] streamline_config.pl: Add softtabstop=4 for vim users

2021-03-23 Thread Masahiro Yamada
On Tue, Mar 23, 2021 at 6:40 AM Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > The tab stop for Perl files is by default (at least in emacs) to be 4 > spaces, where a tab is used for all 8 spaces. Add a local variable comment > to make vim do the same by default, and this will help

[PATCH] sparc/traps_64.c: Mundane typo fixes

2021-03-23 Thread Bhaskar Chowdhury
s/conditon/condition/ s/periof/period/ Signed-off-by: Bhaskar Chowdhury --- arch/sparc/kernel/traps_64.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c index a850dccd78ea..2353ba7e1469 100644 --- a/ar

Re: [PATCH v3] dt-binding: leds: Document leds-multi-gpio bindings

2021-03-23 Thread Alexander Dahl
Hello Hermes, > Hermes Zhang hat am 24.03.2021 03:48 geschrieben: > > > From: Hermes Zhang > > Document the device tree bindings of the multiple GPIOs LED driver > Documentation/devicetree/bindings/leds/leds-multi-gpio.yaml. > > Signed-off-by: Hermes Zhang > --- > > Notes: > Add maxIt

ERROR: "devm_platform_ioremap_resource" undefined!

2021-03-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7acac4b3196caee5e21fb5ea53f8bc124e6a16fc commit: a9c56721d6ae99b22e983d0722e6b1b53a11dd59 dmaengine: dw: platform: Use devm_platform_ioremap_resource() date: 1 year, 7 months ago config: s390-randconfig-r0

Re: [PATCH v2 0/7] remove different PHY fixups

2021-03-23 Thread Oleksij Rempel
Hi Shawn, ping, do this patches need some ACK from some one? Regards, Oleksij On Tue, Mar 09, 2021 at 12:26:08PM +0100, Oleksij Rempel wrote: > changes v2: > - rebase against latest kernel > - fix networking on RIoTBoard > > This patch series tries to remove most of the imx6 and imx7 board > sp

Re: [PATCH 2/3] s390/vdso: fix arch_data access for __arch_get_hw_counter()

2021-03-23 Thread Heiko Carstens
On Tue, Mar 23, 2021 at 10:58:18PM +0100, Heiko Carstens wrote: > Li Wang reported that clock_gettime(CLOCK_MONOTONIC_RAW, ...) returns > incorrect values when time is provided via vdso instead of system call: > > vdso_ts_nsec = 4484351380985507, vdso_ts.tv_sec = 4484351, vdso_ts.tv_nsec = > 3809

[PATCH] arc/kernel/signal.c: Fix couple of typos

2021-03-23 Thread Bhaskar Chowdhury
s/unconditonally/unconditionally/ s/gaurantees/guarantees/ Signed-off-by: Bhaskar Chowdhury --- arch/arc/kernel/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c index a78d8f745a67..cf1788fd3812 100644 --- a/arc

[PATCH v2 0/3] add one regulator used to power up pcie phy

2021-03-23 Thread Richard Zhu
Changes: v1 --> v2: Suggested by Lucas, don't use the boolean property to specify the different power supplies to PCIe PHY. Use one regulator to power up PCIe PHY, and the regulator APIs to get the voltage of it. [PATCH v2 1/3] dt-bindings: imx6q-pcie: add one regulator used to [PATCH v2 2/3] arm6

[PATCH v2 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-23 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0. Thu

[PATCH v2 1/3] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-23 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0. Thu

[PATCH v2 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-03-23 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0. Thu

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-23 Thread Cye Borg
Sure, here it is: snow / # lspci -vxxx -s 7.0 00:07.0 ISA bridge: Contaq Microsystems 82c693 Flags: bus master, medium devsel, latency 0 Kernel modules: pata_cypress 00: 80 10 93 c6 47 00 80 02 00 00 01 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00

[PATCH] drivers:staging: Simplify the if condition

2021-03-23 Thread caizhichao
From: Zhichao Cai Fixes coccicheck warning: drivers/staging/media/atomisp/pci/sh_css_params.c:4652:24-26: WARNING !A || A && B is equivalent to !A || B Signed-off-by: Zhichao Cai --- drivers/staging/media/atomisp/pci/sh_css_params.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) di

[PATCH] treewide: remove editor modelines and cruft

2021-03-23 Thread Masahiro Yamada
The section "19) Editor modelines and other cruft" in Documentation/process/coding-style.rst clearly says, "Do not include any of these in source files." I recently receive a patch to explicitly add a new one. Let's do treewide cleanups, otherwise some people follow the existing code and attempt

Re: [PATCH v5] mm: cma: support sysfs

2021-03-23 Thread Minchan Kim
On Wed, Mar 24, 2021 at 04:34:34AM +, Matthew Wilcox wrote: > On Tue, Mar 23, 2021 at 08:31:31PM -0700, Minchan Kim wrote: > > On Wed, Mar 24, 2021 at 03:02:24AM +, Matthew Wilcox wrote: > > > On Tue, Mar 23, 2021 at 12:50:50PM -0700, Minchan Kim wrote: > > > > + /* the number of CMA

Re: [PATCH v6] mm: cma: support sysfs

2021-03-23 Thread Minchan Kim
On Tue, Mar 23, 2021 at 09:47:27PM -0700, John Hubbard wrote: > On 3/23/21 8:27 PM, Minchan Kim wrote: > ... > > > > +static int __init cma_sysfs_init(void) > > > > +{ > > > > + unsigned int i; > > > > + > > > > + cma_kobj_root = kobject_create_and_add("cma", mm_kobj); > > > > + i

Re: [PATCH v4 RESEND 3/5] perf/x86/lbr: Move cpuc->lbr_xsave allocation out of sleeping region

2021-03-23 Thread Like Xu
On 2021/3/24 12:04, Namhyung Kim wrote: On Wed, Mar 24, 2021 at 12:47 PM Like Xu wrote: Hi Namhyung, On 2021/3/24 9:32, Namhyung Kim wrote: Hello, On Mon, Mar 22, 2021 at 3:14 PM Like Xu wrote: +void reserve_lbr_buffers(struct perf_event *event) +{ + struct kmem_cache *kmem_cache =

[PATCH] media: venus : hfi: add venus image info into smem

2021-03-23 Thread Dikshita Agarwal
fill fw version info into smem to be printed as part of soc info. Signed-off-by: Dikshita Agarwal --- drivers/media/platform/qcom/venus/hfi_msgs.c | 36 ++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/qcom/venus/hfi_msgs.c b/dri

[PATCH v2] locking/mutex: Remove repeated declaration

2021-03-23 Thread Shaokun Zhang
Commit 0cd39f4600ed ("locking/seqlock, headers: Untangle the spaghetti monster") introduces 'struct ww_acquire_ctx' again, remove the repeated declaration and move the pre-declarations to the top. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon Cc: Waiman Long Cc: Boqun Feng Acked-by: Wai

[PATCH V4 XRT Alveo 20/20] fpga: xrt: Kconfig and Makefile updates for XRT drivers

2021-03-23 Thread Lizhi Hou
Update fpga Kconfig/Makefile and add Kconfig/Makefile for new drivers. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- MAINTAINERS| 11 +++ drivers/Makefile | 1 + drivers/fpga/Kconfig | 2 ++ dr

[PATCH V4 XRT Alveo 18/20] fpga: xrt: DDR calibration platform driver

2021-03-23 Thread Lizhi Hou
Add DDR calibration driver. DDR calibration is a hardware function discovered by walking firmware metadata. A platform device node will be created for it. Hardware provides DDR calibration status through this function. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou

[PATCH V4 XRT Alveo 17/20] fpga: xrt: clock frequency counter platform driver

2021-03-23 Thread Lizhi Hou
Add clock frequency counter driver. Clock frequency counter is a hardware function discovered by walking xclbin metadata. A platform device node will be created for it. Other part of driver can read the actual clock frequency through clock frequency counter driver. Signed-off-by: Sonal Santan Sig

[PATCH V4 XRT Alveo 19/20] fpga: xrt: partition isolation platform driver

2021-03-23 Thread Lizhi Hou
Add partition isolation platform driver. partition isolation is a hardware function discovered by walking firmware metadata. A platform device node will be created for it. Partition isolation function isolate the different fpga regions Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-o

[PATCH V4 XRT Alveo 15/20] fpga: xrt: devctl platform driver

2021-03-23 Thread Lizhi Hou
Add devctl driver. devctl is a type of hardware function which only has few registers to read or write. They are discovered by walking firmware metadata. A platform device node will be created for them. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fp

[PATCH V4 XRT Alveo 16/20] fpga: xrt: clock platform driver

2021-03-23 Thread Lizhi Hou
Add clock driver. Clock is a hardware function discovered by walking xclbin metadata. A platform device node will be created for it. Other part of driver configures clock through clock driver. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/inc

[PATCH V4 XRT Alveo 13/20] fpga: xrt: User Clock Subsystem platform driver

2021-03-23 Thread Lizhi Hou
Add User Clock Subsystem (UCS) driver. UCS is a hardware function discovered by walking xclbin metadata. A platform device node will be created for it. UCS enables/disables the dynamic region clocks. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga

[PATCH V4 XRT Alveo 14/20] fpga: xrt: ICAP platform driver

2021-03-23 Thread Lizhi Hou
ICAP stands for Hardware Internal Configuration Access Port. ICAP is discovered by walking firmware metadata. A platform device node will be created for it. FPGA bitstream is written to hardware through ICAP. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- driv

[PATCH V4 XRT Alveo 12/20] fpga: xrt: VSEC platform driver

2021-03-23 Thread Lizhi Hou
Add VSEC driver. VSEC is a hardware function discovered by walking PCI Express configure space. A platform device node will be created for it. VSEC provides board logic UUID and few offset of other hardware functions. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou

[PATCH V4 XRT Alveo 11/20] fpga: xrt: fpga-mgr and region implementation for xclbin download

2021-03-23 Thread Lizhi Hou
fpga-mgr and region implementation for xclbin download which will be called from main platform driver Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/mgmt/fmgr-drv.c| 191 +++ drivers/fpga/xrt/mgmt/fmgr.h| 19 ++ drivers/fp

[PATCH V4 XRT Alveo 09/20] fpga: xrt: management physical function driver (root)

2021-03-23 Thread Lizhi Hou
The PCIE device driver which attaches to management function on Alveo devices. It instantiates one or more group drivers which, in turn, instantiate platform drivers. The instantiation of group and platform drivers is completely dtb driven. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Sig

[PATCH V4 XRT Alveo 10/20] fpga: xrt: main platform driver for management function device

2021-03-23 Thread Lizhi Hou
platform driver that handles IOCTLs, such as hot reset and xclbin download. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/xmgmt-main.h | 34 ++ drivers/fpga/xrt/mgmt/main.c | 670 ++ drivers/fpga/xrt/

[PATCH V4 XRT Alveo 07/20] fpga: xrt: root driver infrastructure

2021-03-23 Thread Lizhi Hou
Contains common code for all root drivers and handles root calls from platform drivers. This is part of root driver infrastructure. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/events.h | 45 +++ drivers/fpga/xrt/include/xroot.h

[PATCH V4 XRT Alveo 08/20] fpga: xrt: platform driver infrastructure

2021-03-23 Thread Lizhi Hou
Infrastructure code providing APIs for managing leaf driver instance groups, facilitating inter-leaf driver calls and root calls. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/lib/subdev.c | 865 ++ 1 file chan

[PATCH V4 XRT Alveo 06/20] fpga: xrt: char dev node helper functions

2021-03-23 Thread Lizhi Hou
Helper functions for char device node creation / removal for platform drivers. This is part of platform driver infrastructure. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/lib/cdev.c | 232 1 file changed

[PATCH V4 XRT Alveo 04/20] fpga: xrt: xrt-lib platform driver manager

2021-03-23 Thread Lizhi Hou
xrt-lib kernel module infrastructure code to register and manage all leaf driver modules. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/subdev_id.h | 38 drivers/fpga/xrt/include/xleaf.h | 264 + driv

[PATCH V4 XRT Alveo 05/20] fpga: xrt: group platform driver

2021-03-23 Thread Lizhi Hou
group driver that manages life cycle of a bunch of leaf driver instances and bridges them with root. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/group.h | 25 +++ drivers/fpga/xrt/lib/group.c | 286 +

[PATCH V4 XRT Alveo 02/20] fpga: xrt: driver metadata helper functions

2021-03-23 Thread Lizhi Hou
XRT drivers use device tree as metadata format to discover HW subsystems behind PCIe BAR. Thus libfdt functions are called for the driver to parse device tree blob. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/metadata.h | 233 +

[PATCH V4 XRT Alveo 03/20] fpga: xrt: xclbin file helper functions

2021-03-23 Thread Lizhi Hou
Alveo FPGA firmware and partial reconfigure file are in xclbin format. This code enumerates and extracts sections from xclbin files. xclbin.h is cross platform and used across all platforms and OS. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xr

[PATCH V4 XRT Alveo 01/20] Documentation: fpga: Add a document describing XRT Alveo drivers

2021-03-23 Thread Lizhi Hou
Describe XRT driver architecture and provide basic overview of Xilinx Alveo platform. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- Documentation/fpga/index.rst | 1 + Documentation/fpga/xrt.rst | 844 +++ 2 files changed,

[PATCH V4 XRT Alveo 00/20] XRT Alveo driver overview

2021-03-23 Thread Lizhi Hou
Hello, This is V4 of patch series which adds management physical function driver for Xilinx Alveo PCIe accelerator cards. https://www.xilinx.com/products/boards-and-kits/alveo.html This driver is part of Xilinx Runtime (XRT) open source stack. The V4 patch series do not include bus_type chang

Re: [PATCH v2 03/18] ovl: stack miscattr ops

2021-03-23 Thread Al Viro
On Wed, Mar 24, 2021 at 05:09:59AM +, Al Viro wrote: > On Mon, Mar 22, 2021 at 03:49:01PM +0100, Miklos Szeredi wrote: > Umm... No equivalents of > /* > * Prevent copy up if immutable and has no CAP_LINUX_IMMUTABLE > * capability. > */ > ret = -EP

Re: [PATCH v2 03/18] ovl: stack miscattr ops

2021-03-23 Thread Al Viro
On Mon, Mar 22, 2021 at 03:49:01PM +0100, Miklos Szeredi wrote: > +int ovl_miscattr_set(struct user_namespace *mnt_userns, > + struct dentry *dentry, struct miscattr *ma) > +{ > + struct inode *inode = d_inode(dentry); > + struct dentry *upperdentry; > + const struct c

Re: [PATCH v3 3/8] extconn: Clean-up few drivers by using managed work init

2021-03-23 Thread Matti Vaittinen
Hello Chanwoo, Greg, Thanks for the review. On Wed, 2021-03-24 at 11:09 +0900, Chanwoo Choi wrote: > Hi, > > Need to fix the work as following: > s/extconn/extcon > > And I'd like you to use the more correct patch title like the > following example: > "extcon: Use resource-managed function for

Re: [PATCH v31 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-23 Thread Can Guo
On 2021-03-22 14:55, Daejun Park wrote: This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HP

Re: [PATCH v2 01/18] vfs: add miscattr ops

2021-03-23 Thread Al Viro
On Mon, Mar 22, 2021 at 03:48:59PM +0100, Miklos Szeredi wrote: minor nit: copy_fsxattr_{to,from}_user() might be better. > +int fsxattr_copy_to_user(const struct miscattr *ma, struct fsxattr __user > *ufa) > +{ > + struct fsxattr fa = { > + .fsx_xflags = ma->fsx_xflags, > +

Re: [PATCH v6] mm: cma: support sysfs

2021-03-23 Thread John Hubbard
On 3/23/21 8:27 PM, Minchan Kim wrote: ... +static int __init cma_sysfs_init(void) +{ + unsigned int i; + + cma_kobj_root = kobject_create_and_add("cma", mm_kobj); + if (!cma_kobj_root) + return -ENOMEM; + + for (i = 0; i < cma_area_count; i++) { +

Re: [RFC PATCH] arm64: dts: allwinner: a64/h5: Add CPU idle states

2021-03-23 Thread Samuel Holland
On 3/22/21 8:56 PM, Andre Przywara wrote: >> I'm sending this patch as an RFC because it raises questions about how >> we handle firmware versioning. How far back does (or should) our support >> for old TF-A and Crust versions go? >> >> cpuidle has a problem that without working firmware support, C

Re: [PATCH] video: mmp: Few typo fixes

2021-03-23 Thread Joe Perches
On Mon, 2021-03-22 at 12:36 -0700, Randy Dunlap wrote: > On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote: > > > > s/configed/configured/ > > s/registed/registered/ > > s/defintions/definitions/ > > > > Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap [] > > diff --git a/include/video/mm

[tip:master] BUILD SUCCESS 4f469efcd03fe6ab88749f53252044c3f4491efb

2021-03-23 Thread kernel test robot
ig powerpc allnoconfig x86_64 randconfig-a002-20210323 x86_64 randconfig-a003-20210323 x86_64 randconfig-a006-20210323 x86_64 randconfig-a001-20210323 x86_64 randconfig-a004-20210323 x86_64 randc

Re: [PATCH v4 1/2] usbip: tools: add options and examples in man page related to device mode

2021-03-23 Thread Hongren Zheng (Zenithal)
On Tue, Mar 23, 2021 at 05:12:00PM -0600, Shuah Khan wrote: > On 3/23/21 6:55 AM, Hongren Zheng (Zenithal) wrote: > > The commit e0546fd8b748 ("usbip: tools: Start using VUDC backend in > > usbip tools") implemented device mode for user space tools, however the > > corresponding options are not doc

Re: [PATCH V2 1/5] powerpc/perf: Expose processor pipeline stage cycles using PERF_SAMPLE_WEIGHT_STRUCT

2021-03-23 Thread Madhavan Srinivasan
On 3/22/21 8:27 PM, Athira Rajeev wrote: Performance Monitoring Unit (PMU) registers in powerpc provides information on cycles elapsed between different stages in the pipeline. This can be used for application tuning. On ISA v3.1 platform, this information is exposed by sampling registers. Patc

Re: [PATCH v5] mm: cma: support sysfs

2021-03-23 Thread Matthew Wilcox
On Tue, Mar 23, 2021 at 08:31:31PM -0700, Minchan Kim wrote: > On Wed, Mar 24, 2021 at 03:02:24AM +, Matthew Wilcox wrote: > > On Tue, Mar 23, 2021 at 12:50:50PM -0700, Minchan Kim wrote: > > > + /* the number of CMA page successful allocations */ > > > + atomic64_t nr_pages_succeeded; > > > >

  1   2   3   4   5   6   7   8   9   10   >