[rcu:dev.2021.03.15a] BUILD SUCCESS 7c9e50cc94bafe0ddfa28bb96b009f24c17ad149

2021-03-19 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.03.15a branch HEAD: 7c9e50cc94bafe0ddfa28bb96b009f24c17ad149 fixup! torture: Add prototype kvm-remote.sh script elapsed time: 726m configs tested: 143 configs skipped: 2 The following configs have bee

linux-next: Tree for Mar 19

2021-03-19 Thread Stephen Rothwell
Hi all, Warning: Some of the branches in linux-next may still based on v5.12-rc1, so please be careful if you are trying to bisect a bug. News: if your -next included tree is based on Linus' tree tag v5.12-rc1{,-dontuse} (or somewhere between v5.11 and that tag), please consider rebasing it onto

Re: [PATCH v2 1/2] optee: fix tee out of memory failure seen during kexec reboot

2021-03-19 Thread Jens Wiklander
On Tue, Mar 16, 2021 at 2:21 PM Allen Pais wrote: > > > > >> > >> [0.368428] tee_bnxt_fw optee-clnt0: tee_shm_alloc failed > >> [0.368461] tee_bnxt_fw: probe of optee-clnt0 failed with error -22 > >> > >> tee_shm_release() is not invoked on dma shm buffer. > >> > >> Implement .shutdown() m

[PATCH v3 1/2] perf stat: Align CSV output for summary mode

2021-03-19 Thread Jin Yao
perf-stat has supported the summary mode. But the summary lines break the CSV output so it's hard for scripts to parse the result. Before: # perf stat -x, -I1000 --interval-count 1 --summary 1.001323097,8013.48,msec,cpu-clock,8013483384,100.00,8.013,CPUs utilized 1.001323097,270,,

[PATCH v3 2/2] perf test: Add CVS summary test

2021-03-19 Thread Jin Yao
The patch "perf stat: Align CSV output for summary mode" aligned CVS output and added "summary" to the first column of summary lines. Now we check if the "summary" string is added to the CVS output. If we set '--no-cvs-summary' option, the "summary" string would not be added, also check with this

RE: [PATCH 04/11] i2c: imx-lpi2c: manage irq resource request/release in runtime pm

2021-03-19 Thread Clark Wang
> -Original Message- > From: Aisheng Dong > Sent: Friday, March 19, 2021 12:54 > To: Clark Wang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

INTRODUCTION

2021-03-19 Thread Mr Ali Musa.
Dear Friend, How are you today, Please accept my sincere apologies if my email does not meet your business or personal ethics, I really like to have a good relationship with you, and I have a special reason why I decided to contact you because of the urgency of my situation here.I came across you

include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'

2021-03-19 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: 8b12a62a4e3ed4ae99c715034f557eb391d6b196 commit: de8860b1ed4701ea7e6f760f02d79ca6a3b656a1 iio: magnetometer: Add driver for Yamaha YAS530 date: 10 weeks ag

RE: [PATCH 05/11] i2c: imx-lpi2c: add debug message when i2c peripheral clk doesn't work

2021-03-19 Thread Clark Wang
> -Original Message- > From: Aisheng Dong > Sent: Friday, March 19, 2021 12:57 > To: Clark Wang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

[PATCH RESEND] scsi: ufs: Remove unnecessary null checks in ufshcd_find_max_sup_active_icc_level()

2021-03-19 Thread Yue Hu
From: Yue Hu Since vcc/vccq/vccq2 have already been null checked before using. Signed-off-by: Yue Hu --- drivers/scsi/ufs/ufshcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 7b3267e..f941bc3 100644 --- a

RE: [PATCH] exfat: improve write performance when dirsync enabled

2021-03-19 Thread Namjae Jeon
> > Degradation of write speed caused by frequent disk access for cluster > > bitmap update on every cluster allocation could be improved by > > selective syncing bitmap buffer. Change to flush bitmap buffer only > > for the directory related operations. > > > > Signed-off-by: Hyeongseok Kim > >

Re: [PATCH] Insert SFENCE.VMA in function set_pte_at for RISCV

2021-03-19 Thread Alex Ghiti
Le 3/17/21 à 10:10 PM, Jiuyang Liu a écrit : Thanks for the review! I see, after skimming related codes, and implementation of other architecture, I also agree this method is too heavy to implement. And there is a potential bug, that my patch may introduce two SFENCE.VMA in the related codes: fl

[PATCH] mm: page_alloc: fix memcg accounting leak in speculative cache lookup

2021-03-19 Thread Johannes Weiner
When the freeing of a higher-order page block (non-compound) races with a speculative page cache lookup, __free_pages() needs to leave the first order-0 page in the chunk to the lookup but free the buddy pages that the lookup doesn't know about separately. However, if such a higher-order page is c

Clang: powerpc: kvm/book3s_hv_nested.c:264:6: error: stack frame size of 2480 bytes in function 'kvmhv_enter_nested_guest'

