Re: [PATCH v5 14/20] dt-bindings: bus: rsb: Add H616 compatible string

2021-02-01 Thread Chen-Yu Tsai
On Thu, Jan 28, 2021 at 1:26 AM Andre Przywara wrote: > > Add the obvious compatible name to the existing RSB binding, and pair > it with the existing A23 fallback compatible string, as the devices are > compatible. > > Signed-off-by: Andre Przywara Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v5 04/20] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

2021-02-01 Thread Chen-Yu Tsai
Hi, On Thu, Jan 28, 2021 at 1:26 AM Andre Przywara wrote: > > The AXP305 PMIC used in AXP805 seems to be fully compatible to the ^ This statement doesn't quite make sense. I assume you wanted to mention a board or the H616 SoC here? > AXP805 PMIC, so add the proper

Re: [PATCH v1 0/2] Make fw_devlink=on more forgiving

2021-02-01 Thread Geert Uytterhoeven
Hi Saravana, On Tue, Feb 2, 2021 at 4:01 AM Saravana Kannan wrote: > On Mon, Feb 1, 2021 at 2:40 AM Geert Uytterhoeven > wrote: > > On Sat, Jan 30, 2021 at 5:09 AM Saravana Kannan > > wrote: > > > On Fri, Jan 29, 2021 at 8:03 PM Saravana Kannan > > > wrote: > > > > This patch series solves

Re: [PATCH v2] x86/vmemmap: Handle unpopulated sub-pmd ranges

