Re: [PATCH] powerpc/bug: Remove specific powerpc BUG_ON()

2021-02-11 Thread Christophe Leroy
Le 11/02/2021 à 15:30, Segher Boessenkool a écrit : On Thu, Feb 11, 2021 at 03:09:43PM +0100, Christophe Leroy wrote: Le 11/02/2021 à 12:49, Segher Boessenkool a écrit : On Thu, Feb 11, 2021 at 07:41:52AM +, Christophe Leroy wrote: powerpc BUG_ON() is based on using twnei or tdnei instr

[PATCH 5.4 16/24] SUNRPC: Handle 0 length opaque XDR object data properly

2021-02-11 Thread Greg Kroah-Hartman
From: Dave Wysochanski [ Upstream commit e4a7d1f7707eb44fd953a31dd59eff82009d879c ] When handling an auth_gss downcall, it's possible to get 0-length opaque object for the acceptor. In the case of a 0-length XDR object, make sure simple_get_netobj() fills in dest->data = NULL, and does not cont

[PATCH 5.10 53/54] squashfs: add more sanity checks in inode lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit eabac19e40c095543def79cb6ffeb3a8588aaff4 upstream. Sysbot has reported an "slab-out-of-bounds read" error which has been identified as being caused by a corrupted "ino_num" value read from the inode. This could be because the metadata block is uncompressed, or becau

[PATCH 5.4 15/24] SUNRPC: Move simple_get_bytes and simple_get_netobj into private header

2021-02-11 Thread Greg Kroah-Hartman
From: Dave Wysochanski [ Upstream commit ba6dfce47c4d002d96cd02a304132fca76981172 ] Remove duplicated helper functions to parse opaque XDR objects and place inside new file net/sunrpc/auth_gss/auth_gss_internal.h. In the new file carry the license and copyright from the source file net/sunrpc/au

[PATCH 5.4 14/24] iwlwifi: mvm: guard against device removal in reprobe

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 7a21b1d4a728a483f07c638ccd8610d4b4f12684 ] If we get into a problem severe enough to attempt a reprobe, we schedule a worker to do that. However, if the problem gets more severe and the device is actually destroyed before this worker has a chance to run, we

[PATCH 5.10 30/54] ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H SKU 0A5E

2021-02-11 Thread Greg Kroah-Hartman
From: Libin Yang [ Upstream commit 9ad9bc59dde106e56dd59ce2bec7c1b08e1f0eb4 ] Add flag "SOF_RT711_JD_SRC_JD2", flag "SOF_RT715_DAI_ID_FIX" and "SOF_SDW_FOUR_SPK" to the Dell TGL-H based SKU "0A5E". Signed-off-by: Libin Yang Co-developed-by: Hui Wang Signed-off-by: Hui Wang Reviewed-by: Bard

[PATCH 5.4 01/24] tracing/kprobe: Fix to support kretprobe events on unloaded modules

2021-02-11 Thread Greg Kroah-Hartman
From: Masami Hiramatsu commit 97c753e62e6c31a404183898d950d8c08d752dbd upstream. Fix kprobe_on_func_entry() returns error code instead of false so that register_kretprobe() can return an appropriate error code. append_trace_kprobe() expects the kprobe registration returns -ENOENT when the targe

[PATCH 5.4 12/24] iwlwifi: pcie: fix context info memory leak

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e ] If the image loader allocation fails, we leak all the previously allocated memory. Fix this. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/iwl

Re: [Freedreno] [v2] drm/msm/disp/dpu1: turn off vblank irqs aggressively in dpu driver

2021-02-11 Thread kalyan_t
On 2021-02-11 01:56, Rob Clark wrote: On Wed, Feb 10, 2021 at 3:41 AM wrote: On 2021-02-01 00:46, Rob Clark wrote: > On Fri, Dec 18, 2020 at 2:27 AM Kalyan Thota > wrote: >> >> Set the flag vblank_disable_immediate = true to turn off vblank irqs >> immediately as soon as drm_vblank_put is req

Re: [PATCH v2] ARM: kernel: Fix interrupted SMC calls

2021-02-11 Thread Manivannan Sadhasivam
+ Arnd On Mon, Feb 01, 2021 at 06:06:07PM +0530, Manivannan Sadhasivam wrote: > Hi, > > On Mon, Jan 18, 2021 at 11:40:40PM +0530, Manivannan Sadhasivam wrote: > > On Qualcomm ARM32 platforms, the SMC call can return before it has > > completed. If this occurs, the call can be restarted, but it re

[PATCH] staging: greybus: Fixed misspelling and alignment issue in hid.c

2021-02-11 Thread Pritthijit Nath
This change fixes a checkpatch CHECK style issue for "Alignment should match open parenthesis". In addition the misspelling of "transferred" also has been fixed. Signed-off-by: Pritthijit Nath --- drivers/staging/greybus/hid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

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