2021-03-19 Thread Naresh Kamboju
Linux mainline master build breaks for powerpc defconfig. There are multiple errors / warnings with clang-12 and clang-11 and 10. - powerpc (defconfig) with clang-12 - powerpc (defconfig) with clang-11 - powerpc (defconfig) with clang-10 The following build errors / warnings triggered with clan

Re: linux-next: manual merge of the net-next tree with the net tree

2021-03-19 Thread Daniel Borkmann
On 3/19/21 3:11 AM, Piotr Krysiuk wrote: Hi Daniel, On Fri, Mar 19, 2021 at 12:16 AM Stephen Rothwell wrote: diff --cc kernel/bpf/verifier.c index 44e4ec1640f1,f9096b049cd6.. --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@@ -5876,10 -6056,22 +6060,23 @@@ static int retr

RE: [PATCH 09/11] i2c: imx-lpi2c: fix i2c timing issue

2021-03-19 Thread Clark Wang
> -Original Message- > From: Aisheng Dong > Sent: Friday, March 19, 2021 13:15 > To: Clark Wang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

[PATCH v3 01/25] x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit

2021-03-19 Thread Kai Huang
Move SGX_LC feature bit to CPUID dependency table to make clearing all SGX feature bits easier. Also remove clear_sgx_caps() since it is just a wrapper of setup_clear_cpu_cap(X86_FEATURE_SGX) now. Suggested-by: Sean Christopherson Acked-by: Dave Hansen Acked-by: Jarkko Sakkinen Reviewed-by: Sea

[PATCH v3 02/25] x86/cpufeatures: Add SGX1 and SGX2 sub-features

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add SGX1 and SGX2 feature flags, via CPUID.0x12.0x0.EAX, as scattered features, since adding a new leaf for only two bits would be wasteful. As part of virtualizing SGX, KVM will expose the SGX CPUID leafs to its guest, and to do so correctly needs to query hardware and

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

2021-03-19 Thread Kai Huang
EREMOVE takes a page and removes any association between that page and an enclave. It must be run on a page before it can be added into another enclave. Currently, EREMOVE is run as part of pages being freed into the SGX page allocator. It is not expected to fail. KVM does not track how guest p

[PATCH v3 04/25] x86/sgx: Add SGX_CHILD_PRESENT hardware error code

2021-03-19 Thread Kai Huang
From: Sean Christopherson SGX driver can accurately track how enclave pages are used. This enables SECS to be specifically targeted and EREMOVE'd only after all child pages have been EREMOVE'd. This ensures that SGX driver will never encounter SGX_CHILD_PRESENT in normal operation. Virtual EPC

[PATCH v3 05/25] x86/sgx: Introduce virtual EPC for use by KVM guests

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add a misc device /dev/sgx_vepc to allow userspace to allocate "raw" EPC without an associated enclave. The intended and only known use case for raw EPC allocation is to expose EPC to a KVM guest, hence the 'vepc' moniker, virt.{c,h} files and X86_SGX_KVM Kconfig. SGX

[PATCH v3 08/25] x86/sgx: Expose SGX architectural definitions to the kernel

2021-03-19 Thread Kai Huang
From: Sean Christopherson Expose SGX architectural structures, as KVM will use many of the architectural constants and structs to virtualize SGX. Name the new header file as asm/sgx.h, rather than asm/sgx_arch.h, to have single header to provide SGX facilities to share with other kernel componme

[PATCH v3 07/25] x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled

2021-03-19 Thread Kai Huang
Modify sgx_init() to always try to initialize the virtual EPC driver, even if the SGX driver is disabled. The SGX driver might be disabled if SGX Launch Control is in locked mode, or not supported in the hardware at all. This allows (non-Linux) guests that support non-LC configurations to use SGX

[PATCH v3 06/25] x86/cpu/intel: Allow SGX virtualization without Launch Control support

2021-03-19 Thread Kai Huang
From: Sean Christopherson The kernel will currently disable all SGX support if the hardware does not support launch control. Make it more permissive to allow SGX virtualization on systems without Launch Control support. This will allow KVM to expose SGX to guests that have less-strict requireme

[PATCH v3 12/25] x86/sgx: Add helper to update SGX_LEPUBKEYHASHn MSRs

2021-03-19 Thread Kai Huang
Add a helper to update SGX_LEPUBKEYHASHn MSRs. SGX virtualization also needs to update those MSRs based on guest's "virtual" SGX_LEPUBKEYHASHn before EINIT from guest. Acked-by: Dave Hansen Acked-by: Jarkko Sakkinen Signed-off-by: Kai Huang --- arch/x86/kernel/cpu/sgx/ioctl.c | 5 ++--- arch

[PATCH v3 09/25] x86/sgx: Move ENCLS leaf definitions to sgx.h

