[PATCH v3 13/14] bfq: remove unnecessary initialization logic

2021-03-24 Thread brookxu
From: Chunguang Xu Since we will initialize sched_data.service_tree[] in bfq_init_root_group(), bfq_create_group_hierarchy() can ignore this part of the initialization, which can avoid repeated initialization. Signed-off-by: Chunguang Xu --- block/bfq-cgroup.c | 4 1 file changed, 4 delet

[PATCH v3 14/14] bfq: optimize the calculation of bfq_weight_to_ioprio()

2021-03-24 Thread brookxu
From: Chunguang Xu The value range of ioprio is [0, 7], but the result of bfq_weight_to_ioprio() may exceed this range, so simple optimization is required. Signed-off-by: Chunguang Xu --- block/bfq-wf2q.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/block/bfq-wf2q.c

[PATCH v3 12/14] bfq: disable merging between different groups under better_fairness

2021-03-24 Thread brookxu
From: Chunguang Xu In order to better guarantee the Qos for each group, we do not allow queues of different groups to be merged. Signed-off-by: Chunguang Xu --- block/bfq-iosched.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index 5aa9c2c..f

[PATCH v3 11/14] bfq: disable idle for prio_expire under better_fairness

2021-03-24 Thread brookxu
From: Chunguang Xu Under better_fairness, if higher priority queue is waiting for service,disable queue idle, so that a schedule can be invoked in time. In addition to CLASS_IDLE, other queues allow idle, so that we can better control buffer IO too. Signed-off-by: Chunguang Xu --- block/bfq-io

[PATCH v3 10/14] bfq: optimize IO injection under better_fairness

2021-03-24 Thread brookxu
From: Chunguang Xu In order to ensure better Qos of tasks of different groups and different classes under better_fairness, we only allow the queues of the same class in the same group can be injected. Signed-off-by: Chunguang Xu --- block/bfq-iosched.c | 28 +++- 1 file

[PATCH v3 09/14] bfq: expire in_serv_queue for prio_expire under better_fairness

2021-03-24 Thread brookxu
From: Chunguang Xu Traverse all schedule domains upward, if there are higher priority tasks waiting for service, mark in_service_queue prio_expire and then expire it, so the So RT tasks can be scheduled in time. Signed-off-by: Chunguang Xu --- block/bfq-iosched.c | 7 +++ block/bfq-iosche

[PATCH v3 08/14] bfq: introduce prio_expire flag for bfq_queue

2021-03-24 Thread brookxu
From: Chunguang Xu When in_service_queue needs to be preempted by task with a higher priority, we will mark it with prio_expire flag, and then expire it on the IO dispatch path. Here add prio_expire flag only. Signed-off-by: Chunguang Xu --- block/bfq-iosched.c | 2 ++ block/bfq-iosched.h | 2

[PATCH v3 05/14] bfq: limit the IO depth of CLASS_IDLE to 1

2021-03-24 Thread brookxu
From: Chunguang Xu The IO depth of queues belong to CLASS_IDLE is limited to 1, so that it can avoid introducing a larger tail latency under a device with a larger IO depth. Although limiting the IO depth may reduce the performance of idle_class, it is generally not a big problem, because idle_cl

[PATCH v3 06/14] bfq: keep the minimun bandwidth for CLASS_BE

2021-03-24 Thread brookxu
From: Chunguang Xu CLASS_RT will preempt other classes, which may starve. At present, CLASS_IDLE has alleviated the starvation problem through the minimum bandwidth mechanism. Similarly, we should do the same for CLASS_BE. Signed-off-by: Chunguang Xu --- block/bfq-iosched.c | 6 -- block/

[PATCH v3 07/14] bfq: introduce better_fairness for container scene

2021-03-24 Thread brookxu
From: Chunguang Xu In the container scenario, in addition to throughput, we also pay attention to Qos. In order to better support this scenario, we introduce the better_fairness mode here. In this mode, we expect to control the Qos of each group according to its priority better. Only add configur

[PATCH v3 02/14] bfq: convert the type of bfq_group.bfqd to bfq_data*

2021-03-24 Thread brookxu
From: Chunguang Xu Setting bfq_group.bfqd to void* type does not seem to make much sense. This will cause unnecessary type conversion. Perhaps it would be better to change it to bfq_data* type. Signed-off-by: Chunguang Xu --- block/bfq-cgroup.c | 2 +- block/bfq-iosched.h | 2 +- block/bfq-wf

[PATCH v3 04/14] bfq: introduce bfq_ioprio_class to get ioprio class

2021-03-24 Thread brookxu
From: Chunguang Xu Since the tasks inside the container itself have different ioprio, in order to be compatible with the actual production environment, when scheduling within a group, we use the task ioprio class, but outside the group, we use the group ioprio class. For example, when counting bu

[PATCH v3 03/14] bfq: introduce bfq.ioprio for cgroup

