Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2020-12-09 Thread Robin Murphy
On 2020-12-09 11:12, Christoph Hellwig wrote: On Tue, Dec 08, 2020 at 01:54:00PM +0900, Tomasz Figa wrote: >From the media perspective, it would be good to have the vmap optional, similarly to the DMA_ATTR_NO_KERNEL_MAPPING attribute for coherent allocations. Actually, in the media drivers, the

[PATCH v3 3/8] net: macb: add function to disable all macb clocks

2020-12-09 Thread Claudiu Beznea
Add function to disable all macb clocks. Signed-off-by: Claudiu Beznea Suggested-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb_main.c | 38 ++-- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb_main.c b/driver

Re: Broken /usr/bin/env (invalid option)

2020-12-09 Thread Dominique Martinet
Krzysztof Kozlowski wrote on Wed, Dec 09, 2020: > Your commit ece075366294 ("ld-version: use /usr/bin/env awk for > shebank") breaks current linux-next on Ubuntu 16.04: > > $ make defconfig > > make[1]: Entering directory '/mnt/data2/linux/linux-upstream/out' > GEN Makefile >

Re: [PATCH 1/2] iov: introduce ITER_BVEC_FLAG_FIXED

2020-12-09 Thread Al Viro
On Wed, Dec 09, 2020 at 08:36:45AM +, Christoph Hellwig wrote: > > This is making the iter type even more of a mess than it already is. > I think we at least need placeholders for 0/1 here and an explicit > flags namespace, preferably after the types. > > Then again I'd much prefer if we didn

[PATCH v1 3/5] powerpc: Remove support for 40x

2020-12-09 Thread Christophe Leroy
From: Christophe Leroy Now that 40x platforms have gone, remove support for 40x in the core of powerpc arch. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 8 +- arch/powerpc/Kconfig.debug | 13 - arch/powerpc/Makefile

[PATCH v3 4/8] net: macb: unprepare clocks in case of failure

2020-12-09 Thread Claudiu Beznea
Unprepare clocks in case of any failure in fu540_c000_clk_init(). Fixes: c218ad559020 ("macb: Add support for SiFive FU540-C000") Signed-off-by: Claudiu Beznea --- drivers/net/ethernet/cadence/macb_main.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git

[PATCH v1 5/5] powerpc/platforms: Move files from 4xx to 44x

2020-12-09 Thread Christophe Leroy
From: Christophe Leroy Only 44x uses 4xx now, so only keep one directory. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/44x/Makefile | 9 +++- arch/powerpc/platforms/{4xx => 44x}/cpm.c | 0 arch/powerpc/platforms/{4xx => 44x}/gpio.c| 0 .../powerpc/platfor

[PATCH v3 5/8] dt-bindings: add documentation for sama7g5 ethernet interface

2020-12-09 Thread Claudiu Beznea
Add documentation for SAMA7G5 ethernet interface. Signed-off-by: Claudiu Beznea Reviewed-by: Andrew Lunn --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net

Re: [PATCH net v1] net: dsa: qca: ar9331: fix sleeping function called from invalid context bug