2021-03-19 Thread Kai Huang
From: Sean Christopherson Move the ENCLS leaf definitions to sgx.h so that they can be used by KVM. Signed-off-by: Sean Christopherson Acked-by: Dave Hansen Acked-by: Jarkko Sakkinen Signed-off-by: Kai Huang --- arch/x86/include/asm/sgx.h | 15 +++ arch/x86/kernel/cpu/sgx/e

[PATCH v3 10/25] x86/sgx: Add SGX2 ENCLS leaf definitions (EAUG, EMODPR and EMODT)

2021-03-19 Thread Kai Huang
From: Sean Christopherson Define the ENCLS leafs that are available with SGX2, also referred to as Enclave Dynamic Memory Management (EDMM). The leafs will be used by KVM to conditionally expose SGX2 capabilities to guests. Signed-off-by: Sean Christopherson Acked-by: Dave Hansen Acked-by: Ja

[PATCH v3 14/25] x86/sgx: Move provisioning device creation out of SGX driver

2021-03-19 Thread Kai Huang
From: Sean Christopherson And extract sgx_set_attribute() out of sgx_ioc_enclave_provision() and export it as symbol for KVM to use. Provisioning key is sensitive. SGX driver only allows to create enclave which can access provisioning key when enclave creator has permission to open /dev/sgx_prov

[PATCH v3 11/25] x86/sgx: Add encls_faulted() helper

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add a helper to extract the fault indicator from an encoded ENCLS return value. SGX virtualization will also need to detect ENCLS faults. Signed-off-by: Sean Christopherson Acked-by: Dave Hansen Acked-by: Jarkko Sakkinen Signed-off-by: Kai Huang --- arch/x86/kerne

[PATCH v3 13/25] x86/sgx: Add helpers to expose ECREATE and EINIT to KVM

2021-03-19 Thread Kai Huang
From: Sean Christopherson The host kernel must intercept ECREATE to impose policies on guests, and intercept EINIT to be able to write guest's virtual SGX_LEPUBKEYHASH MSR values to hardware before running guest's EINIT so it can run correctly according to hardware behavior. Provide wrappers aro

[PATCH v3 15/25] KVM: x86: Export kvm_mmu_gva_to_gpa_{read,write}() for SGX (VMX)

2021-03-19 Thread Kai Huang
From: Sean Christopherson Export the gva_to_gpa() helpers for use by SGX virtualization when executing ENCLS[ECREATE] and ENCLS[EINIT] on behalf of the guest. To execute ECREATE and EINIT, KVM must obtain the GPA of the target Secure Enclave Control Structure (SECS) in order to get its correspond

[PATCH v3 18/25] KVM: x86: Add reverse-CPUID lookup support for scattered SGX features

2021-03-19 Thread Kai Huang
From: Sean Christopherson Define a new KVM-only feature word for advertising and querying SGX sub-features in CPUID.0x12.0x0.EAX. Because SGX1 and SGX2 are scattered in the kernel's feature word, they need to be translated so that the bit numbers match those of hardware. Signed-off-by: Sean Chr

[PATCH v3 19/25] KVM: VMX: Add basic handling of VM-Exit from SGX enclave

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add support for handling VM-Exits that originate from a guest SGX enclave. In SGX, an "enclave" is a new CPL3-only execution environment, wherein the CPU and memory state is protected by hardware to make the state inaccesible to code running outside of the enclave. Whe

[PATCH v3 16/25] KVM: x86: Define new #PF SGX error code bit

2021-03-19 Thread Kai Huang
From: Sean Christopherson Page faults that are signaled by the SGX Enclave Page Cache Map (EPCM), as opposed to the traditional IA32/EPT page tables, set an SGX bit in the error code to indicate that the #PF was induced by SGX. KVM will need to emulate this behavior as part of its trap-and-execu

[tip:x86/sgx] BUILD SUCCESS WITH WARNING 5b8719504e3adf47646273781591ad439b3c3c7a

2021-03-19 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sgx branch HEAD: 5b8719504e3adf47646273781591ad439b3c3c7a x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page() Warning reports: https://lore.kernel.org/lkml/202103190514.xh7irkme-...@intel.com possible

[PATCH v3 20/25] KVM: VMX: Frame in ENCLS handler for SGX virtualization

2021-03-19 Thread Kai Huang
From: Sean Christopherson Introduce sgx.c and sgx.h, along with the framework for handling ENCLS VM-Exits. Add a bool, enable_sgx, that will eventually be wired up to a module param to control whether or not SGX virtualization is enabled at runtime. Signed-off-by: Sean Christopherson Signed-of

[PATCH v3 21/25] KVM: VMX: Add SGX ENCLS[ECREATE] handler to enforce CPUID restrictions

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add an ECREATE handler that will be used to intercept ECREATE for the purpose of enforcing and enclave's MISCSELECT, ATTRIBUTES and XFRM, i.e. to allow userspace to restrict SGX features via CPUID. ECREATE will be intercepted when any of the aforementioned masks diverge

