Re: [PATCH 1/2] cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP table

2020-11-09 Thread Viresh Kumar
On 09-11-20, 13:42, Marek Szyprowski wrote: > This patch landed in linux next-20201109 as commit e8f7703f8fe5 > ("cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP > table"). Sadly it causes regression on some Samsung Exynos based boards: > > 8&

Re: [PATCH 4/4] arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver

2020-11-09 Thread Sai Prakash Ranjan
Hi, On 2020-11-10 00:58, Konrad Dybcio wrote: From what I see from the docs, this is the only version used in MSM8998(silver cores are based on Cortex A53) and it maps to r0p4. @Konrad, can you include (rap4 => r0p4) in comment. Hi, Thanks for looking into it. Could you perhaps check if

Re: [PATCH v2] Input: Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE

2020-11-09 Thread Chris Ye
Thanks a lot Jiri! On 11/9/20 3:55 AM, Jiri Kosina wrote: On Sun, 1 Nov 2020, Chris Ye wrote: diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 74be76e848bf..cf55dca494f3 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -449,6 +449,10 @@ #define

Re: [PATCH 3/4] venus: venc: Handle reset encoder state

2020-11-09 Thread Fritz Koenig
On Thu, Nov 5, 2020 at 3:51 AM Stanimir Varbanov wrote: > > > > On 11/4/20 12:44 PM, vgaro...@codeaurora.org wrote: > > Hi Stan, > > > > On 2020-11-03 06:46, Fritz Koenig wrote: > >> On Fri, Oct 23, 2020 at 5:57 AM Stanimir Varbanov > >> wrote: > >>> > >>> Redesign the encoder driver to be

[tip:locking/urgent] BUILD SUCCESS 1e106aa3509b86738769775969822ffc1ec21bf4

2020-11-09 Thread kernel test robot
-20201110 x86_64 randconfig-a006-20201110 x86_64 randconfig-a001-20201110 i386 randconfig-a004-20201109 i386 randconfig-a006-20201109 i386 randconfig-a005-20201109 i386 randconfig-a001-20201109 i386

Re: [External] Re: [PATCH v3 05/21] mm/hugetlb: Introduce pgtable allocation/freeing helpers