2021-02-11 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

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

2021-02-11 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

Re: [PATCH] arm: dts: sun5i: Add GPU node

2021-02-11 Thread Yassine Oudjana
On Thursday, February 11, 2021 7:01 PM, Yassine Oudjana wrote: > sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks > and resets. Add node for it in dts. > > Signed-off-by: Yassine Oudjana y.oudj...@protonmail.com > > arch/arm/boot/dts/sun5i.dtsi | 42 +

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

2021-02-11 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 v13 2/7] kasan: Add KASAN mode kernel parameter

2021-02-11 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 v2] arm: dts: sun5i: Add GPU node

2021-02-11 Thread Yassine Oudjana
sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks and resets. Add node for it in dts. Signed-off-by: Yassine Oudjana --- arch/arm/boot/dts/sun5i.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dt

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

2021-02-11 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 5.10 33/54] iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap

2021-02-11 Thread Greg Kroah-Hartman
From: Emmanuel Grumbach [ Upstream commit 98c7d21f957b10d9c07a3a60a3a5a8f326a197e5 ] I hit a NULL pointer exception in this function when the init flow went really bad. Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/iwlw

[PATCH 5.4 00/24] 5.4.98-rc1 review

2021-02-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.98 release. There are 24 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 be made by Sat, 13 Feb 2021 15:01:39 +. Anything rece

[PATCH 5.10 35/54] iwlwifi: mvm: invalidate IDs of internal stations at mvm start

2021-02-11 Thread Greg Kroah-Hartman
From: Gregory Greenman [ Upstream commit e223e42aac30bf81f9302c676cdf58cf2bf36950 ] Having sta_id not set for aux_sta and snif_sta can potentially lead to a hard to debug issue in case remove station is called without an add. In this case sta_id 0, an unrelated regular station, will be removed.

[PATCH 5.10 37/54] iwlwifi: mvm: guard against device removal in reprobe

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 7a21b1d4a728a483f07c638ccd8610d4b4f12684 ] If we get into a problem severe enough to attempt a reprobe, we schedule a worker to do that. However, if the problem gets more severe and the device is actually destroyed before this worker has a chance to run, we

Re: [PATCH v3 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-02-11 Thread Daniel Vetter
On Thu, Feb 11, 2021 at 04:21:51PM +0800, Kevin Tang wrote: > Daniel Vetter 于2021年2月3日周三 下午10:15写道: > > > On Tue, Jan 05, 2021 at 09:46:05PM +0800, Kevin Tang wrote: > > > Adds DPU(Display Processor Unit) support for the Unisoc's display > > subsystem. > > > It's support multi planes, scaler, rot

[PATCH 5.10 38/54] iwlwifi: queue: bail out on invalid freeing

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 0bed6a2a14afaae240cc431e49c260568488b51c ] If we find an entry without an SKB, we currently continue, but that will just result in an infinite loop since we won't increment the read pointer, and will try the same thing over and over again. Fix this. Signed-

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

2021-02-11 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 Signed-off-by: Vincenzo Frascino --- lib/test_kasan.c | 4 1 file changed, 4

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

2021-02-11 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 1/2] quota: Add mountpath based quota support

2021-02-11 Thread Christoph Hellwig
> + if (!mountpoint) > + return -ENODEV; > + > + ret = user_path_at(AT_FDCWD, mountpoint, > + LOOKUP_FOLLOW | LOOKUP_AUTOMOUNT, &mountpath); user_path_at handles an empty path, although you'll get EFAULT instead. Do we care about the -ENODEV here? Othe

Re: [PATCH 2/2] quota: wire up quotactl_path

2021-02-11 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v13 6/7] arm64: mte: Report async tag faults before suspend

2021-02-11 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. Report async

[PATCH 5.10 52/54] squashfs: add more sanity checks in id lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit f37aa4c7366e23f91b81d00bafd6a7ab54e4a381 upstream. Sysbot has reported a number of "slab-out-of-bounds reads" and "use-after-free read" errors which has been identified as being caused by a corrupted index value read from the inode. This could be because the metadat

[PATCH 5.10 36/54] iwlwifi: pcie: add rules to match Qu with Hr2

2021-02-11 Thread Greg Kroah-Hartman
From: Luca Coelho [ Upstream commit 16062c12edb8ed2dfb15e6a914ff4edf858ab9e0 ] Until now we have been relying on matching the PCI ID and subsystem device ID in order to recognize Qu devices with Hr2. Add rules to match these devices, so that we don't have to add a new rule for every new ID we g

[PATCH 5.10 54/54] squashfs: add more sanity checks in xattr id lookup