[PATCH v3 17/25] KVM: x86: Add support for reverse CPUID lookup of scattered features

2021-03-19 Thread Kai Huang
From: Sean Christopherson Introduce a scheme that allows KVM's CPUID magic to support features that are scattered in the kernel's feature words. To advertise and/or query guest support for CPUID-based features, KVM requires the bit number of an X86_FEATURE_* to match the bit number in its associ

[PATCH v3 22/25] KVM: VMX: Add emulation of SGX Launch Control LE hash MSRs

2021-03-19 Thread Kai Huang
From: Sean Christopherson Emulate the four Launch Enclave public key hash MSRs (LE hash MSRs) that exist on CPUs that support SGX Launch Control (LC). SGX LC modifies the behavior of ENCLS[EINIT] to use the LE hash MSRs when verifying the key used to sign an enclave. On CPUs without LC support,

[PATCH v3 23/25] KVM: VMX: Add ENCLS[EINIT] handler to support SGX Launch Control (LC)

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add a VM-Exit handler to trap-and-execute EINIT when SGX LC is enabled in the host. When SGX LC is enabled, the host kernel may rewrite the hardware values at will, e.g. to launch enclaves with different signers, thus KVM needs to intercept EINIT to ensure it is execute

[PATCH v3 25/25] KVM: x86: Add capability to grant VM access to privileged SGX attribute

2021-03-19 Thread Kai Huang
From: Sean Christopherson Add a capability, KVM_CAP_SGX_ATTRIBUTE, that can be used by userspace to grant a VM access to a priveleged attribute, with args[0] holding a file handle to a valid SGX attribute file. The SGX subsystem restricts access to a subset of enclave attributes to provide addit

[PATCH] workqueue: update wq_watchdog_touched for unbound lockup checking

2021-03-19 Thread Wang Qing
When touch_softlockup_watchdog() is called, only wq_watchdog_touched_cpu updated, while the unbound worker_pool running on its core uses wq_watchdog_touched to determine whether locked up. This may be mischecked. My suggestion is to update both when touch_softlockup_watchdog() is called, use wq

[PATCH v3 24/25] KVM: VMX: Enable SGX virtualization for SGX1, SGX2 and LC

2021-03-19 Thread Kai Huang
From: Sean Christopherson Enable SGX virtualization now that KVM has the VM-Exit handlers needed to trap-and-execute ENCLS to ensure correctness and/or enforce the CPU model exposed to the guest. Add a KVM module param, "sgx", to allow an admin to disable SGX virtualization independent of the ke

[PATCH -next] e1000e: Fix 'defined but not used' warning

2021-03-19 Thread Bixuan Cui
Fix the warning while disable CONFIG_PM_SLEEP: drivers/net/ethernet/intel/e1000e/netdev.c:6926:12: warning: ‘e1000e_pm_prepare’ defined but not used [-Wunused-function] static int e1000e_pm_prepare(struct device *dev) ^ Signed-off-by: Bixuan Cui --- drivers/net/e

[PATCH v3 00/25] KVM SGX virtualization support

2021-03-19 Thread Kai Huang
This series adds KVM SGX virtualization support. The first 14 patches starting with x86/sgx or x86/cpu.. are necessary changes to x86 and SGX core/driver to support KVM SGX virtualization, while the rest are patches to KVM subsystem. This series is based against latest tip/x86/sgx, which has Jarkk

[PATCH 4/4] crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930

2021-03-19 Thread Yang Shen
The Kunpeng930 changes some field meanings in 'sqe'. So add a new 'hisi_zip_sqe_ops' to describe the 'sqe' operations. Signed-off-by: Yang Shen --- drivers/crypto/hisilicon/zip/zip.h| 1 + drivers/crypto/hisilicon/zip/zip_crypto.c | 25 + 2 files changed, 26 inse

[PATCH 2/4] crypto: hisilicon/zip - add comments for 'hisi_zip_sqe'

2021-03-19 Thread Yang Shen
Some fields of 'hisi_zip_sqe' are unused, and some fields have misc utilities. So add comments for used fields and make others unnamed. Signed-off-by: Yang Shen --- drivers/crypto/hisilicon/zip/zip.h| 45 ++- drivers/crypto/hisilicon/zip/zip_crypto.c | 4 +--

[PATCH 0/4]crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930

2021-03-19 Thread Yang Shen
In Kunpeng930, some field meanings in 'sqe' are changed, so driver need to distinguish the type on different platform. To avoid checking the platform everytime when driver fills the 'sqe', add a struct 'hisi_zip_sqe_ops' to describe the 'sqe' operations. The driver only need to choose the 'ops' on

[PATCH 3/4] crypto: hisilicon/zip - initialize operations about 'sqe' in 'acomp_alg.init'