2020-11-09 Thread Oscar Salvador
On Tue, Nov 10, 2020 at 11:49:27AM +0800, Muchun Song wrote: > On Tue, Nov 10, 2020 at 1:21 AM Oscar Salvador wrote: > > > > On Sun, Nov 08, 2020 at 10:10:57PM +0800, Muchun Song wrote: > > > +static inline unsigned int pgtable_pages_to_prealloc_per_hpage(struct > > > hstate *h) > > > +{ > > > +

Re: [PATCH v3] applesmc: Re-work SMC comms

2020-11-09 Thread Brad Campbell
On 10/11/20 3:55 pm, Guenter Roeck wrote: > On Tue, Nov 10, 2020 at 01:04:04PM +1100, Brad Campbell wrote: >> On 9/11/20 3:06 am, Guenter Roeck wrote: >>> On 11/8/20 2:14 AM, Henrik Rydberg wrote: On Sun, Nov 08, 2020 at 09:35:28AM +0100, Henrik Rydberg wrote: > Hi Brad, > > On

Re: [RFC] fs: Avoid to use lockdep information if it's turned off

2020-11-09 Thread Boqun Feng
On Mon, Nov 09, 2020 at 05:49:25PM -0800, Darrick J. Wong wrote: > On Tue, Nov 10, 2020 at 09:37:37AM +0800, Boqun Feng wrote: > > Filipe Manana reported a warning followed by task hanging after attempts > > to freeze a filesystem[1]. The problem happened in a LOCKDEP=y kernel, > > and

Re: [PATCH 1/2] MIPS: Ingenic: Add missing nodes for Ingenic SoCs and boards.

2020-11-09 Thread Zhou Yanjie
Hi Paul, On 2020/11/10 上午7:30, Paul Cercueil wrote: Hi Zhou, Le sam. 7 nov. 2020 à 19:52, 周琰杰 (Zhou Yanjie) a écrit : 1.Add OTG/OTG PHY/RNG nodes for JZ4780, CGU/OTG nodes for CI20. 2.Add OTG/OTG PHY/RNG/OST nodes for X1000, SSI/CGU/OST/OTG/SC16IS752   nodes for CU1000-Neo. 3.Add OTG/OTG

Re: [PATCH 1/2] MIPS: Ingenic: Add missing nodes for Ingenic SoCs and boards. [and discussion about jz4780 SMP/MMC/Ethernet]

2020-11-09 Thread Zhou Yanjie
On 2020/11/8 下午11:28, H. Nikolaus Schaller wrote: Am 08.11.2020 um 16:13 schrieb Zhou Yanjie : On 2020/11/8 下午10:35, H. Nikolaus Schaller wrote: Am 08.11.2020 um 13:46 schrieb Zhou Yanjie : Hello Nikolaus, On 2020/11/8 上午3:03, H. Nikolaus Schaller wrote: Am 07.11.2020 um 12:52 schrieb

[mm] [confidence: ] a4d63c3732: WARNING:suspicious_RCU_usage

2020-11-09 Thread kernel test robot
Greeting, FYI, we noticed the following commit (built with clang-12): commit: a4d63c3732f1a0c91abcf5b7f32b4ef7dcd82025 ("mm: do not rely on mm == current->mm in __get_user_pages_locked") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity version:

RE: [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-09 Thread Peng Fan
> Subject: Re: [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for > soc unique ID > > On Thu, Nov 05, 2020 at 03:26:26PM +0800, Alice Guo wrote: > > Add DT Binding doc for the Unique ID of i.MX 8M series. > > > > Signed-off-by: Alice Guo > > --- > >

Re: [PATCH v6 6/6] dt-bindings: spi: Add compatible for Intel LGM SoC

2020-11-09 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, On 9/11/2020 11:15 pm, Rob Herring wrote: On Sun, Nov 8, 2020 at 7:49 PM Ramuthevar, Vadivel MuruganX wrote: Hi Rob, On 5/11/2020 6:03 am, Rob Herring wrote: On Fri, Oct 30, 2020 at 01:31:53PM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add

Re: [External] Re: [PATCH v3 08/21] mm/vmemmap: Initialize page table lock for vmemmap

2020-11-09 Thread Muchun Song
On Tue, Nov 10, 2020 at 2:11 AM Oscar Salvador wrote: > > On Sun, Nov 08, 2020 at 10:11:00PM +0800, Muchun Song wrote: > > In the register_page_bootmem_memmap, the slab allocator is not ready > > yet. So when ALLOC_SPLIT_PTLOCKS, we use init_mm.page_table_lock. > > otherwise we use per page table

Re: [PATCH v4 06/17] PCI: add SIOV and IMS capability detection

2020-11-09 Thread Raj, Ashok
Hi Thomas, On Mon, Nov 09, 2020 at 11:42:29PM +0100, Thomas Gleixner wrote: > On Mon, Nov 09 2020 at 13:30, Jason Gunthorpe wrote: > > > > The relavance of PASID is this: > > > >> Again, trap emulate does not work for IMS when the IMS store is software > >> managed guest memory and not part of

Re: [PATCH v1 23/24] kvm: arm64: Trap host SMCs in protected mode.

2020-11-09 Thread kernel test robot
Hi David, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on dennis-percpu/for-next] [also build test WARNING on linus/master v5.10-rc3 next-20201109] [cannot apply to kvmarm/next arm64/for-next/core soc/for-next arm/for-next xlnx/master] [If your patch

Re: [PATCH RFC PKS/PMEM 05/58] kmap: Introduce k[un]map_thread

2020-11-09 Thread Ira Weiny
On Tue, Nov 10, 2020 at 02:13:56AM +0100, Thomas Gleixner wrote: > Ira, > > On Fri, Oct 09 2020 at 12:49, ira weiny wrote: > > From: Ira Weiny > > > > To correctly support the semantics of kmap() with Kernel protection keys > > (PKS), kmap() may be required to set the protections on multiple > >

Re: [PATCH][next] cpumask: allocate enough space for string and trailing '\0' char

2020-11-09 Thread Paul Gortmaker
On 2020-11-09 8:07 p.m., Qian Cai wrote: On Mon, 2020-11-09 at 13:04 +, Colin King wrote: From: Colin Ian King Currently the allocation of cpulist is based on the length of buf but does not include the addition end of string '\0' terminator. Static analysis is reporting this as a

Re: [PATCH v3] applesmc: Re-work SMC comms

2020-11-09 Thread Guenter Roeck
On Tue, Nov 10, 2020 at 01:04:04PM +1100, Brad Campbell wrote: > On 9/11/20 3:06 am, Guenter Roeck wrote: > > On 11/8/20 2:14 AM, Henrik Rydberg wrote: > >> On Sun, Nov 08, 2020 at 09:35:28AM +0100, Henrik Rydberg wrote: > >>> Hi Brad, > >>> > >>> On 2020-11-08 02:00, Brad Campbell wrote: >

Re: [PATCH v4] dmaengine: qcom: Add ADM driver

2020-11-09 Thread Vinod Koul
On 09-11-20, 19:04, Jonathan McDowell wrote: > On Mon, Nov 09, 2020 at 05:11:21PM +0530, Vinod Koul wrote: > > HI Jonathan, > > > > On 23-09-20, 20:40, Jonathan McDowell wrote: > > > Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA > > > controller found in the MSM8x60 and

Re: [PATCH v6 22/25] x86/asm: annotate indirect jumps

2020-11-09 Thread Sami Tolvanen
On Mon, Nov 9, 2020 at 6:29 PM Josh Poimboeuf wrote: > How would I recreate all these warnings? You can reproduce all of these using a normal gcc build without any of the LTO patches by running objtool check -arfld vmlinux.o. However, with gcc you'll see even more warnings due to duplicate

arch/sh/mm/cache-sh2.c:65:15: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 407ab579637ced6dc32cfb2295afb7259cca4b22 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 months ago config: sh-randconfig-s032-20201109

Re: [PATCH v3 1/2] security: add fault injection capability

2020-11-09 Thread Tetsuo Handa
On 2020/10/30 3:35, Aleksandr Nogikh wrote: > +#ifdef CONFIG_FAIL_LSM_HOOKS > + > +static struct { > + struct fault_attr attr; > + int retval; > +} fail_lsm_hooks = { > + .attr = FAULT_ATTR_INITIALIZER, > + .retval = -EACCES > +}; > + > +static int __init setup_fail_lsm_hooks(char

systemtap release 4.4

2020-11-09 Thread Frank Ch. Eigler
The SystemTap team announces release 4.4 Enhancements to this release include: significant performance and stability improvements to user-space probing, implicit thread-local storage variables can now be accessed on x86_64, ppc and s390, support for processing floating point values, significantly

RE: [PATCH v2 bpf] tools: bpftool: Add missing close before bpftool net attach exit

2020-11-09 Thread John Fastabend
Wang Hai wrote: > progfd is created by prog_parse_fd(), before 'bpftool net attach' exit, > it should be closed. > > Fixes: 04949ccc273e ("tools: bpftool: add net attach command to attach XDP on > interface") > Signed-off-by: Wang Hai > --- > v1->v2: use cleanup tag instead of repeated closes >

Re: [f2fs-dev] [PATCH] f2fs: compress: support chksum

2020-11-09 Thread Jaegeuk Kim
On 11/10, Chao Yu wrote: > On 2020/11/10 1:06, Jaegeuk Kim wrote: > > On 11/09, Chao Yu wrote: > > > On 2020/11/7 5:12, Jaegeuk Kim wrote: > > > > On 11/03, Chao Yu wrote: > > > > > On 2020/11/3 10:02, Chao Yu wrote: > > > > > > On 2020/11/3 0:31, Jaegeuk Kim wrote: > > > > > > > On 11/02, Chao Yu

Re: [PATCH v3 5/6] i2c: iproc: handle master read request

2020-11-09 Thread Rayagonda Kokatanur
Hi Ray, Could you please check Dhananjay comments and update your thoughts. On Fri, Nov 6, 2020 at 11:11 PM Dhananjay Phadke wrote: > > On Thu, 5 Nov 2020 15:13:04 +0530, Rayagonda Kokatanur wrote: > >> So the suggestion was to set HW threshold for rx fifo interrupt, not > >> really a SW

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2020-11-09 Thread Dongdong Tao
[Sorry again for the SPAM detection] Thank you the reply Coly! I agree that this patch is not a final solution for fixing the fragmentation issue, but more like a workaround to alleviate this problem. So, part of my intention is to look for how upstream would like to fix this issue. I've looked

Re: [PATCH v2 net-next] net: skb_vlan_untag(): don't reset transport offset if set by GRO layer

2020-11-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 09 Nov 2020 23:47:23 + you wrote: > Similar to commit fda55eca5a33f > ("net: introduce skb_transport_header_was_set()"), avoid resetting > transport offsets that were already set by GRO layer. This not only >

Re: [f2fs-dev] [PATCH] f2fs: avoid race condition for shinker count

2020-11-09 Thread Jaegeuk Kim
On 11/10, Chao Yu wrote: > On 2020/11/10 1:00, Jaegeuk Kim wrote: > > Light reported sometimes shinker gets nat_cnt < dirty_nat_cnt resulting in > > I didn't get the problem clearly, did you mean __count_nat_entries() will > give the wrong shrink count due to race condition? should there be a

Re: [PATCH 5.4 00/85] 5.4.76-rc1 review

2020-11-09 Thread Naresh Kamboju
On Mon, 9 Nov 2020 at 18:42, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.76 release. > There are 85 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. > >

arch/arm/kernel/swp_emulate.c:198:14: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 407ab579637ced6dc32cfb2295afb7259cca4b22 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 months ago config: arm-randconfig-s031-20201105

[PATCH 04/10] staging: rtl8723bs: clean up open ended lines

2020-11-09 Thread Ross Schmidt
Move declarations to fix coding style issues and clear checkpatch checks. CHECK: Lines should not end with a '(' Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/core/rtw_efuse.c| 44 +-- .../staging/rtl8723bs/core/rtw_ieee80211.c| 13 +-

[PATCH 10/10] staging: rtl8723bs: clean up leading space

2020-11-09 Thread Ross Schmidt
Convert spaces to tabs to fix coding style issues and clear checkpatch warnings. WARNING: please, no spaces at the start of a line Signed-off-by: Ross Schmidt --- .../staging/rtl8723bs/os_dep/ioctl_linux.c| 80 +-- .../staging/rtl8723bs/os_dep/osdep_service.c | 2 +- 2

[PATCH 07/10] staging: rtl8723bs: clean up trailing statements

2020-11-09 Thread Ross Schmidt
Move trailing statements to the next line to fix coding style issues and clear checkpatch errors. ERROR: trailing statements should be on next line Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 3 ++- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c| 9

[PATCH 06/10] staging: rtl8723bs: clean up switch case indentation

2020-11-09 Thread Ross Schmidt
Move cases to align with switch indentation to fix coding style issues and clear checkpatch errors. ERROR: switch and case should be at the same indent Signed-off-by: Ross Schmidt --- .../staging/rtl8723bs/os_dep/ioctl_linux.c| 219 +-

[PATCH 09/10] staging: rtl8723bs: clean up pointer locations

2020-11-09 Thread Ross Schmidt
Move pointer locations to fix coding style issues and clear checkpatch errors. ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/include/rtw_io.h| 2 +- drivers/staging/rtl8723bs/include/rtw_mlme.h | 14 +++---

[PATCH 01/10] staging: rtl8723bs: clean up line spacing

2020-11-09 Thread Ross Schmidt
Add or remove lines to fix coding style issues and clear checkpatch. WARNING: Missing a blank line after declarations CHECK: Please use a blank line after function/struct/union/enum declarations CHECK: Please don't use multiple blank lines Signed-off-by: Ross Schmidt ---

[PATCH 05/10] staging: rtl8723bs: clean up open braces

2020-11-09 Thread Ross Schmidt
Move braces to fix coding style issues and clear checkpatch errors. Some braces are removed for single statements. ERROR: open brace '{' following function definitions go on the next line ERROR: that open brace { should be on the previous line Signed-off-by: Ross Schmidt ---

[PATCH 08/10] staging: rtl8723bs: clean up logical continuations

2020-11-09 Thread Ross Schmidt
Move operators to fix coding style issues and clear checkpatch checks. CHECK: Logical continuations should be on the previous line Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 41 +++ drivers/staging/rtl8723bs/core/rtw_recv.c | 27

[PATCH 02/10] staging: rtl8723bs: clean up braces

2020-11-09 Thread Ross Schmidt
Add or remove braces or remove lines to fix coding style issues and clear checkpatch. WARNING: braces {} are not necessary for single statement blocks WARNING: braces {} are not necessary for any arm of this statement CHECK: Unbalanced braces around else statement CHECK: braces {} should be used

[PATCH 03/10] staging: rtl8723bs: clean up space before tabs

2020-11-09 Thread Ross Schmidt
Remove spaces before tabs to fix coding style issues and clear checkpatch warnings. WARNING: please, no space before tabs Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 16 +++ drivers/staging/rtl8723bs/core/rtw_recv.c | 42 +-

[PATCH 4/4] cpumask: add "last" alias for cpu list specifications

2020-11-09 Thread Paul Gortmaker
It seems that a common configuration is to use the 1st couple cores for housekeeping tasks, and or driving a busy peripheral that generates a lot of interrupts, or something similar. This tends to leave the remaining ones to form a pool of similarly configured cores to take on the real workload

[PATCH AUTOSEL 5.9 08/55] usb: raw-gadget: fix memory leak in gadget_setup

2020-11-09 Thread Sasha Levin
From: Zqiang [ Upstream commit 129aa9734559a17990ee933351c7b6956f1dba62 ] When fetch 'event' from event queue, after copy its address space content to user space, the 'event' the memory space pointed to by the 'event' pointer need be freed. BUG: memory leak unreferenced object

[PATCH AUTOSEL 5.9 04/55] ASoC: SOF: loader: handle all SOF_IPC_EXT types

2020-11-09 Thread Sasha Levin
From: Bard Liao [ Upstream commit 6e5329c6e6032cd997400b43b8299f607a61883e ] Do not emit a warning for extended firmware header fields that are not used by kernel. This creates unnecessary noise to kernel logs like: sof-audio-pci :00:1f.3: warning: unknown ext header type 3 size 0x1c

[PATCH AUTOSEL 5.9 12/55] ALSA: hda: Reinstate runtime_allow() for all hda controllers

2020-11-09 Thread Sasha Levin
From: Kai-Heng Feng [ Upstream commit 9fc149c3bce7bdbb94948a8e6bd025e3b3538603 ] The broken jack detection should be fixed by commit a6e7d0a4bdb0 ("ALSA: hda: fix jack detection with Realtek codecs when in D3"), let's try enabling runtime PM by default again. Signed-off-by: Kai-Heng Feng

[PATCH 2/4] cpumask: make "all" alias global and not just RCU

2020-11-09 Thread Paul Gortmaker
It is probably better that we don't have subsystem specific abbreviations or aliases for generic CPU list specifications. Hence we move the "all" from RCU out to lib/ so that it can be used in any instance where CPU lists are being parsed. Signed-off-by: Paul Gortmaker ---

[PATCH AUTOSEL 5.9 09/55] selftests/ftrace: check for do_sys_openat2 in user-memory test

2020-11-09 Thread Sasha Levin
From: Colin Ian King [ Upstream commit e3e40312567087fbe6880f316cb2b0e1f3d8a82c ] More recent libc implementations are now using openat/openat2 system calls so also add do_sys_openat2 to the tracing so that the test passes on these systems because do_sys_open may not be called. Thanks to

[PATCH v2 0/4] support for global CPU list abbreviations

2020-11-09 Thread Paul Gortmaker
RFC/v1 ---> v2: commit #1: leave one line stub behind for !SMP solving build failures. Reported by Randy Dunlap and various build bots. commit #4 manage to remember '\0' char in strlen from one line to the next. Reported by Colin King. Original description from v1/RFC below remains

[PATCH AUTOSEL 5.9 16/55] gfs2: check for live vs. read-only file system in gfs2_fitrim

2020-11-09 Thread Sasha Levin
From: Bob Peterson [ Upstream commit c5c68724696e7d2f8db58a5fce3673208d35c485 ] Before this patch, gfs2_fitrim was not properly checking for a "live" file system. If the file system had something to trim and the file system was read-only (or spectator) it would start the trim, but when it

[PATCH 1/4] cpumask: un-inline cpulist_parse for SMP; prepare for ascii helpers

2020-11-09 Thread Paul Gortmaker
In order to support convenience tokens like "all", and "none" and "last" in CPU lists, we'll have to use string operations and expand on what is currently a simple wrapper around the underlying bitmap function call. Rather than add header dependencies to cpumask.h and code more complex operations

[PATCH 3/4] cpumask: add a "none" alias to complement "all"

2020-11-09 Thread Paul Gortmaker
With global support for a CPU list alias of "all", it seems to just make sense to also trivially extend support for an opposite "none" specifier. Signed-off-by: Paul Gortmaker --- Documentation/admin-guide/kernel-parameters.rst | 6 ++ lib/cpumask.c | 5

[PATCH AUTOSEL 5.9 10/55] selftests: pidfd: fix compilation errors due to wait.h

2020-11-09 Thread Sasha Levin
From: Tommi Rantala [ Upstream commit 1948172fdba5ad643529ddcd00a601c0caa913ed ] Drop unneeded header inclusion to fix pidfd compilation errors seen in Fedora 32: In file included from pidfd_open_test.c:9: ../../../../usr/include/linux/wait.h:17:16: error: expected identifier before numeric

[PATCH AUTOSEL 5.9 22/55] mac80211: fix use of skb payload instead of header

2020-11-09 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 14f46c1e5108696ec1e5a129e838ecedf108c7bf ] When ieee80211_skb_resize() is called from ieee80211_build_hdr() the skb has no 802.11 header yet, in fact it consist only of the payload as the ethernet frame is removed. As such, we're using the payload data for

[PATCH AUTOSEL 5.9 24/55] mac80211: always wind down STA state

2020-11-09 Thread Sasha Levin
From: Johannes Berg [ Upstream commit dcd479e10a0510522a5d88b29b8f79ea3467d501 ] When (for example) an IBSS station is pre-moved to AUTHORIZED before it's inserted, and then the insertion fails, we don't clean up the fast RX/TX states that might already have been created, since we don't go

[PATCH AUTOSEL 5.9 20/55] drm/amd/pm: perform SMC reset on suspend/hibernation

2020-11-09 Thread Sasha Levin
From: Evan Quan [ Upstream commit 277b080f98803cb73a83fb234f0be83a10e63958 ] So that the succeeding resume can be performed based on a clean state. Signed-off-by: Evan Quan Tested-by: Sandeep Raghuraman Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.9 18/55] drm/amdgpu: perform srbm soft reset always on SDMA resume

2020-11-09 Thread Sasha Levin
From: Evan Quan [ Upstream commit 253475c455eb5f8da34faa1af92709e7bb414624 ] This can address the random SDMA hang after pci config reset seen on Hawaii. Signed-off-by: Evan Quan Tested-by: Sandeep Raghuraman Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin

[PATCH AUTOSEL 5.9 19/55] drm/amd/pm: correct the baco reset sequence for CI ASICs

2020-11-09 Thread Sasha Levin
From: Evan Quan [ Upstream commit c108725ef589af462be6b957f63c7925e38213eb ] Correct some registers bitmasks and add mmBIOS_SCRATCH_7 reset. Signed-off-by: Evan Quan Tested-by: Sandeep Raghuraman Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.9 15/55] gfs2: Add missing truncate_inode_pages_final for sd_aspace

2020-11-09 Thread Sasha Levin
From: Bob Peterson [ Upstream commit a9dd945ccef07a904e412f208f8de708a3d7159e ] Gfs2 creates an address space for its rgrps called sd_aspace, but it never called truncate_inode_pages_final on it. This confused vfs greatly which tried to reference the address space after gfs2 had freed the

[PATCH AUTOSEL 5.9 17/55] scsi: hpsa: Fix memory leak in hpsa_init_one()

2020-11-09 Thread Sasha Levin
From: Keita Suzuki [ Upstream commit af61bc1e33d2c0ec22612b46050f5b58ac56a962 ] When hpsa_scsi_add_host() fails, h->lastlogicals is leaked since it is missing a free() in the error handler. Fix this by adding free() when hpsa_scsi_add_host() fails. Link:

[PATCH 04/19] dt-bindings: dma: allwinner,sun50i-a64-dma: Add A100 compatible

2020-11-09 Thread Frank Lee
From: Yangtao Li Add a binding for A100's dma controller. Signed-off-by: Yangtao Li --- .../devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml| 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml

[PATCH 06/19] arm64: allwinner: a100: Add device node for DMA controller

2020-11-09 Thread Frank Lee
From: Yangtao Li The A100 SoC has a DMA controller that supports 8 DMA channels to and from various peripherals. Add a device node for it. Signed-off-by: Yangtao Li --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 08/19] phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg

2020-11-09 Thread Frank Lee
From: Yangtao Li For the current code, enable_pmu_unk1 only works in non-a83t and non-h6 types. So let's delete it from the sun50i_h6_cfg. Signed-off-by: Yangtao Li --- drivers/phy/allwinner/phy-sun4i-usb.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 07/19] arm64: dts: allwinner: A100: Add PMU mode

2020-11-09 Thread Frank Lee
From: Yangtao Li Add the Performance Monitoring Unit (PMU) device tree node to the A100 .dtsi, which tells DT users which interrupts are triggered by PMU overflow events on each core. Signed-off-by: Yangtao Li --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 15 --- 1 file

[PATCH 09/19] phy: allwinner: Convert to devm_platform_ioremap_* API

2020-11-09 Thread Frank Lee
From: Yangtao Li Use the devm_platform_ioremap_resource_byname() and devm_platform_ioremap_resource helper to simplify the code. Signed-off-by: Yangtao Li --- drivers/phy/allwinner/phy-sun4i-usb.c | 9 +++-- drivers/phy/allwinner/phy-sun50i-usb3.c | 4 +---

[PATCH 05/19] dmaengine: sun6i: Add support for A100 DMA

2020-11-09 Thread Frank Lee
From: Yangtao Li The dma of a100 is similar to h6, with some minor changes to support greater addressing capabilities. Add support for it. Signed-off-by: Yangtao Li --- drivers/dma/sun6i-dma.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH 03/19] pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler

2020-11-09 Thread Frank Lee
From: Yangtao Li It is found on many allwinner soc that there is a low probability that the interrupt status cannot be read in sunxi_pinctrl_irq_handler. This will cause the interrupt status of a gpio bank to always be active on gic, preventing gic from responding to other spi interrupts

[PATCH 02/19] pinctrl: sunxi: Mark the irq bank not found in sunxi_pinctrl_irq_handler() with WARN_ON

2020-11-09 Thread Frank Lee
From: Yangtao Li The interrupt descriptor cannot be found in the interrupt processing function, and this situation cannot happen when the system is running normally. It doesn't seem right to return directly to the status of not handling gic. In this case, it must be a bug, let's mark it with

[PATCH 00/19] Second step support for A100

2020-11-09 Thread Frank Lee
Hi, Let's add watchdog, arm-pmu, dma, usb, mmc. support for allwinner a100 soc. Yangtao Li (19): pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller pinctrl: sunxi: Mark the irq bank not found in sunxi_pinctrl_irq_handler() with WARN_ON pinctrl: sunxi: Always

[PATCH 01/19] pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller

2020-11-09 Thread Frank Lee
From: Yangtao Li A100's pin starts with PB, so it should start with 1. Fixes: 473436e7647d6 ("pinctrl: sunxi: add support for the Allwinner A100 pin controller") Signed-off-by: Yangtao Li --- drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH AUTOSEL 5.9 27/55] tracing: Fix the checking of stackidx in __ftrace_trace_stack

