Re: [PATCH] video: mmp: Few typo fixes

2021-03-22 Thread Randy Dunlap
On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote: > > s/configed/configured/ > s/registed/registered/ > s/defintions/definitions/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > include/video/mmp_disp.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff

Re: [PATCH] scsi: scsi_dh: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/21/21 11:47 PM, Bhaskar Chowdhury wrote: > > s/infrastruture/infrastructure/ > > Signed-off-by: Bhaskar Chowdhury Please combine the 2 scsi_dh patches. > --- > drivers/scsi/scsi_dh.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/scsi_dh.c

Re: [PATCH v5 03/27] afs: Use wait_on_page_writeback_killable

2021-03-22 Thread Matthew Wilcox
On Mon, Mar 22, 2021 at 09:27:26AM +, David Howells wrote: > Matthew Wilcox (Oracle) wrote: > > > Open-coding this function meant it missed out on the recent bugfix > > for waiters being woken by a delayed wake event from a previous > > instantiation of the page. > > > > Signed-off-by:

Re: [PATCH 00/16] clk: st: embed clock outputs within drivers

2021-03-22 Thread Alain Volmat
Hello, it turns out that some CLK_IS_CRITICAL are missing in the patches I sent. (especially for the stih418). I will send a v2 soon. Alain On Sun, Mar 21, 2021 at 09:40:22PM +0100, Alain Volmat wrote: > Most of ST clock drivers used by STi platform are updated in > order to introduce clock

Re: [PATCH V2] KVM: x86: A typo fix

2021-03-22 Thread Ingo Molnar
* Bhaskar Chowdhury wrote: > s/resued/reused/ > > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V1: > As Ingo found the correct word for replacement, so incorporating. > > arch/x86/include/asm/kvm_host.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH v4 1/3] net: dsa: lantiq: allow to use all GPHYs on xRX300 and xRX330

2021-03-22 Thread Aleksander Jan Bajkowski
This patch allows to use all PHYs on GRX300 and GRX330. The ARX300 has 3 and the GRX330 has 4 integrated PHYs connected to different ports compared to VRX200. Each integrated PHY can work as single Gigabit Ethernet PHY (GMII) or as double Fast Ethernet PHY (MII). Allowed port configurations:

[PATCH v4 3/3] dt-bindings: net: dsa: lantiq: add xRx300 and xRX330 switch bindings

2021-03-22 Thread Aleksander Jan Bajkowski
Add compatible string for xRX300 and xRX330 SoCs. Signed-off-by: Aleksander Jan Bajkowski --- Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq-gswip.txt

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-22 Thread Kai Huang
On Mon, 22 Mar 2021 12:37:02 -0700 Sean Christopherson wrote: > On Mon, Mar 22, 2021, Borislav Petkov wrote: > > On Mon, Mar 22, 2021 at 11:56:37AM -0700, Sean Christopherson wrote: > > > Not necessarily. This can only trigger in the host, and thus require a > > > host > > > reboot, if the host

Re: [PATCH V2] staging: rtl8723bs: Mundane typo fixes

2021-03-22 Thread Randy Dunlap
On 3/22/21 1:16 PM, Bhaskar Chowdhury wrote: > s/stoping/stopping/ > s/arragement/arrangement/ > s/eralier/earlier/ > > Plus one extra word in the sentence "the" removed. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Greg,pointed out my mistake of

[tip: perf/urgent] lockdep: Address clang -Wformat warning printing for %hd

2021-03-22 Thread tip-bot2 for Arnd Bergmann
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 6d48b7912cc72275dc7c59ff961c8bac7ef66a92 Gitweb: https://git.kernel.org/tip/6d48b7912cc72275dc7c59ff961c8bac7ef66a92 Author:Arnd Bergmann AuthorDate:Mon, 22 Mar 2021 12:55:25 +01:00

[PATCH v1 3/6] usb: gadget: pch_udc: Revert d3cb25a12138 completely

2021-03-22 Thread Andy Shevchenko
The commit d3cb25a12138 ("usb: gadget: udc: fix spin_lock in pch_udc") obviously was not thought through and had made the situation even worse than it was before. Two changes after almost reverted it. but a few leftovers have been left as it. With this revert d3cb25a12138 completely. While at it,

[PATCH v1 4/6] usb: gadget: pch_udc: Move pch_udc_init() to satisfy kernel doc

2021-03-22 Thread Andy Shevchenko
Kernel doc and the content described by it shouldn't be teared apart. Otherwise validator is not happy: .../pch_udc.c:573: warning: expecting prototype for pch_udc_reconnect(). Prototype was for pch_udc_init() instead Fixes: 1c575d2d2e3f ("usb: gadget: pch_udc: Fix usb/gadget/pch_udc: Fix ether