2021-03-24 Thread brookxu
From: Chunguang Xu Now the ioprio class of all groups is CLASS_BE, which is not very friendly to the container scene. Therefore, we introduce the bfq.ioprio interface to allow users to configure the ioprio class and ioprio of the group, which can meet more priority requirements. The bfq.ioprio i

[PATCH v3 01/14] bfq: introduce bfq_entity_to_bfqg helper method

2021-03-24 Thread brookxu
From: Chunguang Xu Introduce bfq_entity_to_bfqg() to make it easier to obtain the bfq_group corresponding to the entity. Signed-off-by: Chunguang Xu --- block/bfq-cgroup.c | 6 ++ block/bfq-iosched.h | 1 + block/bfq-wf2q.c| 16 3 files changed, 15 insertions(+), 8

[PATCH v3 00/14] bfq: introduce bfq.ioprio for cgroup

2021-03-24 Thread brookxu
From: Chunguang Xu Any suggestions or discussions are welcome, thank you every much. BACKGROUND: In the container scenario, in addition to throughput, we also pay attention to Qos of each group. Based on hierarchical scheduling, EMQ, IO Injection, bfq.weight and other mechanisms, we can achieve

[PATCH] docs: livepatch: Fix a typo

2021-03-24 Thread Bhaskar Chowdhury
s/varibles/variables/ Signed-off-by: Bhaskar Chowdhury --- Documentation/livepatch/shadow-vars.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/livepatch/shadow-vars.rst b/Documentation/livepatch/shadow-vars.rst index c05715aeafa4..8464866d18ba 100644 ---

[PATCH RESEND v5 11/12] arm: dts: mt7623: harmonize node names and compatibles

2021-03-24 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm/boot/dts/mt7623.dtsi | 26 ++ arch/arm/boot/dts/mt7623n.dtsi | 4 ++-- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/

[PATCH RESEND v5 02/12] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items

2021-03-24 Thread Chunfeng Yun
mt7623-hdmi-tx is compatible to mt2701-hdmi-tx, and the compatible "mediatek,mt7623-hdmi-tx" is not supported in driver, in fact uses "mediatek,mt2701-hdmi-tx" instead on MT7623, so changes the compatible items to make dependence clear. Cc: Chun-Kuang Hu Cc: Philipp Zabel Acked-by: Chun-Kuang Hu

[PATCH RESEND v5 08/12] arm64: dts: mediatek: mt7622: harmonize node names and compatibles

2021-03-24 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi

[PATCH RESEND v5 06/12] arm64: dts: mediatek: mt2712: harmonize node names

2021-03-24 Thread Chunfeng Yun
This is used to fix dtbs_check warning. Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dt

[PATCH RESEND v5 01/12] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence

2021-03-24 Thread Chunfeng Yun
mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use "mediatek,mt2701-mipi-tx" instead on MT7623, so modify the compatible items to make dependence clear. Cc: Chun-Kuang Hu Cc: Philipp Zabel Acked-by: Chun-Kuang Hu Reviewed-by: Rob Herring Signed-off-by: Chunfeng Yun --- v5: no changes v4:

[PATCH RESEND v5 03/12] dt-bindings: phy: mediatek: tphy: change patternProperties

2021-03-24 Thread Chunfeng Yun
The phy may be named as pcie-phy when the T-PHY only supports PCIe mode, it's also the similar case for SATA, named as sata-phy. Reviewed-by: Rob Herring Signed-off-by: Chunfeng Yun --- v5: no changes v4: add reviewed-by Rob v2~v3: no changes --- Documentation/devicetree/bindings/phy/mediatek,t

[PATCH RESEND v5 05/12] arm64: dts: mediatek: mt8173: fix dtbs_check warning

2021-03-24 Thread Chunfeng Yun
Harmonize nodes names, compatibles and remove unused property. Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 +--- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 13 +++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git

[PATCH RESEND v5 07/12] arm64: dts: mediatek: mt8516: harmonize node names and compatibles

2021-03-24 Thread Chunfeng Yun
This is used to fix dtbs_check warning: harmonize node names and compatibles; add property "usb-role-switch" for connector dependence. Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 9 + arch/arm64/boot/dts/mediatek/pumpkin-co

[PATCH RESEND v5 09/12] arm64: dts: mediatek: mt8183: fix dtbs_check warning

2021-03-24 Thread Chunfeng Yun
Harmonize node names, compatibles and properties. Signed-off-by: Chunfeng Yun --- v4~v5: no changes v3: remove property clock-names suggested by CK v2: no changes --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm64/b

[PATCH RESEND v5 04/12] arm64: dts: mt8173: fix property typo of 'phys' in dsi node

2021-03-24 Thread Chunfeng Yun
Use 'phys' instead of 'phy'. Fixes: 81ad4dbaf7af ("arm64: dts: mt8173: Add display subsystem related nodes") Cc: stable Reviewed-by: Chun-Kuang Hu Signed-off-by: Chunfeng Yun --- v5: merged into this series, add Reviewed-by CK --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- 1 file changed

[PATCH RESEND v5 12/12] arm: dts: mt2701: harmonize node names and compatibles