2020-11-09 Thread Sasha Levin
From: Qiujun Huang [ Upstream commit 906695e59324635c62b5ae59df51a546ca66 ] The array size is FTRACE_KSTACK_NESTING, so the index FTRACE_KSTACK_NESTING is illegal too. And fix two typos by the way. Link: https://lkml.kernel.org/r/20201031085714.2147-1-hqjag...@gmail.com Signed-off-by:

[PATCH AUTOSEL 5.9 36/55] nvme-tcp: avoid repeated request completion

2020-11-09 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 0a8a2c85b83589a5c10bc5564b796836bf4b4984 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out. It is not safe, so

[PATCH AUTOSEL 5.9 29/55] ARC: [plat-hsdk] Remap CCMs super early in asm boot trampoline

2020-11-09 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit 3b57533b460c8dc22a432684b7e8d22571f34d2e ] ARC HSDK platform stopped booting on released v5.10-rc1, getting stuck in startup of non master SMP cores. This was bisected to upstream commit 7fef431be9c9ac25 "(mm/page_alloc: place pages to tail in

[PATCH AUTOSEL 5.9 25/55] cfg80211: regulatory: Fix inconsistent format argument

2020-11-09 Thread Sasha Levin
From: Ye Bin [ Upstream commit db18d20d1cb0fde16d518fb5ccd38679f174bc04 ] Fix follow warning: [net/wireless/reg.c:3619]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. Reported-by: Hulk Robot Signed-off-by: Ye Bin Link:

