Re: [PATCH] USB: serial: drop bogus to_usb_serial_port() checks

2021-02-08 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 04:48:06PM +0100, Johan Hovold wrote: > The to_usb_serial_port() macro is implemented using container_of() so > there's no need to check for NULL. > > Note that neither bus match() or probe() is ever called with a NULL > struct device pointer so the checks weren't just misp

Re: [PATCH 1/5] sched: make struct task_struct::state 32-bit

2021-02-08 Thread Alexey Dobriyan
On Mon, Feb 08, 2021 at 04:25:35PM +0100, Peter Zijlstra wrote: > On Mon, Feb 08, 2021 at 05:52:45PM +0300, Alexey Dobriyan wrote: > > On Mon, Feb 08, 2021 at 05:30:25PM +0300, Alexey Dobriyan wrote: > > > On Mon, Feb 08, 2021 at 11:34:18AM +0100, Peter Zijlstra wrote: > > > > On Sat, Feb 06, 2021

Re: [PATCH v10 7/7] at24: Support probing while off

2021-02-08 Thread Bartosz Golaszewski
On Fri, Feb 5, 2021 at 2:25 PM Sakari Ailus wrote: > > In certain use cases (where the chip is part of a camera module, and the > camera module is wired together with a camera privacy LED), powering on > the device during probe is undesirable. Add support for the at24 to > execute probe while bein

[RFC PATCH 1/8] of/device: Allow specifying a custom iommu_spec to of_dma_configure

2021-02-08 Thread Mikko Perttunen
To allow for more customized device tree bindings that point to IOMMUs, allow manual specification of iommu_spec to of_dma_configure. The initial use case for this is with Host1x, where the driver manages a set of device tree-defined IOMMU contexts that are dynamically allocated to various users.

[RFC PATCH 4/8] gpu: host1x: Program context stream ID on submission

2021-02-08 Thread Mikko Perttunen
Add code to do stream ID switching at the beginning of a job. The stream ID is switched to the stream ID specified by the context passed in the job structure. Before switching the stream ID, an OP_DONE wait is done on the channel's engine to ensure that there is no residual ongoing work that might

Re: [PATCH] psi: Remove the redundant psi_task_tick

2021-02-08 Thread Johannes Weiner
On Sun, Feb 07, 2021 at 07:56:42PM +0800, Chengming Zhou wrote: > From: zhouchengming > > When the current task in a cgroup is in_memstall, the corresponding psi_group > is in PSI_MEM_FULL state This is correct. > so we can remove the redundant psi_task_tick from scheduler_tick to > save this p

[RFC PATCH 0/8] Host1x context isolation support

2021-02-08 Thread Mikko Perttunen
Hi all, this series adds support for Host1x 'context isolation'. Since when programming engines through Host1x, userspace can program in any addresses it wants, we need some way to isolate the engines' memory spaces. Traditionally this has either been done imperfectly with a single shared IOMMU do

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-08 Thread Andi Kleen
> > > So what happens if NMI happens here, and triggers a nested #VE ? > > > > Yes that's a gap. We should probably bail out and reexecute the original > > instruction. The VE handler would need to set a flag for that. > > > > Or alternatively the NMI always gets the VE information and puts > > i

Re: [PATCH v2] KVM: x86/MMU: Do not check unsync status for root SP.

2021-02-08 Thread Paolo Bonzini
On 08/02/21 14:49, Yu Zhang wrote: On Mon, Feb 08, 2021 at 12:36:57PM +0100, Paolo Bonzini wrote: On 07/02/21 13:22, Yu Zhang wrote: In shadow page table, only leaf SPs may be marked as unsync. And for non-leaf SPs, we use unsync_children to keep the number of the unsynced children. In kvm_mmu_

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-08 Thread Sean Christopherson
On Mon, Feb 08, 2021, Peter Zijlstra wrote: > On Mon, Feb 08, 2021 at 08:23:01AM -0800, Andi Kleen wrote: > > > > +#ifdef CONFIG_INTEL_TDX_GUEST > > > > +DEFINE_IDTENTRY(exc_virtualization_exception) > > > > +{ > > > > + struct ve_info ve; > > > > + int ret; > > > > + > > > > + RC

Re: linux-next: build warning after merge of the v4l-dvb tree

2021-02-08 Thread Sakari Ailus
Hi Ezequiel, Thanks for addressing this. On Mon, Feb 08, 2021 at 01:42:21PM -0300, Ezequiel Garcia wrote: > Hi Stephen, > > On Mon, 2021-02-08 at 23:37 +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the v4l-dvb tree, today's linux-next build (htmldocs) > > produced this warnin

[PATCH for 4.19] Fix unsynchronized access to sev members through svm_register_enc_region

2021-02-08 Thread Peter Gonda
commit 19a23da53932bc8011220bd8c410cb76012de004 upstream. Grab kvm->lock before pinning memory when registering an encrypted region; sev_pin_memory() relies on kvm->lock being held to ensure correctness when checking and updating the number of pinned pages. Add a lockdep assertion to help prevent

[PATCH for 5.4] Fix unsynchronized access to sev members through svm_register_enc_region

2021-02-08 Thread Peter Gonda
commit 19a23da53932bc8011220bd8c410cb76012de004 upstream. Grab kvm->lock before pinning memory when registering an encrypted region; sev_pin_memory() relies on kvm->lock being held to ensure correctness when checking and updating the number of pinned pages. Add a lockdep assertion to help prevent

Re: [PATCH for 4.19] Fix unsynchronized access to sev members through svm_register_enc_region