2021-03-24 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm/boot/dts/mt2701.dtsi | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index fade14284017..47

Re: [PATCH] PCI: Allow drivers to claim exclusive access to config regions

2021-03-24 Thread Greg Kroah-Hartman
On Wed, Mar 24, 2021 at 06:23:54PM -0700, Dan Williams wrote: > The PCIE Data Object Exchange (DOE) mailbox is a protocol run over > configuration cycles. It assumes one initiator at a time is > reading/writing the data registers. That sounds like a horrible protocol for a multi-processor system.

[PATCH RESEND v5 10/12] arm: dts: mt7629: harmonize node names and compatibles

2021-03-24 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm/boot/dts/mt7629.dtsi | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index 5cbb3d244c75..874043f049

Re: [PATCH] drm/vkms: fix misuse of WARN_ON

2021-03-24 Thread Dmitry Vyukov
On Wed, Mar 24, 2021 at 11:00 PM Melissa Wen wrote: > > On 03/20, Dmitry Vyukov wrote: > > vkms_vblank_simulate() uses WARN_ON for timing-dependent condition > > (timer overrun). This is a mis-use of WARN_ON, WARN_ON must be used > > to denote kernel bugs. Use pr_warn() instead. > > > > Signed-off

[PATCH] include: scsi: scsi_host_cmd_pool is declared twice

2021-03-24 Thread Wan Jiabing
struct scsi_host_cmd_pool has been declared. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/scsi/scsi_host.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index e30fd963b97d..5fa8f6a78d05 100644 --- a/include/scsi/scsi_host.h

Re: [PATCH v1 0/3] drivers/char: remove /dev/kmem for good

2021-03-24 Thread Greg Kroah-Hartman
On Thu, Mar 25, 2021 at 09:58:12AM +1100, Balbir Singh wrote: > On Wed, Mar 24, 2021 at 12:24:12PM -0700, Andrew Morton wrote: > > > > > Let's remove /dev/kmem, which is unused and obsolete. > > > > I grabbed these. Silently - the cc list is amazing ;) > > > > I was wondering if it would be bet

Re: [PATCH v1 0/3] drivers/char: remove /dev/kmem for good

2021-03-24 Thread Greg Kroah-Hartman
On Wed, Mar 24, 2021 at 12:24:12PM -0700, Andrew Morton wrote: > > > Let's remove /dev/kmem, which is unused and obsolete. > > I grabbed these. Silently - the cc list is amazing ;) Thanks, I was going to do so, but your tree is fine with me: Acked-by: Greg Kroah-Hartman

[V2][PATCH] cpufreq: dt: check the -EPROBE_DEFER error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread quanyang . wang
From: Quanyang Wang The function dev_pm_opp_of_cpumask_add_table may return -EPROBE_DEFER which comes from clk_get(dev, NULL) in _update_opp_table_clk. Ignoring this error and call the next function dev_pm_opp_of_cpumask_add_table may cause dt_cpufreq_probe return -ENODEV instead of -EPROBE_DEFE

[V2][PATCH] cpufreq: dt: check the -EPROBE_DEFER error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread quanyang . wang
From: Quanyang Wang The function dev_pm_opp_of_cpumask_add_table may return -EPROBE_DEFER which comes from clk_get(dev, NULL) in _update_opp_table_clk. Ignoring this error and call the next function dev_pm_opp_of_cpumask_add_table may cause dt_cpufreq_probe return -ENODEV instead of -EPROBE_DEFE

[PATCH] drivers: net: wireless: struct lbs_private is declared duplicately

2021-03-24 Thread Wan Jiabing
struct lbs_private has been declared at 22nd line. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/net/wireless/marvell/libertas/decl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/marvell/libertas/decl.h b/drivers/net/wireless/marvell/libertas/decl.h ind

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread elaine.zhang
Hi,Heiko: 在 2021/3/24 下午9:31, Heiko Stübner 写道: Am Mittwoch, 24. März 2021, 11:32:42 CET schrieb Enric Balletbo i Serra: On 24/3/21 11:25, Enric Balletbo i Serra wrote: Hi Elaine, On 24/3/21 11:18, elaine.zhang wrote: Hi, Enric 在 2021/3/24 下午5:56, Enric Balletbo i Serra 写道: Hi Elaine, Th

Re: linux-next: build warning after merge of the net-next tree

2021-03-24 Thread Stephen Rothwell
Hi all, On Thu, 25 Mar 2021 17:23:50 +1100 Stephen Rothwell wrote: > > After merging the net-next tree, today's linux-next build (htmldocs) > produced this warning: > > Sphinx parallel build error: > docutils.utils.SystemMessage: > /home/sfr/next/next/Documentation/networking/nf_flowtable.rst:

Re: [PATCH] tools: usbip: list.h: fix kernel-doc for list_del()