2021-02-11 Thread Greg Kroah-Hartman
From: Phillip Lougher commit 506220d2ba21791314af569211ffd8870b8208fa upstream. Sysbot has reported a warning where a kmalloc() attempt exceeds the maximum limit. This has been identified as corruption of the xattr_ids count when reading the xattr id lookup table. This patch adds a number of a

[PATCH 5.10 34/54] iwlwifi: pcie: fix context info memory leak

2021-02-11 Thread Greg Kroah-Hartman
From: Johannes Berg [ Upstream commit 2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e ] If the image loader allocation fails, we leak all the previously allocated memory. Fix this. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/iwl

Re: [PATCH 4.19 07/24] regulator: core: avoid regulator_resolve_supply() race condition

2021-02-11 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2021 at 03:26:56PM +, Mark Brown wrote: > On Thu, Feb 11, 2021 at 04:02:41PM +0100, Greg Kroah-Hartman wrote: > > From: David Collins > > > > [ Upstream commit eaa7995c529b54d68d97a30f6344cc6ca2f214a7 ] > > > > The final step in regulator_register() is to call > > regulator_r

[PATCH 5.10 39/54] SUNRPC: Move simple_get_bytes and simple_get_netobj into private header

2021-02-11 Thread Greg Kroah-Hartman
From: Dave Wysochanski [ Upstream commit ba6dfce47c4d002d96cd02a304132fca76981172 ] Remove duplicated helper functions to parse opaque XDR objects and place inside new file net/sunrpc/auth_gss/auth_gss_internal.h. In the new file carry the license and copyright from the source file net/sunrpc/au

Re: [PATCH v5 0/7] ASoC: codecs: add support for LPASS Codec TX and RX macros

2021-02-11 Thread Mark Brown
On Thu, 11 Feb 2021 12:27:28 +, Srinivas Kandagatla wrote: > This patchset adds support for two Codec Macro blocks(TX and RX) available in > Qualcomm LPASS (Low Power Audio SubSystem). > > There are WSA, VA, TX and RX Macros on LPASS IP, each of the Macro block > has specific connectivity like

Re: [PATCH 0/3] Use clocks property in a device node

2021-02-11 Thread Mark Brown
On Wed, 10 Feb 2021 12:13:38 +0530, Sameer Pujar wrote: > It is recommended to not specifiy clocks property in an endpoint subnode. > This series moves clocks to device node. > > However after moving the clocks to device node, the audio playback or > capture fails. The specified clock is not actua

Re: [PATCH] vdpa/mlx5: fix param validation in mlx5_vdpa_get_config()

2021-02-11 Thread Stefano Garzarella
On Wed, Feb 10, 2021 at 07:12:31AM -0500, Michael S. Tsirkin wrote: On Wed, Feb 10, 2021 at 12:17:19PM +0800, Jason Wang wrote: On 2021/2/9 下午5:00, Stefano Garzarella wrote: > On Tue, Feb 09, 2021 at 07:43:02AM +0200, Eli Cohen wrote: > > On Mon, Feb 08, 2021 at 05:17:41PM +0100, Stefano Garzar

Re: [PATCH] video: use getter/setter functions

2021-02-11 Thread Daniel Vetter
On Wed, Feb 10, 2021 at 04:12:58PM +, Lee Jones wrote: > On Wed, 10 Feb 2021, Daniel Vetter wrote: > > > On Wed, Feb 10, 2021 at 08:23:41AM +, Lee Jones wrote: > > > On Tue, 09 Feb 2021, Julia Lawall wrote: > > > > > > > Use getter and setter functions, for platform_device structures and

Re: [PATCH 1/3] regulator: pca9450: Add SD_VSEL GPIO for LDO5

2021-02-11 Thread Mark Brown
On Thu, 11 Feb 2021 11:55:28 +0100, Schrempf Frieder wrote: > LDO5 has two separate control registers. LDO5CTRL_L is used if the > input signal SD_VSEL is low and LDO5CTRL_H if it is high. > The current driver implementation only uses LDO5CTRL_H. To make this > work on boards that have SD_VSEL conn

Re: [PATCH] regulator: qcom-rpmh: fix pm8009 ldo7

2021-02-11 Thread Mark Brown
On Wed, 10 Feb 2021 22:49:35 -0500, Jonathan Marek wrote: > Use the correct name to avoid ldo7 commands being sent to ldo6's address. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: qcom-rpmh: fix pm8009 ldo7 commit: 2

Re: [PATCH v3 1/2] kunit: support failure from dynamic analysis tools

2021-02-11 Thread Alan Maguire
On Thu, 11 Feb 2021, David Gow wrote: > On Wed, Feb 10, 2021 at 6:14 AM Daniel Latypov wrote: > > > > From: Uriel Guajardo > > > > Add a kunit_fail_current_test() function to fail the currently running > > test, if any, with an error message. > > > > This is largely intended for dynamic analysis

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