2021-02-08 Thread Paolo Bonzini
On 08/02/21 17:48, Peter Gonda wrote: commit 19a23da53932bc8011220bd8c410cb76012de004 upstream. Grab kvm->lock before pinning memory when registering an encrypted region; sev_pin_memory() relies on kvm->lock being held to ensure correctness when checking and updating the number of pinned pages.

Re: [PATCH for 5.4] Fix unsynchronized access to sev members through svm_register_enc_region

2021-02-08 Thread Paolo Bonzini
On 08/02/21 17:48, Peter Gonda wrote: commit 19a23da53932bc8011220bd8c410cb76012de004 upstream. Grab kvm->lock before pinning memory when registering an encrypted region; sev_pin_memory() relies on kvm->lock being held to ensure correctness when checking and updating the number of pinned pages.

Re: [RFC PATCH 1/8] of/device: Allow specifying a custom iommu_spec to of_dma_configure

2021-02-08 Thread Mikko Perttunen
On 2/8/21 6:38 PM, Mikko Perttunen wrote: ... -static int of_iommu_xlate(struct device *dev, - struct of_phandle_args *iommu_spec) +int of_iommu_xlate(struct device *dev, struct of_phandle_args *iommu_spec) ... +EXPORT_SYMBOL_GPL(of_iommu_xlate); These two chunks shou

Re: [PATCH 03/15] dt-bindings: memory: fsl: convert ifc binding to yaml schema

2021-02-08 Thread Rob Herring
On Fri, 05 Feb 2021 17:47:22 -0600, Li Yang wrote: > Convert the txt binding to yaml format and add description. Also > updated the recommended node name to ifc-bus to align with the > simple-bus node name requirements. > > Signed-off-by: Li Yang > --- > .../bindings/memory-controllers/fsl/ifc.

Re: [PATCH 3/3] dt-bindings: mailbox: Add interrupt-names to SPRD mailbox

2021-02-08 Thread Rob Herring
On Mon, 08 Feb 2021 19:51:04 +0800, Orson Zhai wrote: > From: Orson Zhai > > We add an optional supp-outbox interrupt support to driver and change to > describe interrupts with names for easy configuration in device tree files. > > Signed-off-by: Orson Zhai > --- > Documentation/devicetree/bin

[PATCH v12 4/7] arm64: mte: Enable TCO in functions that can read beyond buffer limits

2021-02-08 Thread Vincenzo Frascino
load_unaligned_zeropad() and __get/put_kernel_nofault() functions can read passed some buffer limits which may include some MTE granule with a different tag. When MTE async mode is enable, the load operation crosses the boundaries and the next granule has a different tag the PE sets the TFSR_EL1.T

[PATCH v12 3/7] kasan: Add report for async mode

2021-02-08 Thread Vincenzo Frascino
KASAN provides an asynchronous mode of execution. Add reporting functionality for this mode. Cc: Dmitry Vyukov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Andrey Konovalov Reviewed-by: Andrey Konovalov Signed-off-by: Vincenzo Frascino Signed-off-by: Andrey Konovalov --- include/linux/

[PATCH v12 0/7] arm64: ARMv8.5-A: MTE: Add async mode support

2021-02-08 Thread Vincenzo Frascino
This patchset implements the asynchronous mode support for ARMv8.5-A Memory Tagging Extension (MTE), which is a debugging feature that allows to detect with the help of the architecture the C and C++ programmatic memory errors like buffer overflow, use-after-free, use-after-return, etc. MTE is bui

Re: [PATCH v10 7/7] at24: Support probing while off

2021-02-08 Thread Rafael J. Wysocki
On Mon, Feb 8, 2021 at 5:44 PM Bartosz Golaszewski wrote: > > On Fri, Feb 5, 2021 at 2:25 PM Sakari Ailus > wrote: > > > > In certain use cases (where the chip is part of a camera module, and the > > camera module is wired together with a camera privacy LED), powering on > > the device during pro

[PATCH v12 7/7] kasan: don't run tests in async mode

2021-02-08 Thread Vincenzo Frascino
From: Andrey Konovalov Asynchronous KASAN mode doesn't guarantee that a tag fault will be detected immediately and causes tests to fail. Forbid running them in asynchronous mode. Signed-off-by: Andrey Konovalov --- lib/test_kasan.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/te

[PATCH v12 2/7] kasan: Add KASAN mode kernel parameter

2021-02-08 Thread Vincenzo Frascino
Architectures supported by KASAN_HW_TAGS can provide a sync or async mode of execution. On an MTE enabled arm64 hw for example this can be identified with the synchronous or asynchronous tagging mode of execution. In synchronous mode, an exception is triggered if a tag check fault occurs. In asynch

[PATCH v12 1/7] arm64: mte: Add asynchronous mode support

2021-02-08 Thread Vincenzo Frascino
MTE provides an asynchronous mode for detecting tag exceptions. In particular instead of triggering a fault the arm64 core updates a register which is checked by the kernel after the asynchronous tag check fault has occurred. Add support for MTE asynchronous mode. The exception handling mechanism

[PATCH v12 6/7] arm64: mte: Save/Restore TFSR_EL1 during suspend

2021-02-08 Thread Vincenzo Frascino
When MTE async mode is enabled TFSR_EL1 contains the accumulative asynchronous tag check faults for EL1 and EL0. During the suspend/resume operations the firmware might perform some operations that could change the state of the register resulting in a spurious tag check fault report. Save/restore

Re: [PATCH 2/2] MIPS: make kgdb depend on FPU support