2021-03-24 Thread Greg KH
On Wed, Mar 24, 2021 at 06:35:01PM -0700, Randy Dunlap wrote: > On 3/24/21 4:32 PM, Shuah Khan wrote: > > On 3/23/21 6:02 PM, Randy Dunlap wrote: > >> In list.h, the kernel-doc for list_del() should be immediately > >> preceding the implementation and not separated from it by > >> another function

[PATCH -next 2/5] net: core: Fix a typo in dev_addr_lists.c

2021-03-24 Thread Lu Wei
Modify "funciton" to "function" in net/core/dev_addr_lists.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/core/dev_addr_lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c index fa1c37ec40c9..1e5bde241185 10

[PATCH -next 3/5] net: decnet: Fix a typo in dn_nsp_in.c

2021-03-24 Thread Lu Wei
Modify "erronous" to "erroneous" in net/decnet/dn_nsp_in.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/decnet/dn_nsp_in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/decnet/dn_nsp_in.c b/net/decnet/dn_nsp_in.c index c97bdca5ec30..1a12912b88d6 100644 --- a/

[PATCH -next 4/5] net: dsa: Fix a typo in tag_rtl4_a.c

2021-03-24 Thread Lu Wei
Modify "Apparantly" to "Apparently" in net/dsa/tag_rtl4_a.c.. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/dsa/tag_rtl4_a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dsa/tag_rtl4_a.c b/net/dsa/tag_rtl4_a.c index e9176475bac8..cf8ac316f4c7 100644 --- a/net/

[PATCH -next 5/5] net: ipv4: Fix some typos

2021-03-24 Thread Lu Wei
Modify "accomodate" to "accommodate" in net/ipv4/esp4.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/ipv4/esp4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index a3271ec3e162..1ae920b93f39 100644 --- a/net/ipv4/esp4.c +++

[PATCH -next 1/5] net: ceph: Fix a typo in osdmap.c

2021-03-24 Thread Lu Wei
Modify "inital" to "initial" in net/ceph/osdmap.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/ceph/osdmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c index 2b1dd252f231..c959320c4775 100644 --- a/net/ceph/osdmap.c +++ b/

[PATCH -next 0/5]Fix some typos

2021-03-24 Thread Lu Wei
Lu Wei (5): net: ceph: Fix a typo in osdmap.c net: core: Fix a typo in dev_addr_lists.c net: decnet: Fix a typo in dn_nsp_in.c net: dsa: Fix a typo in tag_rtl4_a.c net: ipv4: Fix some typos net/ceph/osdmap.c | 2 +- net/core/dev_addr_lists.c | 2 +- net/decnet/dn_nsp_in.c| 2

[PATCH] drivers: net: ethernet: struct sk_buff is declared duplicately

2021-03-24 Thread Wan Jiabing
struct sk_buff has been declared. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/net/ethernet/netronome/nfp/nfp_app.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/netronome/nfp/nfp_app.h b/drivers/net/ethernet/netronome/nfp/nfp_app.h index 76d13af46a7a..

[PATCH] drivers: staging: _adapter is declared twice

2021-03-24 Thread Wan Jiabing
struct _adapter has been declared at 23rd line. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/staging/rtl8712/drv_types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h index 0c4325073c63..976d19cdcf87

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

2021-03-24 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (htmldocs) produced this warning: Sphinx parallel build error: docutils.utils.SystemMessage: /home/sfr/next/next/Documentation/networking/nf_flowtable.rst:176: (SEVERE/4) Unexpected section title. } ... Introduced by commit

[PATCH -next] f2fs: fix a typo in inode.c

2021-03-24 Thread Ruiqi Gong
Do a trivial typo fix. s/runing/running Reported-by: Hulk Robot Signed-off-by: Ruiqi Gong --- fs/f2fs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 349d9cb933ee..5d2253d53f17 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c

Re: [question] insert ko failed because count_plts return 0 when CONFIG_RANDOMIZE_BASE is not set

2021-03-24 Thread chenjun (AM)
在 2021/3/24 16:29, Ard Biesheuvel 写道: > On Wed, 24 Mar 2021 at 08:27, chenjun (AM) wrote: >> >> Hi >> >> I make a Image for arm64 (without CONFIG_RANDOMIZE_BASE). And a ko (13M) >> can not be inserted. >> > > How many large modules have you loaded already? The module region is > only 128 MB, so i

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

2021-03-24 Thread Masahiro Yamada
On Wed, Mar 24, 2021 at 10:54 PM Steven Rostedt wrote: > > On Wed, 24 Mar 2021 15:01:13 +0900 > Masahiro Yamada wrote: > > > 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

[PATCH] drivers: gpu: drm: xen_drm_front_drm_info is declared twice

2021-03-24 Thread Wan Jiabing
struct xen_drm_front_drm_info has been declared. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/xen/xen_drm_front_conn.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/xen/xen_drm_front_conn.h b/drivers/gpu/drm/xen/xen_drm_front_conn.h index 3adacba9a2

[PATCH v5 7/9] ARM: stm32: Add a new SOC - STM32H750