[PATCH AUTOSEL 5.9 31/55] scsi: mpt3sas: Fix timeouts observed while reenabling IRQ

2020-11-09 Thread Sasha Levin
From: Sreekanth Reddy [ Upstream commit 5feed64f9199ff90c4239971733f23f30aeb2484 ] While reenabling the IRQ after irq poll there may be small time window where HBA firmware has posted some replies and raise the interrupts but driver has not received the interrupts. So we may observe I/O

[PATCH AUTOSEL 5.9 37/55] iommu/amd: Increase interrupt remapping table limit to 512 entries

2020-11-09 Thread Sasha Levin
From: Suravee Suthikulpanit [ Upstream commit 73db2fc595f358460ce32bcaa3be1f0cce4a2db1 ] Certain device drivers allocate IO queues on a per-cpu basis. On AMD EPYC platform, which can support up-to 256 cpu threads, this can exceed the current MAX_IRQ_PER_TABLE limit of 256, and result in the

[PATCH AUTOSEL 5.9 23/55] cfg80211: initialize wdev data earlier

2020-11-09 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 9bdaf3b91efd229dd272b228e13df10310c80d19 ] There's a race condition in the netdev registration in that NETDEV_REGISTER actually happens after the netdev is available, and so if we initialize things only there, we might get called with an uninitialized wdev