2021-02-01 Thread Oscar Salvador
On Fri, Jan 29, 2021 at 01:46:33PM +0100, David Hildenbrand wrote: > > static void __meminit free_pagetable(struct page *page, int order) > > { > > @@ -1008,10 +1073,10 @@ remove_pte_table(pte_t *pte_start, unsigned long > > addr, unsigned long end, > > * with 0xFD, and

Re: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor

2021-02-01 Thread Dan Carpenter
Sasha, do your stable patch picker scripts look at syzbot fix commands to select patches to back port? In this case a bug was fixed while adding a new feature. No one noticed the bug fix and there was no Fixes tag. On Sun, Jan 31, 2021 at 06:01:54PM +0800, Hillf Danton wrote: > On Thu, 28 Jan

RE: [PATCH v19 1/3] scsi: ufs: Introduce HPB feature

2021-02-01 Thread Avri Altman
Daejun, > static const struct attribute_group *ufshcd_driver_groups[] = { > _sysfs_unit_descriptor_group, > _sysfs_lun_attributes_group, > +#ifdef CONFIG_SCSI_UFS_HPB > + _sysfs_hpb_stat_group, > +#endif > NULL, > }; Aren’t you creating a hpb_stats entries for

KASAN: use-after-free Read in find_uprobe

2021-02-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fd821bf0 Add linux-next specific files for 20210201 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11261e08d0 kernel config: https://syzkaller.appspot.com/x/.config?x=80ac9f64e6e2c06 dashboard

[PATCH v2 1/1] mm: Optimizing hugepage zeroing in arm64

2021-02-01 Thread Prathu Baronia
In !HIGHMEM cases, specially in 64-bit architectures, we don't need temp mapping of pages. Hence, k(map|unmap)_atomic() acts as nothing more than multiple barrier() calls, for example for a 2MB hugepage in clear_huge_page() these are called 512 times i.e. to map and unmap each subpage that means

[PATCH v2 0/1] mm: Optimizing hugepage zeroing in arm64

2021-02-01 Thread Prathu Baronia
As discussed on the v1 thread I have used the recently introduced kmap_local_* APIs to avoid unnecessary preemption and pagefault disabling. I did not get further response on the previous thread so sending this again. Prathu Baronia (1): mm: Optimizing hugepage zeroing in arm64

Re: [PATCH v6] modules: introduce the MODULE_SCMVERSION config

2021-02-01 Thread Christoph Hellwig
Just to deposit my opposition again: I don't think this hack for your out of tree builds has any place in the kernel tree.

[PATCH v4 3/3] dma-buf: system_heap: Add deferred freeing to the system heap

2021-02-01 Thread John Stultz
Utilize the deferred free helper library in the system heap. This provides a nice performance bump and puts the system heap performance on par with ION. Cc: Daniel Vetter Cc: Sumit Semwal Cc: Liam Mark Cc: Chris Goldsworthy Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren

Re: [PATCH] coresight: Remove duplicate header files of coresight drivers

2021-02-01 Thread liuqi (BA)
On 2021/2/2 1:05, Mathieu Poirier wrote: Good day, On Mon, Feb 01, 2021 at 09:02:44PM +0800, Qi Liu wrote: Remove duplicate included header files, as coresight-priv.h is included in these coresight drivers. Signed-off-by: Qi Liu --- drivers/hwtracing/coresight/coresight-catu.c |

[PATCH v4 2/3] dma-buf: system_heap: Add pagepool support to system heap

2021-02-01 Thread John Stultz
Reuse/abuse the pagepool code from the network code to speed up allocation performance. This is similar to the ION pagepool usage, but tries to utilize generic code instead of a custom implementation. Cc: Daniel Vetter Cc: Sumit Semwal Cc: Liam Mark Cc: Chris Goldsworthy Cc: Laura Abbott

[PATCH v4 1/3] dma-buf: heaps: Add deferred-free-helper library code

2021-02-01 Thread John Stultz
This patch provides infrastructure for deferring buffer frees. This is a feature ION provided which when used with some form of a page pool, provides a nice performance boost in an allocation microbenchmark. The reason it helps is it allows the page-zeroing to be done out of the normal

Re: [f2fs-dev] [PATCH v2] f2fs: rename checkpoint=merge mount option to checkpoint_merge

2021-02-01 Thread Chao Yu
On 2021/2/2 13:18, Daeho Jeong wrote: From: Daeho Jeong As checkpoint=merge comes in, mount option setting related to checkpoint had been mixed up and it became hard to understand. So, I separated this option from "checkpoint=" and made another mount option "checkpoint_merge" for this.

Re: [PATCH net-next v2 0/4] bridge: mrp: Extend br_mrp_switchdev_*

2021-02-01 Thread Rasmus Villemoes
On 30/01/2021 04.01, Jakub Kicinski wrote: > On Wed, 27 Jan 2021 21:52:37 +0100 Horatiu Vultur wrote: >> This patch series extends MRP switchdev to allow the SW to have a better >> understanding if the HW can implement the MRP functionality or it needs >> to help the HW to run it. There are 3

Re: [PATCH net] net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add

2021-02-01 Thread Tobias Waldekranz
On Sun, Jan 31, 2021 at 09:13, DENG Qingfang wrote: > On Sun, Jan 31, 2021 at 8:39 AM Vladimir Oltean wrote: >> >> Tobias has a point in a way too, you should get used to adding the >> 'master static' flags to your bridge fdb commands, otherwise weird >> things like this could happen. The faulty

[PATCH 2/2] regulator: qcom-labibb: Use disable_irq_nosync from isr

2021-02-01 Thread Matti Vaittinen
Calling the disable_irq() from irq handler might be a bad idea as disable_irq() should wait for handlers to run. I don't see why this wouldn't deadlock in wait_event waiting for the threaded handler to complete. Use disable_irq_nosync() instead. Fixes: 390af53e04114 ("regulator: qcom-labibb:

WARNING: refcount bug in uprobe_mmap

2021-02-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fd821bf0 Add linux-next specific files for 20210201 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17255354d0 kernel config: https://syzkaller.appspot.com/x/.config?x=80ac9f64e6e2c06 dashboard

Re: [PATCH] rtw88: 8821c: Add RFE 2 support

2021-02-01 Thread Kai-Heng Feng
On Tue, Feb 2, 2021 at 3:02 PM Larry Finger wrote: > > On 2/2/21 12:29 AM, Kalle Valo wrote: > > Kai-Heng Feng writes: > > > >> On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng > >> wrote: > >>> > >>> Hi Tony, > >>> > On Aug 5, 2020, at 19:18, Tony Chuang wrote: > > > 8821CE with RFE

[PATCH 1/2] regulator: qcom-labibb: avoid unbalanced IRQ enable

2021-02-01 Thread Matti Vaittinen
If a spurious OCP IRQ occurs the isr schedules delayed work but does not disable the IRQ. The delayed work assumes IRQ was disabled in handler and attempts enabling it again causing unbalanced enable. Fixes: 390af53e04114 ("regulator: qcom-labibb: Implement short-circuit and over-current IRQs")

[PATCH v2 1/2] dt-bindings: iommu: add bindings for sprd iommu

2021-02-01 Thread Chunyan Zhang
From: Chunyan Zhang This iommu module can be used by Unisoc's multimedia devices, such as display, Image codec(jpeg) and a few signal processors, including VSP(video), GSP(graphic), ISP(image), and CPP(camera pixel processor), etc. Signed-off-by: Chunyan Zhang ---

general protection fault in invalidate_bdev

2021-02-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d03154e8 Add linux-next specific files for 20210128 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1088091cd0 kernel config: https://syzkaller.appspot.com/x/.config?x=6953ffb584722a1 dashboard

[PATCH v2 2/2] iommu: add Unisoc iommu basic driver

2021-02-01 Thread Chunyan Zhang
From: Chunyan Zhang This iommu module can be used by Unisoc's multimedia devices, such as display, Image codec(jpeg) and a few signal processors, including VSP(video), GSP(graphic), ISP(image), and CPP(camera pixel processor), etc. Signed-off-by: Chunyan Zhang --- drivers/iommu/Kconfig |

[PATCH v2 0/2] Add Unisoc iommu basic driver

2021-02-01 Thread Chunyan Zhang
From: Chunyan Zhang Changes since v1: * Fixed compile errors reported by kernel test robot . * Changed to use syscon to get mapped registers for iommu and media devices to avoid double map issue. * Addressed Robin's comments: - Added including offset in the returned physical address if the

Re: [PATCH 0/6] usb: typec: and platform/chrome: Add PD revision numbers

2021-02-01 Thread Greg KH
On Mon, Feb 01, 2021 at 11:04:15PM -0800, Benson Leung wrote: > Hi Greg, > > On Mon, Feb 01, 2021 at 03:32:47PM +0100, Greg KH wrote: > > On Thu, Jan 28, 2021 at 10:14:00PM -0800, Benson Leung wrote: > > > USB Power Delivery has a 3 entity handshake (port, cable, partner), and as > > > of USB PD

Re: [PATCH] ocfs2: Simplify the calculation of variables

2021-02-01 Thread Joseph Qi
On 2/2/21 11:10 AM, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./fs/ocfs2/refcounttree.c:981:16-18: WARNING !A || A && B is equivalent > to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Reviewed-by: Joseph Qi > --- > fs/ocfs2/refcounttree.c |

Re: [PATCH v5] tracepoint: Do not fail unregistering a probe due to memory failure

2021-02-01 Thread Alexey Kardashevskiy
On 02/02/2021 04:10, Steven Rostedt wrote: On Mon, 1 Feb 2021 12:18:34 +1100 Alexey Kardashevskiy wrote: Just curious, does the following patch fix it for v5? Yes it does! Thanks for verifying. -- Steve diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c index

[PATCH kernel] tracepoint: Fix race between tracing and removing tracepoint

2021-02-01 Thread Alexey Kardashevskiy
When executing a tracepoint, the tracepoint's func is dereferenced twice - in __DO_TRACE() (where the returned pointer is checked) and later on in __traceiter_##_name where the returned pointer is dereferenced without checking which leads to races against tracepoint_removal_sync() and crashes.

RE: [PATCH v3 28/34] misc: Intel tsens IA host driver.

2021-02-01 Thread C, Udhayakumar
> On Fri, 2021-01-29 at 18:20 -0800, mgr...@linux.intel.com wrote: > > From: "C, Udhayakumar" > > > > Add Intel tsens IA host driver for Intel Edge.AI Computer Vision > > platforms. > [] > > diff --git a/drivers/misc/intel_tsens/intel_tsens_host.c > > b/drivers/misc/intel_tsens/intel_tsens_host.c

[PATCH v7 4/4] ARM: Add support for Hisilicon Kunpeng L3 cache controller

2021-02-01 Thread Zhen Lei
Add support for the Hisilicon Kunpeng L3 cache controller as used with Kunpeng506 and Kunpeng509 SoCs. These Hisilicon SoCs support LPAE, so the physical addresses is wider than 32-bits, but the actual bit width does not exceed 36 bits. When the cache operation is performed based on the address

[PATCH v7 3/4] dt-bindings: arm: hisilicon: Add binding for Kunpeng L3 cache controller

2021-02-01 Thread Zhen Lei
Add devicetree binding for Hisilicon Kunpeng L3 cache controller. Signed-off-by: Zhen Lei Reviewed-by: Arnd Bergmann --- .../arm/hisilicon/kunpeng-l3cache.yaml| 40 +++ 1 file changed, 40 insertions(+) create mode 100644

[PATCH v7 2/4] ARM: hisi: add support for Kunpeng50x SoC

2021-02-01 Thread Zhen Lei
Enable support for the Hisilicon Kunpeng506 and Kunpeng509 SoC. Signed-off-by: Zhen Lei Reviewed-by: Arnd Bergmann --- arch/arm/mach-hisi/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index

[PATCH v7 1/4] ARM: LPAE: Use phys_addr_t instead of unsigned long in outercache hooks

2021-02-01 Thread Zhen Lei
The outercache of some Hisilicon SOCs support physical addresses wider than 32-bits. The unsigned long datatype is not sufficient for mapping physical addresses >= 4GB. The commit ad6b9c9d78b9 ("ARM: 6671/1: LPAE: use phys_addr_t instead of unsigned long in outercache functions") has already

[PATCH v7 0/4] ARM: Add support for Hisilicon Kunpeng L3 cache controller

2021-02-01 Thread Zhen Lei
v6 --> v7: 1. Change all readl()/writel() to _relaxed(), add the corresponding description to the code. 2. Delete the unnecessary spinlock protection in l3cache_init(). v5 --> v6: 1. Use raw_spin_lock_irqsave() instead of spin_lock_irqsave() 2. Move the macros defined in cache-kunpeng-l3.h into

Re: [RFC 11/20] mm/tlb: remove arch-specific tlb_start/end_vma()

2021-02-01 Thread Nadav Amit
> On Feb 1, 2021, at 10:41 PM, Nicholas Piggin wrote: > > Excerpts from Peter Zijlstra's message of February 1, 2021 10:09 pm: >> I also don't think AGRESSIVE_FLUSH_BATCHING quite captures what it does. >> How about: >> >> CONFIG_MMU_GATHER_NO_PER_VMA_FLUSH > > Yes please, have to have

Re: [PATCH v13 03/15] iommu/arm-smmu-v3: Maintain a SID->device structure

2021-02-01 Thread Keqian Zhu
Hi Eric, On 2021/2/2 1:19, Auger Eric wrote: > Hi Keqian, > > On 2/1/21 1:26 PM, Keqian Zhu wrote: >> Hi Eric, >> >> On 2020/11/18 19:21, Eric Auger wrote: >>> From: Jean-Philippe Brucker >>> >>> When handling faults from the event or PRI queue, we need to find the >>> struct device associated

Re: [PATCH v13 05/15] iommu/smmuv3: Get prepared for nested stage support

2021-02-01 Thread Keqian Zhu
Hi Eric, On 2020/11/18 19:21, Eric Auger wrote: > When nested stage translation is setup, both s1_cfg and > s2_cfg are set. > > We introduce a new smmu domain abort field that will be set > upon guest stage1 configuration passing. > > arm_smmu_write_strtab_ent() is modified to write both stage

Re: [RFC 00/20] TLB batching consolidation and enhancements

2021-02-01 Thread Nicholas Piggin
Excerpts from Peter Zijlstra's message of February 1, 2021 10:44 pm: > On Sun, Jan 31, 2021 at 07:57:01AM +, Nadav Amit wrote: >> > On Jan 30, 2021, at 7:30 PM, Nicholas Piggin wrote: > >> > I'll go through the patches a bit more closely when they all come >> > through. Sparc and powerpc of

Re: [PATCH 6/8] lib: inline _find_next_bit() wrappers

2021-02-01 Thread Yury Norov
On Mon, Feb 1, 2021 at 5:47 AM Andy Shevchenko wrote: > > On Sat, Jan 30, 2021 at 11:17:17AM -0800, Yury Norov wrote: > > lib/find_bit.c declares five single-line wrappers for _find_next_bit(). > > We may turn those wrappers to inline functions. It eliminates unneeded > > function calls and opens

[PATCH] drm/kmb: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/gpu/drm/kmb/kmb_dsi.c:281:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:301:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:318:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:337:3-4: Unneeded semicolon

[PATCH 1/3] printk: use CONFIG_CONSOLE_LOGLEVEL_* directly

2021-02-01 Thread Masahiro Yamada
CONSOLE_LOGLEVEL_DEFAULT is nothing more than a shorthand of CONFIG_CONSOLE_LOGLEVEL_DEFAULT. When you change CONFIG_CONSOLE_LOGLEVEL_DEFAULT from Kconfig, almost all objects are rebuilt because CONFIG_CONSOLE_LOGLEVEL_DEFAULT is used in , which is included from most of source files. In fact,

Re: [PATCH 5/8] bitsperlong.h: introduce SMALL_CONST() macro

2021-02-01 Thread Yury Norov
On Mon, Feb 1, 2021 at 5:45 AM Andy Shevchenko wrote: > > On Sat, Jan 30, 2021 at 11:17:16AM -0800, Yury Norov wrote: > > Many algorithms become simpler if they are passed with relatively small > > input values. One example is bitmap operations when the whole bitmap fits > > into one word. To

[PATCH] xen/netback: avoid race in xenvif_rx_ring_slots_available()

2021-02-01 Thread Juergen Gross
Since commit 23025393dbeb3b8b3 ("xen/netback: use lateeoi irq binding") xenvif_rx_ring_slots_available() is no longer called only from the rx queue kernel thread, so it needs to access the rx queue with the associated queue held. Reported-by: Igor Druzhinin Fixes: 23025393dbeb3b8b3

Re: [PATCH] riscv: kasan: remove unneeded semicolon

2021-02-01 Thread Alex Ghiti
Hi Yang, Le 2/2/21 à 12:51 AM, Yang Li a écrit : Eliminate the following coccicheck warning: ./arch/riscv/mm/kasan_init.c:103:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/riscv/mm/kasan_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 1/2] vdpa/mlx5: Avoid unnecessary query virtqueue

2021-02-01 Thread Eli Cohen
On Tue, Feb 02, 2021 at 02:02:25PM +0800, Jason Wang wrote: > > On 2021/2/2 下午12:15, Si-Wei Liu wrote: > > On Mon, Feb 1, 2021 at 7:13 PM Jason Wang wrote: > > > > > > On 2021/2/2 上午3:17, Si-Wei Liu wrote: > > > > On Mon, Feb 1, 2021 at 10:51 AM Si-Wei Liu > > > > wrote: > > > > > On Thu, Jan

[PATCH] nvme: convert sysfs sprintf/snprintf family to sysfs_emit

2021-02-01 Thread Jiapeng Chong
Fix the following coccicheck warning: ./drivers/nvme/host/core.c:3580:8-16: WARNING: use scnprintf or sprintf. ./drivers/nvme/host/core.c:3570:8-16: WARNING: use scnprintf or sprintf. ./drivers/nvme/host/core.c:3560:8-16: WARNING: use scnprintf or sprintf. ./drivers/nvme/host/core.c:3526:8-16:

[PATCH 2/3] printk: hard-code CONSOLE_LOGLEVEL_MIN in printk.c

2021-02-01 Thread Masahiro Yamada
CONSOLE_LOGLEVEL_MIN is only used in kernel/printk/printk.c. You do not need to expose it to all printk() users. I could move it to kernel/printk/printk.c, but I do not think this macro would contribute to the code readability or maintainability. I just hard-coded it. Signed-off-by: Masahiro

[PATCH 3/3] printk: move CONSOLE_EXT_LOG_MAX to kernel/printk/printk.c

2021-02-01 Thread Masahiro Yamada
This macro is only used in kernel/printk/printk.c Signed-off-by: Masahiro Yamada --- include/linux/printk.h | 2 -- kernel/printk/printk.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/printk.h b/include/linux/printk.h index ceaf0486c01c..d2c9c2a6e471

Re: [next v2 PATCH] usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints

2021-02-01 Thread Greg Kroah-Hartman
On Tue, Feb 02, 2021 at 02:28:18PM +0800, Chunfeng Yun wrote: > For those unchecked endpoints, we don't allocate bandwidth for > them, so no need free the bandwidth, otherwise will decrease > the allocated bandwidth. > Meanwhile use xhci_dbg() instead of dev_dbg() to print logs and > rename

Re: [PATCH v2] scripts/clang-tools: switch explicitly to Python 3

2021-02-01 Thread Sedat Dilek
On Tue, Feb 2, 2021 at 7:06 AM Masahiro Yamada wrote: > > For the same reason as commit 51839e29cb59 ("scripts: switch explicitly > to Python 3"), switch some more scripts, which I tested and confirmed > working on Python 3. > > Signed-off-by: Masahiro Yamada > Acked-by: Nathan Chancellor > ---

Re: [PATCH 0/6] usb: typec: and platform/chrome: Add PD revision numbers

2021-02-01 Thread Benson Leung
Hi Greg, On Mon, Feb 01, 2021 at 03:32:47PM +0100, Greg KH wrote: > On Thu, Jan 28, 2021 at 10:14:00PM -0800, Benson Leung wrote: > > USB Power Delivery has a 3 entity handshake (port, cable, partner), and as > > of USB PD R3.0, each entity may independently support either Revision 2 or > >

Re: [PATCH 1/1] dma-buf: heaps: Map system heap pages as managed by linux vm

2021-02-01 Thread Christoph Hellwig
IMHO the BUG_ON(vma->vm_flags & VM_PFNMAP); in vm_insert_page should just become a WARN_ON_ONCE with an error return, and then we just need to gradually fix up the callers that trigger it instead of coming up with workarounds like this.

Re: [PATCH] rtw88: 8821c: Add RFE 2 support

2021-02-01 Thread Larry Finger
On 2/2/21 12:29 AM, Kalle Valo wrote: Kai-Heng Feng writes: On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng wrote: Hi Tony, On Aug 5, 2020, at 19:18, Tony Chuang wrote: 8821CE with RFE 2 isn't supported: [ 12.404834] rtw_8821ce :02:00.0: rfe 2 isn't supported [ 12.404937]

Re: [PATCH] PM / devfreq: remove unneeded semicolon

2021-02-01 Thread Chanwoo Choi
On 2/2/21 3:55 PM, Yang Li wrote: > Eliminate the following coccicheck warning: > ./drivers/devfreq/rk3399_dmc.c:403:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/devfreq/rk3399_dmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

[PATCH] bus: ti-sysc: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/bus/ti-sysc.c:1595:2-3: Unneeded semicolon ./drivers/bus/ti-sysc.c:2833:3-4: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/bus/ti-sysc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 7/8] lib: add fast path for find_next_*_bit()

2021-02-01 Thread Yury Norov
[ CC Alexey Klimov, andRasmus Villemoes as they also may be interested ] On Mon, Feb 1, 2021 at 8:22 AM Andy Shevchenko wrote: > On Mon, Feb 01, 2021 at 04:02:30PM +, David Laight wrote: > > From: Andy Shevchenko > > > Sent: 01 February 2021 13:49 > > > On Sat, Jan 30, 2021 at 11:17:18AM

Re: [PATCH 1/2] vdpa/mlx5: Avoid unnecessary query virtqueue

2021-02-01 Thread Eli Cohen
On Mon, Feb 01, 2021 at 08:15:29PM -0800, Si-Wei Liu wrote: > On Mon, Feb 1, 2021 at 7:13 PM Jason Wang wrote: > > > > > > On 2021/2/2 上午3:17, Si-Wei Liu wrote: > > > On Mon, Feb 1, 2021 at 10:51 AM Si-Wei Liu > > > wrote: > > >> On Thu, Jan 28, 2021 at 5:46 AM Eli Cohen wrote: > > >>>

Re: [PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-02-01 Thread Christophe Leroy
Le 02/02/2021 à 07:38, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of February 2, 2021 4:15 pm: Le 28/01/2021 à 00:50, Nicholas Piggin a écrit : Excerpts from David Laight's message of January 26, 2021 8:28 pm: From: Nicholas Piggin Sent: 26 January 2021 10:21

Re: [PATCH 1/2] vdpa/mlx5: Avoid unnecessary query virtqueue

2021-02-01 Thread Eli Cohen
On Tue, Feb 02, 2021 at 11:12:51AM +0800, Jason Wang wrote: > > On 2021/2/2 上午3:17, Si-Wei Liu wrote: > > On Mon, Feb 1, 2021 at 10:51 AM Si-Wei Liu wrote: > > > On Thu, Jan 28, 2021 at 5:46 AM Eli Cohen wrote: > > > > suspend_vq should only suspend the VQ on not save the current available > >

[PATCH] [RFC] mm: fs: Invalidate BH LRU during page migration

2021-02-01 Thread Chris Goldsworthy
Pages containing buffer_heads that are in the buffer_head LRU cache will be pinned and thus cannot be migrated. Correspondingly, invalidate the BH LRU before a migration starts and stop any buffer_head from being cached in the LRU, until migration has finished. Signed-off-by: Chris Goldsworthy

[RFC] Invalidate BH LRU during page migration

2021-02-01 Thread Chris Goldsworthy
A page containing buffer_heads can be pinned if any of its constituent buffer_heads belongs to the BH LRU cache [1]. After going through several iterations of a patch that attempts to solve this by removing BH entries inside of the drop_buffers() function, which in the worst-case could be called

[PATCH] PM / devfreq: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/devfreq/rk3399_dmc.c:403:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/devfreq/rk3399_dmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/rk3399_dmc.c

Re: [PATCH] scripts: switch some more scripts explicitly to Python 3

2021-02-01 Thread Sedat Dilek
On Tue, Feb 2, 2021 at 7:10 AM Masahiro Yamada wrote: > > On Tue, Feb 2, 2021 at 3:28 AM Nick Desaulniers > wrote: > > > > On Sun, Jan 31, 2021 at 5:08 PM Masahiro Yamada > > wrote: > > > > > > For the same reason as commit 51839e29cb59 ("scripts: switch explicitly > > > to Python 3"), switch

Re: linux-next: build failure after merge of the block tree

2021-02-01 Thread Christoph Hellwig
Both fixups look good to me, thanks.

Re: [RFC PATCH v4 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-02-01 Thread Jyoti Bhayana
Hi Jonathan, I wanted to clarify a few things before I upload the next version of the patch. Can you please help provide some more details regarding the following questions? 1) You mentioned that > perhaps we just need to do the maths in here rather than rely on core handling of

[PATCH] apei: erst: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/acpi/apei/erst.c:691:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/acpi/apei/erst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/apei/erst.c

[PATCH] dmaengine: qcom: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/dma/qcom/gpi.c:1703:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/dma/qcom/gpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index

KASAN: use-after-free Read in uprobe_munmap

2021-02-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:fd821bf0 Add linux-next specific files for 20210201 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1260a5bf50 kernel config: https://syzkaller.appspot.com/x/.config?x=80ac9f64e6e2c06 dashboard

Re: [PATCH v2] r8169: Add support for another RTL8168FP

2021-02-01 Thread Heiner Kallweit
On 02.02.2021 05:48, Kai-Heng Feng wrote: > According to the vendor driver, the new chip with XID 0x54b is > essentially the same as the one with XID 0x54a, but it doesn't need the > firmware. > > So add support accordingly. > > Signed-off-by: Kai-Heng Feng > --- > v2: > - Add phy support. >

Re: [PATCH v2] x86/fault: Send a SIGBUS to user process always for hwpoison page access.

2021-02-01 Thread Aili Yao
On Mon, 1 Feb 2021 08:58:27 -0800 Andy Lutomirski wrote: > On Mon, Feb 1, 2021 at 12:17 AM Aili Yao wrote: > > > > When one page is already hwpoisoned by AO action, process may not be > > killed, the process mapping this page may make a syscall include this > > page and result to trigger a

Re: [RFC PATCH v1 0/4] vfio: Add IOPF support for VFIO passthrough

2021-02-01 Thread Shenming Lu
On 2021/2/1 15:56, Tian, Kevin wrote: >> From: Alex Williamson >> Sent: Saturday, January 30, 2021 6:58 AM >> >> On Mon, 25 Jan 2021 17:03:58 +0800 >> Shenming Lu wrote: >> >>> Hi, >>> >>> The static pinning and mapping problem in VFIO and possible solutions >>> have been discussed a lot [1, 2].

[PATCH] drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable

2021-02-01 Thread quanyang . wang
From: Quanyang Wang When running xrandr to change resolution of DP, the kmemleak as below can be observed: unreferenced object 0x00080a351000 (size 256): comm "Xorg", pid 248, jiffies 4294899614 (age 19.960s) hex dump (first 32 bytes): 98 a0 bc 01 08 00 ff ff 01 00 00 00 00 00 00 00

Re: [RFC 11/20] mm/tlb: remove arch-specific tlb_start/end_vma()

2021-02-01 Thread Nicholas Piggin
Excerpts from Peter Zijlstra's message of February 1, 2021 10:09 pm: > On Sat, Jan 30, 2021 at 04:11:23PM -0800, Nadav Amit wrote: > >> diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h >> index 427bfcc6cdec..b97136b7010b 100644 >> --- a/include/asm-generic/tlb.h >> +++

Re: [PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-02-01 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 2, 2021 4:15 pm: > > > Le 28/01/2021 à 00:50, Nicholas Piggin a écrit : >> Excerpts from David Laight's message of January 26, 2021 8:28 pm: >>> From: Nicholas Piggin Sent: 26 January 2021 10:21 Excerpts from Christophe Leroy's

[PATCH] psci: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/firmware/psci/psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/psci/psci.c

Re: [PATCH v13 03/15] iommu/arm-smmu-v3: Maintain a SID->device structure

2021-02-01 Thread Keqian Zhu
Hi Jean, On 2021/2/1 23:15, Jean-Philippe Brucker wrote: > On Mon, Feb 01, 2021 at 08:26:41PM +0800, Keqian Zhu wrote: >>> +static int arm_smmu_insert_master(struct arm_smmu_device *smmu, >>> + struct arm_smmu_master *master) >>> +{ >>> + int i; >>> + int ret = 0;

Re: [PATCH v3 04/17] perf: x86/ds: Handle guest PEBS overflow PMI and inject it to guest

2021-02-01 Thread Xu, Like
On 2021/1/25 19:47, Peter Zijlstra wrote: On Mon, Jan 25, 2021 at 04:26:22PM +0800, Like Xu wrote: In the host and guest PEBS both enabled case, we'll get a crazy dmesg *bombing* about spurious PMI warning if we pass the host PEBS PMI "harmlessly" to the guest: [11261.502536] Uhhuh. NMI

Re: [PATCH] rtw88: 8821c: Add RFE 2 support

2021-02-01 Thread Kalle Valo
Kai-Heng Feng writes: > On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng > wrote: >> >> Hi Tony, >> >> > On Aug 5, 2020, at 19:18, Tony Chuang wrote: >> > >> >> 8821CE with RFE 2 isn't supported: >> >> [ 12.404834] rtw_8821ce :02:00.0: rfe 2 isn't supported >> >> [ 12.404937] rtw_8821ce

[next v2 PATCH] usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints

2021-02-01 Thread Chunfeng Yun
For those unchecked endpoints, we don't allocate bandwidth for them, so no need free the bandwidth, otherwise will decrease the allocated bandwidth. Meanwhile use xhci_dbg() instead of dev_dbg() to print logs and rename bw_ep_list_new as bw_ep_chk_list. Fixes: 1d69f9d901ef ("usb: xhci-mtk: fix

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-02-01 Thread Sai Prakash Ranjan
On 2021-02-01 23:50, Jordan Crouse wrote: On Mon, Feb 01, 2021 at 08:20:44AM -0800, Rob Clark wrote: On Mon, Feb 1, 2021 at 3:16 AM Will Deacon wrote: > > On Fri, Jan 29, 2021 at 03:12:59PM +0530, Sai Prakash Ranjan wrote: > > On 2021-01-29 14:35, Will Deacon wrote: > > > On Mon, Jan 11, 2021

[PATCH] ASoC: qcom: Fix typo error in HDMI regmap config callbacks

2021-02-01 Thread Srinivasa Rao Mandadapu
Had a typo in lpass platform driver that resulted in crash during suspend/resume with an HDMI dongle connected. The regmap read/write/volatile regesters validation callbacks in lpass-cpu were using MI2S rdma_channels count instead of hdmi_rdma_channels. This typo error causing to read registers

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-02-01 Thread Sai Prakash Ranjan
On 2021-02-01 23:50, Jordan Crouse wrote: On Mon, Feb 01, 2021 at 08:20:44AM -0800, Rob Clark wrote: On Mon, Feb 1, 2021 at 3:16 AM Will Deacon wrote: > > On Fri, Jan 29, 2021 at 03:12:59PM +0530, Sai Prakash Ranjan wrote: > > On 2021-01-29 14:35, Will Deacon wrote: > > > On Mon, Jan 11, 2021

Re: [PATCH net] net: lapb: Copy the skb before sending a packet

2021-02-01 Thread Xie He
On Mon, Feb 1, 2021 at 8:42 PM Jakub Kicinski wrote: > > On Mon, 1 Feb 2021 08:14:31 -0800 Xie He wrote: > > On Mon, Feb 1, 2021 at 6:10 AM Julian Wiedmann wrote: > > > This sounds a bit like you want skb_cow_head() ... ? > > > > Calling "skb_cow_head" before we call "skb_clone" would indeed

[PATCH] firmware: ti_sci: rm: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/firmware/ti_sci.c:1762:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c

Greetings

2021-02-01 Thread Salah Ibrahim
Dear Friend. I have a business proposal of $35 Million USD which i want to transact with you get back for more details.Best Regards From Salah Ibrahim

Re: mmotm 2021-02-01-19-29 uploaded (maybe CONFIG_SPARSEMEM?)

2021-02-01 Thread Randy Dunlap
On 2/1/21 7:32 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2021-02-01-19-29 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

Re: [PATCH v2 5/5] arm64: dts: qcom: Add Bluetooth support on RB5

2021-02-01 Thread Manivannan Sadhasivam
On Thu, Jan 28, 2021 at 01:15:22PM -0600, Rob Herring wrote: > On Thu, Jan 28, 2021 at 11:52 AM Dmitry Baryshkov > wrote: > > > > From: Manivannan Sadhasivam > > > > Add Bluetooth support on RB5 using the onboard QCA6391 WLAN+BT chipset. > > > > Signed-off-by: Manivannan Sadhasivam > > [DB:

Re: [PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-02-01 Thread Christophe Leroy
Le 28/01/2021 à 00:50, Nicholas Piggin a écrit : Excerpts from David Laight's message of January 26, 2021 8:28 pm: From: Nicholas Piggin Sent: 26 January 2021 10:21 Excerpts from Christophe Leroy's message of January 26, 2021 12:48 am: syscall_64.c will be reused almost as is for PPC32.

Re: [PATCH 1/4] perf/core: Add support to exclude kernel mode instruction tracing

2021-02-01 Thread Sai Prakash Ranjan
Hi Peter, On 2021-02-01 19:11, Peter Zijlstra wrote: On Mon, Feb 01, 2021 at 01:11:04PM +0530, Sai Prakash Ranjan wrote: Ok I suppose you mean CONFIG_SECURITY_LOCKDOWN_LSM? But I don't see how this new config has to depend on that? This can work independently whether complete lockdown is

Re: [PATCH] scripts: switch some more scripts explicitly to Python 3

2021-02-01 Thread Masahiro Yamada
On Tue, Feb 2, 2021 at 3:28 AM Nick Desaulniers wrote: > > On Sun, Jan 31, 2021 at 5:08 PM Masahiro Yamada wrote: > > > > For the same reason as commit 51839e29cb59 ("scripts: switch explicitly > > to Python 3"), switch some more scripts, which I tested and confirmed > > working on Python 3. > >

Re: [next PATCH] usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints

2021-02-01 Thread Chunfeng Yun
On Mon, 2021-02-01 at 17:20 +0800, Ikjoon Jang wrote: > HI Chunfeng, > > On Mon, Feb 1, 2021 at 1:58 PM Chunfeng Yun wrote: > > > > For those unchecked endpoints, we don't allocate bandwidth for > > them, so no need free the bandwidth, otherwise will decrease > > the allocated bandwidth. > >

Re: [PATCH v3 06/11] iio: core: merge buffer/ & scan_elements/ attributes

2021-02-01 Thread Dan Carpenter
Hi Alexandru, url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/iio-core-buffer-add-support-for-multiple-IIO-buffers-per-IIO-device/20210201-233550 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: arc-randconfig-m031-20210201 (attached

[PATCH v2] scripts/clang-tools: switch explicitly to Python 3

2021-02-01 Thread Masahiro Yamada
For the same reason as commit 51839e29cb59 ("scripts: switch explicitly to Python 3"), switch some more scripts, which I tested and confirmed working on Python 3. Signed-off-by: Masahiro Yamada Acked-by: Nathan Chancellor --- Changes in v2: - Drop the spdxcheck.py change. The same fix exists

[net-next v2 14/14] octeontx2-af: cn10k: MAC internal loopback support

2021-02-01 Thread Geetha sowjanya
From: Hariprasad Kelam MAC on CN10K silicon support loopback for selftest or debug purposes. This patch does necessary configuration to loopback packets upon receiving request from LMAC mapped RVU PF's netdev via mailbox. Also MAC (CGX) on OcteonTx2 silicon variants and MAC (RPM) on OcteonTx3

[net-next v2 13/14] octeontx2-af: cn10k: Add RPM Rx/Tx stats support

2021-02-01 Thread Geetha sowjanya
From: Hariprasad Kelam RPM supports below list of counters as an extension to existing counters * class based flow control pause frames * vlan/jabber/fragmented packets * fcs/alignment/oversized error packets This patch adds support to display supported RPM counters via debugfs and define

[net-next v2 12/14] octeontx2-af: cn10k: Add RPM LMAC pause frame support

2021-02-01 Thread Geetha sowjanya
From: Rakesh Babu Flow control configuration is different for CGX(Octeontx2) and RPM(CN10K) functional blocks. This patch adds the necessary changes for RPM to support 802.3 pause frames configuration on cn10k platforms. Signed-off-by: Rakesh Babu Signed-off-by: Geetha sowjanya Signed-off-by:

Re: [PATCH 1/2] vdpa/mlx5: Avoid unnecessary query virtqueue

2021-02-01 Thread Jason Wang
On 2021/2/2 下午12:15, Si-Wei Liu wrote: On Mon, Feb 1, 2021 at 7:13 PM Jason Wang wrote: On 2021/2/2 上午3:17, Si-Wei Liu wrote: On Mon, Feb 1, 2021 at 10:51 AM Si-Wei Liu wrote: On Thu, Jan 28, 2021 at 5:46 AM Eli Cohen wrote: suspend_vq should only suspend the VQ on not save the current

[net-next v2 11/14] octeontx2-pf: cn10k: Get max mtu supported from admin function

2021-02-01 Thread Geetha sowjanya
From: Hariprasad Kelam CN10K supports max MTU of 16K on LMAC links and 64k on LBK links and Octeontx2 silicon supports 9K mtu on both links. Get the same from nix_get_hw_info mbox message in netdev probe. This patch also calculates receive buffer size required based on the MTU set.

[net-next v2 10/14] octeontx2-af: cn10K: Add MTU configuration

2021-02-01 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx3 CN10K silicon supports bigger MTU when compared to 9216 MTU supported by OcteonTx2 silicon variants. Lookback interface supports upto 64K and RPM LMAC interfaces support upto 16K. This patch does the necessary configuration and adds support for PF/VF drivers to

  1   2   3   4   5   6   7   8   9   10   >