2021-02-11 Thread Vincenzo Frascino
On 2/11/21 3:33 PM, Vincenzo Frascino wrote: > The series is based on linux-next/akpm. > > To simplify the testing a tree with the new patches on top has been made > available at [1]. > > [1] https://git.gitlab.arm.com/linux-arm/linux-vf.git mte/v11.async.akpm akpm tree seems currently broken du

Re: [PATCH 4.19 07/24] regulator: core: avoid regulator_resolve_supply() race condition

2021-02-11 Thread Mark Brown
On Thu, Feb 11, 2021 at 04:38:08PM +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 11, 2021 at 03:26:56PM +, Mark Brown wrote: > > > The final step in regulator_register() is to call > > > regulator_resolve_supply() for each registered regulator > > This is buggy without a followup which doesn

Re: [PATCH] spi: atmel-quadspi: Disable the QSPI IP at suspend()

2021-02-11 Thread Mark Brown
On Wed, 10 Feb 2021 15:54:28 +0200, Tudor Ambarus wrote: > It is safer to disable the QSPI IP at suspend, in order to avoid > possible impact of glitches on the internal FSMs. This is a theoretical > fix, there were no problems seen as of now. Tested on sama5d2 and > sam9x60 versions of the IP. Ap

Re: possible deadlock in dquot_commit

2021-02-11 Thread Jan Kara
On Thu 11-02-21 12:47:18, Dmitry Vyukov wrote: > On Thu, Feb 11, 2021 at 12:37 PM Jan Kara wrote: > > > > On Wed 10-02-21 03:25:22, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:1e0d27fc Merge branch 'akpm' (patches from Andrew) > > > git t

Re: [PATCH v1 7/7] ACPI: property: Allow counting a single value as an array of 1 element

2021-02-11 Thread Andy Shevchenko
On Wed, Feb 10, 2021 at 04:44:34PM +0100, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2021 at 4:42 PM Andy Shevchenko > wrote: > > On Wed, Feb 10, 2021 at 04:01:16PM +0100, Rafael J. Wysocki wrote: > > > On Wed, Feb 10, 2021 at 3:48 PM Andy Shevchenko > > > wrote: > > > > On Wed, Feb 10, 2021 at 0

Re: [PATCH v1 0/9] x86/platform: Remove SFI framework and users

2021-02-11 Thread Hans de Goede
Hi, On 2/11/21 4:24 PM, Rafael J. Wysocki wrote: > On Thu, Feb 11, 2021 at 2:50 PM Andy Shevchenko > wrote: >> >> This is last part of Intel MID (SFI based) removal. We have no more users of >> it >> in the kernel and since SFI has been marked Obsolete for a few years already, >> Remove all the

Re: [PATCH 8/9] vfio/pci: use x86 naming instead of igd

2021-02-11 Thread Max Gurtovoy
On 2/2/2021 7:10 PM, Jason Gunthorpe wrote: On Tue, Feb 02, 2021 at 05:06:59PM +0100, Cornelia Huck wrote: On the other side, we have the zdev support, which both requires s390 and applies to any pci device on s390. Is there a reason why CONFIG_VFIO_PCI_ZDEV exists? Why not just always retur

Re: [PATCH RESEND v2 4/5] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2021-02-11 Thread Guillaume Tucker
this got fixed in the meantime: https://lava.collabora.co.uk/scheduler/job/3210192 https://lava.collabora.co.uk/results/3210192/0_igt-kms-tegra And here's a more extensive list of IGT tests on next-20210211, all the regressions have been fixed: https://kernelci.org/test/plan/id/60254

Re: [PATCH v2] Updated locking documentation for transaction_t

2021-02-11 Thread Jan Kara
On Thu 11-02-21 14:54:23, Alexander Lochmann wrote: > Some members of transaction_t are allowed to be read without > any lock being held if accessed from the correct context. > We used LockDoc's findings to determine those members. > Each member of them is marked with a short comment: > "no lock ne

Re: [PATCH v2] platform/surface: aggregator: Fix access of unaligned value

2021-02-11 Thread Hans de Goede
Hi, On 2/11/21 1:41 PM, Maximilian Luz wrote: > The raw message frame length is unaligned and explicitly marked as > little endian. It should not be accessed without the appropriate > accessor functions. Fix this. > > Note that payload.len already contains the correct length after parsing > via s

[PATCH v1 0/4] usb: typec: tps6598x: Add IRQ flag and register tracing

2021-02-11 Thread Guido Günther
This series adds tracing events for the chips IRQ and registers that are useful to figure out the current data and power status. This came about since diagnosing why a certain usb-c hub or dp-alt-mode adapter fails is hard with the information in /sys/class/typec alone since this does not have a

[PATCH v1 1/4] usb: typec: tps6598x: Add trace event for IRQ events

2021-02-11 Thread Guido Günther
Allow to get irq event information via the tracing framework. This allows to inspect USB-C negotiation at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/Makefile | 3 + drivers/usb/typec/tps6598x.c | 9 ++- drivers/usb/typec/tps6598x.h | 61 +++

[PATCH v1 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-11 Thread Guido Günther
This allows to trace status information which helps to debug problems with role switching, etc. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 26 - drivers/usb/typec/tps6598x.h | 66 + drivers/usb/typec/tps6598x_trace.h | 94 +

[PATCH v1 3/4] usb: typec: tps6598x: Add trace event for power status register

2021-02-11 Thread Guido Günther
Together with the PD status register this is vital for debugging power negotiations at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 19 +-- drivers/usb/typec/tps6598x.h | 19 +++ drivers/usb/typec/tps6598x_trace.h | 38 +

Re: [RESEND PATCH ] KVM: VMX: Enable/disable PML when dirty logging gets enabled/disabled

2021-02-11 Thread Sean Christopherson
On Thu, Feb 11, 2021, Paolo Bonzini wrote: > On 10/02/21 22:23, Makarand Sonare wrote: > > +void vmx_update_pml_in_vmcs(struct kvm_vcpu *vcpu) > > +{ > > + if (cpu_has_secondary_exec_ctrls()) { > > + if (is_guest_mode(vcpu)) { > > + to_vmx(vcpu)->nested.deferred_update

[PATCH v1 4/4] usb: typec: tps6598x: Add trace event for data status

2021-02-11 Thread Guido Günther
This is useful to debug DP negotiation and pin assignment even when the firmware does all the work. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 12 ++- drivers/usb/typec/tps6598x.h | 36 drivers/usb/typec/tps6598x_trace.h | 54

Re: [PATCH] platform/x86: intel_scu_ipc: Increase virtual timeout from 3 to 5 seconds

2021-02-11 Thread Hans de Goede
Hi, On 2/10/21 8:20 PM, Casey Bowman wrote: > Increasing the virtual timeout time to account for scenarios > that may require more time, like DisplayPort Multi-Stream Transport > (DP MST), where the disconnect time can be extended longer than > usual. > > The recommended timeout range is 5-10 sec

Re: [PATCH v2 2/8] cxl/mem: Find device capabilities

2021-02-11 Thread Ben Widawsky
On 21-02-11 09:55:48, Jonathan Cameron wrote: > On Wed, 10 Feb 2021 10:16:05 -0800 > Ben Widawsky wrote: > > > On 21-02-10 08:55:57, Ben Widawsky wrote: > > > On 21-02-10 15:07:59, Jonathan Cameron wrote: > > > > On Wed, 10 Feb 2021 13:32:52 + > > > > Jonathan Cameron wrote: > > > > > >

Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs

2021-02-11 Thread Nitesh Narayan Lal
On 2/6/21 7:43 PM, Nitesh Narayan Lal wrote: > On 2/5/21 5:23 PM, Thomas Gleixner wrote: >> On Thu, Feb 04 2021 at 14:17, Nitesh Narayan Lal wrote: >>> On 2/4/21 2:06 PM, Marcelo Tosatti wrote: >> How about adding a new flag for isolcpus instead? >> > Do you mean a flag based on which

Re: [PATCH RFC 6/6] btrfs: Add roundrobin raid1 read policy

2021-02-11 Thread Michal Rostecki
On Wed, Feb 10, 2021 at 04:20:20PM +0800, Anand Jain wrote: > On 10/02/2021 04:30, Michal Rostecki wrote: > > The penalty value is an additional value added to the number of inflight > > requests when a scheduled request is non-local (which means it would > > start from the different physical locat

Re: [PATCH] platform/surface: Add platform profile driver

2021-02-11 Thread Hans de Goede
Hi, On 2/8/21 10:38 PM, Maximilian Luz wrote: > > > On 2/8/21 9:27 PM, Hans de Goede wrote: >>> +static int convert_ssam_to_profile(struct ssam_device *sdev, enum >>> ssam_tmp_profile p) >>> +{ >>> +    switch (p) { >>> +    case SSAM_TMP_PROFILE_NORMAL: >>> +    return PLATFORM_PROFILE_

[net-next v6 00/14] Add Marvell CN10K support

2021-02-11 Thread Geetha sowjanya
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 feature enhancements. This patch set adds support for OcteonTx3 (

Re: [PATCH 09/15] KVM: selftests: Move per-VM GPA into perf_test_args

2021-02-11 Thread Sean Christopherson
On Thu, Feb 11, 2021, Paolo Bonzini wrote: > On 11/02/21 02:56, Sean Christopherson wrote: > > > > + pta->gpa = (vm_get_max_gfn(vm) - guest_num_pages) * > > > > pta->guest_page_size; > > > > + pta->gpa &= ~(pta->host_page_size - 1); > > > Also not related to this patch, but another cas

[net-next v6 03/14] octeontx2-af: cn10k: Update NIX/NPA context structure

2021-02-11 Thread Geetha sowjanya
NIX hardware context structure got changed to accommodate new features like bandwidth steering, L3/L4 outer/inner checksum enable/disable etc., on CN10K platform. This patch defines new mbox message NIX_CN10K_AQ_INST for new NIX context initialization. This patch also updates the NPA context struc

[net-next v6 04/14] octeontx2-af: cn10k: Update NIX and NPA context in debugfs

2021-02-11 Thread Geetha sowjanya
On CN10K platform NPA and NIX context structure bit fields had changed to support new features like bandwidth steering etc. This patch dumps approprate context for CN10K platform. Signed-off-by: Geetha sowjanya Signed-off-by: Sunil Goutham --- .../marvell/octeontx2/af/rvu_debugfs.c| 177

[net-next v6 01/14] octeontx2-af: cn10k: Add mbox support for CN10K platform

2021-02-11 Thread Geetha sowjanya
From: Subbaraya Sundeep Firmware allocates memory regions for PFs and VFs in DRAM. The PFs memory region is used for AF-PF and PF-VF mailbox. This mbox facilitates communication between AF-PF and PF-VF. On CN10K platform: The DRAM region allocated to PF is enumerated as PF BAR4 memory. PF BAR4 c

[net-next v6 05/14] octeontx2-pf: cn10k: Initialise NIX context

2021-02-11 Thread Geetha sowjanya
On CN10K platform NIX RQ and SQ context structure got changed. This patch uses new mbox message "NIX_CN10K_AQ_ENQ" for NIX context initialization on CN10K platform. This patch also updates the nix_rx_parse_s and nix_sqe_sg_s structures to add packet steering bit feilds. Signed-off-by: Geetha sowj

[net-next v6 02/14] octeontx2-pf: cn10k: Add mbox support for CN10K

2021-02-11 Thread Geetha sowjanya
From: Subbaraya Sundeep Firmware allocates memory regions for PFs and VFs in DRAM. The PFs memory region is used for AF-PF and PF-VF mailbox. This mbox facilitate communication between AF-PF and PF-VF. On CN10K platform: The DRAM region allocated to PF is enumerated as PF BAR4 memory. PF BAR4 co

[net-next v6 07/14] octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operations

2021-02-11 Thread Geetha sowjanya
This patch adds support to use new LMTST lines for NPA batch free and burst SQE flush. Adds new dev_hw_ops structure to hold platform specific functions and create new files cn10k.c and cn10k.h. Signed-off-by: Geetha sowjanya Signed-off-by: Sunil Goutham --- .../ethernet/marvell/octeontx2/nic/M

[net-next v6 06/14] octeontx2-pf: cn10k: Map LMTST region

2021-02-11 Thread Geetha sowjanya
On CN10K platform transmit/receive buffer alloc and free from/to hardware had changed to support burst operation. Whereas pervious silicon's only support single buffer free at a time. To Support the same firmware allocates a DRAM region for each PF/VF for storing LMTLINES. These LMTLINES are used f

[net-next v6 09/14] octeontx2-af: cn10k: Add support for programmable channels

2021-02-11 Thread Geetha sowjanya
From: Subbaraya Sundeep NIX uses unique channel numbers to identify the packet sources/sinks like CGX,LBK and SDP. The channel numbers assigned to each block are hardwired in CN9xxx silicon. The fixed channel numbers in CN9xxx are: 0x0 | a << 8 | b- LBK(0..3)_CH(0..63) 0x0 | a << 8

[net-next v6 08/14] octeontx2-af: cn10k: Add RPM MAC support

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx2's next gen platform the CN10K has RPM MAC which has a different serdes when compared to CGX MAC. Though the underlying HW is different, the CSR interface has been designed largely inline with CGX MAC, with few exceptions though. So we are using the same CGX driver

[net-next v6 10/14] octeontx2-af: cn10K: Add MTU configuration

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam OcteonTx3 CN10K silicon supports bigger MTU when compared to 9216 MTU supported by OcteonTx2 silicon variants. Lookback interface supports upto 64K and RPM LMAC interfaces support upto 16K. This patch does the necessary configuration and adds support for PF/VF drivers to r

[net-next v6 14/14] octeontx2-af: cn10k: MAC internal loopback support

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam MAC on CN10K silicon support loopback for selftest or debug purposes. This patch does necessary configuration to loopback packets upon receiving request from LMAC mapped RVU PF's netdev via mailbox. Also MAC (CGX) on OcteonTx2 silicon variants and MAC (RPM) on OcteonTx3 CN

[net-next v6 12/14] octeontx2-af: cn10k: Add RPM LMAC pause frame support

2021-02-11 Thread Geetha sowjanya
From: Rakesh Babu Flow control configuration is different for CGX(Octeontx2) and RPM(CN10K) functional blocks. This patch adds the necessary changes for RPM to support 802.3 pause frames configuration on cn10k platforms. Signed-off-by: Rakesh Babu Signed-off-by: Geetha sowjanya Signed-off-by:

[net-next v6 13/14] octeontx2-af: cn10k: Add RPM Rx/Tx stats support

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam RPM supports below list of counters as an extension to existing counters * class based flow control pause frames * vlan/jabber/fragmented packets * fcs/alignment/oversized error packets This patch adds support to display supported RPM counters via debugfs and define

Re: [PATCH v2 5/8] cxl/mem: Add a "RAW" send command

2021-02-11 Thread Ben Widawsky
On 21-02-11 11:19:24, Jonathan Cameron wrote: > On Tue, 9 Feb 2021 16:02:56 -0800 > Ben Widawsky wrote: > > > The CXL memory device send interface will have a number of supported > > commands. The raw command is not such a command. Raw commands allow > > userspace to send a specified opcode to th

drivers/leds/flash/leds-rt8515.c:354: undefined reference to `v4l2_flash_init'

2021-02-11 Thread kernel test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: e1c6edcbea13de025c3406645b4cce4ac3baf973 leds: rt8515: Add Richtek RT8515 LED driver date: 11 days ago con

Re: [PATCH v2] drm/msm: a6xx: Make sure the SQE microcode is safe

2021-02-11 Thread Jordan Crouse
On Thu, Feb 11, 2021 at 06:50:28PM +0530, Akhil P Oommen wrote: > On 2/10/2021 6:22 AM, Jordan Crouse wrote: > >Most a6xx targets have security issues that were fixed with new versions > >of the microcode(s). Make sure that we are booting with a safe version of > >the microcode for the target and p

Re: [PATCH v2 2/8] cxl/mem: Find device capabilities

2021-02-11 Thread Ben Widawsky
On 21-02-11 10:01:52, Jonathan Cameron wrote: > On Wed, 10 Feb 2021 11:54:29 -0800 > Dan Williams wrote: > > > > > ... > > > > > > > > > +static void cxl_mem_mbox_timeout(struct cxl_mem *cxlm, > > > > > +struct mbox_cmd *mbox_cmd) > > > > > +{ > > > > > + struct de

Re: [PATCH v3] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-11 Thread Dave Jiang
On 2/11/2021 12:44 AM, Greg KH wrote: On Wed, Feb 10, 2021 at 01:16:11PM -0700, Dave Jiang wrote: MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("Auxiliary Bus"); MODULE_AUTHOR("David Ertman "); As this code can not be built as a module, can you remove these lines as well? I don't think

[PATCH] enetc: auto select PHYLIB and MDIO_DEVRES

2021-02-11 Thread Tong Zhang
FSL_ENETC_MDIO use symbols from PHYLIB and MDIO_DEVRES, however they are not auto selected. ERROR: modpost: "__mdiobus_register" [drivers/net/ethernet/freescale/enetc/fsl-enetc-mdio.ko] undefined! ERROR: modpost: "mdiobus_unregister" [drivers/net/ethernet/freescale/enetc/fsl-enetc-mdio.ko] undef

[net-next v6 11/14] octeontx2-pf: cn10k: Get max mtu supported from admin function

2021-02-11 Thread Geetha sowjanya
From: Hariprasad Kelam CN10K supports max MTU of 16K on LMAC links and 64k on LBK links and Octeontx2 silicon supports 9K mtu on both links. Get the same from nix_get_hw_info mbox message in netdev probe. This patch also calculates receive buffer size required based on the MTU set. Signed-off-b

[PATCH] gen_compile_commands: prune some directories

2021-02-11 Thread Masahiro Yamada
If directories are passed to gen_compile_commands.py, os.walk() traverses all the subdirectories to search for .cmd files, but we know some of them are not worth traversing. Use the 'topdown' parameter of os.walk to prune them. Documentation about the 'topdown' option of os.walk: When topdown i

[PATCH] staging: wimax: Fix some coding style problems

2021-02-11 Thread Hemansh Agnihotri
This fixes following warnings and errors as reported by checkpatch.pl: 1) WARNING: Missing a blank line after declarations 2) WARNING: Block comments use a trailing */ on a separate line 3) ERROR: code indent should use tabs where possible 4) ERROR: space required be

Re: [PATCH] platform/surface: Add platform profile driver

2021-02-11 Thread Maximilian Luz
On 2/11/21 4:56 PM, Hans de Goede wrote: Hi, On 2/8/21 10:38 PM, Maximilian Luz wrote: On 2/8/21 9:27 PM, Hans de Goede wrote: +static int convert_ssam_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p) +{ +    switch (p) { +    case SSAM_TMP_PROFILE_NORMAL: +    retur

[PATCH net-next v2 1/5] lan743x: boost performance on cpu archs w/o dma cache snooping

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck The buffers in the lan743x driver's receive ring are always 9K, even when the largest packet that can be received (the mtu) is much smaller. This performs particularly badly on cpu archs without dma cache snooping (such as ARM): each received packet results in a 9K dma_{ma

[PATCH net-next v2 0/5] lan743x speed boost

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git # e4b62cf7559f v1 -> v2: - Andrew Lunn: + always keep to Reverse Christmas Tree. + "changing the cache operations to operate on the received length" should go in its own, separate patch

[PATCH net-next v2 4/5] TEST ONLY: lan743x: skb_alloc failure test

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Simulate low-memory in lan743x_rx_allocate_skb(): fail 10 allocations in a row in every 100. Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc: Se

[PATCH net-next v2 3/5] TEST ONLY: lan743x: limit rx ring buffer size to 500 bytes

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc: Sergej Bauer Cc: Tim Harvey Cc: Anders Rønningen Cc: Hillf Danton Cc: Christoph Hellwig Cc:

[PATCH net-next v2 2/5] lan743x: sync only the received area of an rx ring buffer

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck On cpu architectures w/o dma cache snooping, dma_unmap() is a is a very expensive operation, because its resulting sync needs to invalidate cpu caches. Increase efficiency/performance by syncing only those sections of the lan743x's rx ring buffers that are actually in use

drivers/media/common/videobuf2/videobuf2-vmalloc.c:108:12: error: implicit declaration of function '__pfn_to_phys'

2021-02-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: 4bfc848e0981fcd35db00fe1c6581560689f6dc7 m68k/mm: enable use of generic memory_model.h for !DISCONTIGMEM date: 8 weeks ago config: m68k-randconfig-r035-2021

[PATCH net-next v2 5/5] TEST ONLY: lan743x: skb_trim failure test

2021-02-11 Thread Sven Van Asbroeck
From: Sven Van Asbroeck Simulate low-memory in lan743x_rx_trim_skb(): fail one allocation in every 100. Signed-off-by: Sven Van Asbroeck --- To: Bryan Whitehead To: unglinuxdri...@microchip.com To: "David S. Miller" To: Jakub Kicinski Cc: Andrew Lunn Cc: Alexey Denisov Cc: Sergej Bauer C

[PATCH V2 mtd/next 1/3] dt-bindings: mtd: move partition binding to its own file

2021-02-11 Thread Rafał Miłecki
From: Rafał Miłecki Single partition binding is quite common and may be: 1. Used by multiple parsers 2. Extended for more specific cases Move it to separated file to avoid code duplication. Signed-off-by: Rafał Miłecki Reviewed-by: Rob Herring --- .../mtd/partitions/fixed-partitions.yaml

[PATCH V2 mtd/next 3/3] mtd: parsers: ofpart: support BCM4908 fixed partitions

2021-02-11 Thread Rafał Miłecki
From: Rafał Miłecki BCM4908 partitioning is based on fixed layout but allows specifying multiple firmware partitions. It requires detecting which firmware partition was used for booting current kernel. To support such cases without duplicating a lot of code (without copying most of the ofpart.c

[PATCH V2 mtd/next 2/3] dt-bindings: mtd: add binding for BCM4908 partitions

2021-02-11 Thread Rafał Miłecki
From: Rafał Miłecki BCM4908 uses fixed partitions layout but function of some partitions may vary. Some devices use multiple firmware partitions and those partitions should be marked to let system discover their purpose. Signed-off-by: Rafał Miłecki --- V2: Use enum: [ 1, 2 ] for address & size

include/linux/compiler_types.h:338:38: error: call to '__compiletime_assert_303' declared with attribute error: BUILD_BUG_ON failed: SECTIONS_WIDTH + NODES_WIDTH + ZONES_WIDTH + ilog2(roundup_pow_of_t

2021-02-11 Thread kernel test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb commit: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h d

Re: [PATCH v3] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-11 Thread Dave Jiang
On 2/10/2021 11:54 PM, Greg KH wrote: On Wed, Feb 10, 2021 at 01:16:11PM -0700, Dave Jiang wrote: When the auxiliary device code is built into the kernel, it can be executed before the auxiliary bus is registered. This causes bus->p to be not allocated and triggers a NULL pointer dereference w

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