2021-02-08 Thread Maciej W. Rozycki
On Fri, 22 Jan 2021, Arnd Bergmann wrote: > From: Arnd Bergmann > > kgdb fails to build when the FPU support is disabled: > > arch/mips/kernel/kgdb.c: In function 'dbg_set_reg': > arch/mips/kernel/kgdb.c:147:35: error: 'struct thread_struct' has no member > named 'fpu' > 147 |memcpy((voi

Re: linux-next: build warning after merge of the v4l-dvb tree

2021-02-08 Thread Ezequiel Garcia
On Mon, 2021-02-08 at 18:46 +0200, Sakari Ailus wrote: > Hi Ezequiel, > > Thanks for addressing this. > > On Mon, Feb 08, 2021 at 01:42:21PM -0300, Ezequiel Garcia wrote: > > Hi Stephen, > > > > On Mon, 2021-02-08 at 23:37 +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging t

Re: [PATCH v2 net-next] net: socket: use BIT() for MSG_*

2021-02-08 Thread Jakub Kicinski
On Sat, 6 Feb 2021 19:18:16 -0800 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > The bit mask for MSG_* seems a little confused here. Replace it > with BIT() to make it clear to understand. > > Changes since v1: > - use BIT() instead of BIT_MASK() > > Signed-off-by: Menglong Dong

REPLY ME URGENTLY

2021-02-08 Thread Elizabeth Edward
Greeting Please forgive me for stressing you with my predicaments and I sorry to approach you through this media it is because it serves the fastest means of communication. I came across your E-mail from my personal search and I decided to contact you believing you will be honest to fulfill my fin

Re: [PATCH 1/1] kernel/smp: Split call_single_queue into 3 queues

2021-02-08 Thread Leonardo Bras
Hello Sebastian, Thanks for the feedback! On Thu, 2021-01-28 at 11:33 +0100, Sebastian Andrzej Siewior wrote: > On 2021-01-28 03:55:06 [-0300], Leonardo Bras wrote: > > Currently, during flush_smp_call_function_queue(): > > - All items are transversed once, for inverting. > > - The SYNC items are

[PATCH] of: base: improve error message in of_phandle_iterator_next()

2021-02-08 Thread Enrico Weigelt, metux IT consult
Also print out the phandle ID on error message, as a debug aid. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/of/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 161a23631472..8a348f0d3c5e 100644 --- a/driver

Re: [PATCH] USB: serial: drop bogus to_usb_serial_port() checks

2021-02-08 Thread Uwe Kleine-König
On 2/8/21 4:48 PM, Johan Hovold wrote: The to_usb_serial_port() macro is implemented using container_of() so there's no need to check for NULL. Note that neither bus match() or probe() is ever called with a NULL struct device pointer so the checks weren't just misplaced. Signed-off-by: Johan Ho

[PATCH 0/3] bus: fsl-mc: minor updates

2021-02-08 Thread Ioana Ciornei
From: Ioana Ciornei This patch set adds a fix on the userspace support of the fsl-mc bus. Other than that, a missing device type is added and some other commands to the list of the accepted ones. Dan Carpenter (1): bus: fsl-mc: Fix test for end of loop Ioana Ciornei (2): bus: fsl-mc: add th

Re: [PATCH] drm/qxl: properly handle device init failures

2021-02-08 Thread Tong Zhang
Does this patch fix an issue raised previously? Or should they be used together? https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2466541.html IMHO using this patch alone won’t fix the issue -- Best, - Tong > On Feb 8, 2021, at 5:41 AM, Gerd Hoffmann wrote: > > Specifically do not

[PATCH v12 5/7] arm64: mte: Enable async tag check fault

2021-02-08 Thread Vincenzo Frascino
MTE provides a mode that asynchronously updates the TFSR_EL1 register when a tag check exception is detected. To take advantage of this mode the kernel has to verify the status of the register at: 1. Context switching 2. Return to user/EL0 (Not required in entry from EL0 since the kernel did

RE: [PATCH 03/15] dt-bindings: memory: fsl: convert ifc binding to yaml schema

2021-02-08 Thread Leo Li
> -Original Message- > From: Rob Herring > Sent: Monday, February 8, 2021 10:55 AM > To: Leo Li > Cc: linux-arm-ker...@lists.infradead.org; Oleksij Rempel privat.de>; Rob Herring ; Krzysztof Kozlowski > ; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Shawn Guo > Subjec

Re: [PATCH v4 3/3] arm64: dts: reset: add microchip sparx5 switch reset driver

2021-02-08 Thread Rob Herring
On Mon, Feb 8, 2021 at 7:20 AM Steen Hegelund wrote: > > Hi Rob, > > On Fri, 2021-02-05 at 16:35 -0600, Rob Herring wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you > > know the content is safe > > > > On Wed, Jan 20, 2021 at 09:19:21AM +0100, Steen Hegelund wrote: > >

Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

2021-02-08 Thread Peter Zijlstra
On Mon, Feb 08, 2021 at 08:46:23AM -0800, Sean Christopherson wrote: > On Mon, Feb 08, 2021, Peter Zijlstra wrote: > > On Mon, Feb 08, 2021 at 08:23:01AM -0800, Andi Kleen wrote: > > > > > +#ifdef CONFIG_INTEL_TDX_GUEST > > > > > +DEFINE_IDTENTRY(exc_virtualization_exception) > > > > > +{ > > > > >

Re: (subset) [PATCH 1/2] ARM: s3c: irq-s3c24xx: include headers for missing declarations

2021-02-08 Thread Krzysztof Kozlowski
On Sat, 6 Feb 2021 14:36:14 +0100, Krzysztof Kozlowski wrote: > Include headers to fix W=1 build warnings: > > arch/arm/mach-s3c/irq-s3c24xx.c:389:5: warning: > no previous prototype for ‘s3c24xx_set_fiq’ [-Wmissing-prototypes] > arch/arm/mach-s3c/irq-s3c24xx.c:683:13: warning: > no pr

[PATCH 1/3] bus: fsl-mc: Fix test for end of loop

2021-02-08 Thread Ioana Ciornei
From: Dan Carpenter The "desc" pointer can't possibly be NULL here. If we can't find the correct "desc" then tt points to the last element of the fsl_mc_accepted_cmds[] array. Fix this by testing if "i == FSL_MC_NUM_ACCEPTED_CMDS" instead. Fixes: 2cf1e703f066 ("bus: fsl-mc: add fsl-mc userspac

Re: [PATCH v5 1/1] fpga: dfl: afu: harden port enable logic

2021-02-08 Thread Russ Weight
On 2/6/21 12:46 PM, Moritz Fischer wrote: > Russ, > > On Fri, Feb 05, 2021 at 10:25:21AM -0800, Russ Weight wrote: >> Port enable is not complete until ACK = 0. Change >> __afu_port_enable() to guarantee that the enable process >> is complete by polling for ACK == 0. >> >> Reviewed-by: Tom Rix

[PATCH 3/3] bus: fsl-mc: list more commands as accepted through the ioctl

2021-02-08 Thread Ioana Ciornei
From: Ioana Ciornei Add some new MC firmware commands that can be received through the userspace ioctl interface - *get_max_frame_length and *_get_counter. Signed-off-by: Ioana Ciornei --- drivers/bus/fsl-mc/fsl-mc-uapi.c | 50 1 file changed, 50 insertions(+)

[PATCH 2/3] bus: fsl-mc: add the dpdbg device type

2021-02-08 Thread Ioana Ciornei
From: Ioana Ciornei A new object type was recently added in MC. This has to be added in the fsl-mc bus device type list so that it can be properly listed. Signed-off-by: Ioana Ciornei --- drivers/bus/fsl-mc/fsl-mc-bus.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/bus/fsl

Re: (subset) [PATCH 1/2] ARM: s3c: irq-s3c24xx: include headers for missing declarations

2021-02-08 Thread Krzysztof Kozlowski
On Sat, 6 Feb 2021 14:36:14 +0100, Krzysztof Kozlowski wrote: > Include headers to fix W=1 build warnings: > > arch/arm/mach-s3c/irq-s3c24xx.c:389:5: warning: > no previous prototype for ‘s3c24xx_set_fiq’ [-Wmissing-prototypes] > arch/arm/mach-s3c/irq-s3c24xx.c:683:13: warning: > no pr

Re: [RFC v1 09/26] x86/tdx: Handle CPUID via #VE

2021-02-08 Thread Sean Christopherson
On Sun, Feb 07, 2021, Andy Lutomirski wrote: > > > On Feb 7, 2021, at 2:31 PM, Dave Hansen wrote: > > > > On 2/7/21 12:29 PM, Kirill A. Shutemov wrote: > >>> Couldn't you just have one big helper that takes *all* the registers > >>> that get used in any TDVMCALL and sets all the rcx bits? The

Re: rcu: INFO: rcu_sched self-detected stall on CPU: Workqueue: xfs-conv/md0 xfs_end_io

2021-02-08 Thread Paul E. McKenney
On Mon, Feb 08, 2021 at 10:44:58AM -0500, Brian Foster wrote: > On Mon, Feb 08, 2021 at 06:57:24AM -0800, Paul E. McKenney wrote: > > On Mon, Feb 08, 2021 at 09:07:24AM -0500, Brian Foster wrote: > > > On Fri, Feb 05, 2021 at 09:12:40AM -0800, Paul E. McKenney wrote: > > > > On Fri, Feb 05, 2021 at

Re: Linux 4.4.256

2021-02-08 Thread Guenter Roeck
On Sun, Feb 07, 2021 at 09:22:44AM +0100, Greg Kroah-Hartman wrote: [ ... ] > > There are lots (35) of "KERNEL_VERSION(4, 5, 0)" in chromeos-4.4. > > That should not matter with the clamped LINUX_VERSION_CODE, but > > I'd prefer to clamp KERNEL_VERSION as well just to be sure. On > > top of that, s

Re: [PATCH] swiotlb: Validate bounce size in the sync/unmap path

2021-02-08 Thread Konrad Rzeszutek Wilk
On Fri, Feb 05, 2021 at 06:58:52PM +0100, Christoph Hellwig wrote: > On Wed, Feb 03, 2021 at 02:36:38PM -0500, Konrad Rzeszutek Wilk wrote: > > > So what? If you guys want to provide a new capability you'll have to do > > > work. And designing a new protocol based around the fact that the > > > h

Re: (subset) [PATCH v2] memory: tegra186-emc: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

2021-02-08 Thread Krzysztof Kozlowski
On Sun, 7 Feb 2021 16:02:50 +0800, Jiapeng Chong wrote: > Fix the following coccicheck warning: > > drivers/memory/tegra/tegra186-emc.c:158:0-23: WARNING: > tegra186_emc_debug_max_rate_fops should be defined with > DEFINE_DEBUGFS_ATTRIBUTE. > > drivers/memory/tegra/tegra186-emc.c:128:0-23: WARNIN

Re: (subset) [PATCH] memory: samsung: exynos5422-dmc: Correct function names in kerneldoc

2021-02-08 Thread Krzysztof Kozlowski
On Sat, 6 Feb 2021 12:17:15 +0100, Krzysztof Kozlowski wrote: > Correct kerneldoc to fix W=1 warnings: > > drivers/memory/samsung/exynos5422-dmc.c:290: warning: > expecting prototype for find_target_freq_id(). Prototype was for > find_target_freq_idx() instead > drivers/memory/sam

Re: (subset) [PATCH] memory: ti-emif-pm: Drop of_match_ptr from of_device_id table

2021-02-08 Thread Krzysztof Kozlowski
On Sat, 6 Feb 2021 12:13:43 +0100, Krzysztof Kozlowski wrote: > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it might be not relevant here). This > fixes compi

Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2021-02-08 Thread Kalle Valo
Amit Pundir writes: > Hi Kalle, > > On Mon, 7 Dec 2020 at 22:25, Kalle Valo wrote: >> >> This is firmware version specific, right? There's also enum >> ath10k_fw_features which is embedded within firmware-N.bin, we could add >> a new flag there. But that means that a correct firmware-N.bin is ne

Re: [PATCH v5 2/2] procfs/dmabuf: Add inode number to /proc/*/fdinfo

2021-02-08 Thread Alexey Dobriyan
On Mon, Feb 08, 2021 at 03:22:44PM +, Matthew Wilcox wrote: > On Mon, Feb 08, 2021 at 03:14:28PM +, Kalesh Singh wrote: > > - seq_printf(m, "pos:\t%lli\nflags:\t0%o\nmnt_id:\t%i\n", > > + seq_printf(m, "pos:\t%lli\nflags:\t0%o\nmnt_id:\t%i\ninode_no:\t%lu\n", > > You changed it everywh

Re: Linux 4.4.256

2021-02-08 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 09:14:53AM -0800, Guenter Roeck wrote: > On Sun, Feb 07, 2021 at 09:22:44AM +0100, Greg Kroah-Hartman wrote: > [ ... ] > > > There are lots (35) of "KERNEL_VERSION(4, 5, 0)" in chromeos-4.4. > > > That should not matter with the clamped LINUX_VERSION_CODE, but > > > I'd pref

Re: [RFC PATCH 1/3] powerpc/lib: implement strlen() in assembly for PPC64

2021-02-08 Thread Christophe Leroy
Le 05/07/2018 à 10:53, Christophe Leroy a écrit : The generic implementation of strlen() reads strings byte per byte. This patch implements strlen() in assembly based on a read of entire words, in the same spirit as what some other arches and glibc do. strlen() selftest on an provid

Re: [PATCH v5 2/2] procfs/dmabuf: Add inode number to /proc/*/fdinfo

2021-02-08 Thread Matthew Wilcox
On Mon, Feb 08, 2021 at 08:17:34PM +0300, Alexey Dobriyan wrote: > On Mon, Feb 08, 2021 at 03:22:44PM +, Matthew Wilcox wrote: > > On Mon, Feb 08, 2021 at 03:14:28PM +, Kalesh Singh wrote: > > > - seq_printf(m, "pos:\t%lli\nflags:\t0%o\nmnt_id:\t%i\n", > > > + seq_printf(m, "pos:\t%lli\nfla

Re: [PATCH v1] kvm: x86: Revise guest_fpu xcomp_bv field

2021-02-08 Thread Sean Christopherson
On Mon, Feb 08, 2021, Dave Hansen wrote: > On 2/8/21 8:16 AM, Jing Liu wrote: > > -#define XSTATE_COMPACTION_ENABLED (1ULL << 63) > > - > > static void fill_xsave(u8 *dest, struct kvm_vcpu *vcpu) > > { > > struct xregs_state *xsave = &vcpu->arch.guest_fpu->state.xsave; > > @@ -4494,7 +4492,8

Re: [PATCH 4.9 00/43] 4.9.257-rc1 review

2021-02-08 Thread Florian Fainelli
On 2/8/21 7:00 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.257 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 know. > > Responses should

Re: [PATCH RFC 3/7] kvm: x86: XSAVE state and XFD MSRs context switch

2021-02-08 Thread Sean Christopherson
On Mon, Feb 08, 2021, Paolo Bonzini wrote: > On 07/02/21 16:42, Jing Liu wrote: > > |In KVM, "guest_fpu" serves for any guest task working on this vcpu > > during vmexit and vmenter. We provide a pre-allocated guest_fpu space > > and entire "guest_fpu.state_mask" to avoid each dynamic features > >

Re: [RFC PATCH v8 5/5] KVM: arm64: ioctl to fetch/store tags in a guest

2021-02-08 Thread Peter Maydell
On Fri, 5 Feb 2021 at 13:58, Steven Price wrote: > > The VMM may not wish to have it's own mapping of guest memory mapped > with PROT_MTE because this causes problems if the VMM has tag checking > enabled (the guest controls the tags in physical RAM and it's unlikely > the tags are correct for the

Re: [PATCH v3 2/3] mm, slub: don't combine pr_err with INFO

2021-02-08 Thread Matthew Wilcox
On Mon, Feb 08, 2021 at 06:14:38PM +0800, Yafang Shao wrote: > It is strange to combine "pr_err" with "INFO", so let's remove the > prefix completely. So is this the right thing to do? Should it be pr_info() instead? Many of these messages do not appear to be error messages, but rather informatio

Re: [PATCH 01/18] dt-bindings: vendor-prefixes: add AAPL prefix

2021-02-08 Thread Rob Herring
On Mon, Feb 08, 2021 at 11:27:30AM +0100, Krzysztof Kozlowski wrote: > On Fri, Feb 05, 2021 at 05:39:34AM +0900, Hector Martin wrote: > > Amusingly, this wasn't yet documented, even though this vendor prefix > > has been used since time immemorial on PPC. > > > > Signed-off-by: Hector Martin > >

Re: [PATCH v3 2/8] tools headers UAPI: Update tools' copy of linux/coresight-pmu.h

2021-02-08 Thread Mathieu Poirier
On Sat, Feb 06, 2021 at 11:08:27PM +0800, Leo Yan wrote: > To get the changes in the commit: > > "coresight: etm-perf: Clarify comment on perf options". > > Signed-off-by: Leo Yan > Reviewed-by: Suzuki K Poulose Reviewed-by: Mathieu Poirier > --- > tools/include/linux/coresight-pmu.h | 17

Re: rcu: INFO: rcu_sched self-detected stall on CPU: Workqueue: xfs-conv/md0 xfs_end_io

2021-02-08 Thread Darrick J. Wong
On Mon, Feb 09, 2021 at 09:11:40AM -0800, Paul E. McKenney wrote: > On Mon, Feb 08, 2021 at 10:44:58AM -0500, Brian Foster wrote: > > On Mon, Feb 08, 2021 at 06:57:24AM -0800, Paul E. McKenney wrote: > > > On Mon, Feb 08, 2021 at 09:07:24AM -0500, Brian Foster wrote: > > > > On Fri, Feb 05, 2021 at

Bitcoin Investment

2021-02-08 Thread Bitcoin Guru
Do you want 20% Daily Profit ? You can invest in Bitcoin now Kindly give me your response

Re: [RFC v1 09/26] x86/tdx: Handle CPUID via #VE

2021-02-08 Thread Andy Lutomirski
On Mon, Feb 8, 2021 at 9:11 AM Sean Christopherson wrote: > > On Sun, Feb 07, 2021, Andy Lutomirski wrote: > > > > How much of the register state is revealed to the VMM when we do a TDVMCALL? > > Presumably we should fully sanitize all register state that shows up in > > cleartext on the other en

Re: [PATCH 1/2] mm: provide a sane PTE walking API for modules

2021-02-08 Thread Christoph Hellwig
> +int follow_invalidate_pte(struct mm_struct *mm, unsigned long address, > + struct mmu_notifier_range *range, pte_t **ptepp, > pmd_t **pmdpp, > + spinlock_t **ptlp); This adds a very pointless overy long line. > +/** > + * follow_pte - look up PTE at

Re: linux-next: build warning after merge of the v4l-dvb tree

2021-02-08 Thread Mauro Carvalho Chehab
Em Mon, 08 Feb 2021 13:57:56 -0300 Ezequiel Garcia escreveu: > On Mon, 2021-02-08 at 18:46 +0200, Sakari Ailus wrote: > > Hi Ezequiel, > > > > Thanks for addressing this. > > > > On Mon, Feb 08, 2021 at 01:42:21PM -0300, Ezequiel Garcia wrote: > > > Hi Stephen, > > > > > > On Mon, 2021-02-08

Re: [net-next v4 00/14] Add Marvell CN10K support

2021-02-08 Thread Jakub Kicinski
On Sat, 6 Feb 2021 04:19:59 +0530 Geetha sowjanya wrote: > The current admin function (AF) driver and the netdev driver supports > OcteonTx2 silicon variants. The same OcteonTx2's > Resource Virtualization Unit (RVU) is carried forward to the next-gen > silicon ie OcteonTx3, with some changes and f

Re: [PATCH 5.4 00/65] 5.4.97-rc1 review

2021-02-08 Thread Florian Fainelli
On 2/8/21 7:00 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.97 release. > There are 65 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should

Re: [net-next PATCH v5 07/15] net: mdiobus: Introduce fwnode_mdiobus_register_phy()

2021-02-08 Thread Russell King - ARM Linux admin
On Mon, Feb 08, 2021 at 08:42:36PM +0530, Calvin Johnson wrote: > +int fwnode_mdiobus_register_phy(struct mii_bus *bus, > + struct fwnode_handle *child, u32 addr) > +{ > + struct mii_timestamper *mii_ts; If you initialise this to NULL... > + struct phy_device *

Re: rcu: INFO: rcu_sched self-detected stall on CPU: Workqueue: xfs-conv/md0 xfs_end_io

2021-02-08 Thread Brian Foster
On Mon, Feb 08, 2021 at 09:28:24AM -0800, Darrick J. Wong wrote: > On Mon, Feb 09, 2021 at 09:11:40AM -0800, Paul E. McKenney wrote: > > On Mon, Feb 08, 2021 at 10:44:58AM -0500, Brian Foster wrote: > > > On Mon, Feb 08, 2021 at 06:57:24AM -0800, Paul E. McKenney wrote: > > > > On Mon, Feb 08, 2021

Re: [PATCH v3 4/5] clk: qcom: Add A7 PLL support

2021-02-08 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2021-01-17 20:11:55) > Add support for PLL found in Qualcomm SDX55 platforms which is used to > provide clock to the Cortex A7 CPU via a mux. This PLL can provide high > frequency clock to the CPU above 1GHz as compared to the other sources > like GPLL0. > > In this

Re: [PATCH v4 14/23] powerpc/syscall: Save r3 in regs->orig_r3

2021-02-08 Thread Christophe Leroy
Le 26/01/2021 à 11:18, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of January 26, 2021 12:48 am: Save r3 in regs->orig_r3 in system_call_exception() Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_64.S | 1 - arch/powerpc/kernel/syscall.c | 2 ++ 2

Re: [PATCH v3 3/5] dt-bindings: clock: Add Qualcomm A7 PLL binding

2021-02-08 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2021-01-17 20:11:54) > Add devicetree YAML binding for Cortex A7 PLL clock in Qualcomm > platforms like SDX55. > > Signed-off-by: Manivannan Sadhasivam > --- Applied to clk-next

Re: [PATCH v3 0/5] Add APCS support for SDX55

2021-02-08 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2021-01-17 20:11:51) > Changes in v2: > > * Modified the max_register value as per the SDX55 IPC offset in mailbox > driver. > > Manivannan Sadhasivam (5): > dt-bindings: mailbox: Add binding for SDX55 APCS > mailbox: qcom: Add support for SDX55 APCS IPC I th

Re: [RFC v1 09/26] x86/tdx: Handle CPUID via #VE

2021-02-08 Thread Sean Christopherson
On Mon, Feb 08, 2021, Andy Lutomirski wrote: > On Mon, Feb 8, 2021 at 9:11 AM Sean Christopherson wrote: > > > > On Sun, Feb 07, 2021, Andy Lutomirski wrote: > > > > > > > How much of the register state is revealed to the VMM when we do a > > > TDVMCALL? > > > Presumably we should fully sanitize

Re: [PATCH v3 5/5] clk: qcom: Add SDX55 APCS clock controller support

2021-02-08 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2021-01-17 20:11:56) > Add a driver for the SDX55 APCS clock controller. It is part of the APCS > hardware block, which among other things implements also a combined mux > and half integer divider functionality. The APCS clock controller has 3 > parent clocks: > > 1.

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

2021-02-08 Thread Christophe Leroy
Le 26/01/2021 à 11:21, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of January 26, 2021 12:48 am: syscall_64.c will be reused almost as is for PPC32. Rename it syscall.c Could you rename it to interrupt.c instead? A system call is an interrupt, and the file now also h

Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2021-02-08 Thread Bjorn Andersson
On Mon 08 Feb 11:21 CST 2021, Kalle Valo wrote: > Amit Pundir writes: > > > Hi Kalle, > > > > On Mon, 7 Dec 2020 at 22:25, Kalle Valo wrote: > >> > >> This is firmware version specific, right? There's also enum > >> ath10k_fw_features which is embedded within firmware-N.bin, we could add > >> a

Re: [PATCH] tmpfs: Disallow CONFIG_TMPFS_INODE64 on s390

2021-02-08 Thread Andrew Morton
On Mon, 8 Feb 2021 07:06:58 -0600 Seth Forshee wrote: > On Sun, Feb 07, 2021 at 05:48:31PM +0300, Kirill A. Shutemov wrote: > > On Fri, Feb 05, 2021 at 05:06:20PM -0600, Seth Forshee wrote: > > > This feature requires ino_t be 64-bits, which is true for every > > > 64-bit architecture but s390,

Re: [PATCH 3/8] sched/fair: Tweak misfit-related capacity checks

2021-02-08 Thread Valentin Schneider
On 08/02/21 16:29, Vincent Guittot wrote: > On Fri, 5 Feb 2021 at 21:07, Valentin Schneider > wrote: >> >> Perhaps I can still keep 5/8 with something like >> >> if (!rq->misfit_task_load) >> return false; >> >> do { >> if (capacity_greater(group->sgc->max_capacity, rq->cpu

Re: [PATCH] kbuild: simplify access to the kernel's version

2021-02-08 Thread Christoph Hellwig
On Sun, Feb 07, 2021 at 11:13:52AM -0500, Sasha Levin wrote: > + (u8)(LINUX_VERSION_MAJOR), (u8)(LINUX_VERSION_PATCHLEVEL), > + (u16)(LINUX_VERSION_SUBLEVEL)); No need for the casts and braces. Otherwise this looks good, but please also kill off KERNEL_VERSION and LINUX_KE

Re: [PATCH] clk: qcom: smd: Add missing RPM clocks for msm8992/4

2021-02-08 Thread Stephen Boyd
Quoting Konrad Dybcio (2021-01-18 08:14:41) > This was omitted when first adding the clocks for these SoCs. > I believe they were omitted because the system crashed if they were touched. Is that still the case? > Fixes: b4297844995 ("clk: qcom: smd: Add support for MSM8992/4 rpm clocks") > Signe

Re: [PATCH] clk: qcom: gfm-mux: fix clk mask

2021-02-08 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2021-01-19 03:38:51) > For some reason global GFM_MASK ended up with bit 1 instead of bit 0. > Remove the global GFM_MASK and reuse mux_mask field. > > Fixes: a2d8f507803e ("clk: qcom: Add support to LPASS AUDIO_CC Glitch Free > Mux clocks") > Signed-off-by: Srinivas

Re: [RFC PATCH 1/2] KVM: selftests: Add a macro to get string of vm_mem_backing_src_type

2021-02-08 Thread Sean Christopherson
On Mon, Feb 08, 2021, Yanan Wang wrote: > Add a macro to get string of the backing source memory type, so that > application can add choices for source types in the help() function, > and users can specify which type to use for testing. > > Signed-off-by: Yanan Wang > --- > tools/testing/selftes

Re: [PATCH v2 12/12] arm64: kasan: export MTE symbols for KASAN tests

2021-02-08 Thread Christoph Hellwig
On Fri, Feb 05, 2021 at 04:39:13PM +0100, Andrey Konovalov wrote: > Export mte_enable_kernel_sync() and mte_set_report_once() to fix: > > ERROR: modpost: "mte_enable_kernel_sync" [lib/test_kasan.ko] undefined! > ERROR: modpost: "mte_set_report_once" [lib/test_kasan.ko] undefined! Please put this

Re: [PATCH 2/2] clk: qcom: rpmhcc: Add sc8180x rpmh clocks

2021-02-08 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-01-20 14:37:41) > Add clocks provides by RPMH in the Qualcomm SC8180x platform. > > Signed-off-by: Bjorn Andersson > --- Applied to clk-next

Re: [PATCH] clk: qcom: smd: Add missing RPM clocks for msm8992/4

2021-02-08 Thread Konrad Dybcio
On 08.02.2021 18:50, Stephen Boyd wrote: > Quoting Konrad Dybcio (2021-01-18 08:14:41) >> This was omitted when first adding the clocks for these SoCs. >> > I believe they were omitted because the system crashed if they were > touched. Is that still the case? No, rpmcc XO seems to work fine, no

Re: [PATCH v5 2/4] lib: vsprintf: Fix handling of number field widths in vsscanf

2021-02-08 Thread Richard Fitzgerald
On 08/02/2021 15:18, Andy Shevchenko wrote: On Mon, Feb 08, 2021 at 02:01:52PM +, Richard Fitzgerald wrote: The existing code attempted to handle numbers by doing a strto[u]l(), ignoring the field width, and then repeatedly dividing to extract the field out of the full converted value. If th

Re: [PATCH 1/2] dt-bindings: clock: qcom: rpmhcc: Add sc8180x rpmh clocks

2021-02-08 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-01-20 14:37:40) > Add Qualcomm SC8180x to the list of compatibles for the RPMHCC binding. > > Signed-off-by: Bjorn Andersson > --- Applied to clk-next

Re: [PATCH RFC 3/7] kvm: x86: XSAVE state and XFD MSRs context switch

2021-02-08 Thread Paolo Bonzini
On 08/02/21 18:31, Sean Christopherson wrote: On Mon, Feb 08, 2021, Paolo Bonzini wrote: On 07/02/21 16:42, Jing Liu wrote: In KVM, "guest_fpu" serves for any guest task working on this vcpu during vmexit and vmenter. We provide a pre-allocated guest_fpu space and entire "guest_fpu.state_mask"

Re: [PATCH V1] clk: qcom: gcc-sc7180: Mark the MM XO clocks to be always ON

2021-02-08 Thread Stephen Boyd
Quoting Taniya Das (2021-01-19 23:47:51) > There are intermittent GDSC power-up failures observed for titan top > gdsc, which requires the XO clock. Thus mark all the MM XO clocks always > enabled from probe. > > Fixes: 8d4025943e13 ("clk: qcom: camcc-sc7180: Use runtime PM ops instead of > clk o

Re: [PATCH 01/20] net: phy: realtek: Fix events detection failure in LPI mode

2021-02-08 Thread Serge Semin
On Mon, Feb 08, 2021 at 04:27:36PM +0100, Andrew Lunn wrote: > On Mon, Feb 08, 2021 at 05:03:22PM +0300, Serge Semin wrote: > > It has been noticed that RTL8211E PHY stops detecting and reporting events > > when EEE is successfully advertised and RXC stopping in LPI is enabled. > > The freeze happe

Re: [PATCH v4 2/4] lib: vsprintf: Fix handling of number field widths in vsscanf

2021-02-08 Thread Petr Mladek
On Fri 2021-02-05 14:50:56, Andy Shevchenko wrote: > On Fri, Feb 5, 2021 at 1:35 PM Richard Fitzgerald > wrote: > > On 04/02/2021 16:35, Petr Mladek wrote: > > > On Wed 2021-02-03 21:45:55, Andy Shevchenko wrote: > > >> On Wed, Feb 03, 2021 at 04:50:07PM +, Richard Fitzgerald wrote: > > >> Thi

[PATCH v4] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-02-08 Thread Oliver Graute
Add support for the Solomon Goldentek Display Model: GKTW70SDAD1SD to panel-simple. The panel spec from Variscite can be found at: https://www.variscite.com/wp-content/uploads/2017/12/VLCD-CAP-GLD-RGB.pdf Signed-off-by: Oliver Graute Reviewed-by: Marco Felsch Reviewed-by: Fabio Estevam --- v4

Re: [PATCH 02/49] x86/cpu: Describe hybrid CPUs in cpuinfo_x86

2021-02-08 Thread Borislav Petkov
On Mon, Feb 08, 2021 at 07:24:59AM -0800, kan.li...@linux.intel.com wrote: > diff --git a/arch/x86/include/asm/processor.h > b/arch/x86/include/asm/processor.h > index c20a52b..1f25ac9 100644 > --- a/arch/x86/include/asm/processor.h > +++ b/arch/x86/include/asm/processor.h > @@ -139,6 +139,16 @@ s

Re: [PATCH] MIPS: vpe: Remove vpe_getcwd

2021-02-08 Thread Maciej W. Rozycki
On Fri, 22 Jan 2021, Thomas Bogendoerfer wrote: > I couldn't find any user of the dubious vpe_getcwd so far. So remove it and > get rid of another set_fs(KERNEL_DS). IIRC it served as the path for the SP-side program to load in the AP/SP model. Or something like that. There may have been an a

[PATCH AUTOSEL 5.10 05/36] ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled

2021-02-08 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 06862d789ddde8a99c1e579e934ca17c15a84755 ] We get suspcious RCU usage splats with cpuidle in several places in omap_enter_idle_coupled() with the kernel debug options enabled: RCU used illegally from extended quiescent state! ... (_raw_spin_lock_irqsave) (o

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