[PATCH v1 6/6] usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)

2021-03-22 Thread Andy Shevchenko
Intel Minnowboard (v1) uses SCH GPIO line SUS7 (i.e. 12) for VBUS sense. Provide a DMI based quirk to have it's being used. Fixes: e20849a8c883 ("usb: gadget: pch_udc: Convert to use GPIO descriptors") Signed-off-by: Andy Shevchenko --- drivers/usb/gadget/udc/pch_udc.c | 71

[PATCH v1 1/6] usb: gadget: pch_udc: Drop unneeded cpu_to_le32() call

2021-03-22 Thread Andy Shevchenko
Either way ~0 will be in the correct byte order, hence drop unneeded cpu_to_le32() call. Moreover, it makes sparse happy, otherwise it complains: pch_udc.c:1813:27: warning: incorrect type in assignment (different base types) pch_udc.c:1813:27:expected unsigned int [usertype] dataptr

Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy

2021-03-22 Thread Arjun Roy
On Wed, Mar 17, 2021 at 8:21 PM Andrew Morton wrote: > > On Mon, 15 Mar 2021 18:30:03 -0700 Arjun Roy wrote: > > > From: Arjun Roy > > > > TCP zerocopy receive is used by high performance network applications > > to further scale. For RX zerocopy, the memory containing the network > > data

[PATCH net-next] iwlwifi: fix old-style-declaration warning

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann The correct order is 'static const', not 'const static', as seen from make W=1: drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Fixes: 21254908cbe9 ("iwlwifi: mvm: add RFI-M support")

[PATCH] clk: tegra: fix old-style declaration

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann With extra warnings enabled, gcc complains about a slightly odd prototype: drivers/clk/tegra/clk-dfll.c:1380:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] 1380 | static void inline dfll_debug_init(struct tegra_dfll *td) { } Move the

Re: [PATCH 5.11 000/120] 5.11.9-rc1 review

2021-03-22 Thread Guenter Roeck
On Mon, Mar 22, 2021 at 01:26:23PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.11.9 release. > There are 120 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

[PATCH] mm, thp: Relax the VM_DENYWRITE constraint on file-backed THPs

2021-03-22 Thread Collin Fijalkovich
Transparent huge pages are supported for read-only non-shmem filesystems, but are only used for vmas with VM_DENYWRITE. This condition ensures that file THPs are protected from writes while an application is running (ETXTBSY). Any existing file THPs are then dropped from the page cache when a

Re: [PATCH] ftrace: shut up -Wcast-function-type warning for ftrace_ops_no_ops

2021-03-22 Thread Steven Rostedt
On Mon, 22 Mar 2021 22:49:58 +0100 Arnd Bergmann wrote: > From: Arnd Bergmann > > With 'make W=1', gcc warns about casts between incompatible function > types: > > kernel/trace/ftrace.c:128:31: error: cast between incompatible function types > from 'void (*)(long unsigned int, long unsigned

[PATCH v4 1/4] userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs

2021-03-22 Thread Peter Xu
UFFD_FEATURE_THREAD_ID is supported since Linux 4.14. Signed-off-by: Peter Xu --- man2/userfaultfd.2 | 13 + 1 file changed, 13 insertions(+) diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 index e7dc9f813..555e37409 100644 --- a/man2/userfaultfd.2 +++ b/man2/userfaultfd.2 @@

[PATCH v4 2/4] userfaultfd.2: Add write-protect mode

2021-03-22 Thread Peter Xu
Write-protect mode is supported starting from Linux 5.7. Signed-off-by: Peter Xu --- man2/userfaultfd.2 | 104 - 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 index 555e37409..8ad4a71b5 100644

Re: [PATCH v2 00/10] Rid W=1 warnings from OF

2021-03-22 Thread Rob Herring
On Thu, Mar 18, 2021 at 4:40 AM Lee Jones wrote: > > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > v2: > - Provided some descriptions to exported functions > > Lee Jones (10): > of:

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-22 Thread Kai Huang
> > Btw, I probably have seen this and forgotten again so pls remind me, > is the amount of pages available for SGX use static and limited by, > I believe BIOS, or can a leakage in EPC pages cause system memory > shortage? > Yes EPC size is fixed and configured in BIOS. Leaking EPC pages may

Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't set skb->offload_fwd_mark when not offloading the bridge

2021-03-22 Thread Vladimir Oltean
On Mon, Mar 22, 2021 at 04:04:01PM +0800, DENG Qingfang wrote: > On Fri, Mar 19, 2021 at 6:49 PM Vladimir Oltean wrote: > > Why would you even want to look at the source net device for forwarding? > > I'd say that if dp->bridge_dev is NULL in the xmit function, you certainly > > want to bypass