2021-03-19 Thread Yang Shen
The operations about 'sqe' are different on some hardwares. Add a struct 'hisi_zip_sqe_ops' to describe the operations in a hardware. And choose the 'ops' in 'hisi_zip_acomp_init' according to the hardware. Signed-off-by: Yang Shen --- drivers/crypto/hisilicon/zip/zip_crypto.c | 141

[PATCH 1/4] crypto: hisilicon/zip - adjust functions location

2021-03-19 Thread Yang Shen
This patch changes nothing about functions except location in order to make code logic clearly. This adjustment follows three principles: 1.The called functions are listed in order above the calling functions. 2.The paired functions are next to each other. 3.Logically similar functions are placed

[PATCH v2 1/2] ext4: Handle casefolding with encryption

2021-03-19 Thread Daniel Rosenberg
This adds support for encryption with casefolding. Since the name on disk is case preserving, and also encrypted, we can no longer just recompute the hash on the fly. Additionally, to avoid leaking extra information from the hash of the unencrypted name, we use siphash via an fscrypt v2 policy. T

[PATCH v2 0/2] Reconcile Encryption and Casefolding in Ext4

2021-03-19 Thread Daniel Rosenberg
These patches add support for ext4 encryption and casefolding at the same time. Since the hash for encrypted casefolded directory names cannot be computed without the key, we need to store the hash on disk. We only do so for encrypted and casefolded directories to avoid on disk format changes. e2f

[PATCH v2 2/2] ext4: Optimize match for casefolded encrypted dirs

2021-03-19 Thread Daniel Rosenberg
Matching names with casefolded encrypting directories requires decrypting entries to confirm case since we are case preserving. We can avoid needing to decrypt if our hash values don't match. Signed-off-by: Daniel Rosenberg --- fs/ext4/ext4.h | 17 --- fs/ext4/namei.c | 55 +

sparc: clang: error: unknown argument: '-mno-fpu'

2021-03-19 Thread Naresh Kamboju
Linux mainline master build breaks for sparc defconfig. There are multiple errors / warnings with clang-12 and clang-11 and 10. - sparc (defconfig) with clang-12, clang-11 and clang-10 - sparc (tinyconfig) with clang-12, clang-11 and clang-10 - sparc (allnoconfig) with clang-12, clang-11 and cla

Re: [RFC][PATCH] sched: Optimize cpufreq_update_util

2021-03-19 Thread Viresh Kumar
On 18-03-21, 22:28, Peter Zijlstra wrote: > Also, is there a lock order comment in cpufreq somewhere? I don't think so. > I tried > following it, but eventually gave up and figured 'asking' lockdep was > far simpler. This will get called from CPU's online/offline path at worst, nothing more. >

[PATCH net] r8152: limit the RX buffer size of RTL8153A for USB 2.0

2021-03-19 Thread Hayes Wang
If the USB host controller is EHCI, the throughput is reduced from 300Mb/s to 60Mb/s, when the rx buffer size is modified from 16K to 32K. According to the EHCI spec, the maximum size of the qTD is 20K. Therefore, when the driver uses more than 20K buffer, the latency time of EHCI would be increas

RE: [EXT] Re: [PATCH 06/11] i2c: imx-lpi2c: improve i2c driver probe priority

2021-03-19 Thread Clark Wang
> -Original Message- > From: Wolfram Sang > Sent: Friday, March 19, 2021 13:39 > To: Clark Wang > Cc: Aisheng Dong ; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > dl-linux-imx ; sumit.sem...@linaro.org; > christian.koe...@amd.com; linux-...@v

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-19 Thread Heiner Kallweit
On 18.03.2021 10:09, Wong Vee Khee wrote: > When using Clause-22 to probe for PHY devices such as the Marvell > 88E2110, PHY ID with value 0 is read from the MII PHYID registers > which caused the PHY framework failed to attach the Marvell PHY > driver. > > Fixed this by adding a check of PHY ID e

Re: [PATCH v7 07/17] media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS

2021-03-19 Thread Hans Verkuil
On 18/03/2021 21:29, Ricardo Ribalda wrote: > Create all the class controls for the device defined controls. > > Fixes v4l2-compliance: > Control ioctls (Input 0): > fail: v4l2-test-controls.cpp(216): missing control class for > class 0098 > fail: v4l2-test-control

Re: [PATCH] io_uring: Try to merge io requests only for regular files

2021-03-19 Thread Dmitry Monakhov
- stable@ 19.03.2021, 08:29, "Dmitry Monakhov" : > Otherwise we may endup blocking on pipe or socket. > > Fixes: 6d5d5ac ("io_uring: extend async work merge") > Testcase: > https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 > Signed-off-by: Dmitry Monakhov >

[PATCH] clk: qcom: camcc: Update the clock ops for the SC7180

2021-03-19 Thread Taniya Das
Update the RCGs to use shared ops to park the RCGs at XO. Fixes: 15d09e830bbc ("clk: qcom: camcc: Add camera clock controller driver for SC7180") Signed-off-by: Taniya Das --- drivers/clk/qcom/camcc-sc7180.c | 50 - 1 file changed, 25 insertions(+), 25 de