2020-12-09 Thread Oleksij Rempel
On Fri, Dec 04, 2020 at 04:00:35PM +0100, Marc Kleine-Budde wrote: > On 12/4/20 3:57 PM, Oleksij Rempel wrote: > [...] > > > > +static void ar9331_sw_irq_bus_sync_unlock(struct irq_data *d) > > { > > struct ar9331_sw_priv *priv = irq_data_get_irq_chip_data(d); > > struct regmap *regmap =

[PATCH 0/3] block: blk_interposer - Block Layer Interposer

2020-12-09 Thread Sergei Shtepa
Hi all. I try to suggest the Block Layer Interposer (blk_interposer) again. It`s allows to intercept bio requests, remap bio to another devices or add new bios. Initially, blk_interposer was designed to be compatible with device mapper. Our (my and Hannes) previous attempt to offer blk_interposer

Re: [RFC PATCH v7] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-09 Thread Vincent Guittot
On Wed, 9 Dec 2020 at 11:58, Li, Aubrey wrote: > > On 2020/12/9 16:15, Vincent Guittot wrote: > > Le mercredi 09 déc. 2020 à 14:24:04 (+0800), Aubrey Li a écrit : > >> Add idle cpumask to track idle cpus in sched domain. Every time > >> a CPU enters idle, the CPU is set in idle cpumask to be a wak

[PATCH v3 1/8] net: macb: add userio bits as platform configuration

2020-12-09 Thread Claudiu Beznea
This is necessary for SAMA7G5 as it uses different values for PHY interface and also introduces hdfctlen bit. Signed-off-by: Claudiu Beznea Reviewed-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb.h | 10 ++ drivers/net/ethernet/cadence/macb_main.c | 28 ++

[PATCH v3 6/8] dt-bindings: add documentation for sama7g5 gigabit ethernet interface

2020-12-09 Thread Claudiu Beznea
Add documentation for SAMA7G5 gigabit ethernet interface. Signed-off-by: Claudiu Beznea Reviewed-by: Andrew Lunn --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bind

[PATCH v1 4/5] powerpc/4xx: Remove CONFIG_4xx

2020-12-09 Thread Christophe Leroy
From: Christophe Leroy CONFIG_4xx was corresponding to CONFIG_40x | CONFIG_44x. As CONFIG_40x is gone, CONFIG_4xx and CONFIG_44x are now equivalent. And CONFIG_BOOKE is also set when CONFIG_44x is set. Replace (CONFIG_4xx | CONFIG_BOOKE) by CONFIG_BOOKE Replace other CONFIG_4xx by CONFIG_44x Re

[PATCH] remoteproc: stm32: don't print an error on probe deferral

2020-12-09 Thread Arnaud Pouliquen
From: Etienne Carriere Change stm32 remoteproc driver to not generate an error message when device probe operation is deferred for the reset controller. Signed-off-by: Etienne Carriere Signed-off-by: Arnaud Pouliquen --- drivers/remoteproc/stm32_rproc.c | 4 +++- 1 file changed, 3 insertions(

[RESEND v1 2/5] powerpc/boot: Remove all 40x platforms

2020-12-09 Thread Christophe Leroy
Remove 40x platforms from the boot directory. Signed-off-by: Christophe Leroy --- arch/powerpc/boot/4xx.c | 266 - arch/powerpc/boot/4xx.h | 4 - arch/powerpc/boot/Makefile | 11 - arch/powerpc/boot/cuboot-acadia.c | 171 --- arch/pow

[RESEND v1 1/5] powerpc/40x: Remove 40x platforms.

2020-12-09 Thread Christophe Leroy
40x platforms have been orphaned for many years. Remove them. Signed-off-by: Christophe Leroy --- Resend with correct Author --- MAINTAINERS | 1 - arch/powerpc/configs/40x/acadia_defconfig | 61 arch/powerpc/configs/40x/kilauea_defconfig | 6

[RESEND v1 4/5] powerpc/4xx: Remove CONFIG_4xx

2020-12-09 Thread Christophe Leroy
CONFIG_4xx was corresponding to CONFIG_40x | CONFIG_44x. As CONFIG_40x is gone, CONFIG_4xx and CONFIG_44x are now equivalent. And CONFIG_BOOKE is also set when CONFIG_44x is set. Replace (CONFIG_4xx | CONFIG_BOOKE) by CONFIG_BOOKE Replace other CONFIG_4xx by CONFIG_44x Remove CONFIG_4xx. Signed-

[RESEND v1 3/5] powerpc: Remove support for 40x

2020-12-09 Thread Christophe Leroy
Now that 40x platforms have gone, remove support for 40x in the core of powerpc arch. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 8 +- arch/powerpc/Kconfig.debug | 13 - arch/powerpc/Makefile| 1 - arch/powerp

[RESEND v1 5/5] powerpc/platforms: Move files from 4xx to 44x

2020-12-09 Thread Christophe Leroy
Only 44x uses 4xx now, so only keep one directory. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/44x/Makefile | 9 +++- arch/powerpc/platforms/{4xx => 44x}/cpm.c | 0 arch/powerpc/platforms/{4xx => 44x}/gpio.c| 0 .../powerpc/platforms/{4xx => 44x}/hsta_msi.

Re: [PATCH] fs/proc: Fix NULL pointer dereference in pid_delete_dentry

2020-12-09 Thread Al Viro
On Wed, Dec 09, 2020 at 07:21:00PM +0800, Yahu Gao wrote: > Get the staus of task from the pointer of proc inode directly is not > safe. The function get_proc_task make it happen in RCU protection. This is completely broken, get_proc_task() acquires a reference to task_struct; your patch is an in

[PATCH 0/9] KVM: arm64: Relocate absolute hyp VAs

2020-12-09 Thread David Brazdil
nVHE hyp code is linked into the same kernel binary but executes under different memory mappings. If the compiler of hyp code chooses absolute addressing for accessing a symbol, the kernel linker will relocate that address to a kernel image virtual address, causing a runtime exception. So far the

[PATCH 3/9] KVM: arm64: Set up .hyp.rodata ELF section

2020-12-09 Thread David Brazdil
We will need to recognize pointers in .rodata specific to hyp, so establish a .hyp.rodata ELF section. Merge it with the existing .hyp.data..ro_after_init as they are treated the same at runtime. Signed-off-by: David Brazdil --- arch/arm64/include/asm/sections.h | 2 +- arch/arm64/kernel/vmlinux

[PATCH 5/9] KVM: arm64: Generate hyp relocation data

2020-12-09 Thread David Brazdil
Add a post-processing step to compilation of KVM nVHE hyp code which calls a custom host tool (gen-hyprel) on the partially linked object file (hyp sections' names prefixed). The tool lists all R_AARCH64_ABS64 data relocations targeting hyp sections and generates an assembly file that will form a

[PATCH 4/9] KVM: arm64: Add symbol at the beginning of each hyp section

2020-12-09 Thread David Brazdil
Generating hyp relocations will require referencing positions at a given offset from the beginning of hyp sections. Since the final layout will not be determined until the linking of `vmlinux`, modify the hyp linker script to insert a symbol at the first byte of each hyp section to use as an anchor

Re: [PATCH 0/2] hv_balloon: hide ballooned out memory in stats

2020-12-09 Thread Wei Liu
On Wed, Dec 02, 2020 at 05:12:43PM +0100, Vitaly Kuznetsov wrote: > It was noticed that 'free' information on a Hyper-V guest reports ballooned > out memory in 'total' and this contradicts what other ballooning drivers > (e.g. virtio-balloon/virtio-mem/xen balloon) do. > > Vitaly Kuznetsov (2): >

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-09 Thread Ashish Kalra
On Wed, Dec 09, 2020 at 01:54:42PM +0100, Borislav Petkov wrote: > On Wed, Dec 09, 2020 at 12:29:07PM +, Ashish Kalra wrote: > > As i mentioned in the main comments above, this cannot be called in > > mem_encrypt_init() as that breaks reserve_crashkernel() which depends > > on SWIOTLB buffer si

[PATCH 2/9] KVM: arm64: Rename .idmap.text in hyp linker script

2020-12-09 Thread David Brazdil
So far hyp-init.S created a .hyp.idmap.text section directly, without relying on the hyp linker script to prefix its name. Change it to create .idmap.text and add a HYP_SECTION entry to hyp.lds.S. This way all .hyp* sections go through the linker script and can be instrumented there. Signed-off-by

[PATCH 1/9] KVM: arm64: Correctly align nVHE percpu data

2020-12-09 Thread David Brazdil
From: Jamie Iles The nVHE percpu data is partially linked but the nVHE linker script did not align the percpu section. The PERCPU_INPUT macro would then align the data to a page boundary: #define PERCPU_INPUT(cacheline) \ __per_cpu_start = .;

[PATCH 6/9] KVM: arm64: Apply hyp relocations at runtime

2020-12-09 Thread David Brazdil
KVM nVHE code runs under a different VA mapping than the kernel, hence so far it avoided using absolute addressing because the VA in a constant pool is relocated by the linker to a kernel VA (see hyp_symbol_addr). Now the kernel has access to a list of positions that contain a kimg VA but will be

[PATCH 9/9] KVM: arm64: Remove hyp_symbol_addr

2020-12-09 Thread David Brazdil
Hyp code used the hyp_symbol_addr helper to force PC-relative addressing because absolute addressing results in kernel VAs due to the way hyp code is linked. This is not true anymore, so remove the helper and update all of its users. Acked-by: Ard Biesheuvel Signed-off-by: David Brazdil --- arc

[PATCH 7/9] KVM: arm64: Fix constant-pool users in hyp

2020-12-09 Thread David Brazdil
Hyp code uses absolute addressing to obtain a kimg VA of a small number of kernel symbols. Since the kernel now converts constant pool addresses to hyp VAs, this trick does not work anymore. Change the helpers to convert from hyp VA back to kimg VA or PA, as needed and rework the callers according

[PATCH 8/9] KVM: arm64: Remove patching of fn pointers in hyp

2020-12-09 Thread David Brazdil
Storing a function pointer in hyp now generates relocation information used at early boot to convert the address to hyp VA. The existing alternative-based conversion mechanism is therefore obsolete. Remove it and simplify its users. Acked-by: Ard Biesheuvel Signed-off-by: David Brazdil --- arch

Aw: Re: [PATCH v3] pwm: bcm2835: Support apply function for atomic configuration

2020-12-09 Thread Lino Sanfilippo
Hi Uwe > Hello Lino, > > On Tue, Dec 08, 2020 at 11:01:45PM +0100, Lino Sanfilippo wrote: > > Use the newer .apply function of pwm_ops instead of .config, .enable, > > .disable and .set_polarity. This guarantees atomic changes of the pwm > > controller configuration. It also reduces the size of th

Re: [PATCH] net: dsa: sja1105: Remove an unprofessional word from the code comments

2020-12-09 Thread Vladimir Oltean
Hi Aswin, On Wed, Dec 09, 2020 at 11:54:20AM +, Aswin C wrote: > Hello. Thank you very much for the reply. > > Firstly, yes, it's my first contribution and apologies for making some > mistakes and I'd like to thank you for being kind and pointing it out. No problem. Nobody is born educated, i

Re: [PATCH bpf-next v3 2/4] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-09 Thread Florent Revest
On Tue, 2020-12-08 at 23:08 +0100, KP Singh wrote: > My understanding is you can simply always call sock_gen_cookie and > not have two protos. > > This will disable preemption in sleepable programs and not have any > effect in non-sleepable programs since preemption will already be > disabled. Su

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-09 Thread Marc Zyngier
On 2020-12-09 12:44, Catalin Marinas wrote: On Tue, Dec 08, 2020 at 06:21:12PM +, Marc Zyngier wrote: On 2020-12-08 17:21, Catalin Marinas wrote: > On Mon, Dec 07, 2020 at 07:03:13PM +, Marc Zyngier wrote: > > I wonder whether we will have to have something kernel side to > > dump/reload

Re: [GIT PULL]: Generic phy updates for v5.11

2020-12-09 Thread Greg KH
On Wed, Dec 09, 2020 at 06:26:57PM +0530, Vinod Koul wrote: > Hello Greg, > > Here is the pull request for phy susbsystem. All the changes are already > in linux-next, sorry for delayed request this time. > > The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: > > Linu

Re: [PATCH 2/3] mfd: bd9571mwv: Make the driver more generic

2020-12-09 Thread Geert Uytterhoeven
Hi Shimoda-san, On Tue, Dec 8, 2020 at 9:06 AM Yoshihiro Shimoda wrote: > From: Khiem Nguyen > > Since the driver supports BD9571MWV PMIC only, > this patch makes the functions and data structure become more generic > so that it can support other PMIC variants as well. > > Signed-off-by: Khiem N

[PATCH bpf-next v4 3/4] selftests/bpf: Integrate the socket_cookie test to test_progs

2020-12-09 Thread Florent Revest
Currently, the selftest for the BPF socket_cookie helpers is built and run independently from test_progs. It's easy to forget and hard to maintain. This patch moves the socket cookies test into prog_tests/ and vastly simplifies its logic by: - rewriting the loading code with BPF skeletons - rewrit

Re: [PATCH v2 05/12] x86: rework arch_local_irq_restore() to not use popf

2020-12-09 Thread Mark Rutland
On Sun, Nov 22, 2020 at 01:44:53PM -0800, Andy Lutomirski wrote: > On Sat, Nov 21, 2020 at 10:55 PM Jürgen Groß wrote: > > > > On 20.11.20 12:59, Peter Zijlstra wrote: > > > On Fri, Nov 20, 2020 at 12:46:23PM +0100, Juergen Gross wrote: > > >> +static __always_inline void arch_local_irq_restore(un

[PATCH bpf-next v4 2/4] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-09 Thread Florent Revest
This needs two new helpers, one that works in a sleepable context (using sock_gen_cookie which disables/enables preemption) and one that does not (for performance reasons). Both take a struct sock pointer and need to check it for NULLness. This helper could also be useful to other BPF program type

[PATCH bpf-next v4 4/4] selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie

2020-12-09 Thread Florent Revest
This builds up on the existing socket cookie test which checks whether the bpf_get_socket_cookie helpers provide the same value in cgroup/connect6 and sockops programs for a socket created by the userspace part of the test. Adding a tracing program to the existing objects requires a different atta

[PATCH bpf-next v4 1/4] bpf: Be less specific about socket cookies guarantees

2020-12-09 Thread Florent Revest
Since "92acdc58ab11 bpf, net: Rework cookie generator as per-cpu one" socket cookies are not guaranteed to be non-decreasing. The bpf_get_socket_cookie helper descriptions are currently specifying that cookies are non-decreasing but we don't want users to rely on that. Reported-by: Daniel Borkmann

Re: [GIT PULL]: Generic phy updates for v5.11

2020-12-09 Thread Greg KH
On Wed, Dec 09, 2020 at 06:26:57PM +0530, Vinod Koul wrote: > Hello Greg, > > Here is the pull request for phy susbsystem. All the changes are already > in linux-next, sorry for delayed request this time. > > The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: > > Linu

Re: [PATCH RFC 10/39] KVM: x86/xen: support upcall vector

2020-12-09 Thread Joao Martins
On 12/9/20 11:39 AM, David Woodhouse wrote: > On Wed, 2020-12-09 at 10:51 +, Joao Martins wrote: >> Isn't this what the first half of this patch was doing initially (minus the >> irq routing) ? Looks really similar: >> >> https://lore.kernel.org/kvm/20190220201609.28290-11-joao.m.mart...@oracle

Re: [patch V2 4/9] softirq: Make softirq control and processing RT aware

2020-12-09 Thread Thomas Gleixner
On Wed, Dec 09 2020 at 13:42, Peter Zijlstra wrote: > On Wed, Dec 09, 2020 at 01:36:54PM +0100, Thomas Gleixner wrote: >> On Wed, Dec 09 2020 at 11:11, Peter Zijlstra wrote: >> > On Fri, Dec 04, 2020 at 06:01:55PM +0100, Thomas Gleixner wrote: >> >> From: Thomas Gleixner >> >> + /* First entry of

Re: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-09 Thread Geert Uytterhoeven
Hi Shimoda-san, CC Matti (BD9573/6 driver for R-Car platforms) (I don't have the BD9574 datasheet, so I have to base my review on https://www.rohm.com/r-car-pmic) On Tue, Dec 8, 2020 at 9:06 AM Yoshihiro Shimoda wrote: > From: Khiem Nguyen > > The new PMIC BD9574MWF inherits features from BD9

Re: [PATCH 1/1] scsi: Fix possible buffer overflows in storvsc_queuecommand

2020-12-09 Thread Wei Liu
On Wed, Dec 09, 2020 at 09:25:23AM +0800, Xiaohui Zhang wrote: > > > > At 2020-12-09 01:52:42, "Michael Kelley" wrote: > >From: Xiaohui Zhang Sent: Tuesday, December 8, > >2020 5:19 AM > >> > >> From: Zhang Xiaohui > >> > >> storvsc_queuecommand() calls memcpy() without checking > >> the

[PATCH net-next] net: rxrpc: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- net/rxrpc/recvmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rxrpc/recvmsg.c b/net/rxrpc/recvmsg.c index 2c842851d72e..fef3573fdc8b 100644 --- a/net/rxrpc/recvmsg.c +++ b

[PATCH v3 2/2] soc: mediatek: pm-domains: Add support for mt8167

2020-12-09 Thread Fabien Parent
Add the needed board data to support mt8167 SoC. Signed-off-by: Fabien Parent Reviewed-by: Enric Balletbo i Serra --- This patch was made on top of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.10-next/soc v3: * s/MT8167_POWER_DOMAIN_DISP/MT8167_POWER

[PATCH net-next] net: micrel: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ethernet/micrel/ks8851_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/micrel/ks8851_common.c b/drivers/net/ethernet/micrel/ks8851_common.

[PATCH v3 1/2] dt-bindings: power: Add MT8167 power domains

2020-12-09 Thread Fabien Parent
Add power domains dt-bindings for MT8167. Signed-off-by: Fabien Parent Acked-by: Rob Herring --- This patch was made on top of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.10-next/soc v3: * Remove MT8167_POWER_DOMAIN_DISP since it was an alias for M

[PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/

[PATCH net-next] hisilicon/hns: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c b/drivers/net/eth

[PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethern

[PATCH 2/2] scsi: ufs: Clean up ufshcd_exit_clk_scaling/gating()

2020-12-09 Thread Can Guo
ufshcd_hba_exit() is always called after ufshcd_exit_clk_scaling() and ufshcd_exit_clk_gating(), so move ufshcd_exit_clk_scaling/gating() to ufshcd_hba_exit(). Signed-off-by: Can Guo diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 12266bd..41a12d6 100644 --- a/drivers/sc

[PATCH 1/2] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-09 Thread Can Guo
In contexts like suspend, shutdown and error handling, we need to suspend devfreq to make sure these contexts won't be disturbed by clock scaling. However, suspending devfreq is not enough since users can still trigger a clock scaling by manipulating the sysfs node clkscale_enable and devfreq sysfs

[PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ethernet/ti/davinci_mdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index 7

[PATCH net-next] net: freescale: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ethernet/freescale/fsl_pq_mdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c b/drivers/net/ethernet/freescale/fsl_pq_md

[PATCH net-next] net: usb: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/usb/cdc-phonet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/cdc-phonet.c b/drivers/net/usb/cdc-phonet.c index dba847f28096..02e6bbb17b15 100644 ---

Re: [PATCH] x86/apic: Fix CPU devicetree-node lookups

2020-12-09 Thread Johan Hovold
On Wed, Dec 09, 2020 at 03:19:26AM +0100, Thomas Gleixner wrote: > On Tue, Dec 08 2020 at 11:05, Johan Hovold wrote: > > > On Tue, Nov 24, 2020 at 02:42:47PM +0100, Johan Hovold wrote: > >> Fix CPU devicetree-node lookups by implementing > >> arch_match_cpu_phys_id(). > >> > >> This allows using

[PATCH net-next] net: thunderbolt: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/thunderbolt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/thunderbolt.c b/drivers/net/thunderbolt.c index 3160443ef3b9..ae83d66195a5 100644 --- a/drivers

[PATCH net-next] net: mv88e6xxx: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/dsa/mv88e6xxx/global1_atu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6xxx/global1_atu.c b/drivers/net/dsa/mv88e6xxx/global1_atu.c index bac9

Re: kernel BUG at fs/notify/dnotify/dnotify.c:LINE! (2)

2020-12-09 Thread Jan Kara
Hello! so I was debugging the dnotify crash below (it's 100% reproducible for me) and I came to the following. The reproducer opens 'file0' on FUSE filesystem which is a directory at that point. Then it attached dnotify mark to the directory 'file0' and then it does something to the FUSE fs which

[PATCH net-next] net: ipa: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/ipa/ipa_qmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ipa/ipa_qmi.c b/drivers/net/ipa/ipa_qmi.c index 5090f0f923ad..174f093b66b8 100644 --- a/drivers

Re: [PATCH 1/2] iov: introduce ITER_BVEC_FLAG_FIXED

2020-12-09 Thread Pavel Begunkov
On 09/12/2020 13:07, Al Viro wrote: > On Wed, Dec 09, 2020 at 08:36:45AM +, Christoph Hellwig wrote: >> >> This is making the iter type even more of a mess than it already is. >> I think we at least need placeholders for 0/1 here and an explicit >> flags namespace, preferably after the types. >

Re: [PATCH v3 3/5] tracing: Update synth command errors

2020-12-09 Thread Masami Hiramatsu
On Tue, 8 Dec 2020 12:53:40 -0500 Steven Rostedt wrote: > On Tue, 08 Dec 2020 11:34:41 -0600 > Tom Zanussi wrote: > > > Unfortunately, you're correct, if you have a script that creates a > > synthetic event without semicolons, this patchset will break it, as I > > myself found out and fixed in

Re: [PATCH] kcov: don't instrument with UBSAN

2020-12-09 Thread Andrey Konovalov
On Wed, Dec 9, 2020 at 11:01 AM Dmitry Vyukov wrote: > > Both KCOV and UBSAN use compiler instrumentation. If UBSAN detects a bug > in KCOV, it may cause infinite recursion via printk and other common > functions. We already don't instrument KCOV with KASAN/KCSAN for this > reason, don't instrumen

Re: [PATCH 0/3] block: blk_interposer - Block Layer Interposer

2020-12-09 Thread Mike Snitzer
On Wed, Dec 09 2020 at 8:01am -0500, Sergei Shtepa wrote: > Hi all. > > I try to suggest the Block Layer Interposer (blk_interposer) again. > It`s allows to intercept bio requests, remap bio to another devices > or add new bios. > > Initially, blk_interposer was designed to be compatible with

[PATCH wireless -next] cw1200: txrx: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/wireless/st/cw1200/txrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/st/cw1200/txrx.c b/drivers/net/wireless/st/cw1200/txrx.c index 400dd58591

Re: [PATCH] USB: serial: option: add interface-number sanity check to flag handling

2020-12-09 Thread Johan Hovold
On Wed, Dec 09, 2020 at 11:52:45AM +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 09, 2020 at 11:42:21AM +0100, Johan Hovold wrote: > > Add an interface-number sanity check before testing the device flags to > > avoid relying on undefined behaviour when left shifting in case a device > > uses an in

[PATCH wireless -next] mt76: mt7615: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c b/drivers/net/wireless/mediatek/mt76

[PATCH wireless -next] mt76: mt7915: convert comma to semicolon

2020-12-09 Thread Zheng Yongjun
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun --- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c b/drivers/net/wireless/mediatek/mt76

Re: Broken /usr/bin/env (invalid option)

2020-12-09 Thread Krzysztof Kozlowski
On Wed, 9 Dec 2020 at 14:13, Dominique Martinet wrote: > > Krzysztof Kozlowski wrote on Wed, Dec 09, 2020: > > Your commit ece075366294 ("ld-version: use /usr/bin/env awk for > > shebank") breaks current linux-next on Ubuntu 16.04: > > > > $ make defconfig > > > > make[1]: Entering directo

[PATCH 1/2] net: phy: micrel: add LED control on KSZ9131

2020-12-09 Thread Ivan Mikhaylov
Add the possibility to read the LED configuration via DTS properties from KSZ9131 PHY node. Add the new proprties and handle for them: micrel,led-mode-behavior micrel,led-mode-select Signed-off-by: Ivan Mikhaylov --- drivers/net/phy/micrel.c | 69 +++- 1 file

Re: [PATCH v2] microblaze: Remove noMMU code

2020-12-09 Thread Michal Simek
čt 26. 11. 2020 v 14:32 odesílatel Michal Simek napsal: > > This configuration is obsolete and likely none is really using it. That's > why remove it to simplify code. > > Note about CONFIG_MMU in hw_exception_handler.S is left intentionally > for better comment understanding. > > Cc: Mike Rapopor

[PATCH 2/2] dt-bindings: net: phy: micrel: add LED mode behavior and select properties

2020-12-09 Thread Ivan Mikhaylov
Add LED mode behavior and LED mode select properties which can be used in KSZ9131 PHY. Signed-off-by: Ivan Mikhaylov --- Documentation/devicetree/bindings/net/micrel.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/micrel.txt b/Documentation/d

[PATCH 0/2] Add LED mode behavior/select properties and handle

2020-12-09 Thread Ivan Mikhaylov
In KSZ9131 PHY it is possible to control LEDs blink behavior via LED mode behavior and select registers. Add DTS properties plus handles of them inside micrel PHY driver. I've some concerns about passing raw register values into LED mode select and behavior. It can be passed via array like in micr

Re: [PATCH v2 1/6] dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators

2020-12-09 Thread Rob Herring
On Mon, Nov 30, 2020 at 04:11:38PM -0500, Jim Quinlan wrote: > Quite similar to the regulator bindings found in "rockchip-pcie-host.txt", > this allows optional regulators to be attached and controlled by the > PCIe RC driver. > > Signed-off-by: Jim Quinlan > --- > .../devicetree/bindings/pci/br

Re: [External] linux-next: build failure after merge of the pm tree

2020-12-09 Thread Mark Pearson
On 09/12/2020 04:57, Stephen Rothwell wrote: > Hi all, > > After merging the pm tree, today's linux-next build (htmldocs) failed > like this: > > Sphinx parallel build error: > docutils.utils.SystemMessage: > /home/sfr/next/next/Documentation/ABI/testing/sysfs-platform_profile.rst:1: > (SEVERE/

[PATCH v1] vdpa/mlx5: Use write memory barrier after updating CQ index

2020-12-09 Thread Eli Cohen
Make sure to put dma write memory barrier after updating CQ consumer index so the hardware knows that there are available CQE slots in the queue. Failure to do this can cause the update of the RX doorbell record to get updated before the CQ consumer index resulting in CQ overrun. Fixes: 1a86b377a

Re: kernel BUG at fs/notify/dnotify/dnotify.c:LINE! (2)

2020-12-09 Thread Jan Kara
On Wed 09-12-20 14:38:42, Jan Kara wrote: > Hello! > > so I was debugging the dnotify crash below (it's 100% reproducible for me) > and I came to the following. The reproducer opens 'file0' on FUSE > filesystem which is a directory at that point. Then it attached dnotify > mark to the directory 'f

Re: [PATCH v2 0/3] firmware: xilinx: Clean up series

2020-12-09 Thread Michal Simek
Hi, On 02. 12. 20 8:38, Michal Simek wrote: > Hi, > > for being able to review new changes more effectively it is good to get rid > of existing kernel-doc and checkpatch violations. > That's why this small clean up series. > > Based on > https://lore.kernel.org/r/e606233d15bfdc594535dd34eb85472b

Re: [PATCH v2 05/12] x86: rework arch_local_irq_restore() to not use popf

2020-12-09 Thread Mark Rutland
On Wed, Dec 09, 2020 at 01:27:10PM +, Mark Rutland wrote: > On Sun, Nov 22, 2020 at 01:44:53PM -0800, Andy Lutomirski wrote: > > On Sat, Nov 21, 2020 at 10:55 PM Jürgen Groß wrote: > > > On 20.11.20 12:59, Peter Zijlstra wrote: > > > > If someone were to write horrible code like: > > > > > > >

Re: [PATCH] cgroup: Fix memory leak when parsing multiple source parameters

2020-12-09 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Qinglang-Miao/cgroup-Fix-memory-leak-when-parsing-multiple-source-parameters/20201209-201041 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next conf

Re: [PATCH v4 2/2] media: i2c: Add support for the OV5648 image sensor

2020-12-09 Thread Paul Kocialkowski
Hi Sakari, On Wed 09 Dec 20, 01:34, Sakari Ailus wrote: > Hi Paul, > > On Sat, Nov 28, 2020 at 03:33:50PM +0100, Paul Kocialkowski wrote: > ... > > + if (ret) > > + goto error_ctrls; > > + > > + /* V4L2 subdev register */ > > + > > + ret = v4l2_async_register_subdev_sensor_common(

Re: [Linux-stm32] [PATCH] remoteproc: stm32: don't print an error on probe deferral

2020-12-09 Thread Ahmad Fatoum
Hello Arnaud, On Wed, 2020-12-09 at 14:12 +0100, Arnaud Pouliquen wrote: > From: Etienne Carriere > > Change stm32 remoteproc driver to not generate an error message > when device probe operation is deferred for the reset controller. > > Signed-off-by: Etienne Carriere > Signed-off-by: Arnaud

Re: [PATCH v2 05/12] x86: rework arch_local_irq_restore() to not use popf

2020-12-09 Thread Jürgen Groß
On 09.12.20 15:02, Mark Rutland wrote: On Wed, Dec 09, 2020 at 01:27:10PM +, Mark Rutland wrote: On Sun, Nov 22, 2020 at 01:44:53PM -0800, Andy Lutomirski wrote: On Sat, Nov 21, 2020 at 10:55 PM Jürgen Groß wrote: On 20.11.20 12:59, Peter Zijlstra wrote: If someone were to write horrible

Re: [PATCH v4 net-next 2/2] net: dsa: qca: ar9331: export stats64

2020-12-09 Thread Oleksij Rempel
Hi George, On Fri, Dec 04, 2020 at 04:04:07PM -0600, George McCollister wrote: > On Fri, Dec 4, 2020 at 8:59 AM Oleksij Rempel wrote: > > > > Add stats support for the ar9331 switch. > > > > Signed-off-by: Oleksij Rempel > > --- > > drivers/net/dsa/qca/ar9331.c | 247 +++

Re: linux-next: Tree for Dec 9

2020-12-09 Thread John Garry
On 09/12/2020 10:44, Stephen Rothwell wrote: Hi all, Changes since 20201208: Just seeing this today: john@localhost:~/linux-next> git checkout next-20201209 Previous HEAD position was bfd521e1af51 Add linux-next specific files for 20201203 HEAD is now at 2f1d5c77f13f Add linux-n

Re: [PATCH net-next 1/4] ptp: clockmatrix: reset device and check BOOT_STATUS

2020-12-09 Thread Richard Cochran
On Tue, Dec 08, 2020 at 10:41:54AM -0500, min.li...@renesas.com wrote: > From: Min Li > > SM_RESET device only when loading full configuration and check > for BOOT_STATUS. Also remove polling for write trigger done in > _idtcm_settime(). > > Changes since v1: > -Correct warnings from strict chec

Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement

2020-12-09 Thread Andrew Lunn
On Tue, Dec 08, 2020 at 10:49:16PM -0500, Sven Van Asbroeck wrote: > On Tue, Dec 8, 2020 at 6:36 PM Florian Fainelli wrote: > > > > dma_sync_single_for_{cpu,device} is what you would need in order to make > > a partial cache line invalidation. You would still need to unmap the > > same address+len

Re: [PATCH] firmware: xilinx: Fix kernel-doc warnings

2020-12-09 Thread Michal Simek
On 01. 12. 20 15:29, Michal Simek wrote: > kernel-doc is reporting some style issues. The patch is fixing them. > > Signed-off-by: Michal Simek > --- > > drivers/firmware/xilinx/zynqmp.c | 46 > 1 file changed, 23 insertions(+), 23 deletions(-) > > diff --gi

Re: [PATCH v3 1/5] dt-bindings: irq: sun7i-nmi: Add binding documentation for the V3s NMI

2020-12-09 Thread Paul Kocialkowski
Hi, On Mon 07 Dec 20, 12:23, Rob Herring wrote: > On Sun, 06 Dec 2020 17:51:27 +0100, Paul Kocialkowski wrote: > > The V3s NMI controller seems register-compatible with the A80 (sun9i). > > Add new items for the compatible string, with an entry specific to the V3s > > and the A80 entry. > > > > S

[GIT PULL] IOMMU fix for 5.10 (-final)

2020-12-09 Thread Will Deacon
Hi Linus, Please pull this one-liner AMD IOMMU fix for 5.10. It's actually a fix for a fix, where the size of the interrupt remapping table was increased but a related constant for the size of the interrupt table was forgotten. Cheers, Will --->8 The following changes since commit d76b42e92780

Re: [PATCH v2 2/4] lib: test_scanf: Add tests for sscanf number conversion

2020-12-09 Thread Petr Mladek
On Mon 2020-11-30 14:57:58, Richard Fitzgerald wrote: > Adds test_sscanf to test various number conversion cases, as > number conversion was previously broken. > > This also tests the simple_strtoxxx() functions exported from > vsprintf.c. It is impressive. Honestly, I do not feel to be expert o

Re: [PATCH net 1/4] net: freescale/fman: Split the main resource region reservation

2020-12-09 Thread Patrick Havelange
area. I'm assuming this is the problem you are trying to address here, besides the stack corruption issue. Yes exactly. I did not add this behaviour (having a main region and subdrivers using subregions), I'm just trying to correct what is already there. For example: this is some content of /pro

Re: [PATCH v2 3/4] selftests: lib: Add wrapper script for test_scanf

2020-12-09 Thread Petr Mladek
On Mon 2020-11-30 14:57:59, Richard Fitzgerald wrote: > Adds a wrapper shell script for the test_scanf module. > > Signed-off-by: Richard Fitzgerald Reviewed-by: Petr Mladek Best Regards, Petr

Re: [PATCH v2 4/4] MAINTAINERS: Add lib/test_scanf.c to VSPRINTF

2020-12-09 Thread Petr Mladek
On Mon 2020-11-30 14:58:00, Richard Fitzgerald wrote: > Adds the new scanf test to the VSPRINTF group. > > Signed-off-by: Richard Fitzgerald I would prefer to squash this into the 2nd patch that adds the file. But anyway: Reviewed-by: Petr Mladek Best Regards, Petr

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