Re: [PATCH v4 05/19] kvm: arm64: Disable guest access to trace filter controls

2021-03-22 Thread Suzuki K Poulose
Hi Marc, On 25/02/2021 19:35, Suzuki K Poulose wrote: Disable guest access to the Trace Filter control registers. We do not advertise the Trace filter feature to the guest (ID_AA64DFR0_EL1: TRACE_FILT is cleared) already, but the guest can still access the TRFCR_EL1 unless we trap it. This

[PATCH 1/4] arm64: expose orig_x0 in the user_pt_regs structure

2021-03-22 Thread Andrei Vagin
orig_x0 is recorded at the start of the syscall entry and then it is used for resetting the argument back to its original value during syscall restarts. If orig_x0 isn't available from user-space, this makes it tricky to manage arguments of restarted system calls. Cc: Keno Fischer

[PATCH 0/4 v3] arm64/ptrace: allow to get all registers on syscall traps

2021-03-22 Thread Andrei Vagin
Here are two known problems with registers when a tracee is stopped in syscall traps. The first problem is about the x7 register that is used to indicate whether or not the stop has been signalled from syscall entry or syscall exit. This means that: - Any writes by the tracer to this register

[PATCH 2/4] arm64/ptrace: introduce orig_x7 in the user_pt_regs structure

2021-03-22 Thread Andrei Vagin
We have some ABI weirdness in the way that we handle syscall exit stops because we indicate whether or not the stop has been signalled from syscall entry or syscall exit by clobbering a general purpose register x7 in the tracee and restoring its old value after the stop. This behavior was

[PATCH 3/4] selftest/arm64/ptrace: add a test for orig_x0

2021-03-22 Thread Andrei Vagin
The test creates two processes where one traces another one. The tracee executes a system call, the tracer traps it, changes orig_x0, triggers a signal and checks that the syscall is restarted with the setted argument. Test output: $ ./ptrace_restart_syscall_test 1..3 ok 1 orig_x0: 0x3 ok 2

[PATCH 4/4] selftest/arm64/ptrace: add a test for orig_x7

2021-03-22 Thread Andrei Vagin
In system calls, x7 is used to indicate whether a tracee has been stopped on syscall-enter or syscall-exit and the origin value of x7 is saved in orig_x7. Test output: $ ./ptrace_syscall_test 1..4 ok 1 x7: 0 ok 2 x7: 1 ok 3 x7: 686920776f726c64 ok 4 The child exited with code 0. # Totals:

Re: [PATCH] arm64: dts: ls1028a: fix optee node

2021-03-22 Thread Li Yang
On Thu, Mar 18, 2021 at 3:36 AM Michael Walle wrote: > > Don't enable the optee node in the SoC include. It is an optional > component and actually, if enabled, breaks boards which doesn't have it. Hi Shawn, Shall we make this a general rule? I see quite a few SoC dtsi files are having the

linux-next: manual merge of the v4l-dvb tree with the hwmon-staging tree

2021-03-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the v4l-dvb tree got a conflict in: MAINTAINERS between commit: 38f15506d965 ("hwmon: add driver for NZXT Kraken X42/X52/X62/X72") from the hwmon-staging tree and commit: be157db0a3d8 ("media: Add maintainer for IMX jpeg v4l2 driver") from the

Re: [PATCH] xsysace: Remove SYSACE driver

2021-03-22 Thread Davidlohr Bueso
Hi, On Mon, 09 Nov 2020, Michal Simek wrote: Sysace IP is no longer used on Xilinx PowerPC 405/440 and Microblaze systems. The driver is not regularly tested and very likely not working for quite a long time that's why remove it. Is there a reason this patch was never merged? can the driver

Re: [PATCH -tip v4 08/12] arm: kprobes: Make a space for regs->ARM_pc at kretprobe_trampoline

2021-03-22 Thread Masami Hiramatsu
On Mon, 22 Mar 2021 15:41:18 +0900 Masami Hiramatsu wrote: > Change kretprobe_trampoline to make a space for regs->ARM_pc so that > kretprobe_trampoline_handler can call instruction_pointer_set() > safely. BTW, if kretprobe_trampoline is replaced with the assembly code, I think it should fill