[PATCH AUTOSEL 5.9 35/55] nvme-rdma: avoid repeated request completion

2020-11-09 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 ] The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is not safe,

[PATCH AUTOSEL 5.9 34/55] nvme-tcp: avoid race between time out and tear down

2020-11-09 Thread Sasha Levin
From: Chao Leng [ Upstream commit d6f66210f4b1aa2f5944f0e34e0f8db44f499f92 ] Now use teardown_lock to serialize for time out and tear down. This may cause abnormal: first cancel all request in tear down, then time out may complete the request again, but the request may already be freed or

[PATCH AUTOSEL 5.9 45/55] iomap: clean up writeback state logic on writepage error

2020-11-09 Thread Sasha Levin
From: Brian Foster [ Upstream commit 50e7d6c7a5210063b9a6f0d8799d9d1440907fcf ] The iomap writepage error handling logic is a mash of old and slightly broken XFS writepage logic. When keepwrite writeback state tracking was introduced in XFS in commit 0d085a529b42 ("xfs: ensure WB_SYNC_ALL

Re: [PATCH v2 net-next] net: skb_vlan_untag(): don't reset transport offset if set by GRO layer

2020-11-09 Thread Jakub Kicinski
On Mon, 09 Nov 2020 23:47:23 + Alexander Lobakin wrote: > Similar to commit fda55eca5a33f > ("net: introduce skb_transport_header_was_set()"), avoid resetting > transport offsets that were already set by GRO layer. This not only > mirrors the behavior of __netif_receive_skb_core(), but also

[PATCH AUTOSEL 5.9 30/55] scsi: scsi_dh_alua: Avoid crash during alua_bus_detach()

2020-11-09 Thread Sasha Levin
From: Hannes Reinecke [ Upstream commit 5faf50e9e9fdc2117c61ff7e20da49cd6a29e0ca ] alua_bus_detach() might be running concurrently with alua_rtpg_work(), so we might trip over h->sdev == NULL and call BUG_ON(). The correct way of handling it is to not set h->sdev to NULL in alua_bus_detach(),

[PATCH AUTOSEL 5.9 46/55] selftests: proc: fix warning: _GNU_SOURCE redefined

2020-11-09 Thread Sasha Levin
From: Tommi Rantala [ Upstream commit f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43 ] Makefile already contains -D_GNU_SOURCE, so we can remove it from the *.c files. Signed-off-by: Tommi Rantala Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.9 33/55] nvme-rdma: avoid race between time out and tear down

2020-11-09 Thread Sasha Levin
From: Chao Leng [ Upstream commit 3017013dcc82a4862bd1e140f8b762cfc594008d ] Now use teardown_lock to serialize for time out and tear down. This may cause abnormal: first cancel all request in tear down, then time out may complete the request again, but the request may already be freed or

[PATCH AUTOSEL 5.9 38/55] s390/smp: move rcu_cpu_starting() earlier

2020-11-09 Thread Sasha Levin
From: Qian Cai [ Upstream commit de5d9dae150ca1c1b5c7676711a9ca139d1a8dec ] The call to rcu_cpu_starting() in smp_init_secondary() is not early enough in the CPU-hotplug onlining process, which results in lockdep splats as follows: WARNING: suspicious RCU usage -

[PATCH AUTOSEL 5.9 49/55] i2c: sh_mobile: implement atomic transfers

2020-11-09 Thread Sasha Levin
From: Ulrich Hecht [ Upstream commit a49cc1fe9d64a2dc4e19b599204f403e5d25f44b ] Implements atomic transfers to fix reboot/shutdown on r8a7790 Lager and similar boards. Signed-off-by: Ulrich Hecht Tested-by: Wolfram Sang Tested-by: Geert Uytterhoeven [wsa: some whitespace fixing]

[PATCH AUTOSEL 5.9 47/55] arm64: kexec_file: try more regions if loading segments fails

2020-11-09 Thread Sasha Levin
From: Benjamin Gwin [ Upstream commit 108aa503657ee2fe8aa071dc620d96372c252ecd ] It's possible that the first region picked for the new kernel will make it impossible to fit the other segments in the required 32GB window, especially if we have a very large initrd. Instead of giving up, we can

[PATCH AUTOSEL 5.9 43/55] amd/amdgpu: Disable VCN DPG mode for Picasso

2020-11-09 Thread Sasha Levin
From: Veerabadhran Gopalakrishnan [ Upstream commit c6d2b0fbb893d5c7dda405aa0e7bcbecf1c75f98 ] Concurrent operation of VCN and JPEG decoder in DPG mode is causing ring timeout due to power state. Signed-off-by: Veerabadhran Gopalakrishnan Reviewed-by: Leo Liu Signed-off-by: Alex Deucher

[PATCH AUTOSEL 5.4 11/42] gfs2: Add missing truncate_inode_pages_final for sd_aspace

2020-11-09 Thread Sasha Levin
From: Bob Peterson [ Upstream commit a9dd945ccef07a904e412f208f8de708a3d7159e ] Gfs2 creates an address space for its rgrps called sd_aspace, but it never called truncate_inode_pages_final on it. This confused vfs greatly which tried to reference the address space after gfs2 had freed the

[PATCH AUTOSEL 5.9 50/55] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once