2021-03-24 Thread dillon . minfei
From: dillon min The STM32H750 is a Cortex-M7 MCU running at 480MHz and containing 128KBytes internal flash, 1MiB SRAM. Signed-off-by: dillon min --- v5: no changes arch/arm/mach-stm32/board-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-stm32/board-dt.c b/arch/arm/ma

[PATCH v5 9/9] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'

2021-03-24 Thread dillon . minfei
From: dillon min To use additional properties 'bluetooth' on serial, need replace false with 'type: object' for 'additionalProperties' to make it as a node, else will run into dtbs_check warnings. 'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: 'bluetooth' does not match any of th

[PATCH v5 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support

2021-03-24 Thread dillon . minfei
From: dillon min This patch adds STM32H750 pinctrl and GPIO support since stm32h750 has the same pin alternate functions with stm32h743, so just reuse the stm32h743's pinctrl driver Signed-off-by: dillon min --- v5: no changes drivers/pinctrl/stm32/Kconfig | 2 +- drivers/pinctrl

[PATCH v5 6/9] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-24 Thread dillon . minfei
From: dillon min This patchset has following changes: - introduce stm32h750.dtsi to support stm32h750 value line - add stm32h750i-art-pi.dtb (arch/arm/boot/dts/Makefile) - add dts binding usart3 for bt, uart4 for console usart3/uart4 pinctrl in stm32h7-pinctrl.dtsi usart3/uart4 register in s

[PATCH v5 4/9] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750

2021-03-24 Thread dillon . minfei
From: dillon min This patch is intend to add support stm32h750 value line, just add stm32h7-pinctrl.dtsi for extending, with following changes: - rename stm32h743-pinctrl.dtsi to stm32h7-pinctrl.dtsi - move compatible string "st,stm32h743-pinctrl" from stm32h7-pinctrl.dtsi to stm32h743-pinctrl

[PATCH v5 5/9] ARM: dts: stm32: add stm32h750-pinctrl.dtsi

2021-03-24 Thread dillon . minfei
From: dillon min This patch add stm32h750-pinctrl.dtsi which just reference stm32h7-pinctrl.dtsi Signed-off-by: dillon min --- v5: no changes arch/arm/boot/dts/stm32h750-pinctrl.dtsi | 12 1 file changed, 12 insertions(+) create mode 100644 arch/arm/boot/dts/stm32h750-pinctrl.d

[PATCH v5 1/9] Documentation: arm: stm32: Add stm32h750 value line doc

2021-03-24 Thread dillon . minfei
From: dillon min This patchset add support for soc stm32h750, stm32h750 has mirror different from stm32h743 itemstm32h743 stm32h750 flash size: 2MiB 128KiB adc:none 3 crypto-hash:none aes/hamc/des/tdes/md5/sha detail information can

[PATCH v5 0/9] ARM: STM32: add art-pi(stm32h750xbh6) board support

2021-03-24 Thread dillon . minfei
From: dillon min This patchset intend to add art-pi board support, this board developed by rt-thread(https://www.rt-thread.org/). Board resources: 8MiB QSPI flash 16MiB SPI flash 32MiB SDRAM AP6212 wifi,bt,fm comb sw context: - as stm32h750 just has 128k bytes internal flash, so running a fw on

Re: [PATCH v7 00/14] Tegra XHCI controller ELPG support

2021-03-24 Thread Vinod Koul
On 24-03-21, 14:32, Thierry Reding wrote: > On Wed, Mar 24, 2021 at 01:39:32PM +0100, Thierry Reding wrote: > > On Fri, Feb 05, 2021 at 05:22:29PM +0100, Greg KH wrote: > > > On Fri, Feb 05, 2021 at 05:15:21PM +0100, Thierry Reding wrote: > > > > On Wed, Jan 20, 2021 at 03:34:00PM +0800, JC Kuo wro

Re: [RESEND PATCH V6 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-03-24 Thread Chunyan Zhang
Hi Bjorn, On Wed, 24 Mar 2021 at 04:30, Bjorn Helgaas wrote: > > On Mon, Mar 22, 2021 at 05:18:31PM +0800, Chunyan Zhang wrote: > > From: Hongtao Wu > > > > This series adds PCIe controller driver for Unisoc SoCs. > > This controller is based on DesignWare PCIe IP. > > > > Signed-off-by: Hongtao

Re: [PATCH 2/3] dt-bindings: input: pm8941-pwrkey: Convert power key bindings to yaml

2021-03-24 Thread skakit
Hi Rob, On 2021-03-05 20:10, Rob Herring wrote: On Fri, Mar 05, 2021 at 11:08:40AM +0530, satya priya wrote: Convert power key bindings from .txt to .yaml format. Signed-off-by: satya priya --- .../bindings/input/qcom,pm8941-pwrkey.txt | 53 --- .../bindings/input/qcom,

Re: [PATCH] dt-bindings: mailbox: Add compatible for SM8350 IPCC

2021-03-24 Thread Vinod Koul
On 12-03-21, 11:28, Bjorn Andersson wrote: > On Thu 11 Mar 23:12 CST 2021, Vinod Koul wrote: > > Adding Jassi as recipient. Please let Vinod know if you want him to > resend this patch to you. (I send a patch for MAINTAINERS yesterday) Jassi, should I resend or you can pick from lore? > > > Add

Re: [PATCH 1/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver

2021-03-24 Thread Hermes Zhang
Hi Marek, On 3/24/21 5:34 PM, Marek Behun wrote: >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include > Why do you include slab.h? Yeah, I will clean it in next commit. >> + >> + >> +static void mu

Re: WARNING: AMDGPU DRM warning in 5.11.9

2021-03-24 Thread Ilkka Prusi
On 24.3.2021 16.16, Chris Rankin wrote: Hi, Theee warnings ares not present in my dmesg log from 5.11.8: [ 43.390159] [ cut here ] [ 43.393574] WARNING: CPU: 2 PID: 1268 at drivers/gpu/drm/ttm/ttm_bo.c:517 ttm_bo_release+0x172/0x282 [ttm] [ 43.401940] Modules linke

RE: [PATCH v6 04/10] scsi: ufshpb: Make eviction depends on region's reads

2021-03-24 Thread Avri Altman
> > On 2021-03-22 16:10, Avri Altman wrote: > > In host mode, eviction is considered an extreme measure. > > verify that the entering region has enough reads, and the exiting > > region has much less reads. > > > > Signed-off-by: Avri Altman > > --- > > drivers/scsi/ufs/ufshpb.c | 18 +++

Re: [PATCH v5 0/6] KVM: arm64: Add VLPI migration support on GICv4.1

2021-03-24 Thread Shenming Lu
On 2021/3/25 2:19, Marc Zyngier wrote: > On Mon, 22 Mar 2021 14:01:52 +0800, Shenming Lu wrote: >> In GICv4.1, migration has been supported except for (directly-injected) >> VLPI. And GICv4.1 Spec explicitly gives a way to get the VLPI's pending >> state (which was crucially missing in GICv4.0). So

[PATCH 2/2] nvmem: qfprom: Add support for fuse blowing on sc7280

2021-03-24 Thread Rajendra Nayak
Handle the differences across LDO voltage needed for blowing fuses, and the blow timer value, identified using a minor version of 15 on sc7280. Signed-off-by: Rajendra Nayak Signed-off-by: Ravi Kumar Bokka --- Applies on top of https://lore.kernel.org/patchwork/patch/1376175/ drivers/nvmem/qfp

[PATCH 1/2] dt-bindings: nvmem: Add SoC compatible for sc7280

2021-03-24 Thread Rajendra Nayak
Document SoC compatible for sc7280 Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml i

Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning

2021-03-24 Thread dillon min
Hi Rob, Thanks for the suggestion. On Thu, Mar 25, 2021 at 1:45 AM Rob Herring wrote: > > On Fri, Mar 19, 2021 at 07:13:27PM +0800, dillon min wrote: > > Hi Alexandre, > > > > Thanks for the reply. > > > > On Fri, Mar 19, 2021 at 4:38 PM Alexandre TORGUE > > wrote: > > > > > > Hi Dillon > > >

Re: [PATCH] cpufreq: dt: check the error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread quanyang.wang
Hi Viresh, On 3/25/21 1:24 PM, Viresh Kumar wrote: On 25-03-21, 13:15, quanyang.wang wrote: Thank you for pointing it out.  Do you mean that even if dev_pm_opp_of_cpumask_add_table returns an error, dev_pm_opp_get_opp_count may still return count > 0 because someone may call dev_pm_opp_add to

Re: [PATCH v6 04/10] scsi: ufshpb: Make eviction depends on region's reads

2021-03-24 Thread Can Guo
On 2021-03-22 16:10, Avri Altman wrote: In host mode, eviction is considered an extreme measure. verify that the entering region has enough reads, and the exiting region has much less reads. Signed-off-by: Avri Altman --- drivers/scsi/ufs/ufshpb.c | 18 +- 1 file changed, 17 in

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

2021-03-24 Thread Vesa Jääskeläinen
Hi, See below. On 24.3.2021 9.56, Hermes Zhang wrote: 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 --- .../bindings/leds/leds-multi-gpio.yaml| 50 +

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

2021-03-24 Thread Sumit Garg
On Wed, 24 Mar 2021 at 19:37, Ahmad Fatoum wrote: > > Hello Sumit, > > On 24.03.21 11:47, Sumit Garg wrote: > > On Wed, 24 Mar 2021 at 14:56, Ahmad Fatoum wrote: > >> > >> Hello Mimi, > >> > >> On 23.03.21 19:07, Mimi Zohar wrote: > >>> On Tue, 2021-03-23 at 17:35 +0100, Ahmad Fatoum wrote: > >>>

Re: [PATCH 2/5] cifsd: add server-side procedures for SMB3

2021-03-24 Thread Sebastian Gottschall
Am 23.03.2021 um 08:19 schrieb Dan Carpenter: On Tue, Mar 23, 2021 at 08:17:47AM +0900, Namjae Jeon wrote: + +static int +compare_oid(unsigned long *oid1, unsigned int oid1len, + unsigned long *oid2, unsigned int oid2len) { + unsigned int i; + + if (oid1len != oid2len) +

Re: [PATCH] cpufreq: dt: check the error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread Viresh Kumar
On 25-03-21, 13:15, quanyang.wang wrote: > Thank you for pointing it out.  Do you mean that even if > dev_pm_opp_of_cpumask_add_table returns > > an error, dev_pm_opp_get_opp_count may still return count > 0 because > someone may call dev_pm_opp_add > > to add OPP to cpu succcessfully at somewher

[no subject]

2021-03-24 Thread Kayla Manthey
Hej min kære, jeg vil gerne vide, om du har min tidligere besked, tak.

Re: [PATCH] arm64: dts: qcom: sc7280: Add PMIC peripherals for SC7280

2021-03-24 Thread skakit
Hi Matthias, On 2021-03-22 23:04, Matthias Kaehlcke wrote: Hi Satya, On Mon, Mar 22, 2021 at 06:50:47PM +0530, ska...@codeaurora.org wrote: Hi Matthias, On 2021-03-13 02:10, Matthias Kaehlcke wrote: > Hi Satya, > > On Thu, Mar 11, 2021 at 04:10:29PM +0530, satya priya wrote: > > Add PM7325/PM

Re: [PATCH] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-24 Thread Manish Varma
Hi Thomas, On Mon, Mar 22, 2021 at 2:40 PM Thomas Gleixner wrote: > > Manish, > > On Mon, Mar 22 2021 at 10:15, Manish Varma wrote: > > On Thu, Mar 18, 2021 at 6:04 AM Thomas Gleixner wrote: > >> > +static atomic_t instance_count = ATOMIC_INIT(0); > >> > >> instance_count is misleading as it doe

Re: [PATCH] cpufreq: dt: check the error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread quanyang.wang
Hi Viresh, On 3/25/21 12:45 PM, Viresh Kumar wrote: On 25-03-21, 12:31, quanyang.w...@windriver.com wrote: From: Quanyang Wang The function dev_pm_opp_of_cpumask_add_table may return zero or an error. When it returns an error, this means that no OPP table is added for the cpumask because _dev

Re: [PATCH v4] audit: log nftables configuration change events once per table

2021-03-24 Thread kernel test robot
Hi Richard, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on nf/master] [also build test WARNING on nf-next/master pcmoore-audit/next v5.12-rc4 next-20210324] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH v4 14/22] x86/fpu/xstate: Expand the xstate buffer on the first use of dynamic user state

2021-03-24 Thread Liu, Jing2
On 3/25/2021 5:09 AM, Len Brown wrote: On Tue, Mar 23, 2021 at 11:15 PM Liu, Jing2 wrote: IMO, the problem with AVX512 state is that we guaranteed it will be zero for XINUSE=0. That means we have to write 0's on saves. why "we have to write 0's on saves" when XINUSE=0. Since due to SDM, i

[PATCH] usb: typec: Fix a typo

2021-03-24 Thread Bhaskar Chowdhury
s/Acknowlege/Acknowledge/ Signed-off-by: Bhaskar Chowdhury --- drivers/usb/typec/ucsi/ucsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c index 244270755ae6..282c3c825c13 100644 --- a/drivers/usb/typec/ucsi/uc

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-24 Thread Sandeep Maheswaram
On 3/24/2021 9:01 AM, Stephen Boyd wrote: Quoting Sandeep Maheswaram (2021-03-23 12:27:32) This patch adds a shutdown callback to USB DWC core driver to ensure that it is properly shutdown in reboot/shutdown path. This is required where SMMU address translation is enabled like on SC7180 SoC an

Re: Re: [PATCH] fuse: Fix a potential double free in virtio_fs_get_tree

2021-03-24 Thread lyl2019
> -原始邮件- > 发件人: "Vivek Goyal" > 发送时间: 2021-03-24 01:10:03 (星期三) > 收件人: "Lv Yunlong" > 抄送: stefa...@redhat.com, mik...@szeredi.hu, > virtualizat...@lists.linux-foundation.org, linux-fsde...@vger.kernel.org, > linux-kernel@vger.kernel.org > 主题: Re: [PATCH] fuse: Fix a potential double

[PATCH] drivers: gpu: drm: Remove repeated declaration

2021-03-24 Thread Wan Jiabing
struct drm_i915_private, struct intel_crtc_state and struct intel_crtc have been declared before. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/i915/display/intel_crt.h | 1 - drivers/gpu/drm/i915/display/intel_display.h | 1 - drivers/gpu/drm/i915/display/intel_vrr.h

Re: [PATCH] tee: optee: fix build error caused by recent optee tracepoints feature

2021-03-24 Thread Guenter Roeck
On Thu, Mar 25, 2021 at 12:06:01PM +0800, Jisheng Zhang wrote: > If build kernel without "O=dir", below error will be seen: > > In file included from drivers/tee/optee/optee_trace.h:67, > from drivers/tee/optee/call.c:18: > ./include/trace/define_trace.h:95:42: fatal error: ./opte

[PATCH] ARM: imx: Fix a typo

2021-03-24 Thread Bhaskar Chowdhury
s/confgiured/configured/ Signed-off-by: Bhaskar Chowdhury --- arch/arm/mach-imx/pm-imx5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/pm-imx5.c b/arch/arm/mach-imx/pm-imx5.c index e9962b48e30c..2e3af2bc7758 100644 --- a/arch/arm/mach-imx/pm-imx5.c +++

RE: [PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-24 Thread Michael Kelley
From: Mark Rutland Sent: Wednesday, March 24, 2021 9:55 AM > > Hi Michael, > > On Mon, Mar 08, 2021 at 11:57:13AM -0800, Michael Kelley wrote: > > Hypercalls to Hyper-V on ARM64 may return results in registers other > > than X0 thru X3, as permitted by the SMCCC spec version 1.2 and later. > >

Re: [PATCH 1/2] extcon: extcon-gpio: Log error if work-queue init fails

2021-03-24 Thread Vaittinen, Matti
On Thu, 2021-03-25 at 09:49 +0900, Chanwoo Choi wrote: > On 3/24/21 6:51 PM, Vaittinen, Matti wrote: > > Hello Hans, Chanwoo, Greg, > > > > On Wed, 2021-03-24 at 10:25 +0100, Hans de Goede wrote: > > > Hi, > > > > > > On 3/24/21 10:21 AM, Matti Vaittinen wrote: > > > > Add error print for probe

[PATCH] drivers: gpu: drm: Remove duplicate declaration

2021-03-24 Thread Wan Jiabing
struct dss_device has been declared at 51st line. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index a40abeafd2e9..2658

Re: [PATCH 01/13] kconfig: split randconfig setup code into set_randconfig_seed()

2021-03-24 Thread Masahiro Yamada
On Sun, Mar 14, 2021 at 4:48 AM Masahiro Yamada wrote: > > This code is too big to be placed in the switch statement. > > Move the code into a new helper function. I slightly refactor the code > without changing the behavior. > > Signed-off-by: Masahiro Yamada > --- All applied to linux-kbuild/k

Re: [PATCH] kconfig: use true and false for bool variable

2021-03-24 Thread Masahiro Yamada
On Mon, Mar 15, 2021 at 3:55 PM Yang Li wrote: > > fixed the following coccicheck: > ./scripts/kconfig/confdata.c:36:9-10: WARNING: return of 0/1 in function > 'is_dir' with return type bool > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- Applied. Thanks. > scripts/kconfig/conf

Re: [PATCH] cpufreq: dt: check the error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread Viresh Kumar
On 25-03-21, 12:31, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > The function dev_pm_opp_of_cpumask_add_table may return zero or an > error. When it returns an error, this means that no OPP table is > added for the cpumask because _dev_pm_opp_cpumask_remove_table is > called to fr

[PATCH V4] kbuild: Add rule to build .dt.yaml files for overlays

2021-03-24 Thread Viresh Kumar
The overlay source files are named with .dtso extension now, add a new rule to generate .dt.yaml for them. Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven Signed-off-by: Viresh Kumar --- V4: - Rebase over Frank's cleanup patch: https://lore.kernel.org/lkml/20210324223713.133466

[PATCH] tools: perf: util: Remove duplicate declaration

2021-03-24 Thread Wan Jiabing
struct evlist has been declared at 10th line. struct comm has been declared at 15th line. Remove the duplicate. Signed-off-by: Wan Jiabing --- tools/perf/util/metricgroup.h | 1 - tools/perf/util/thread-stack.h | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/perf/util/metricgroup.h b

[PATCH] Bluetooth: L2CAP: Rudimentary typo fixes

2021-03-24 Thread Bhaskar Chowdhury
s/minium/minimum/ s/procdure/procedure/ Signed-off-by: Bhaskar Chowdhury --- net/bluetooth/l2cap_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 72c2f5226d67..b38e80a0e819 100644 --- a/net/bluetooth/l2

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-03-24 Thread Huang, Ying
Hi, Mel, Thanks for comment! Mel Gorman writes: > On Wed, Mar 24, 2021 at 04:32:09PM +0800, Huang Ying wrote: >> One idea behind the LRU page reclaiming algorithm is to put the >> access-once pages in the inactive list and access-more-than-once pages >> in the active list. This is true for the

[PATCH] cpufreq: dt: check the error returned by dev_pm_opp_of_cpumask_add_table

2021-03-24 Thread quanyang . wang
From: Quanyang Wang The function dev_pm_opp_of_cpumask_add_table may return zero or an error. When it returns an error, this means that no OPP table is added for the cpumask because _dev_pm_opp_cpumask_remove_table is called to free all OPPs associated with the cpu devices in the error label "rem

  1   2   3   4   5   6   7   8   9   10   >