Re: [PATCH v6 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2021-03-22 Thread Marcel Ziswiler
On Wed, 2021-03-17 at 11:42 +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp display pixel link. > > Reviewed-by: Rob Herring > Signed-off-by: Liu Ying > --- > v5->v6: > * No change. > > v4->v5: > * No change. > > v3->v4: > * No change. > > v2->v3: > * Add Rob's R-b tag. >

Re: [PATCH V2] KVM: x86: A typo fix

2021-03-22 Thread Bhaskar Chowdhury
On 21:16 Mon 22 Mar 2021, Ingo Molnar wrote: * Bhaskar Chowdhury wrote: s/resued/reused/ Signed-off-by: Bhaskar Chowdhury --- Changes from V1: As Ingo found the correct word for replacement, so incorporating. arch/x86/include/asm/kvm_host.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Ingo Molnar
* Xu Yihang wrote: > Fixes the following W=1 kernel build warning(s): > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not > used [-Wunused-but-set-variable] > unsigned long msr_val; > > As Hypervisor Top-Level Functional Specification states in chapter 7.5 >

Re: [PATCH v4 09/19] coresight: etm4x: Move ETM to prohibited region for disable

2021-03-22 Thread Mathieu Poirier
On Thu, Feb 25, 2021 at 07:35:33PM +, Suzuki K Poulose wrote: > If the CPU implements Arm v8.4 Trace filter controls (FEAT_TRF), > move the ETM to trace prohibited region using TRFCR, while disabling. > > Cc: Mathieu Poirier > Cc: Mike Leach > Cc: Anshuman Khandual > Signed-off-by: Suzuki

[no subject]

2021-03-22 Thread Steven Rostedt

[no subject]

2021-03-22 Thread Steven Rostedt

Greetings!

2021-03-22 Thread Blake Arnold
Hello, I have sent you mails, but still have not received a response. Kindly get back to me for a mutual benefit transaction. Thank you. Blake Arnold

Re: [PATCHv2 00/38] Convert power-supply DT bindings to YAML

2021-03-22 Thread Sebastian Reichel
Hi, On Mon, Mar 22, 2021 at 10:25:49AM -0600, Rob Herring wrote: > On Wed, Mar 17, 2021 at 7:49 AM Sebastian Reichel wrote: > > Sebastian Reichel (38): > > ARM: dts: motorola-cpcap-mapphone: Prepare for dtbs_check parsing > > dt-bindings: power: supply: cpcap-battery: Convert to DT schema

Re: [PATCH V4] clk: imx: Fix reparenting of UARTs not associated with stdout

2021-03-22 Thread Abel Vesa
On 21-03-13 06:28:17, Adam Ford wrote: > Most if not all i.MX SoC's call a function which enables all UARTS. > This is a problem for users who need to re-parent the clock source, > because any attempt to change the parent results in an busy error > due to the fact that the clocks have been enabled

[PATCH] [v2] static_call: fix function type mismatch

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann The __static_call_return0() function is declared to return a 'long', while it aliases a couple of functions that all return 'int'. When building with 'make W=1', gcc warns about this: kernel/sched/core.c:5420:37: error: cast between incompatible function types from 'long

Re: [PATCH 4.9 00/25] 4.9.263-rc1 review

2021-03-22 Thread Guenter Roeck
On Mon, Mar 22, 2021 at 01:28:50PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.263 release. > There are 25 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

Re: [PATCH v3 4/4] ioctl_userfaultfd.2: Add write-protect mode docs

2021-03-22 Thread Peter Xu
On Fri, Mar 19, 2021 at 11:37:20PM +0100, Alejandro Colomar (man-pages) wrote: > Hi Peter, Hi, Alex, > > +generate another write-protect userfault message. > > +This is only used in conjunction with write-protect mode when both missing > > and > > "when both missing" > > both what? I

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-22 Thread Borislav Petkov
On Tue, Mar 23, 2021 at 11:06:43AM +1300, Kai Huang wrote: > This path is called by host SGX driver only, so yes this leaking is done by > host enclaves only. Yes, so I was told. > This patch is purpose is to break EREMOVE out of sgx_free_epc_page() so > virtual > EPC code can use

[PATCH v4 net-next 08/11] net: dsa: inherit the actual bridge port flags at join time

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean DSA currently assumes that the bridge port starts off with this constellation of bridge port flags: - learning on - unicast flooding on - multicast flooding on - broadcast flooding on just by virtue of code copy-pasta from the bridge layer (new_nbp). This was a simple

[PATCH v4 net-next 03/11] net: bridge: add helper to replay port and host-joined mdb entries

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean I have a system with DSA ports, and udhcpcd is configured to bring interfaces up as soon as they are created. I create a bridge as follows: ip link add br0 type bridge As soon as I create the bridge and udhcpcd brings it up, I also have avahi which automatically starts

[PATCH v4 net-next 01/11] net: bridge: add helper for retrieving the current bridge port STP state

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean It may happen that we have the following topology with DSA or any other switchdev driver with LAG offload: ip link add br0 type bridge stp_state 1 ip link add bond0 type bond ip link set bond0 master br0 ip link set swp0 master bond0 ip link set swp1 master bond0 STP

[PATCH v4 net-next 02/11] net: bridge: add helper to retrieve the current ageing time

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean The SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME attribute is only emitted from: sysfs/ioctl/netlink -> br_set_ageing_time -> __set_ageing_time therefore not at bridge port creation time, so: (a) switchdev drivers have to hardcode the initial value for the address ageing

[PATCH v4 net-next 04/11] net: bridge: add helper to replay port and local fdb entries

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean When a switchdev port starts offloading a LAG that is already in a bridge and has an FDB entry pointing to it: ip link set bond0 master br0 bridge fdb add dev bond0 00:01:02:03:04:05 master static ip link set swp0 master bond0 the switchdev driver will have no idea that

[PATCH v4 net-next 00/11] Better support for sandwiched LAGs with bridge and DSA

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean Changes in v4: - Added missing EXPORT_SYMBOL_GPL - Using READ_ONCE(fdb->dst) - Split patches into (a) adding the bridge helpers (b) making DSA use them - br_mdb_replay went back to the v1 approach where it allocated memory in atomic context - Created a

[PATCH v4 net-next 05/11] net: bridge: add helper to replay VLANs installed on port

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean Currently this simple setup with DSA: ip link add br0 type bridge vlan_filtering 1 ip link add bond0 type bond ip link set bond0 master br0 ip link set swp0 master bond0 will not work because the bridge has created the PVID in br_add_if -> nbp_vlan_init, and it has

[PATCH v4 net-next 10/11] net: ocelot: call ocelot_netdevice_bridge_join when joining a bridged LAG

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean Similar to the DSA situation, ocelot supports LAG offload but treats this scenario improperly: ip link add br0 type bridge ip link add bond0 type bond ip link set bond0 master br0 ip link set swp0 master bond0 We do the same thing as we do there, which is to simulate a

[PATCH v4 net-next 11/11] net: ocelot: replay switchdev events when joining bridge

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean The premise of this change is that the switchdev port attributes and objects offloaded by ocelot might have been missed when we are joining an already existing bridge port, such as a bonding interface. The patch pulls these switchdev attributes and objects from the bridge,

[PATCH v4 net-next 09/11] net: dsa: sync up switchdev objects and port attributes when joining the bridge

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean If we join an already-created bridge port, such as a bond master interface, then we can miss the initial switchdev notifications emitted by the bridge for this port, while it wasn't offloaded by anybody. Signed-off-by: Vladimir Oltean --- net/dsa/dsa_priv.h | 3 +++

[PATCH v4 net-next 06/11] net: dsa: call dsa_port_bridge_join when joining a LAG that is already in a bridge

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean DSA can properly detect and offload this sequence of operations: ip link add br0 type bridge ip link add bond0 type bond ip link set swp0 master bond0 ip link set bond0 master br0 But not this one: ip link add br0 type bridge ip link add bond0 type bond ip link set bond0

[PATCH v4 net-next 07/11] net: dsa: pass extack to dsa_port_{bridge,lag}_join

2021-03-22 Thread Vladimir Oltean
From: Vladimir Oltean This is a pretty noisy change that was broken out of the larger change for replaying switchdev attributes and objects at bridge join time, which is when these extack objects are actually used. Signed-off-by: Vladimir Oltean Reviewed-by: Florian Fainelli Reviewed-by:

Re: [PATCH] bpf: avoid old-style declaration warnings

2021-03-22 Thread KP Singh
On Mon, Mar 22, 2021 at 10:52 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > gcc -Wextra wants type modifiers in the normal order: > > kernel/bpf/bpf_lsm.c:70:1: error: 'static' is not at beginning of declaration > [-Werror=old-style-declaration] >70 | const static struct

Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Ingo Molnar
* Michael Kelley wrote: > From: Ingo Molnar Sent: Monday, March 22, 2021 > 2:08 PM > > > > * Xu Yihang wrote: > > > > > Fixes the following W=1 kernel build warning(s): > > > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable 'msr_val' set but > > > not used [- > >

Re: [v1] drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume

2021-03-22 Thread Matthias Kaehlcke
On Mon, Mar 22, 2021 at 02:17:12AM -0700, Kalyan Thota wrote: > From: Kalyan Thota > > DPU runtime resume will request for a min vote on the AXI bus as > it is a necessary step before turning ON the AXI clock. > > The change does below > 1) Move the icc path set before requesting runtime

Re: [PATCH] keys: Allow disabling read permissions for key possessor

2021-03-22 Thread Eric Biggers
On Mon, Mar 22, 2021 at 12:57:26PM +0300, Andrey Ryabinin wrote: > keyctl_read_key() has a strange code which allows possessor to read > key's payload regardless of READ permission status: > > $ keyctl add user test test @u > 196773443 > $ keyctl print 196773443 > test > $ keyctl describe

Re: [PATCH] spi: ensure timely release of driver-allocated resources

2021-03-22 Thread Dmitry Torokhov
On Mon, Mar 22, 2021 at 12:37:07PM +, Mark Brown wrote: > On Sun, Mar 21, 2021 at 06:43:32PM -0700, Dmitry Torokhov wrote: > > > Note that this is not SPI-specific issue. I already send a similar > > patch for I2C and will be sending more. > > This feels like it might make sense to push up

Re: [PATCH] net: l2tp: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/22/21 5:21 AM, Bhaskar Chowdhury wrote: > > s/verifed/verified/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > net/l2tp/l2tp_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c > index

Re: [PATCH] scsi: bnx2fc: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/21/21 11:35 PM, Bhaskar Chowdhury wrote: > > s/struture/structure/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c >

[PATCH 2/2] mm/vmalloc: Use kvmalloc to allocate the table of pages

2021-03-22 Thread Matthew Wilcox (Oracle)
If we're trying to allocate 4MB of memory, the table will be 8KiB in size (1024 pointers * 8 bytes per pointer), which can usually be satisfied by a kmalloc (which is significantly faster). Instead of changing this open-coded implementation, just use kvmalloc(). Signed-off-by: Matthew Wilcox

Re: [PATCH] nvme-fc: Few trivial spelling fixes

2021-03-22 Thread Bhaskar Chowdhury
On 18:36 Mon 22 Mar 2021, Chaitanya Kulkarni wrote: On 3/20/21 13:45, Bhaskar Chowdhury wrote: s/boundarys/boundaries/ . two different places s/assocated/associated/ s/compeletion/completion/ s/tranferred/transferred/ s/subsytem/subsystem/ Signed-off-by: Bhaskar Chowdhury Patch looks

[PATCH net] net: dsa: don't assign an error value to tag_ops

2021-03-22 Thread George McCollister
Use a temporary variable to hold the return value from dsa_tag_driver_get() instead of assigning it to dst->tag_ops. Leaving an error value in dst->tag_ops can result in deferencing an invalid pointer when a deferred switch configuration happens later. Fixes: 357f203bb3b5 ("net: dsa: keep a copy

Re: [PATCH] kgdb: fix gcc-11 warning on indentation

2021-03-22 Thread Arnd Bergmann
On Mon, Mar 22, 2021 at 9:14 PM Jason Wessel wrote: > > The original board this was developed with was a 32bit eeepc. > > The intent was that when v2printk() was called for a verbose > 1 > condition the touch_nmi_watchdog() was called. The test case > where a whole lot of single steps are

Re: [PATCH] static_call: fix function type mismatch

2021-03-22 Thread Peter Zijlstra
On Mon, Mar 22, 2021 at 03:32:14PM -0400, Steven Rostedt wrote: > On Mon, 22 Mar 2021 18:06:37 +0100 > Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > The __static_call_return0() function is declared to return a 'long', > > while it aliases a couple of functions that all return 'int'.

[PATCH] userfaultfd/shmem: fix minor fault page leak

2021-03-22 Thread Axel Rasmussen
This fix is analogous to Peter Xu's fix for hugetlb [0]. If we don't put_page() after getting the page out of the page cache, we leak the reference. The fix can be verified by checking /proc/meminfo and running the userfaultfd selftest in shmem mode. Without the fix, we see MemFree / MemAvailable

Re: [PATCH] serial: imx: drop workaround for forced irq threading

2021-03-22 Thread Sebastian Andrzej Siewior
On 2021-03-22 14:40:32 [+0100], Uwe Kleine-König wrote: > From a strictly logically point of view you indeed cannot. But if you go > to the street and say to people there that they can park their car in > this street free of charge between Monday and Friday, I expect that most > of them will

Re: [PATCH] userfaultfd/shmem: fix minor fault page leak

2021-03-22 Thread Peter Xu
On Mon, Mar 22, 2021 at 01:48:35PM -0700, Axel Rasmussen wrote: > This fix is analogous to Peter Xu's fix for hugetlb [0]. If we don't > put_page() after getting the page out of the page cache, we leak the > reference. > > The fix can be verified by checking /proc/meminfo and running the >

[PATCH] ASoC: Intel: Fix a typo

2021-03-22 Thread Bhaskar Chowdhury
s/defintions/definitions/ Signed-off-by: Bhaskar Chowdhury --- sound/soc/intel/skylake/skl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/skylake/skl.h b/sound/soc/intel/skylake/skl.h index 857ea17e3c9f..33ed274fc0cb 100644 ---

Re: [PATCH v2] block: fix trace completion for chained bio

2021-03-22 Thread NeilBrown
On Wed, Mar 03 2021, edwardh wrote: > From: Edward Hsieh > > For chained bio, trace_block_bio_complete in bio_endio is currently called > only by the parent bio once upon all chained bio completed. > However, the sector and size for the parent bio are modified in bio_split. > Therefore, the size

Re: [PATCH 5.4 00/60] 5.4.108-rc1 review

2021-03-22 Thread Guenter Roeck
On Mon, Mar 22, 2021 at 01:27:48PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.108 release. > There are 60 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

Re: [PATCH 4.14 00/43] 4.14.227-rc1 review

2021-03-22 Thread Guenter Roeck
On Mon, Mar 22, 2021 at 01:28:41PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.227 release. > There are 43 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

Re: [PATCH 4.19 00/43] 4.19.183-rc1 review

2021-03-22 Thread Guenter Roeck
On Mon, Mar 22, 2021 at 01:28:14PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.183 release. > There are 43 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

[PATCH v4 0/4] man2: udpate mm/userfaultfd manpages to latest

2021-03-22 Thread Peter Xu
v4: - Fixed a few "subordinate clauses" (SC) cases [Alex] - Reword in ioctl_userfaultfd.2 to use bold font for the two modes referenced, so as to be clear on what is "both" referring to [Alex] v3: - Don't use "Currently", instead add "(since x.y)" mark where proper [Alex] - Always use semantic

[PATCH v4 4/4] ioctl_userfaultfd.2: Add write-protect mode docs

2021-03-22 Thread Peter Xu
Userfaultfd write-protect mode is supported starting from Linux 5.7. Signed-off-by: Peter Xu --- man2/ioctl_userfaultfd.2 | 84 ++-- 1 file changed, 81 insertions(+), 3 deletions(-) diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index

[PATCH v4 3/4] ioctl_userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs

2021-03-22 Thread Peter Xu
UFFD_FEATURE_THREAD_ID is supported in Linux 4.14. Signed-off-by: Peter Xu --- man2/ioctl_userfaultfd.2 | 5 + 1 file changed, 5 insertions(+) diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 47ae5f473..d4a8375b8 100644 --- a/man2/ioctl_userfaultfd.2 +++

Re: [PATCH v2 01/18] vfs: add miscattr ops

2021-03-22 Thread Darrick J. Wong
On Mon, Mar 22, 2021 at 03:48:59PM +0100, Miklos Szeredi wrote: > There's a substantial amount of boilerplate in filesystems handling > FS_IOC_[GS]ETFLAGS/ FS_IOC_FS[GS]ETXATTR ioctls. > > Also due to userspace buffers being involved in the ioctl API this is > difficult to stack, as shown by

[PATCH] hfs/hfsplus: use WARN_ON for sanity check

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann gcc warns about a couple of instances in which a sanity check exists but the author wasn't sure how to react to it failing, which makes it look like a possible bug: fs/hfsplus/inode.c: In function 'hfsplus_cat_read_inode': fs/hfsplus/inode.c:503:37: error: suggest braces

[PATCH] tracing: Fix various typos in comments

2021-03-22 Thread Ingo Molnar
Fix ~59 single-word typos in the tracing code comments. Signed-off-by: Ingo Molnar Cc: Steven Rostedt Cc: linux-kernel@vger.kernel.org --- arch/microblaze/include/asm/ftrace.h | 2 +- arch/nds32/kernel/ftrace.c | 2 +- arch/powerpc/include/asm/ftrace.h| 4 ++--

Re: [PATCH] drm/amd: Fix a typo in two different sentences

2021-03-22 Thread Randy Dunlap
On 3/22/21 2:06 PM, Bhaskar Chowdhury wrote: > > s/defintion/definition/ .two different places. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/amd/include/atombios.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH V4 06/10] x86/fault: Adjust WARN_ON for PKey fault

2021-03-22 Thread Ira Weiny
On Mon, Mar 22, 2021 at 09:05:43AM -0700, Sean Christopherson wrote: > On Sun, Mar 21, 2021, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > PKey faults may now happen on kernel mappings if the feature is enabled. > > Remove the warning in the fault path if PKS is enabled. > > When/why

[PATCH] rcu: Fix various typos in comments

2021-03-22 Thread Ingo Molnar
Hi Paul, Was working on automation to make it a bit more straightforward to fix typos within comments (which we tend to reintroduce during development), and here are the ones it found in the RCU code. Thanks, Ingo => From: Ingo Molnar Date: Mon, 22 Mar 2021 23:57:26 +0100

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

2021-03-22 Thread Namjae Jeon
> On Mon, Mar 22, 2021 at 02:13:41PM +0900, Namjae Jeon wrote: > > +static unsigned char > > +asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) { > > + if (ctx->pointer >= ctx->end) { > > + ctx->error = ASN1_ERR_DEC_EMPTY; > > + return 0; > > + } > > + *ch =

Re: [PATCH v4 0/3] net: dsa: lantiq: add support for xRX300 and xRX330

2021-03-22 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Mon, 22 Mar 2021 21:37:14 +0100 you wrote: > Changed since v3: > * fixed last compilation warning > > Changed since v2: > * fixed compilation warnings > * removed example bindings for xrx330 >

Re: [PATCH v5 00/14] Add BLK_CTL support for i.MX8MP

2021-03-22 Thread Adam Ford
On Wed, Mar 3, 2021 at 4:54 AM Marek Vasut wrote: > > On 3/3/21 11:47 AM, Abel Vesa wrote: > > On 20-11-03 13:18:12, Abel Vesa wrote: > >> The BLK_CTL according to HW design is basically the wrapper of the entire > >> function specific group of IPs and holds GPRs that usually cannot be placed >

Re: [PATCH] powerpc/asm: Fix a typo

2021-03-22 Thread Michael Ellerman
Randy Dunlap writes: > On 3/22/21 4:32 AM, Bhaskar Chowdhury wrote: >> >> s/poiner/pointer/ >> >> Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap > > However, it would be a GOOD THING to collect multiple similar > patches that are in e.g. arch/powerpc/ and send them as one patch >

Re: [PATCH net-next v2 2/2] net: ipa: fix IPA validation

2021-03-22 Thread Alex Elder
On 3/22/21 5:56 PM, Andrew Lunn wrote: The solution is to create a user space tool inside the drivers/net/ipa directory that will link with the kernel source files and will perform all the basic one-time checks I want to make. Hi Alex Have you found any other driver doing this? Where do they

Re: [RFC 2/7] ath10k: Add support to process rx packet in thread

2021-03-22 Thread Ben Greear
On 7/22/20 6:00 AM, Felix Fietkau wrote: On 2020-07-22 14:55, Johannes Berg wrote: On Wed, 2020-07-22 at 14:27 +0200, Felix Fietkau wrote: I'm considering testing a different approach (with mt76 initially): - Add a mac80211 rx function that puts processed skbs into a list instead of handing

RE: [PATCH 3/5] cifsd: add file operations

2021-03-22 Thread Namjae Jeon
> > > -Original Message- > > From: Namjae Jeon > > Sent: Sunday, March 21, 2021 10:14 PM > > To: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > > c...@vger.kernel.org > > Cc: linux-cifsd-de...@lists.sourceforge.net; smfre...@gmail.com; > > senozhat...@chromium.org;

[PATCH 13/23] shmem/userfaultfd: Handle the left-overed special swap ptes

2021-03-22 Thread Peter Xu
Note that the special uffd-wp swap pte can be left over even if the page under the pte got evicted. Normally when evict a page, we will unmap the ptes by walking through the reverse mapping. However we never tracked such information for the special swap ptes because they're not real mappings but

[PATCH 15/23] hugetlb/userfaultfd: Hook page faults for uffd write protection

2021-03-22 Thread Peter Xu
Hook up hugetlbfs_fault() with the capability to handle userfaultfd-wp faults. We do this slightly earlier than hugetlb_cow() so that we can avoid taking some extra locks that we definitely don't need. Signed-off-by: Peter Xu --- mm/hugetlb.c | 19 +++ 1 file changed, 19

[PATCH 18/23] mm/hugetlb: Introduce huge version of special swap pte helpers

2021-03-22 Thread Peter Xu
This is to let hugetlbfs be prepared to also recognize swap special ptes just like uffd-wp special swap ptes. Signed-off-by: Peter Xu --- mm/hugetlb.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index

ext2_set_link()->ext2_put_page() question

2021-03-22 Thread Ira Weiny
Jan, Why does ext2_set_link() need to call ext2_put_page()? I don't see any reason that we could not match up the ext2_put_page() calls with the ext2_find_entry(). Similarly am I missing something by moving the ext2_put_page() out of ext2_delete_entry()? See below patch. I'm in the process of

  1   2   3   4   5   6   7   8   9   10   >