2020-11-09 Thread Sasha Levin
From: Michael Wu [ Upstream commit 66b92313e2ca9208b5f3ebf5d86e9a818299d8fa ] If some bits were cleared by i2c_dw_read_clear_intrbits_slave() in i2c_dw_isr_slave() and not handled immediately, those cleared bits would not be shown again by later i2c_dw_read_clear_intrbits_slave(). They

[PATCH AUTOSEL 5.4 08/42] ALSA: hda: Separate runtime and system suspend

2020-11-09 Thread Sasha Levin
From: Kai-Heng Feng [ Upstream commit f5dac54d9d93826a776dffc848df76746f7135bb ] Both pm_runtime_force_suspend() and pm_runtime_force_resume() have some implicit checks, so it can make code flow more straightforward if we separate runtime and system suspend callbacks. High Definition Audio

[PATCH AUTOSEL 5.9 52/55] tpm_tis: Disable interrupts on ThinkPad T490s

2020-11-09 Thread Sasha Levin
From: Jerry Snitselaar [ Upstream commit b154ce11ead925de6a94feb3b0317fafeefa0ebc ] There is a misconfiguration in the bios of the gpio pin used for the interrupt in the T490s. When interrupts are enabled in the tpm_tis driver code this results in an interrupt storm. This was initially reported

[PATCH AUTOSEL 5.9 51/55] i2c: designware: slave should do WRITE_REQUESTED before WRITE_RECEIVED

2020-11-09 Thread Sasha Levin
From: Michael Wu [ Upstream commit 3b5f7f10ff6e6b66f553e12cc50d9bb751ce60ad ] Sometimes we would get the following flow when doing an i2cset: 0x1 STATUS SLAVE_ACTIVITY=0x1 : RAW_INTR_STAT=0x514 : INTR_STAT=0x4 I2C_SLAVE_WRITE_RECEIVED 0x1 STATUS SLAVE_ACTIVITY=0x0 : RAW_INTR_STAT=0x714 :

[PATCH AUTOSEL 5.4 10/42] gfs2: Free rd_bits later in gfs2_clear_rgrpd to fix use-after-free

2020-11-09 Thread Sasha Levin
From: Bob Peterson [ Upstream commit d0f17d3883f1e3f085d38572c2ea8edbd5150172 ] Function gfs2_clear_rgrpd calls kfree(rgd->rd_bits) before calling return_all_reservations, but return_all_reservations still dereferences rgd->rd_bits in __rs_deltree. Fix that by moving the call to kfree below

[PATCH AUTOSEL 5.4 02/42] ASoC: cs42l51: manage mclk shutdown delay

2020-11-09 Thread Sasha Levin
From: Olivier Moysan [ Upstream commit 20afe581c9b980848ad097c4d54dde9bec7593ef ] A delay must be introduced before the shutdown down of the mclk, as stated in CS42L51 datasheet. Otherwise the codec may produce some noise after the end of DAPM power down sequence. The delay between DAC and

[PATCH AUTOSEL 5.9 44/55] kprobes: Tell lockdep about kprobe nesting

2020-11-09 Thread Sasha Levin
From: "Steven Rostedt (VMware)" [ Upstream commit 645f224e7ba2f4200bf163153d384ceb0de5462e ] Since the kprobe handlers have protection that prohibits other handlers from executing in other contexts (like if an NMI comes in while processing a kprobe, and executes the same kprobe, it will get

[PATCH AUTOSEL 5.4 05/42] usb: gadget: goku_udc: fix potential crashes in probe

2020-11-09 Thread Sasha Levin
From: Evgeny Novikov [ Upstream commit 0d66e04875c5aae876cf3d4f4be7978fa2b00523 ] goku_probe() goes to error label "err" and invokes goku_remove() in case of failures of pci_enable_device(), pci_resource_start() and ioremap(). goku_remove() gets a device from pci_get_drvdata(pdev) and works

[PATCH AUTOSEL 5.4 06/42] selftests/ftrace: check for do_sys_openat2 in user-memory test

2020-11-09 Thread Sasha Levin
From: Colin Ian King [ Upstream commit e3e40312567087fbe6880f316cb2b0e1f3d8a82c ] More recent libc implementations are now using openat/openat2 system calls so also add do_sys_openat2 to the tracing so that the test passes on these systems because do_sys_open may not be called. Thanks to

[PATCH AUTOSEL 5.4 14/42] drm/amdgpu: perform srbm soft reset always on SDMA resume

2020-11-09 Thread Sasha Levin
From: Evan Quan [ Upstream commit 253475c455eb5f8da34faa1af92709e7bb414624 ] This can address the random SDMA hang after pci config reset seen on Hawaii. Signed-off-by: Evan Quan Tested-by: Sandeep Raghuraman Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin

[PATCH AUTOSEL 5.4 07/42] selftests: pidfd: fix compilation errors due to wait.h

2020-11-09 Thread Sasha Levin
From: Tommi Rantala [ Upstream commit 1948172fdba5ad643529ddcd00a601c0caa913ed ] Drop unneeded header inclusion to fix pidfd compilation errors seen in Fedora 32: In file included from pidfd_open_test.c:9: ../../../../usr/include/linux/wait.h:17:16: error: expected identifier before numeric

<    1   2   3   4   5   6   7   8   9   10   >