Re: [PATCH rdma-next 01/10] RDMA: Add access flags to ib_alloc_mr() and ib_mr_pool_init()

2021-04-05 Thread Leon Romanovsky
On Tue, Apr 06, 2021 at 07:27:17AM +0200, Christoph Hellwig wrote: > On Tue, Apr 06, 2021 at 08:23:28AM +0300, Leon Romanovsky wrote: > > The same proposal (enable unconditionally) was raised during > > submission preparations and we decided to follow same pattern > > as other verbs objects which

RE: [PATCH v6 2/2] ASoC: rt715:add micmute led state control supportspo...@protonmail.com

2021-04-05 Thread Yuan, Perry
Hi Jaroslav: > -Original Message- > From: Yuan, Perry > Sent: Sunday, April 4, 2021 4:32 PM > To: po...@protonmail.com; pierre-louis.boss...@linux.intel.com; > oder_ch...@realtek.com; pe...@perex.cz; ti...@suse.com; > hdego...@redhat.com; mgr...@linux.intel.com; Limonciello, Mario > Cc:

Re: [PATCH 1/2] scsi: ufs: Introduce hba performance monitor sysfs nodes

2021-04-05 Thread Can Guo
On 2021-04-06 13:37, Can Guo wrote: Hi Daejun, On 2021-04-06 12:11, Daejun Park wrote: Hi Can Guo, +static ssize_t monitor_enable_store(struct device *dev, +struct device_attribute *attr, +const char *buf, size_t count)

Re: [PATCH 1/2] scsi: ufs: Introduce hba performance monitor sysfs nodes

