[PATCH v2] MAINTAINERS: Update Maintainers of DRM Bridge Drivers

2021-03-25 Thread Robert Foss
Add myself as co-maintainer of DRM Bridge Drivers. Repository commit access has already been granted. https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/338 Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Andrzej Hajda Cc: Jernej Škrabec Cc: Daniel Vetter Signed-o

Re: [PATCH] staging: gasket: remove it from the kernel

2021-03-25 Thread Greg KH
On Thu, Mar 25, 2021 at 03:46:10PM +0100, Jan Kiszka wrote: > On 15.03.21 17:10, Rob Springer wrote: > > Acked-by: Rob Springer > > > > > > On Mon, Mar 15, 2021 at 8:44 AM wrote: > >> > >> From: Greg Kroah-Hartman > >> > >> As none of the proposed things that need to be changed in the gasket >

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

2021-03-25 Thread Miklos Szeredi
On Tue, Mar 23, 2021 at 1:24 AM Eric Biggers wrote: > > +int vfs_miscattr_set(struct dentry *dentry, struct miscattr *ma) > > +{ > > + struct inode *inode = d_inode(dentry); > > + struct miscattr old_ma = {}; > > + int err; > > + > > + if (d_is_special(dentry)) > > + r

[PATCH net-next v2] net: change netdev_unregister_timeout_secs min value to 1

2021-03-25 Thread Dmitry Vyukov
netdev_unregister_timeout_secs=0 can lead to printing the "waiting for dev to become free" message every jiffy. This is too frequent and unnecessary. Set the min value to 1 second. Also fix the merge issue introduced by "net: make unregister netdev warning timeout configurable": it changed "refcnt

Re: [PATCH v4 5/5] soc/tegra: pmc: Rate-limit error message about failed to acquire of reset

2021-03-25 Thread Dmitry Osipenko
25.03.2021 17:42, Thierry Reding пишет: > On Tue, Mar 02, 2021 at 03:25:02PM +0300, Dmitry Osipenko wrote: >> PMC domain could be easily bombarded with the enable requests if there is >> a problem in regards to acquiring reset control of a domain and kernel >> log will be flooded with the error mes

RE: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-25 Thread Yuan, Perry
Hi Hans. Reviewing your feedback and working on next version below > -Original Message- > From: Hans de Goede > Sent: Wednesday, March 24, 2021 7:19 PM > To: Yuan, Perry; po...@protonmail.com; pierre- > louis.boss...@linux.intel.com; oder_ch...@realtek.com; pe...@perex.cz; > ti...@suse.

Re: [PATCH] net: change netdev_unregister_timeout_secs min value to 1

2021-03-25 Thread Dmitry Vyukov
On Thu, Mar 25, 2021 at 3:43 PM Eric Dumazet wrote: > On 3/25/21 3:38 PM, Dmitry Vyukov wrote: > > On Thu, Mar 25, 2021 at 3:34 PM Eric Dumazet wrote: > >> On 3/25/21 11:31 AM, Dmitry Vyukov wrote: > >>> netdev_unregister_timeout_secs=0 can lead to printing the > >>> "waiting for dev to become fr

[GIT PULL] arm64: Fixes for -rc5

2021-03-25 Thread Will Deacon
Hi Linus, Please pull these arm64 fixes for -rc5. Minor fixes all over, ranging from typos to tests to errata workarounds. Summary in the tag. Cheers, Will --->8 The following changes since commit c8e3866836528a4ba3b0535834f03768d74f7d8e: perf/arm_dmc620_pmu: Fix error return code in dmc620

Re: ext2_set_link()->ext2_put_page() question

2021-03-25 Thread Jan Kara
On Mon 22-03-21 17:49:48, Ira Weiny wrote: > 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 > e

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-25 Thread Alex Williamson
On Thu, 25 Mar 2021 10:37:54 +0200 Leon Romanovsky wrote: > On Wed, Mar 24, 2021 at 11:17:29AM -0600, Alex Williamson wrote: > > On Wed, 24 Mar 2021 17:13:56 +0200 > > Leon Romanovsky wrote: > > <...> > > > > Yes, and real testing/debugging almost always requires kernel rebuild. > > > Everyt

Re: [PATCH 1/1] iommu: Don't use lazy flush for untrusted device

2021-03-25 Thread Will Deacon
On Thu, Feb 25, 2021 at 02:14:54PM +0800, Lu Baolu wrote: > The lazy IOTLB flushing setup leaves a time window, in which the device > can still access some system memory, which has already been unmapped by > the device driver. It's not suitable for untrusted devices. A malicious > device might use

Re: [RFC Part2 PATCH 01/30] x86: Add the host SEV-SNP initialization support

2021-03-25 Thread Dave Hansen
> +static int __init mem_encrypt_snp_init(void) > +{ > + if (!boot_cpu_has(X86_FEATURE_SEV_SNP)) > + return 1; > + > + if (rmptable_init()) { > + setup_clear_cpu_cap(X86_FEATURE_SEV_SNP); > + return 1; > + } > + > + static_branch_enable(&snp_enabl

re: drm/ttm: switch to per device LRU lock

2021-03-25 Thread Colin Ian King
Hi, Static analysis with Coverity in linux-next has detected an issue in drivers/gpu/drm/ttm/ttm_bo.c with the follow commit: commit a1f091f8ef2b680a5184db065527612247cb4cae Author: Christian König Date: Tue Oct 6 17:26:42 2020 +0200 drm/ttm: switch to per device LRU lock Instead of

Re: [PATCH AUTOSEL 5.11 43/44] signal: don't allow STOP on PF_IO_WORKER threads

2021-03-25 Thread Sasha Levin
On Thu, Mar 25, 2021 at 08:02:11AM -0600, Jens Axboe wrote: On 3/25/21 7:56 AM, Stefan Metzmacher wrote: Am 25.03.21 um 14:38 schrieb Jens Axboe: On 3/25/21 6:11 AM, Stefan Metzmacher wrote: Am 25.03.21 um 13:04 schrieb Eric W. Biederman: Stefan Metzmacher writes: Am 25.03.21 um 12:24 sch

[PATCH bpf-next] libbpf: fix bail out from 'ringbuf_process_ring()' on error

2021-03-25 Thread Pedro Tammela
The current code bails out with negative and positive returns. If the callback returns a positive return code, 'ring_buffer__consume()' and 'ring_buffer__poll()' will return a spurious number of records consumed, but mostly important will continue the processing loop. This patch makes positive ret

Re: [PATCH v4 3/5] soc/tegra: pmc: Ensure that clock rates aren't too high

2021-03-25 Thread Dmitry Osipenko
25.03.2021 17:39, Thierry Reding пишет: > On Tue, Mar 02, 2021 at 03:25:00PM +0300, Dmitry Osipenko wrote: >> Switch all clocks of a power domain to a safe rate which is suitable >> for all possible voltages in order to ensure that hardware constraints >> aren't violated when power domain state tog

Re: [PATCHv2 2/2] iommu/arm-smmu-qcom: Move the adreno smmu specific impl earlier

2021-03-25 Thread Will Deacon
On Thu, Mar 25, 2021 at 01:10:12PM +0530, Sai Prakash Ranjan wrote: > On 2021-03-15 00:31, Sai Prakash Ranjan wrote: > > On 2021-03-12 04:59, Bjorn Andersson wrote: > > > On Sat 27 Feb 07:53 CST 2021, Sai Prakash Ranjan wrote: > > > > On 2021-02-27 00:44, Bjorn Andersson wrote: > > > > > On Fri 26

Re: [PATCH v4 3/5] soc/tegra: pmc: Ensure that clock rates aren't too high

2021-03-25 Thread Dmitry Osipenko
25.03.2021 18:02, Dmitry Osipenko пишет: > 25.03.2021 17:39, Thierry Reding пишет: >> On Tue, Mar 02, 2021 at 03:25:00PM +0300, Dmitry Osipenko wrote: >>> Switch all clocks of a power domain to a safe rate which is suitable >>> for all possible voltages in order to ensure that hardware constraints

Re: [PATCH v4 2/2] ASoC: rt715:add micmute led state control supports

2021-03-25 Thread Hans de Goede
Hi, On 3/25/21 3:11 PM, Yuan, Perry wrote: > Hi Hans > >> -Original Message- >> From: Hans de Goede >> Sent: Monday, March 22, 2021 11:02 PM >> To: Jaroslav Kysela; Yuan, Perry; Mark Brown; pierre- >> louis.boss...@linux.intel.com; Limonciello, Mario >> Cc: po...@protonmail.com; oder_ch.

Re: [PATCH] staging: gasket: remove it from the kernel

2021-03-25 Thread Jan Kiszka
On 25.03.21 15:52, Greg KH wrote: > On Thu, Mar 25, 2021 at 03:46:10PM +0100, Jan Kiszka wrote: >> On 15.03.21 17:10, Rob Springer wrote: >>> Acked-by: Rob Springer >>> >>> >>> On Mon, Mar 15, 2021 at 8:44 AM wrote: From: Greg Kroah-Hartman As none of the proposed things that

Re: [PATCH AUTOSEL 5.11 43/44] signal: don't allow STOP on PF_IO_WORKER threads

2021-03-25 Thread Jens Axboe
On 3/25/21 8:02 AM, Jens Axboe wrote: > On 3/25/21 7:56 AM, Stefan Metzmacher wrote: >> Am 25.03.21 um 14:38 schrieb Jens Axboe: >>> On 3/25/21 6:11 AM, Stefan Metzmacher wrote: Am 25.03.21 um 13:04 schrieb Eric W. Biederman: > Stefan Metzmacher writes: > >> Am 25.03.21 um 12

Re: [PATCH] ima: Fix the error code for restoring the PCR value

2021-03-25 Thread Mimi Zohar
On Wed, 2021-03-24 at 09:00 +, Roberto Sassu wrote: > > From: lihuafei > > Sent: Tuesday, March 23, 2021 2:41 PM > > ping. :-) > > > > On 2021/3/3 11:28, Li Huafei wrote: > > > In ima_restore_measurement_list(), hdr[HDR_PCR].data is pointing to a > > > buffer of type u8, which contains the dum

Re: [PATCH 2/2] streamline_config.pl: Add softtabstop=4 for vim users

2021-03-25 Thread Steven Rostedt
On Thu, 25 Mar 2021 23:09:38 +0900 Masahiro Yamada wrote: > > > Not all people use vim. > > > > I don't use it either. I was trying to make vim match emacs. Of course for > > those that use something else, it wont help. I'm curious, what's your main > > editor that you use? > > > I use emac

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 15:46:22, David Hildenbrand wrote: > On 25.03.21 15:34, Michal Hocko wrote: > > On Thu 25-03-21 15:09:35, David Hildenbrand wrote: > > > On 25.03.21 15:08, Michal Hocko wrote: > > > > On Thu 25-03-21 13:40:45, David Hildenbrand wrote: > > > > > On 25.03.21 13:35, Michal Hocko wrote:

Re: [PATCH] x86/tlb: Flush global mappings when KAISER is disabled

2021-03-25 Thread Babu Moger
On 3/25/21 5:29 AM, Borislav Petkov wrote: > Ok, > > I tried to be as specific as possible in the commit message so that we > don't forget. Please lemme know if I've missed something. > > Babu, Jim, I'd appreciate it if you ran this to confirm. > > Thx. > > --- > From: Borislav Petkov > Dat

Re: [PATCH net-next] net: stmmac: support FPE link partner hand-shaking procedure

2021-03-25 Thread Marek Szyprowski
wmac_meson8b snd_soc_meson_axg_fifo stmmac_platform meson_rng meson_drm stmmac rtc_meson_vrtc rng_core meson_canvas pwm_meson dw_hdmi mdio_mux_meson_g12a pcs_xpcs snd_soc_meson_axg_tdm_interface snd_soc_meson_axg_tdm_formatter nvmem_meson_efuse display_connector  CPU: 1 PID: 7 Comm: kworker/u

Re: md/dm-mpath: check whether all pgpaths have same uuid in multipath_ctr()

2021-03-25 Thread Mike Snitzer
On Wed, Mar 24 2021 at 9:21pm -0400, Zhiqiang Liu wrote: > > > On 2021/3/22 22:22, Mike Snitzer wrote: > > On Mon, Mar 22 2021 at 4:11am -0400, > > Christoph Hellwig wrote: > > > >> On Sat, Mar 20, 2021 at 03:19:23PM +0800, Zhiqiang Liu wrote: > >>> From: Zhiqiang Liu > >>> > >>> When we m

Re: [PATCH 1/6] usb: Iterator for ports

2021-03-25 Thread Heikki Krogerus
On Thu, Mar 25, 2021 at 10:41:09AM -0400, Alan Stern wrote: > On Thu, Mar 25, 2021 at 03:29:21PM +0300, Heikki Krogerus wrote: > > Introducing usb_for_each_port(). It works the same way as > > usb_for_each_dev(), but instead of going through every USB > > device in the system, it walks through the

Re: drm/ttm: switch to per device LRU lock

2021-03-25 Thread Christian König
Thanks! Just a copy&paste issue. Patch to fix this is on the mailing list. Christian. Am 25.03.21 um 16:00 schrieb Colin Ian King: Hi, Static analysis with Coverity in linux-next has detected an issue in drivers/gpu/drm/ttm/ttm_bo.c with the follow commit: commit a1f091f8ef2b680a5184db065527

Re: [RFC Part2 PATCH 04/30] x86/mm: split the physmap when adding the page in RMP table

2021-03-25 Thread Dave Hansen
On 3/24/21 10:04 AM, Brijesh Singh wrote: > The spliting of the physmap is a temporary solution until we work to > improve the kernel page fault handler to split the pages on demand. > One of the disadvtange of splitting is that eventually, we will end up > breaking down the entire physmap unless w

Re: [PATCH v3 07/11] perf: Add breakpoint information to siginfo on SIGTRAP

2021-03-25 Thread Marco Elver
On Thu, 25 Mar 2021 at 15:18, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > > > On Wed, Mar 24, 2021 at 3:05 PM Marco Elver wrote: > > > > > > On Wed, 24 Mar 2021 at 15:01, Peter Zijlstra wrote: > > > > > > > > One last try, I'll leave it alone now, I promise :-) > > > > > > This looks like i

[PATCH v2 1/2] fuse: Add support for FUSE_SETXATTR_V2

2021-03-25 Thread Vivek Goyal
Fuse client needs to send additional information to file server when it calls SETXATTR(system.posix_acl_access). Right now there is no extra space in fuse_setxattr_in. So introduce a v2 of the structure which has more space in it and can be used to send extra flags. "struct fuse_setxattr_in_v2" is

[PATCH v2 0/2] fuse: Fix clearing SGID when access ACL is set

2021-03-25 Thread Vivek Goyal
Hi, This is V2 of the patchset. Posted V1 here. https://lore.kernel.org/linux-fsdevel/20210319195547.427371-1-vgo...@redhat.com/ Changes since V1: - Dropped the helper to determine if SGID should be cleared and open coded it instead. I will follow up on helper separately in a different pa

[PATCH v2 2/2] fuse: Add a flag FUSE_SETXATTR_ACL_KILL_SGID to kill SGID

2021-03-25 Thread Vivek Goyal
When posix access ACL is set, it can have an effect on file mode and it can also need to clear SGID if. - None of caller's group/supplementary groups match file owner group. AND - Caller is not priviliged (No CAP_FSETID). As of now fuser server is responsible for changing the file mode as well. B

[PATCH] i2c: designware: Add base addr info

2021-03-25 Thread Daniel Gomez
Add i2c hw base address in the adapter name and when the device is probed. Output: root@qt5222:~# dmesg | grep -i syno [0.347045] i2c_designware AMDI0010:00: Synopsys DesignWare I2C adapter at 0xfedc4000 [0.348843] i2c_designware AMDI0010:01: Synopsys DesignWare I2C adapter at 0xfedc5000 r

Re: [PATCH] nvme: disallow passthru cmd from targeting a nsid != nsid of the block dev

2021-03-25 Thread Keith Busch
On Thu, Mar 25, 2021 at 09:48:37AM +, Niklas Cassel wrote: > From: Niklas Cassel > > When a passthru command targets a specific namespace, the ns parameter to > nvme_user_cmd()/nvme_user_cmd64() is set. However, there is currently no > validation that the nsid specified in the passthru comman

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread David Hildenbrand
On 25.03.21 16:12, Michal Hocko wrote: On Thu 25-03-21 15:46:22, David Hildenbrand wrote: On 25.03.21 15:34, Michal Hocko wrote: On Thu 25-03-21 15:09:35, David Hildenbrand wrote: On 25.03.21 15:08, Michal Hocko wrote: On Thu 25-03-21 13:40:45, David Hildenbrand wrote: On 25.03.21 13:35, Mic

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

2021-03-25 Thread Al Viro
On Thu, Mar 25, 2021 at 03:52:28PM +0100, Miklos Szeredi wrote: > On Tue, Mar 23, 2021 at 1:24 AM Eric Biggers wrote: > > > > +int vfs_miscattr_set(struct dentry *dentry, struct miscattr *ma) > > > +{ > > > + struct inode *inode = d_inode(dentry); > > > + struct miscattr old_ma = {}; > >

Re: [PATCH 1/6] usb: Iterator for ports

2021-03-25 Thread Greg Kroah-Hartman
On Thu, Mar 25, 2021 at 05:14:42PM +0200, Heikki Krogerus wrote: > On Thu, Mar 25, 2021 at 10:41:09AM -0400, Alan Stern wrote: > > On Thu, Mar 25, 2021 at 03:29:21PM +0300, Heikki Krogerus wrote: > > > Introducing usb_for_each_port(). It works the same way as > > > usb_for_each_dev(), but instead o

[PATCH] [v2] include: linux: debug_locks: Remove duplicate declaration

2021-03-25 Thread Wan Jiabing
struct task_struct has been declared. Remove the duplicate. Signed-off-by: Wan Jiabing --- Changelog: v2: - Remove another duplicate declaration for being closer to its user. --- include/linux/debug_locks.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/debug_locks.h b/incl

Re: [PATCH v3] cifs: Silently ignore unknown oplock break handle

2021-03-25 Thread Steve French
merged into cifs-2.6.git for-next On Fri, Mar 19, 2021 at 9:06 AM Tom Talpey via samba-technical wrote: > > LGTM feel free to add > > Reviewed-By: Tom Talpey > > On 3/19/2021 9:57 AM, Vincent Whitchurch wrote: > > Make SMB2 not print out an error when an oplock break is received for an > > unkno

[PATCH bpf] bpf: link: refuse non-zero file_flags in BPF_OBJ_GET

2021-03-25 Thread Lorenz Bauer
Invoking BPF_OBJ_GET on a pinned bpf_link checks the path access permissions based on file_flags, but the returned fd ignores flags. This means that any user can acquire a "read-write" fd for a pinned link with mode 0664 by invoking BPF_OBJ_GET with BPF_F_RDONLY in file_flags. The fd can be used to

Re: [PATCH V2] ARM: xen/mm.c: A mundane typo fix

2021-03-25 Thread Stefano Stabellini
On Wed, 24 Mar 2021, Randy Dunlap wrote: > On 3/24/21 9:35 PM, Bhaskar Chowdhury wrote: > > s/acrros/across/ > > > > Plus some words need prural version...so did it.(page->pages) > > > > Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap Acked-by: Stefano Stabellini > > --- > > C

Re: [PATCH 1/6] usb: Iterator for ports

2021-03-25 Thread Heikki Krogerus
On Thu, Mar 25, 2021 at 05:14:45PM +0200, Heikki Krogerus wrote: > On Thu, Mar 25, 2021 at 10:41:09AM -0400, Alan Stern wrote: > > On Thu, Mar 25, 2021 at 03:29:21PM +0300, Heikki Krogerus wrote: > > > Introducing usb_for_each_port(). It works the same way as > > > usb_for_each_dev(), but instead o

[PATCH v2 0/3] tty: serial: meson: add amlogic,uart-fifosize property

2021-03-25 Thread Neil Armstrong
On most of the Amlogic SoCs, the first UART controller in the "Everything-Else" power domain has 128bytes of RX & TX FIFO, so add an optional property to describe a different FIFO size from the other ports (64bytes). This adds a property in the bindings, reads the property from the driver and up

[PATCH v2 1/3] dt-bindings: serial: amlogic,meson-uart: add fifo-size property

2021-03-25 Thread Neil Armstrong
On most of the Amlogic SoCs, the first UART controller in the "Everything-Else" power domain has 128bytes of RX & TX FIFO, so add an optional property to describe a different FIFO size from the other ports (64bytes). Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- .../device

[PATCH v2 3/3] arm64: dts: meson: set 128bytes FIFO size on uart A

2021-03-25 Thread Neil Armstrong
The first UART controller in "Everything-Else" power domain, usually used for Bluetooth HCI has 128bytes FIFO depth. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi| 1 + arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 + arch/arm64/boot/dts/amlogic/mes

[PATCH v2 2/3] tty: serial: meson: retrieve port FIFO size from DT

2021-03-25 Thread Neil Armstrong
Now the DT bindings has a property to get the FIFO size for a particular port, retrieve it and use to setup the FIFO interrupts threshold. Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman --- drivers/tty/serial/meson_uart.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

Re: [RFC Part2 PATCH 07/30] mm: add support to split the large THP based on RMP violation

2021-03-25 Thread Brijesh Singh
On 3/25/21 9:48 AM, Dave Hansen wrote: > On 3/24/21 10:04 AM, Brijesh Singh wrote: >> When SEV-SNP is enabled globally in the system, a write from the hypervisor >> can raise an RMP violation. We can resolve the RMP violation by splitting >> the virtual address to a lower page level. >> >> e.g >>

[tip: x86/cleanups] x86/syscalls: Fix -Wmissing-prototypes warnings from COND_SYSCALL()

2021-03-25 Thread tip-bot2 for Masahiro Yamada
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 7dfe553affd0d003c7535b7ba60d09193471ea9d Gitweb: https://git.kernel.org/tip/7dfe553affd0d003c7535b7ba60d09193471ea9d Author:Masahiro Yamada AuthorDate:Mon, 01 Mar 2021 22:15:26 +09:00 Comm

RE: [PATCH][next] UAPI: nfsfh.h: Replace one-element array with flexible-array member

2021-03-25 Thread David Laight
From: Gustavo A. R. Silva > Sent: 25 March 2021 13:18 > > On 3/25/21 08:45, David Laight wrote: > > From: Gustavo A. R. Silva > >> Sent: 23 March 2021 22:49 > >> > >> There is a regular need in the kernel to provide a way to declare having > >> a dynamically sized set of trailing elements in a str

Re: [RFC Part2 PATCH 01/30] x86: Add the host SEV-SNP initialization support

2021-03-25 Thread Brijesh Singh
On 3/25/21 9:58 AM, Dave Hansen wrote: >> +static int __init mem_encrypt_snp_init(void) >> +{ >> +if (!boot_cpu_has(X86_FEATURE_SEV_SNP)) >> +return 1; >> + >> +if (rmptable_init()) { >> +setup_clear_cpu_cap(X86_FEATURE_SEV_SNP); >> +return 1; >> +}

Re: [PATCH 1/6] usb: Iterator for ports

2021-03-25 Thread Alan Stern
On Thu, Mar 25, 2021 at 05:14:42PM +0200, Heikki Krogerus wrote: > On Thu, Mar 25, 2021 at 10:41:09AM -0400, Alan Stern wrote: > > On Thu, Mar 25, 2021 at 03:29:21PM +0300, Heikki Krogerus wrote: > > > Introducing usb_for_each_port(). It works the same way as > > > usb_for_each_dev(), but instead o

Re: [PATCH 1/6] usb: Iterator for ports

2021-03-25 Thread Heikki Krogerus
On Thu, Mar 25, 2021 at 04:20:15PM +0100, Greg Kroah-Hartman wrote: > On Thu, Mar 25, 2021 at 05:14:42PM +0200, Heikki Krogerus wrote: > > On Thu, Mar 25, 2021 at 10:41:09AM -0400, Alan Stern wrote: > > > On Thu, Mar 25, 2021 at 03:29:21PM +0300, Heikki Krogerus wrote: > > > > Introducing usb_for_e

Re: [PATCH v3 07/11] perf: Add breakpoint information to siginfo on SIGTRAP

2021-03-25 Thread Ingo Molnar
* Marco Elver wrote: > > Yeah, so why cannot we allocate enough space from the signal > > handler user-space stack and put the attr there, and point to it > > from sig_info? > > > > The idea would be to create a stable, per-signal snapshot of > > whatever the perf_attr state is at the moment

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 16:19:36, David Hildenbrand wrote: > On 25.03.21 16:12, Michal Hocko wrote: > > On Thu 25-03-21 15:46:22, David Hildenbrand wrote: > > > On 25.03.21 15:34, Michal Hocko wrote: > > > > On Thu 25-03-21 15:09:35, David Hildenbrand wrote: > > > > > On 25.03.21 15:08, Michal Hocko wrote:

Compliments of the Season

2021-03-25 Thread ahmed zengo
Compliments of the Season Greetings from Ahmed Zengo I have something to discuss with you and it is very important and urgent. Please contact me by my email:ahmedzengo1...@gmail.com For further explanation Sincerely Ahmed zengo

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread David Hildenbrand
On 25.03.21 16:35, Michal Hocko wrote: On Thu 25-03-21 16:19:36, David Hildenbrand wrote: On 25.03.21 16:12, Michal Hocko wrote: On Thu 25-03-21 15:46:22, David Hildenbrand wrote: On 25.03.21 15:34, Michal Hocko wrote: On Thu 25-03-21 15:09:35, David Hildenbrand wrote: On 25.03.21 15:08, Mic

Re: [PATCH v3] cifs: Silently ignore unknown oplock break handle

2021-03-25 Thread Paulo Alcantara
Vincent Whitchurch writes: > Make SMB2 not print out an error when an oplock break is received for an > unknown handle, similar to SMB1. The debug message which is printed for > these unknown handles may also be misleading, so fix that too. > > The SMB2 lease break path is not affected by this p

Re: [PATCH] i2c: designware: Add base addr info

2021-03-25 Thread Andy Shevchenko
On Thu, Mar 25, 2021 at 04:12:48PM +0100, Daniel Gomez wrote: > Add i2c hw base address in the adapter name and when the device is > probed. Why? We have /proc/iomem for that. Sorry, I don't see value of this change. Some comments below just to let you know about style:ish issues. ... >

[PATCH 0/6] Add FF-A support in OP-TEE driver

2021-03-25 Thread Jens Wiklander
Hi all, This adds supports for the OP-TEE driver to communicate with secure world using FF-A [1] as transport. These patches are based on the FF-A v4 patch set by Sudeep Holla [2] [3]. There is one change to the TEE subsystem with "tee: add sec_world_id to struct tee_shm" to add support for hold

[PATCH 2/6] optee: simplify optee_release()

2021-03-25 Thread Jens Wiklander
Simplifies optee_release() with a new helper function, optee_close_session_helper() which has been factored out from optee_close_session(). A separate optee_release_supp() is added for the supplicant device. Signed-off-by: Jens Wiklander --- drivers/tee/optee/call.c | 31 ++

[PATCH 3/6] optee: sync optee_msg.h and optee_rpc_cmd.h

2021-03-25 Thread Jens Wiklander
Updates to latest optee_msg.h and optee_rpc_cmd.h. There's no changes in the ABI. Only some clarifications and a complete specification of RPC requests where the latter is now in a separate file, optee_rpc_cmd.h. Most of the RPC requests are not served by the OP-TEE driver instead they are forward

[PATCH 5/6] optee: add a FF-A memory pool

2021-03-25 Thread Jens Wiklander
Adds a memory pool to be used when the driver uses FF-A [1] as transport layer. [1] https://developer.arm.com/documentation/den0077/latest Signed-off-by: Jens Wiklander --- drivers/tee/optee/shm_pool.c | 65 +--- drivers/tee/optee/shm_pool.h | 1 + 2 files change

[PATCH 1/6] tee: add sec_world_id to struct tee_shm

2021-03-25 Thread Jens Wiklander
Adds sec_world_id to struct tee_shm which describes a shared memory object. sec_world_id can be used by a driver to store an id assigned by secure world. Signed-off-by: Jens Wiklander --- include/linux/tee_drv.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/li

[PATCH 4/6] optee: refactor driver with internal callbacks

2021-03-25 Thread Jens Wiklander
The OP-TEE driver is refactored with three internal callbacks replacing direct calls to optee_from_msg_param(), optee_to_msg_param() and optee_do_call_with_arg(). These functions a central to communicating with OP-TEE in secure world by using the SMC Calling Convention directly. This refactoring

[PATCH 6/6] optee: add FF-A support

2021-03-25 Thread Jens Wiklander
Adds support for using FF-A [1] as transport to the OP-TEE driver. Introduces struct optee_msg_param_fmem which carries all information needed when OP-TEE is calling FFA_MEM_RETRIEVE_REQ to get the shared memory reference mapped by the hypervisor in S-EL2. Register usage is also updated to include

Re: [PATCH] [v2] include: linux: debug_locks: Remove duplicate declaration

2021-03-25 Thread Andy Shevchenko
On Thu, Mar 25, 2021 at 11:20:28PM +0800, Wan Jiabing wrote: > struct task_struct has been declared. "...declared twice." In the subject line the "include: linux: " part is not needed. FWIW, after addressing above, Reviewed-by: Andy Shevchenko > Remove the duplicate. > > Signed-off-by: Wan Ji

[PATCH v5 0/7] Move Hisilicon 6421v600 SPMI and USB drivers out of staging

2021-03-25 Thread Mauro Carvalho Chehab
Hi Greg, Those are the remaining patches that are needed for the USB to work with Hikey970. This is based on the top of next-20210323. The main change from the previous patch series is that a new patch was added: - staging: hisilicon,hisi-spmi-controller.yaml cleanup schema It does some change

[PATCH v5 7/7] dts: hisilicon: add support for USB3 on Hikey 970

2021-03-25 Thread Mauro Carvalho Chehab
Add the USB3 bindings for Kirin 970 phy and Hikey 970 board. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 102 ++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 58 ++ 2 files changed, 160 insertions(+) diff --git a/arch/arm6

[PATCH v5 5/7] regulator: hi6421v600-regulator: move it from staging

2021-03-25 Thread Mauro Carvalho Chehab
This driver is ready for mainstream. Move it out of staging. Signed-off-by: Mauro Carvalho Chehab --- drivers/regulator/Kconfig| 9 + drivers/regulator/Makefile | 1 + .../hikey9xx => regulator}/hi6421v600-regulator.c| 0 drive

[PATCH v5 4/7] mfd: hi6421-spmi-pmic: move driver from staging

2021-03-25 Thread Mauro Carvalho Chehab
This driver is ready for mainstream. So, move it out of staging. Signed-off-by: Mauro Carvalho Chehab --- .../mfd}/hisilicon,hi6421-spmi-pmic.yaml | 0 MAINTAINERS| 7 +++ drivers/mfd/Kconfig| 16 driver

[PATCH v5 6/7] dts: hisilicon: add support for the PMIC found on Hikey 970

2021-03-25 Thread Mauro Carvalho Chehab
Add a device tree for the HiSilicon 6421v600 SPMI PMIC, used on HiKey970 board. As we now have support for it, change the fixed regulators used by the SD I/O to use the proper LDO supplies. Signed-off-by: Mauro Carvalho Chehab --- .../boot/dts/hisilicon/hi3670-hikey970.dts| 22 + .../bo

[PATCH v5 1/7] phy: phy-hi3670-usb3: move driver from staging into phy

2021-03-25 Thread Mauro Carvalho Chehab
The phy USB3 driver for Hisilicon 970 (hi3670) is ready for mainstream. Mode it from staging into the main driver's phy/ directory. Acked-by: Rob Herring Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 0 MAINTAINERS

[PATCH v5 2/7] staging: hisilicon,hisi-spmi-controller.yaml cleanup schema

2021-03-25 Thread Mauro Carvalho Chehab
Remove some properties already defined at SPMI bus, and place the type for the spmi-channel. Signed-off-by: Mauro Carvalho Chehab --- .../hisilicon,hisi-spmi-controller.yaml| 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/staging/hikey9xx/hi

[PATCH v5 3/7] spmi: hisi-spmi-controller: move driver from staging

2021-03-25 Thread Mauro Carvalho Chehab
The Hisilicon 6421v600 SPMI driver is ready for mainstream. So, move it from staging. Acked-by: Stephen Boyd Signed-off-by: Mauro Carvalho Chehab --- .../spmi}/hisilicon,hisi-spmi-controller.yaml | 0 MAINTAINERS | 7 +++ drivers/spmi/Kco

Re: [PATCH] clk: Mark fwnodes when their clock provider is added

2021-03-25 Thread Geert Uytterhoeven
Hi Marek, On Thu, Mar 25, 2021 at 2:32 PM Marek Szyprowski wrote: > On 10.02.2021 12:44, Tudor Ambarus wrote: > > This is a follow-up for: > > commit 3c9ea42802a1 ("clk: Mark fwnodes when their clock provider is > > added/removed") > > > > The above commit updated the deprecated of_clk_add_provi

Re: [PATCH] KVM: VMX: Check the corresponding bits according to the intel sdm

2021-03-25 Thread Sean Christopherson
On Thu, Mar 25, 2021, Haiwei Li wrote: > On Tue, Mar 23, 2021 at 10:37 AM wrote: > > > > From: Haiwei Li > > > > According to IA-32 SDM Vol.3D "A.1 BASIC VMX INFORMATION", two inspections > > are missing. > > * Bit 31 is always 0. Earlier versions of this manual specified that the > > VMCS revisi

Re: [RFC Part2 PATCH 01/30] x86: Add the host SEV-SNP initialization support

2021-03-25 Thread Dave Hansen
On 3/25/21 8:31 AM, Brijesh Singh wrote: > > On 3/25/21 9:58 AM, Dave Hansen wrote: >>> +static int __init mem_encrypt_snp_init(void) >>> +{ >>> + if (!boot_cpu_has(X86_FEATURE_SEV_SNP)) >>> + return 1; >>> + >>> + if (rmptable_init()) { >>> + setup_clear_cpu_cap(X86_FEATUR

Re: [PATCH] Fix fnic driver to remove bogus ratelimit messages.

2021-03-25 Thread Lee Duncan
On 3/24/21 3:41 PM, Joe Perches wrote: > On Tue, 2021-03-23 at 10:27 -0700, ldun...@suse.com wrote: >> From: Lee Duncan >> >> Commit b43abcbbd5b1 ("scsi: fnic: Ratelimit printks to avoid >> looding when vlan is not set by the switch.i") added >> printk_ratelimit() in front of a couple of debug-mod

Re: [PATCH] riscv: Do not invoke early_init_dt_verify() twice

2021-03-25 Thread Changbin Du
On Wed, Mar 24, 2021 at 08:51:06PM +0530, Anup Patel wrote: > On Wed, Mar 24, 2021 at 8:33 PM Changbin Du wrote: > > > > In the setup_arch() of riscv, function early_init_dt_verify() has > > been done by parse_dtb(). So no need to call it again. Just directly > > invoke unflatten_device_tree(). >

Re: [RFC Part2 PATCH 07/30] mm: add support to split the large THP based on RMP violation

2021-03-25 Thread Dave Hansen
On 3/25/21 8:24 AM, Brijesh Singh wrote: > On 3/25/21 9:48 AM, Dave Hansen wrote: >> On 3/24/21 10:04 AM, Brijesh Singh wrote: >>> When SEV-SNP is enabled globally in the system, a write from the hypervisor >>> can raise an RMP violation. We can resolve the RMP violation by splitting >>> the virtua

RE: [PATCH v2 0/4] vmalloc: Improve vmalloc(4MB) performance

2021-03-25 Thread David Laight
From: Matthew Wilcox > Sent: 24 March 2021 15:05 > > I may have gone a little too far with the first patch. It turns out we > have a lot of code using the vmalloc caller functionality, and I decided > to convert it all to unsigned long instead of leaving some paths as void * > and casting later.

Re: [PATCH] of/fdt: Check dtb pointer first in unflatten_device_tree

2021-03-25 Thread Changbin Du
On Wed, Mar 24, 2021 at 10:52:30AM -0600, Rob Herring wrote: > On Wed, Mar 24, 2021 at 9:04 AM Changbin Du wrote: > > > > The setup_arch() would invoke unflatten_device_tree() even no > > valid fdt found. So we'd better check it first and return early. > > > > Signed-off-by: Changbin Du > > --- >

Re: [RFC PATCH v7 04/22] af_vsock: implement SEQPACKET receive loop

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 12:34, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:10:03PM +0300, Arseny Krasnov wrote: >> This adds receive loop for SEQPACKET. It looks like receive loop for >> STREAM, but there is a little bit difference: >> 1) It doesn't call notify callbacks. >> 2) It doesn't care a

Re: [RFC PATCH v7 11/22] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 12:56, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:12:41PM +0300, Arseny Krasnov wrote: >> This adds transport callback and it's logic for SEQPACKET dequeue. >> Callback fetches RW packets from rx queue of socket until whole record >> is copied(if user's buffer is full, u

Re: [RFC PATCH v7 12/22] virtio/vsock: fetch length for SEQPACKET record

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 13:08, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:12:55PM +0300, Arseny Krasnov wrote: >> This adds transport callback which tries to fetch record begin marker > >from socket's rx queue. It is called from af_vsock.c before reading data >> packets of record. >> >> Signed-

[PATCH] [v3] debug_locks: Remove duplicate declaration

2021-03-25 Thread Wan Jiabing
struct task_struct is declared twice. Remove the duplicate. Reviewed-by: Andy Shevchenko Signed-off-by: Wan Jiabing --- Changelog: v3: - Add reviewer info and modify subject line v2: - Remove another duplicate declaration for being closer to its user. --- include/linux/debug_locks.h | 2 -- 1

Re: [RFC PATCH v7 14/22] virtio/vsock: rest of SOCK_SEQPACKET support

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 13:18, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:13:29PM +0300, Arseny Krasnov wrote: >> This adds rest of logic for SEQPACKET: >> 1) SEQPACKET specific functions which send SEQ_BEGIN/SEQ_END. >> Note that both functions may sleep to wait enough space for >> SEQPACK

Re: [RFC PATCH v7 15/22] virtio/vsock: SEQPACKET support feature bit

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 13:26, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:13:49PM +0300, Arseny Krasnov wrote: >> This adds new virtio vsock specific feature bit which means >> SOCK_SEQPACKET support. Guest negotiates this bit with vhost, >> thus checking that vhost side supports SEQPACKET. >>

Re: [RFC PATCH v7 16/22] virtio/vsock: setup SEQPACKET ops for transport

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 13:39, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:14:03PM +0300, Arseny Krasnov wrote: >> This adds SEQPACKET ops for virtio transport and 'seqpacket_allow()' >> callback. >> >> Signed-off-by: Arseny Krasnov >> --- >> net/vmw_vsock/virtio_transport.c | 12 >

Re: [RFC PATCH v7 17/22] vhost/vsock: setup SEQPACKET ops for transport

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 13:42, Stefano Garzarella wrote: > On Tue, Mar 23, 2021 at 04:14:18PM +0300, Arseny Krasnov wrote: >> This also removes ignore of non-stream type of packets and adds >> 'seqpacket_allow()' callback. >> >> Signed-off-by: Arseny Krasnov >> --- >> drivers/vhost/vsock.c | 15 ++

Re: [RFC PATCH v7 00/22] virtio/vsock: introduce SOCK_SEQPACKET support

2021-03-25 Thread Arseny Krasnov
On 25.03.2021 13:52, Stefano Garzarella wrote: > Hi Arseny, > > On Tue, Mar 23, 2021 at 04:07:13PM +0300, Arseny Krasnov wrote: >> This patchset implements support of SOCK_SEQPACKET for virtio >> transport. >> As SOCK_SEQPACKET guarantees to save record boundaries, so to >> do it, two n

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 16:35:58, Michal Hocko wrote: [...] > So there is indeed a difference. One way around that would be to mark > vmemmap pages (e.g. PageReserved && magic value stored somewhere in the > struct page - resembling bootmem vmemmaps) or mark section fully backing > vmemmaps as online (ugly

Re: [PATCH net-next v2] net: change netdev_unregister_timeout_secs min value to 1

2021-03-25 Thread Eric Dumazet
On 3/25/21 3:52 PM, Dmitry Vyukov wrote: > netdev_unregister_timeout_secs=0 can lead to printing the > "waiting for dev to become free" message every jiffy. > This is too frequent and unnecessary. > Set the min value to 1 second. > > Also fix the merge issue introduced by > "net: make unregiste

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-25 Thread Leon Romanovsky
On Thu, Mar 25, 2021 at 08:55:04AM -0600, Alex Williamson wrote: > On Thu, 25 Mar 2021 10:37:54 +0200 > Leon Romanovsky wrote: > > > On Wed, Mar 24, 2021 at 11:17:29AM -0600, Alex Williamson wrote: > > > On Wed, 24 Mar 2021 17:13:56 +0200 > > > Leon Romanovsky wrote: > > > > <...> > > > > >

Re: [PATCH v8 3/3] arm64: dts: ti: k3-j7200: Add support for higher speed modes and update delay select values for MMCSD subsystems

2021-03-25 Thread Kishon Vijay Abraham I
Hi Aswath, On 24/03/21 12:07 pm, Aswath Govindraju wrote: > The following speed modes are now supported in J7200 SoC, > - HS200 and HS400 modes at 1.8 V card voltage, in MMCSD0 subsystem [1]. > - UHS-I speed modes in MMCSD1 subsystem [1]. > > Add support for UHS-I modes by adding voltage regulato

Re: [PATCH v3 01/11] perf: Rework perf_event_exit_event()

2021-03-25 Thread Marco Elver
On Thu, Mar 25, 2021 at 11:17AM +0100, Marco Elver wrote: > On Wed, Mar 24, 2021 at 12:24PM +0100, Marco Elver wrote: > > From: Peter Zijlstra > > > > Make perf_event_exit_event() more robust, such that we can use it from > > other contexts. Specifically the up and coming remove_on_exec. > > > >

Re: [PATCH V2] arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card

2021-03-25 Thread Doug Anderson
Hi, On Wed, Mar 24, 2021 at 8:59 PM Veerabhadrarao Badiganti wrote: > > >> + clocks = <&gcc GCC_SDCC1_APPS_CLK>, > >> + <&gcc GCC_SDCC1_AHB_CLK>, > >> + <&rpmhcc RPMH_CXO_CLK>; > >> +

[PATCH v2] tracing: Update create_system_filter() kernel-doc comment

2021-03-25 Thread Qiujun Huang
commit f306cc82a93d ("tracing: Update event filters for multibuffer") added the parameter @tr for create_system_filter(). commit bb9ef1cb7d86 ("tracing: Change apply_subsystem_event_filter() paths to check file->system == dir") changed the parameter from @system to @dir. Signed-off-by: Qiujun Hua

<    4   5   6   7   8   9   10   11   12   13   >