Re: [PATCH v2] gpio: mpc8xxx: Add ACPI support

2021-03-19 Thread Michael Walle
Am 2021-03-19 03:53, schrieb Ran Wang: Current implementation only supports DT, now add ACPI support. Note that compared to device of 'fsl,qoriq-gpio', LS1028A and LS1088A's GPIO have no extra programming, so simplify related checking. Signed-off-by: Ran Wang --- Change in v2: - Initialize de

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-19 Thread Jie Deng
On 2021/3/19 13:53, Viresh Kumar wrote: On 16-03-21, 18:35, Jie Deng wrote: +++ b/drivers/i2c/busses/i2c-virtio.c +static int virtio_i2c_send_reqs(struct virtqueue *vq, + struct virtio_i2c_req *reqs, + struct i2c_msg *msgs, int nr) +{

Re: [PATCH v3 3/3] pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero

2021-03-19 Thread Hawa, Hanna
On 3/18/2021 2:15 PM, Andy Shevchenko wrote: On Wed, Mar 17, 2021 at 11:42 PM Hanna Hawa wrote: An SError was detected when trying to print the supported pins in a What is SError? Yes, I have read a discussion, but here is the hint: if a person sees this as a first text due to, for exampl

RE: [PATCH v2] gpio: mpc8xxx: Add ACPI support

2021-03-19 Thread Ran Wang
Hi Michael, On Friday, March 19, 2021 3:52 PM, Michael Walle wrote: > > Am 2021-03-19 03:53, schrieb Ran Wang: > > Current implementation only supports DT, now add ACPI support. > > > > Note that compared to device of 'fsl,qoriq-gpio', LS1028A and > > LS1088A's GPIO have no extra programming, so

Re: [PATCH v2 11/14] objtool: Add elf_create_undef_symbol()

2021-03-19 Thread Peter Zijlstra
On Thu, Mar 18, 2021 at 09:29:23PM -0500, Josh Poimboeuf wrote: > On Thu, Mar 18, 2021 at 06:11:14PM +0100, Peter Zijlstra wrote: > > Allow objtool to create undefined symbols; this allows creating > > relocations to symbols not currently in the symbol table. > > > > Signed-off-by: Peter Zijlstra

Re: [PATCH V2 2/5] regulator: qcom-rpmh: Add PM7325/PMR735A regulator support

2021-03-19 Thread skakit
Hi Matthias, Thanks for reviewing the patches! On 2021-03-17 01:22, Matthias Kaehlcke wrote: On Mon, Mar 15, 2021 at 07:24:11PM +0530, satya priya wrote: Add support for PM7325/PMR735A regulators. This ensures that consumers are able to modify the physical state of PMIC regulators. Signed-off

Re: [PATCH V2 4/5] dt-bindings: regulator: Convert regulator bindings to YAML format

2021-03-19 Thread skakit
On 2021-03-17 00:17, Matthias Kaehlcke wrote: Subject: dt-bindings: regulator: Convert regulator bindings to YAML format Make sure to mention that this is about the RPMh regulators, not the general regulator binding which was already converted. Okay, will change the commit message.

[PATCH 0/2] AM642-sk: Add support for USB

2021-03-19 Thread Aswath Govindraju
The following series of patches add support for, - single one lane SERDES present in AM64 - USB super-speed port on AM642-sk USB test logs, https://pastebin.ubuntu.com/p/4RT9Y94fPv/ The following patches depend on, 1) - https://lore.kernel.org/linux-devicetree/20210310112745.3445-1-kis...@ti.com

[PATCH 2/2] arm64: dts: ti: k3-am642-sk: Enable USB Super-Speed HOST port

2021-03-19 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Enable USB Super-Speed HOST port. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 39 ++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.d

[PATCH 1/2] arm64: dts: ti: k3-am64: Add SERDES DT node

2021-03-19 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Add SERDES DT node for the single one lane SERDES present in AM64. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 52 1 file changed, 52 insertions(+) diff --git a/arc

Re: [PATCH V2 3/5] arm64: dts: qcom: sc7280: Add RPMh regulators for sc7280-idp

2021-03-19 Thread skakit
On 2021-03-17 04:56, Matthias Kaehlcke wrote: On Mon, Mar 15, 2021 at 07:24:12PM +0530, satya priya wrote: Add regulator devices for SC7280 as RPMh regulators. This ensures that consumers are able to modify the physical state of PMIC regulators. Signed-off-by: satya priya --- Changes in V2: -

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-19 Thread Clark Wang
> -Original Message- > From: Clark Wang > Sent: Friday, March 19, 2021 14:16 > To: Aisheng Dong ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

[PATCH V2] workqueue: watchdog: update wq_watchdog_touched for unbound lockup checking

2021-03-19 Thread Wang Qing
When touch_softlockup_watchdog() is called, only wq_watchdog_touched_cpu updated, while the unbound worker_pool running on its core uses wq_watchdog_touched to determine whether locked up. This may be mischecked. My suggestion is to update both when touch_softlockup_watchdog() is called, use wq

Re: linux-next: Signed-off-by missing for commit in the block tree

2021-03-19 Thread Stefan Metzmacher
Am 19.03.21 um 00:25 schrieb Jens Axboe: > On 3/18/21 5:16 PM, Stephen Rothwell wrote: >> Hi all, >> >> Commit >> >> c2c6c067c050 ("io_uring: remove structures from include/linux/io_uring.h") >> >> is missing a Signed-off-by from its author. > > Stefan, let me know if you're OK with me adding

Re: [PATCH v2 14/14] objtool,x86: Rewrite retpoline thunk calls

2021-03-19 Thread Peter Zijlstra
On Thu, Mar 18, 2021 at 10:29:55PM -0500, Josh Poimboeuf wrote: > On Thu, Mar 18, 2021 at 06:11:17PM +0100, Peter Zijlstra wrote: > > When the compiler emits: "CALL __x86_indirect_thunk_\reg" for an > > indirect call, have objtool rewrite it to: > > > > ALTERNATIVE "call __x86_indirect_thunk_\

Re: [PATCH] dma-buf: use wake_up_process() instead of wake_up_state()

2021-03-19 Thread Christian König
Am 19.03.21 um 03:58 schrieb Wang Qing: Using wake_up_process() is more simpler and friendly, and it is more convenient for analysis and statistics Signed-off-by: Wang Qing Reviewed-by: Christian König Should I pick it up or do you want to push it through some other tree than DRM? Thanks

Re: [PATCH] selftests/kvm: add get_msr_index_features

2021-03-19 Thread Emanuele Giuseppe Esposito
Hi Andrew, Thank you for the feedback (also in v1). On 18/03/2021 18:03, Andrew Jones wrote: On Thu, Mar 18, 2021 at 03:56:29PM +0100, Emanuele Giuseppe Esposito wrote: Test the KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSR_INDEX_LIST ioctls. Signed-off-by: Emanuele Giuseppe Esposito ---

include/linux/compiler_types.h:315:38: error: call to '__compiletime_assert_511' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct can_frame, len) != offsetof(struct canfd_frame, len

2021-03-19 Thread kernel test robot
Hi Oliver, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196 commit: c7b74967799b1af52b3045d69d4c26836b2d41de can: replace can_dlc as variable/element for payload length date:

Re: [PATCH v2 1/9] units: Add the HZ macros

2021-03-19 Thread Daniel Lezcano
Hi Rafael, is it possible to merge this series through linux-pm ? On 25/02/2021 12:22, Andy Shevchenko wrote: > On Wed, Feb 24, 2021 at 03:42:11PM +0100, Daniel Lezcano wrote: >> The macros for the unit conversion for frequency are duplicated in >> different places. >> >> Provide these macros

Re: [PATCH 00/36] [Set 4] Rid W=1 warnings in SCSI

2021-03-19 Thread Lee Jones
On Thu, 18 Mar 2021, Martin K. Petersen wrote: > > Lee, > > > This set is part of a larger effort attempting to clean-up W=1 kernel > > builds, which are currently overwhelmingly riddled with niggly little > > warnings. > > Applied to 5.13/scsi-staging, thanks! I fixed a few little things. Tha

Re: [PATCH] tty: serial: samsung_tty: remove spinlock flags in interrupt handlers

2021-03-19 Thread Johan Hovold
On Fri, Mar 19, 2021 at 06:36:39AM +, Song Bao Hua (Barry Song) wrote: > > > > -Original Message- > > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > > Sent: Tuesday, March 16, 2021 10:41 PM > > To: Johan Hovold ; Finn Thain > > ; > > Song Bao Hua (Barry Song) > > Cc: Krz

[PATCH v3] gpio: mpc8xxx: Add ACPI support

2021-03-19 Thread Ran Wang
Current implementation only supports DT, now add ACPI support. Signed-off-by: Ran Wang --- Change in v3: - Recover ls1028a and ls1088a compatilbe checking logic Change in v2: - Initialize devtype with NULL to fix compile warning. - Replace of_device_get_match_data() and acpi_match_device with

[PATCH] dm thin: remove needless request_queue NULL pointer check

2021-03-19 Thread Xu Wang
Since commit ff9ea323816d ("block, bdi: an active gendisk always has a request_queue associated with it") the request_queue pointer returned from bdev_get_queue() shall never be NULL. Signed-off-by: Xu Wang --- drivers/md/dm-thin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[PATCH] dm cache: remove needless request_queue NULL pointer checks

2021-03-19 Thread Xu Wang
Since commit ff9ea323816d ("block, bdi: an active gendisk always has a request_queue associated with it") the request_queue pointer returned from bdev_get_queue() shall never be NULL. Signed-off-by: Xu Wang --- drivers/md/dm-cache-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [PATCH] selftests/kvm: add get_msr_index_features

2021-03-19 Thread Paolo Bonzini
On 19/03/21 09:07, Emanuele Giuseppe Esposito wrote: I'm not sure why the original kvm selftests authors decided to do this internal stuff, but we should either kill that or avoid doing stuff like this. I need this include because of the KVM_DEV_PATH macro, to get the kvm_fd. No other reason f

Re:Re: [PATCH] dma-buf: use wake_up_process() instead of wake_up_state()

2021-03-19 Thread 王擎
>> Using wake_up_process() is more simpler and friendly, >> and it is more convenient for analysis and statistics >> >> Signed-off-by: Wang Qing > >Reviewed-by: Christian König > >Should I pick it up or do you want to push it through some other tree >than DRM? Pick it up just fine, thanks, Wan

Re: [PATCH] MAINTAINERS: Update MCAN MMIO device driver maintainer

2021-03-19 Thread Marc Kleine-Budde
On 18.03.2021 16:56:34, Pankaj Sharma wrote: > Update Chandrasekar Ramakrishnan as maintainer for mcan mmio device driver as > I > will be moving to a different role. Applied to can-next/testing. regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux

[PATCH] dm persistent data: Remove unused variable ret

2021-03-19 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/md/persistent-data/dm-btree-spine.c:188:5-6: Unneeded variable: "r". Return "0" on line 194. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/md/persistent-data/dm-btree-internal.h | 2 +- drivers/md/persistent-data/dm-btree-spi

[PATCH] ASoC: fsl_sai: Don't use devm_regmap_init_mmio_clk

2021-03-19 Thread Shengjiu Wang
When there is power domain bind with bus clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regmap_

Re: [PATCH v7 0/5] clk: add driver for the SiFive FU740

2021-03-19 Thread Zong Li
On Thu, Mar 18, 2021 at 10:07 AM Zong Li wrote: > > On Wed, Mar 17, 2021 at 3:45 AM Andreas Schwab wrote: > > > > On Dez 09 2020, Zong Li wrote: > > > > > Add a driver for the SiFive FU740 PRCI IP block, which handles more > > > clocks than FU540. These patches also refactor the original > > > im

Re: [RESEND 00/53] Rid GPU from W=1 warnings

2021-03-19 Thread Lee Jones
On Thu, 18 Mar 2021, Daniel Vetter wrote: > On Wed, Mar 17, 2021 at 9:32 PM Daniel Vetter wrote: > > > > On Wed, Mar 17, 2021 at 9:17 AM Lee Jones wrote: > > > > > > On Thu, 11 Mar 2021, Lee Jones wrote: > > > > > > > On Thu, 11 Mar 2021, Daniel Vetter wrote: > > > > > > > > > On Mon, Mar 08, 20

[PATCH 01/19] drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:584: warning: Function parameter or member 'init' not described in 'init_reserved' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:611: warning: Function parameter or member 'init' not described in

[RESEND 00/19] Rid GPU from W=1 warnings

2021-03-19 Thread Lee Jones
MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a resend of the remaining patches. All of these patches have been sent before. Lee Jones (19): drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc drm/nouveau/dispnv50/disp: Re

[PATCH 05/19] drm/nouveau/nvkm/subdev/volt/gk20a: Demote non-conformant kernel-doc headers

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:53: warning: Function parameter or member 'speedo' not described in 'gk20a_volt_get_cvb_voltage' drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c:53: warning: Function parameter or member 's_scale

[PATCH 03/19] drm/msm/dp/dp_display: Remove unused variable 'hpd'

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/dp/dp_display.c: In function ‘dp_display_usbpd_attention_cb’: drivers/gpu/drm/msm/dp/dp_display.c:496:19: warning: variable ‘hpd’ set but not used [-Wunused-but-set-variable] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie C

[PATCH 08/19] drm/amd/display/dc/dce80/dce80_resource: Make local functions static

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:527:17: warning: no previous prototype for ‘dce80_aux_engine_create’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:565:20: warning: no prev

[PATCH 09/19] drm/nouveau/nvkm/engine/gr/gf100: Demote non-conformant kernel-doc header

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:992: warning: Function parameter or member 'gr' not described in 'gf100_gr_wait_idle' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-de...@lists.freedesktop.org Cc: nouv...@lists.freede

[PATCH 02/19] drm/nouveau/dispnv50/disp: Remove unused variable 'ret'

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c:1381:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-de...@lists.freedesktop.org Cc: nouv...@lists.freedesktop.org Signed

[PATCH 13/19] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' from function returning void

2021-03-19 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c: In function ‘nv50_mstm_cleanup’: drivers/gpu/drm/nouveau/dispnv50/disp.c:1357:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter C

  1   2   3   4   5   6   7   8   9   10   >