2021-04-05 Thread Can Guo
Hi Daejun, On 2021-04-06 12:11, Daejun Park wrote: Hi Can Guo, +static ssize_t monitor_enable_store(struct device *dev, +struct device_attribute *attr, +const char *buf, size_t count) +{ +struct ufs_hba *hba =

Re: [PATCH] Staging: rtl8192u: ieee80211: fixed a trailing statements of condition.

2021-04-05 Thread dev.dragon
On 4/5/21 1:15 PM, Greg KH wrote: > On Sun, Apr 04, 2021 at 04:26:14PM +0300, dev.dra...@bk.ru wrote: >> From: Dmitrii Wolf >> >> Fixed a coding style issue. > > Really? > >> >> Signed-off-by: Dmitrii Wolf >> --- >> drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 8 >> 1

Re: [PATCH] tty: use printk_safe context at tty_msg()

2021-04-05 Thread Tetsuo Handa
On 2021/04/06 13:51, Jiri Slaby wrote: > On 03. 04. 21, 6:14, Tetsuo Handa wrote: >> --- a/include/linux/tty.h >> +++ b/include/linux/tty.h >> @@ -14,6 +14,7 @@ >> #include >> #include >> #include >> +#include <../../kernel/printk/internal.h> > > Including printk's internal header in

LNX, non-synesthesia version - Re: Fair Pay can be generalized as a Non-Synesthesia project.

2021-04-05 Thread Ywe Cærlyn
And taking out the synesthesia of 'Linux' we get LNX Kernel, and instead fair pay orientation. Serenity, Ywe Cærlyn Den 03.04.2021 11:33, skrev Ywe Cærlyn: Summarizing my posts on LKML, Fair Pay can be generalized as a Non-Synesthesia project, compatible with the muslim Maruf not Munkar

[PATCH] power: supply: Fix missing IRQF_ONESHOT as only threaded handler

2021-04-05 Thread zhuguangqing83
From: Guangqing Zhu Coccinelle noticed: 1. drivers/power/supply/pm2301_charger.c:1089:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT 2. drivers/power/supply/tps65090-charger.c:303:8-33: ERROR: Threaded IRQ with no primary handler requested without

Re: [PATCH rdma-next 01/10] RDMA: Add access flags to ib_alloc_mr() and ib_mr_pool_init()

2021-04-05 Thread Christoph Hellwig
On Tue, Apr 06, 2021 at 08:23:28AM +0300, Leon Romanovsky wrote: > The same proposal (enable unconditionally) was raised during > submission preparations and we decided to follow same pattern > as other verbs objects which receive flag parameter. A flags argument can be added when it actually is

Re: [PATCH] usb: gadget: aspeed: Remove unnecessary version.h includes

2021-04-05 Thread Greg KH
On Tue, Apr 06, 2021 at 11:59:58AM +0800, Jiapeng Chong wrote: > "make versioncheck" shows: > > ./drivers/usb/gadget/udc/aspeed-vhub/hub.c: 33 linux/version.h not > needed. Then you need to fix the tool, and always test-build patches before you send them out, as this is obviously wrong :(

Re: [PATCH rdma-next 01/10] RDMA: Add access flags to ib_alloc_mr() and ib_mr_pool_init()

2021-04-05 Thread Leon Romanovsky
On Mon, Apr 05, 2021 at 03:46:18PM +0200, Christoph Hellwig wrote: > On Mon, Apr 05, 2021 at 08:23:55AM +0300, Leon Romanovsky wrote: > > From: Avihai Horon > > > > Add access flags parameter to ib_alloc_mr() and to ib_mr_pool_init(), > > and refactor relevant code. This parameter is used to

Re: [PATCH rdma-next 01/10] RDMA: Add access flags to ib_alloc_mr() and ib_mr_pool_init()

2021-04-05 Thread Leon Romanovsky
On Mon, Apr 05, 2021 at 08:27:16AM -0700, Bart Van Assche wrote: > On 4/4/21 10:23 PM, Leon Romanovsky wrote: > > diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h > > index bed4cfe50554..59138174affa 100644 > > --- a/include/rdma/ib_verbs.h > > +++ b/include/rdma/ib_verbs.h > > @@

RE: [PATCH v7 06/11] scsi: ufshpb: Region inactivation in host mode

2021-04-05 Thread Avri Altman
> > -static void __ufshpb_evict_region(struct ufshpb_lu *hpb, > > - struct ufshpb_region *rgn) > > +static int __ufshpb_evict_region(struct ufshpb_lu *hpb, > > + struct ufshpb_region *rgn) > > { > > struct victim_select_info

linux-next: manual merge of the imx-drm tree with the drm tree

2021-04-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the imx-drm tree got a conflict in: drivers/gpu/drm/imx/ipuv3-plane.c between commits: ba5c1649465d ("drm: Rename plane atomic_check state names") 41016fe1028e ("drm: Rename plane->state variables in atomic update and disable") from the drm tree and

RE: [PATCH bpf-next 2/3] libbpf: selftests: refactor 'BPF_PERCPU_TYPE()' and 'bpf_percpu()' macros

2021-04-05 Thread John Fastabend
Pedro Tammela wrote: > This macro was refactored out of the bpf selftests. > > Since percpu values are rounded up to '8' in the kernel, a careless > user in userspace might encounter unexpected values when parsing the > output of the batched operations. > > Now that both array and hash maps have

Re: [PATCH v7] USB: serial: cp210x: Add support for GPIOs on CP2108

2021-04-05 Thread Greg KH
On Tue, Apr 06, 2021 at 11:02:38AM +0700, Pho Tran wrote: > From: Pho Tran > > Similar to other CP210x devices, GPIO interfaces (gpiochip) should be > supported for CP2108. > > CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared > to all of those interfaces. So, just need to

Re: [PATCH v4 01/16] perf/x86/intel: Add x86_pmu.pebs_vmx for Ice Lake Servers

2021-04-05 Thread Xu, Like
Hi Xiangdong, On 2021/4/6 11:24, Liuxiangdong (Aven, Cloud Infrastructure Service Product Dept.) wrote: Hi,like. Some questions about this new pebs patches set: https://lore.kernel.org/kvm/20210329054137.120994-2-like...@linux.intel.com/ The new hardware facility supporting guest PEBS is only

Re: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs

2021-04-05 Thread Leon Romanovsky
On Mon, Apr 05, 2021 at 11:42:31PM +, Chuck Lever III wrote: > > > > On Apr 5, 2021, at 4:07 PM, Jason Gunthorpe wrote: > > > > On Mon, Apr 05, 2021 at 03:41:15PM +0200, Christoph Hellwig wrote: > >> On Mon, Apr 05, 2021 at 08:23:54AM +0300, Leon Romanovsky wrote: > >>> From: Leon

[PATCH v1 3/4] drm/msm/disp/dpu1: add support to program fetch active in ctl path

2021-04-05 Thread Krishna Manikandan
A new register called CTL_FETCH_ACTIVE is introduced in SC7280 family which is used to inform the HW about the pipes which are active in the current ctl path. This change adds support to program this register based on the active pipes in the current composition. Signed-off-by: Krishna Manikandan

[PATCH v1 1/4] drm/msm/disp/dpu1: add support for display for SC7280 target

2021-04-05 Thread Krishna Manikandan
Add required display hw catalog changes for SC7280 target. Signed-off-by: Krishna Manikandan --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 176 ++--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c| 4 +-

[PATCH v1 2/4] drm/msm/disp/dpu1: add intf offsets for SC7280 target

2021-04-05 Thread Krishna Manikandan
Interface block offsets are different for SC7280 family when compared to existing targets. These offset values are used to access the interface irq registers. This change adds proper interface offsets for SC7280 target. Signed-off-by: Krishna Manikandan ---

[PATCH v1 4/4] drm/msm/disp/dpu1: enable DATA_HCTL_EN for sc7280 target

2021-04-05 Thread Krishna Manikandan
The reset value of INTF_CONFIG2 register is changed for SC7280 family. Changes are added to program this register correctly based on the target. DATA_HCTL_EN in INTF_CONFIG2 register allows data to be transferred at a different rate than video timing. When this is set, the number of data per line

[PATCH v1 0/4] Add display support for SC7280 target

2021-04-05 Thread Krishna Manikandan
The changes in this series adds all the required support for display driver for SC7280 target. In addition to the basic catalog changes, changes are added to accommodate new registers for SC7280 target. SC7280 target comes under next generation targets. The register differences in SC7280 when

Re: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs

2021-04-05 Thread Leon Romanovsky
On Tue, Apr 06, 2021 at 10:37:38AM +0800, Honggang LI wrote: > On Mon, Apr 05, 2021 at 08:23:54AM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > From Avihai, > > > > Relaxed Ordering is a PCIe mechanism that relaxes the strict ordering > > imposed on PCI transactions, and thus,

Re: [PATCH 2/2] fs/epoll: restore waking from ep_done_scan()

2021-04-05 Thread Andrew Morton
On Mon, 5 Apr 2021 20:22:26 -0700 Davidlohr Bueso wrote: > On Mon, 05 Apr 2021, Andrew Morton wrote: > > >Tricky. 339ddb53d373 was merged in December 2019. So do we backport > >this fix? Could any userspace code be depending upon the > >post-339ddb53d373 behavior? > > As with previous

Re: [PATCH linux-next v2 1/1] phy: Sparx5 Eth SerDes: Use direct register operations

2021-04-05 Thread Vinod Koul
On 29-03-21, 16:13, Steen Hegelund wrote: > Use direct register operations instead of a table of register > information to lower the stack usage. Applied, thanks -- ~Vinod

Re: [PATCH v2] phy: hisilicon: Use the correct HiSilicon copyright

2021-04-05 Thread Vinod Koul
On 01-04-21, 20:02, Hao Fang wrote: > s/Hisilicon/HiSilicon/g. > It should use capital S, according to the official website. Applied, thanks -- ~Vinod

Re: [PATCH -next] phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON

2021-04-05 Thread Vinod Koul
On 01-04-21, 14:00, Randy Dunlap wrote: > When USB and USB_COMMON are not enabled, phy-mvebu-cp110-utmi > suffers a build error due to a missing interface that is provided > by CONFIG_USB_COMMON, so make the driver depend on USB_COMMON. > > ld: drivers/phy/marvell/phy-mvebu-cp110-utmi.o: in

[PATCH] parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers

2021-04-05 Thread Gao Xiang
From: Gao Xiang commit b344d6a83d01 ("parisc: add support for cmpxchg on u8 pointers") can generate a sparse warningi ("cast truncates bits from constant value"), which has been reported several times [1] [2] [3]. The original code worked as expected, but anyway, let silence such sparse warning

[ACPI] 1a1c130ab7: BUG:kernel_NULL_pointer_dereference,address

2021-04-05 Thread kernel test robot
Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 1a1c130ab7575498eed5bcf7220037ae09cd1f8a ("ACPI: tables: x86: Reserve memory occupied by ACPI tables") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity version:

Re: [PATCH v2] soundwire: intel_init: test link->cdns

2021-04-05 Thread Vinod Koul
On 06-04-21, 09:01, Bard Liao wrote: > intel_link_probe() could return error and dev_get_drvdata() will return > null in such case. So we have to test link->cdns after > link->cdns = dev_get_drvdata(>auxdev.dev); > Otherwise, we will meet the "kernel NULL pointer dereference" error. Applied,

Re: [PATCH] soundwire: qcom: handle return correctly in qcom_swrm_transport_params

2021-04-05 Thread Vinod Koul
On 01-04-21, 10:15, Srinivas Kandagatla wrote: > Looks like return from reg_write is set but not checked. > Fix this by adding error return path. Applied, thanks -- ~Vinod

ERROR: modpost: "sba_list" [drivers/char/agp/parisc-agp.ko] undefined!

2021-04-05 Thread kernel test robot
Hi Helge, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0a50438c84363bd37fe18fe432888ae9a074dcab commit: 00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580 parisc: Enable -mlong-calls gcc option by default when

Re: [PATCH v2] soundwire: qcom: wait for fifo space to be available before read/write

2021-04-05 Thread Vinod Koul
On 01-04-21, 10:00, Srinivas Kandagatla wrote: > If we write registers very fast we can endup in a situation where some > of the writes will be dropped without any notice. > > So wait for the fifo space to be available before reading/writing the > soundwire registers. Applied, thanks -- ~Vinod

Re: [PATCH 00/11] treewide: address gcc-11 -Wstringop-overread warnings

2021-04-05 Thread Martin K. Petersen
On Mon, 22 Mar 2021 17:02:38 +0100, Arnd Bergmann wrote: > The coming gcc release introduces a new warning for string operations > reading beyond the end of a fixed-length object. After testing > randconfig kernels for a while, think I have patches for any such > warnings that came up on x86, arm

Re: [PATCH][next] scsi: mptlan: Replace one-element array with flexible-array member

2021-04-05 Thread Martin K. Petersen
On Wed, 24 Mar 2021 18:33:44 -0500, Gustavo A. R. Silva wrote: > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > style

Re: [PATCH] soundwire: qcom: cleanup internal port config indexing

2021-04-05 Thread Vinod Koul
On 01-04-21, 10:24, Srinivas Kandagatla wrote: > Internally used portconfig array for storing port bandwidth > params starts from offset zero. However port zero is not really > used and we also copy the bus parameters to offset zero. > So basically we endup with a code which has to subtract 1 from

Re: [PATCH] scsi: fcoe: fix mismatched fcoe_wwn_from_mac declaration

2021-04-05 Thread Martin K. Petersen
On Mon, 22 Mar 2021 17:46:59 +0100, Arnd Bergmann wrote: > An old cleanup changed the array size from MAX_ADDR_LEN to > unspecified in the declaration, but now gcc-11 warns about this: > > drivers/scsi/fcoe/fcoe_ctlr.c:1972:37: error: argument 1 of type ‘unsigned > char[32]’ with mismatched

Re: [PATCH 1/2] aic94xx: avoid -Wempty-body warning

2021-04-05 Thread Martin K. Petersen
On Mon, 22 Mar 2021 11:25:43 +0100, Arnd Bergmann wrote: > Building with 'make W=1' shows a harmless -Wempty-body warning: > > drivers/scsi/aic94xx/aic94xx_init.c: In function 'asd_free_queues': > drivers/scsi/aic94xx/aic94xx_init.c:858:62: error: suggest braces around > empty body in an 'if'

Re: [PATCH] mvsas: avoid -Wempty-body warning

2021-04-05 Thread Martin K. Petersen
On Mon, 22 Mar 2021 11:33:09 +0100, Arnd Bergmann wrote: > Building with 'make W=1' shows a few harmless -Wempty-body warning for > the mvsas driver: > > drivers/scsi/mvsas/mv_94xx.c: In function 'mvs_94xx_phy_reset': > drivers/scsi/mvsas/mv_94xx.c:278:63: error: suggest braces around empty body

Re: [PATCH][next] SCSI: fusion: mpi_ioc.h: Replace one-element array with flexible-array member

2021-04-05 Thread Martin K. Petersen
On Wed, 24 Mar 2021 18:00:36 -0500, Gustavo A. R. Silva wrote: > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > style

Re: [PATCH v7 06/11] scsi: ufshpb: Region inactivation in host mode

2021-04-05 Thread Can Guo
On 2021-03-31 15:39, Avri Altman wrote: In host mode, the host is expected to send HPB-WRITE-BUFFER with buffer-id = 0x1 when it inactivates a region. Use the map-requests pool as there is no point in assigning a designated cache for umap-requests. Signed-off-by: Avri Altman ---

Re: [PATCH -next] serial: 8250: Make symbol 'brcmuart_debugfs_root' static

2021-04-05 Thread Jiri Slaby
On 01. 04. 21, 9:49, Zucheng Zheng wrote: symbol 'brcmuart_debugfs_root' is not used outside of 8250_bcm7271.c, so this commit marks it static. Signed-off-by: Zucheng Zheng Reviewed-by: Jiri Slaby --- drivers/tty/serial/8250/8250_bcm7271.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] tty: use printk_safe context at tty_msg()

2021-04-05 Thread Jiri Slaby
On 03. 04. 21, 6:14, Tetsuo Handa wrote: syzbot is reporting circular locking dependency due to calling printk() with port lock held [1]. When this problem was reported, we worried whether printk_safe context will remain available in future kernels [2], and then this problem was forgotten. But

[PATCH -next v2 1/2] mm/debug_vm_pgtable: Move {pmd/pud}_huge_tests out of CONFIG_TRANSPARENT_HUGEPAGE

2021-04-05 Thread Shixin Liu
v1->v2: Modified the commit message. The functions {pmd/pud}_set_huge and {pmd/pud}_clear_huge ars not dependent on THP. Signed-off-by: Shixin Liu --- mm/debug_vm_pgtable.c | 91 +++ 1 file changed, 39 insertions(+), 52 deletions(-) diff --git

[PATCH -next v2 2/2] mm/debug_vm_pgtable: Remove redundant pfn_{pmd/pte}() and fix one comment mistake

2021-04-05 Thread Shixin Liu
v1->v2: Remove redundant pfn_pte() and fold two patch to one. Remove redundant pfn_{pmd/pte}() and fix one comment mistake. Signed-off-by: Shixin Liu --- mm/debug_vm_pgtable.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mm/debug_vm_pgtable.c

Re: [PATCH net-next v4 0/4] usbnet: speed reporting for devices without MDIO

2021-04-05 Thread Grant Grundler
On Tue, Apr 6, 2021 at 12:09 AM Andrew Lunn wrote: > > On Mon, Apr 05, 2021 at 04:13:40PM -0700, Grant Grundler wrote: > > This series introduces support for USB network devices that report > > speed as a part of their protocol, not emulating an MII to be accessed > > over MDIO. > > > > v2:

Re: [PATCH 04/10] tty: tty_jobctrl: Fix coding style issues of block comments

2021-04-05 Thread Jiri Slaby
On 05. 04. 21, 5:34, Xiaofei Tan wrote: Fix coding style issues of block comments, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/tty_jobctrl.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/tty/tty_jobctrl.c

RE: [PATCH 1/2] scsi: ufs: Introduce hba performance monitor sysfs nodes

2021-04-05 Thread Daejun Park
Hi Can Guo, > +static ssize_t monitor_enable_store(struct device *dev, > +struct device_attribute *attr, > +const char *buf, size_t count) > +{ > +struct ufs_hba *hba = dev_get_drvdata(dev); > +unsigned long

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

2021-04-05 Thread Lizhi Hou
Hi Tom, On 03/28/2021 08:30 AM, Tom Rix wrote: Do not reorder function definitions, this makes comparing changes from the previous patchset difficult. A general issue with returning consistent error codes. There are several cases where fdt_* code are not translated. Sure. Will fix. On

[PATCH] pcnet32: Use pci_resource_len to validate PCI resource

2021-04-05 Thread Guenter Roeck
pci_resource_start() is not a good indicator to determine if a PCI resource exists or not, since the resource may start at address 0. This is seen when trying to instantiate the driver in qemu for riscv32 or riscv64. pci :00:01.0: reg 0x10: [io 0x-0x001f] pci :00:01.0: reg 0x14: [mem

[PATCH v2] MIPS: add support for buggy MT7621S core detection

2021-04-05 Thread Ilya Lipnitskiy
Most MT7621 SoCs have 2 cores, which is detected and supported properly by CPS. Unfortunately, MT7621 SoC has a less common S variant with only one core. On MT7621S, GCR_CONFIG still reports 2 cores, which leads to hangs when starting SMP. CPULAUNCH registers can be used in that case to detect

arch/parisc/include/asm/cmpxchg.h:75:52: sparse: sparse: cast truncates bits from constant value (5f0ecafe becomes fe)

2021-04-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0a50438c84363bd37fe18fe432888ae9a074dcab commit: b344d6a83d01c52fddbefa6b3b4764da5b1022a0 parisc: add support for cmpxchg on u8 pointers date: 9 months ago config: parisc-randconfig-s031-20210406

[PATCH 4/4] x86/sched: Enable checks of the state of SMT siblings in load balancing

2021-04-05 Thread Ricardo Neri
ITMT relies on asymmetric packing of tasks to ensure CPUs are populated in priority order. When balancing load, the scheduler compares scheduling groups in pairs, and compares only the priority of the CPUs of highest priority in the group. This may result on CPUs with medium priority being

[PATCH 2/4] sched/fair: Introduce arch_sched_asym_prefer_early()

2021-04-05 Thread Ricardo Neri
Introduce arch_sched_asym_prefer_early() so that architectures with SMT can delay the decision to label a candidate busiest group as group_asym_packing. When using asymmetric packing, high priority idle CPUs pull tasks from scheduling groups with low priority CPUs. The decision on using

[PATCH 1/4] sched/fair: Optimize checking for group_asym_packing

2021-04-05 Thread Ricardo Neri
By checking local_group, we can avoid additional checks and invoking sched_asmy_prefer() when it is not needed. Cc: Aubrey Li Cc: Ben Segall Cc: Daniel Bristot de Oliveira Cc: Dietmar Eggemann Cc: Joel Fernandes (Google) Cc: Mel Gorman Cc: Quentin Perret Cc: Srinivas Pandruvada Cc: Steven

[PATCH 3/4] sched/fair: Consider SMT in ASYM_PACKING load balance

2021-04-05 Thread Ricardo Neri
When deciding to pull tasks in ASYM_PACKING, it is necessary not only to check for the idle state of the CPU doing the load balancing, but also of its SMT siblings. If the CPU doing the balancing is idle but its SMT siblings are not busy, performance suffers if it pulls tasks from a medium

[PATCH 0/4] sched/fair: Fix load balancing of SMT siblings with ASYM_PACKING

2021-04-05 Thread Ricardo Neri
=== Problem statement === On SMT-enabled hardware, ASYM_PACKING can cause the load balancer to choose low priority CPUs over medium priority CPUs. When balancing load in scheduling domains with the SD_ASYM_PACKING flag, idle CPUs of higher priority pull tasks from CPUs of lower priority. This

drivers/usb/isp1760/isp1760-udc.c:270:17: sparse: sparse: incorrect type in assignment (different base types)

2021-04-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0a50438c84363bd37fe18fe432888ae9a074dcab commit: 005b73d0dd83c9cb9420a196bea8070cde30ecac m68knommu: __force type casts for raw IO access date: 8 months ago config: m68k-randconfig-s032-20210406 (attached

Re: [PATCH 4.19 00/56] 4.19.185-rc1 review

2021-04-05 Thread Naresh Kamboju
On Mon, 5 Apr 2021 at 14:31, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.185 release. > There are 56 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH v7] USB: serial: cp210x: Add support for GPIOs on CP2108

2021-04-05 Thread Pho Tran
From: Pho Tran Similar to other CP210x devices, GPIO interfaces (gpiochip) should be supported for CP2108. CP2108 has 4 serial interfaces but only 1 set of GPIO pins are shared to all of those interfaces. So, just need to initialize GPIOs of CP2108 with only one interface (I use interface 0).

[PATCH] usb: gadget: aspeed: Remove unnecessary version.h includes

2021-04-05 Thread Jiapeng Chong
"make versioncheck" shows: ./drivers/usb/gadget/udc/aspeed-vhub/hub.c: 33 linux/version.h not needed. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/usb/gadget/udc/aspeed-vhub/hub.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/udc/aspeed-vhub/hub.c

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-04-05 Thread Guo Ren
On Wed, Mar 31, 2021 at 3:23 PM Arnd Bergmann wrote: > > On Wed, Mar 31, 2021 at 12:35 AM Stafford Horne wrote: > > > > I just want to chime in here, there may be a better spot in the thread to > > mention this but, for OpenRISC I did implement some generic 8/16-bit xchg > > code > > which I

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

2021-04-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en_main.c between commit: 3ff3874fa0b2 ("net/mlx5e: Guarantee room for XSK wakeup NOP on async ICOSQ") from the net tree and commits: c276aae8c19d ("net/mlx5: Move mlx5e hw

[PATCH] sunrpc: Remove unused function ip_map_lookup

2021-04-05 Thread Jiapeng Chong
Fix the following clang warnings: net/sunrpc/svcauth_unix.c:306:30: warning: unused function 'ip_map_lookup' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- net/sunrpc/svcauth_unix.c | 9 - 1 file changed, 9 deletions(-) diff --git

Re: [PATCH 5.4 00/74] 5.4.110-rc1 review

2021-04-05 Thread Naresh Kamboju
On Mon, 5 Apr 2021 at 14:33, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.110 release. > There are 74 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH -next v2] speakup: i18n: Switch to kmemdup_nul() in spk_msg_set()

2021-04-05 Thread Yang Yingliang
Use kmemdup_nul() helper instead of open-coding to simplify the code in spk_msg_set(). Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- V2: change the tile and commit log. --- drivers/accessibility/speakup/i18n.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH v2] qtnfmac: remove meaningless goto statement and labels

2021-04-05 Thread samirweng1979
From: wengjianfeng some function's label meaningless, the label statement follows the goto statement, no other statements, so just remove it. Reported-by: kernel test robot Signed-off-by: wengjianfeng --- drivers/net/wireless/quantenna/qtnfmac/commands.c | 67 --- 1 file

[PATCH RESEND] qtnfmac: remove meaningless labels

2021-04-05 Thread samirweng1979
From: wengjianfeng some function's label meaningless, the return statement follows the goto statement, so just remove it. Signed-off-by: wengjianfeng --- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 27 +-- 1 file changed, 6 insertions(+), 21 deletions(-) diff

Re: [PATCH] ext4: Fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed

2021-04-05 Thread Theodore Ts'o
On Thu, Mar 25, 2021 at 10:29:25AM +0800, Ye Bin wrote: > We got follow bug_on: > [130747.323114] kernel BUG at fs/ext4/extents_status.c:762! > [130747.323117] Internal error: Oops - BUG: 0 [#1] SMP > .. > [130747.334329] Call trace: > [130747.334553] ext4_es_cache_extent+0x150/0x168 [ext4] >

Re: [PATCH v4 01/16] perf/x86/intel: Add x86_pmu.pebs_vmx for Ice Lake Servers

2021-04-05 Thread Liuxiangdong (Aven, Cloud Infrastructure Service Product Dept.)
Hi,like. Some questions about this new pebs patches set: https://lore.kernel.org/kvm/20210329054137.120994-2-like...@linux.intel.com/ The new hardware facility supporting guest PEBS is only available on Intel Ice Lake Server platforms for now. AFAIK, Icelake supports adaptive PEBS and extended

Re: [PATCH] firmware: qcom-scm: Fix QCOM_SCM configuration

2021-04-05 Thread heying (H)
Hello, 在 2021/4/2 22:25, Greg KH 写道: On Wed, Mar 31, 2021 at 02:49:41AM -0400, He Ying wrote: When CONFIG_QCOM_SCM is y while CONFIG_HAVE_ARM_SMCCC is not set, compiling errors are encountered as follows: drivers/firmware/qcom_scm-smc.o: In function `__scm_smc_do_quirk':

Re: [PATCH 3/3] loop: Charge i/o to mem and blk cg

2021-04-05 Thread Ming Lei
On Sat, Apr 3, 2021 at 3:18 AM Dan Schatzberg wrote: > > The current code only associates with the existing blkcg when aio is > used to access the backing file. This patch covers all types of i/o to > the backing file and also associates the memcg so if the backing file is > on tmpfs, memory is

Re: [PATCH 2/2] fs/epoll: restore waking from ep_done_scan()

2021-04-05 Thread Davidlohr Bueso
On Mon, 05 Apr 2021, Andrew Morton wrote: Tricky. 339ddb53d373 was merged in December 2019. So do we backport this fix? Could any userspace code be depending upon the post-339ddb53d373 behavior? As with previous trouble caused by this commit, I vote for restoring the behavior backporting

[PATCH net-next] mt76: mt7921: remove unneeded semicolon

2021-04-05 Thread Qiheng Lin
Eliminate the following coccicheck warning: drivers/net/wireless/mediatek/mt76/mt7921/mac.c:1402:2-3: Unneeded semicolon Signed-off-by: Qiheng Lin --- drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v5 0/5] perf/x86: Some minor changes to support guest Arch LBR

2021-04-05 Thread Like Xu
Hi all, do we have any comments on this patch set? On 2021/3/26 9:19, Like Xu wrote: Hi Peter, Please help review these minor perf/x86 changes in this patch set, and we need some of them to support Guest Architectural LBR in KVM. This version keeps reserve_lbr_buffers() as is because the LBR

Re: [PATCH v4 00/11] KVM: x86/pmu: Guest Architectural LBR Enabling

2021-04-05 Thread Xu, Like
Hi all, do we have any comments on this patch set? On 2021/3/14 23:52, Like Xu wrote: Hi geniuses, Please help review the new version of Arch LBR enabling patch set. The Architectural Last Branch Records (LBRs) is publiced in the 319433-040 release of Intel Architecture Instruction Set

Re: [PATCH v4 00/16] KVM: x86/pmu: Add basic support to enable Guest PEBS via DS

2021-04-05 Thread Xu, Like
Hi all, do we have any comments on this patch set? On 2021/3/29 13:41, Like Xu wrote: The guest Precise Event Based Sampling (PEBS) feature can provide an architectural state of the instruction executed after the guest instruction that exactly caused the event. It needs new hardware facility

[PATCH net-next] netdevsim: remove unneeded semicolon

2021-04-05 Thread Qiheng Lin
Eliminate the following coccicheck warning: drivers/net/netdevsim/fib.c:569:2-3: Unneeded semicolon Signed-off-by: Qiheng Lin --- drivers/net/netdevsim/fib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/netdevsim/fib.c b/drivers/net/netdevsim/fib.c index

[syzbot] KASAN: use-after-free Write in sk_psock_stop

2021-04-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:f07669df libbpf: Remove redundant semi-colon git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1564f0e2d0 kernel config: https://syzkaller.appspot.com/x/.config?x=7eff0f22b8563a5f dashboard link:

[PATCH] ASoC: tegra: fix build warning

2021-04-05 Thread Bixuan Cui
The following function may have no callers, so they're marked __maybe_unused to avoid warning: sound/soc/tegra/tegra30_i2s.c:50:12: warning: ‘tegra30_i2s_runtime_resume’ defined but not used [-Wunused-function] static int tegra30_i2s_runtime_resume(struct device *dev)

Re: [PATCH v6 00/10] KVM: selftests: some improvement and a new test for kvm page table

2021-04-05 Thread wangyanan (Y)
Kindly ping... Hi Paolo, Will this series be picked up soon, or is there any other work for me to do? Regards, Yanan On 2021/3/30 16:08, Yanan Wang wrote: Hi, This v6 series can mainly include two parts. Rebased on kvm queue branch:

[PATCH net-next] net: ethernet: mtk_eth_soc: remove unneeded semicolon

2021-04-05 Thread Qiheng Lin
Eliminate the following coccicheck warning: drivers/net/ethernet/mediatek/mtk_ppe.c:270:2-3: Unneeded semicolon Signed-off-by: Qiheng Lin --- drivers/net/ethernet/mediatek/mtk_ppe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mediatek/mtk_ppe.c

Re: [PATCH 2/2] mm: khugepaged: check MMF_DISABLE_THP ahead of iterating over vmas

2021-04-05 Thread Xu, Yanfei
On 4/6/21 10:51 AM, Xu, Yanfei wrote: On 4/6/21 2:20 AM, Yang Shi wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On Sun, Apr 4, 2021 at 8:33 AM wrote: From: Yanfei Xu We could check MMF_DISABLE_THP ahead of iterating over all of vma. Otherwise if some mm_struct

[PATCH] pinctrl: rockchip: do coding style for mux route struct

2021-04-05 Thread Jianqun Xu
The mux route tables take many lines for each SoC, and it will be more instances for newly SoC, that makes the file size increase larger. This patch only do coding style for mux route struct, by adding a new definition and replace the structs by script which supplied by huang...@rock-chips.com

Re: [PATCH 2/2] mm: khugepaged: check MMF_DISABLE_THP ahead of iterating over vmas

2021-04-05 Thread Xu, Yanfei
On 4/6/21 2:20 AM, Yang Shi wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On Sun, Apr 4, 2021 at 8:33 AM wrote: From: Yanfei Xu We could check MMF_DISABLE_THP ahead of iterating over all of vma. Otherwise if some mm_struct contain a large number of vma, there will

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2021-04-05 Thread Yunsheng Lin
On 2021/4/6 9:49, Cong Wang wrote: > On Sat, Apr 3, 2021 at 5:23 AM Jiri Kosina wrote: >> >> I am still planning to have Yunsheng Lin's (CCing) fix [1] tested in the >> coming days. If it works, then we can consider proceeding with it, >> otherwise I am all for reverting the whole NOLOCK stuff.

[PATCH v3] ext4: Fix ext4_error_err save negative errno into superblock

2021-04-05 Thread Ye Bin
As write_mmp_block return 1 when buffer isn't uptodate, return -EIO is more appropriate. Fixes: 54d3adbc29f0 ("ext4: save all error info in save_error_info() and drop ext4_set_errno()") Reported-by: Liu Zhi Qiang Signed-off-by: Ye Bin Reviewed-by: Andreas Dilger --- fs/ext4/mmp.c | 2 +- 1

Re: [PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-04-05 Thread James Morris
On Tue, 6 Apr 2021, Jiele Zhao wrote: > Ping. Mimi Zohar is the maintainer for this code. > > On 2021/3/23 9:33, Jiele Zhao wrote: > > init_once is a callback to kmem_cache_create. The parameter > > type of this function is void *, so it's better to give a > > explicit cast here. > > > >

[PATCH v7] mm/gup: check page hwpoison status for memory recovery failures.

2021-04-05 Thread Aili Yao
When we call get_user_pages() to pin user page in memory, there may be hwpoison page, currently, we just handle the normal case that memory recovery jod is correctly finished, and we will not return the hwpoison page to callers, but for other cases like memory recovery fails and the user process

Re: [PATCH] jbd2: avoid -Wempty-body warnings

2021-04-05 Thread Theodore Ts'o
On Tue, Mar 30, 2021 at 05:15:33PM +0200, Jan Kara wrote: > On Mon 22-03-21 11:21:38, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Building with 'make W=1' shows a harmless -Wempty-body warning: > > > > fs/jbd2/recovery.c: In function 'fc_do_one_pass': > > fs/jbd2/recovery.c:267:75:

Re: [PATCH-next 2/5] lib/test_vmalloc.c: add a new 'nr_threads' parameter

2021-04-05 Thread Andrew Morton
On Sat, 3 Apr 2021 14:31:43 +0200 Uladzislau Rezki wrote: > > > > We may need to replaced that kcalloc() with kmvalloc() though... > > > Yep. If we limit to USHRT_MAX, the maximum amount of memory for > internal data would be ~12MB. Something like below: > > diff --git a/lib/test_vmalloc.c

Re: [PATCH v2 2/2] ext4: Optimize match for casefolded encrypted dirs

2021-04-05 Thread Theodore Ts'o
On Fri, Mar 19, 2021 at 07:34:14AM +, Daniel Rosenberg wrote: > Matching names with casefolded encrypting directories requires > decrypting entries to confirm case since we are case preserving. We can > avoid needing to decrypt if our hash values don't match. > > Signed-off-by: Daniel

Re: [PATCH v2 1/2] ext4: Handle casefolding with encryption

2021-04-05 Thread Theodore Ts'o
On Fri, Mar 19, 2021 at 07:34:13AM +, Daniel Rosenberg wrote: > This adds support for encryption with casefolding. > > Since the name on disk is case preserving, and also encrypted, we can no > longer just recompute the hash on the fly. Additionally, to avoid > leaking extra information from

Re: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs

2021-04-05 Thread Honggang LI
On Mon, Apr 05, 2021 at 08:23:54AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > From Avihai, > > Relaxed Ordering is a PCIe mechanism that relaxes the strict ordering > imposed on PCI transactions, and thus, can improve performance. > > Until now, relaxed ordering could be set

Re: [PATCH 4.9 00/35] 4.9.265-rc1 review

2021-04-05 Thread Guenter Roeck
On Mon, Apr 05, 2021 at 07:22:00PM -0700, Guenter Roeck wrote: > On Mon, Apr 05, 2021 at 04:51:55PM -0700, Guenter Roeck wrote: > > On Mon, Apr 05, 2021 at 10:56:29AM -0700, Guenter Roeck wrote: > > > On Mon, Apr 05, 2021 at 10:53:35AM +0200, Greg Kroah-Hartman wrote: > > > > This is the start of

[PATCH v2] ecc: delete a useless function declaration

2021-04-05 Thread Meng Yu
This function declaration has been added in 'ecc_curve.h', delete it in 'crypto/ecc.h'. Fixes: 4e6602916bc6(crypto: ecdsa - Add support for ECDSA ...) Signed-off-by: Meng Yu --- v1 -> v2: Modify the 'Fixes tag' from '14bb76768275' to '4e6602916bc6 '. --- crypto/ecc.h | 8 1 file

Re: [PATCH] csky: remove unused including

2021-04-05 Thread Guo Ren
Acked by On Tue, Apr 6, 2021 at 9:48 AM Yang Li wrote: > > Fix the following versioncheck warnings: > ./arch/csky/include/asm/io.h: 8 linux/version.h not needed. > ./arch/csky/include/asm/uaccess.h: 14 linux/version.h not needed. > ./arch/csky/kernel/process.c: 5 linux/version.h not needed. >

[PATCH 4/4] staging: rtl8712: add space before binary operator

2021-04-05 Thread Deborah Brouwer
Add a space before the binary operator "|" to comply with kernel coding style. Identified by checkpatch. Signed-off-by: Deborah Brouwer --- drivers/staging/rtl8712/rtl8712_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl8712_xmit.c

[PATCH 3/4] staging: rtl8712: remove space after cast

2021-04-05 Thread Deborah Brouwer
Remove the unnecessary space immediately after a cast. Identified by checkpatch: CHECK: No space is necessary after a cast. Signed-off-by: Deborah Brouwer --- drivers/staging/rtl8712/rtl8712_xmit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >