[PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

2021-03-14 Thread Bhaskar Chowdhury
s/virutal/virtual/ s/mismach/mismatch/ Signed-off-by: Bhaskar Chowdhury --- As Randy pointed out I was changing the predefined macro name,so, reverted or leave it alone. Michael,sorry to run down a cold weave in your spine with my stupdity,this is okay. arch/powerpc/kernel/head_fsl_booke.S

RE: [PATCH 2/2] dm verity: allow only one verify mode

2021-03-14 Thread JeongHyeon Lee
Hello, Dear Sami Tolvanen. Thank you for reply. Sorry, I send it again because my setting is wrong. > I agree that we shouldn't allow this, at least not without a warning, but > out of curiosity, do you actually have a situation where this could happen? > One ideally shouldn't be passing untrusted

[PATCH] xtensa: drop extraneous register load from initialize_mmu

2021-03-14 Thread Max Filippov
Commit a9f2fc628e3a ("xtensa: cleanup MMU setup and kernel layout macros") removed the use of a2 in the beginning of the initialize_mmu macro, but left the register load that is no longer used. Remove it as well. Signed-off-by: Max Filippov --- arch/xtensa/include/asm/initialize_mmu.h | 2 +- 1

Re: [PATCH V2] drm: amd: pm: Mundane typo fixes in the file amdgpu_pm.c

2021-03-14 Thread Huang Rui
On Mon, Mar 15, 2021 at 11:21:36AM +0800, Bhaskar Chowdhury wrote: > > s/"an minimum"/"a minimum"/ > s/"an maxmum"/"a maximum"/ > > Signed-off-by: Bhaskar Chowdhury Reviewed-by: Huang Rui > --- > Changes from V1: > Randy's suggestion to adjust the subject line text > And missed out a spe

[PATCH] scsi: qla1280: fix warning comparing pointer to 0

2021-03-14 Thread Jiapeng Chong
Fix the following coccicheck warning: ./drivers/scsi/qla1280.c:3057:37-38: WARNING comparing pointer to 0. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/scsi/qla1280.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/

ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!

2021-03-14 Thread kernel test robot
date: 8 weeks ago config: arm-randconfig-r024-20210314 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

[PATCH] MAINTAINERS: Add Mailing list and Web-page for PERFORMANCE EVENTS SUBSYSTEM

2021-03-14 Thread Tiezhu Yang
Add entry "L: linux-perf-us...@vger.kernel.org" to archive the related mail on https://lore.kernel.org/linux-perf-users/, add entry "W: https://perf.wiki.kernel.org/"; so that newbies could get some useful materials. Signed-off-by: Tiezhu Yang --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions

Re: [PATCH v5 05/10] scsi: ufshpb: Region inactivation in host mode

2021-03-14 Thread Can Guo
On 2021-03-02 21:24, Avri Altman wrote: I host mode, the host is expected to send HPB-WRITE-BUFFER with buffer-id = 0x1 when it inactivates a region. Use the map-requests pool as there is no point in assigning a designated cache for umap-requests. Signed-off-by: Avri Altman --- drivers/scsi/u

Re: [PATCH v3 11/15] drm/msm: Convert to use resource-managed OPP API

2021-03-14 Thread Viresh Kumar
On 14-03-21, 19:34, Dmitry Osipenko wrote: > From: Yangtao Li > > Use resource-managed OPP API to simplify code. > > Signed-off-by: Yangtao Li > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- > drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- > drivers

Re: [PATCH][next] bus: mhi: core: remove redundant initialization of variables state and ee

2021-03-14 Thread Manivannan Sadhasivam
On Thu, Mar 11, 2021 at 11:17:27AM +, Colin King wrote: > From: Colin Ian King > > The variables state and ee are being initialized with values that > are never read and are being updated later with a new values. The > initializations are redundant and can be removed. > > Addresses-Coverity:

Re: [PATCH v3 00/15] Introduce devm_pm_opp_* API

2021-03-14 Thread Viresh Kumar
On 14-03-21, 19:33, Dmitry Osipenko wrote: > This series adds resource-managed OPP API helpers and makes drivers > to use them. > > Changelog: > > v3: - Dropped dev_pm_opp_register_notifier(). > > - Changed return type of the devm helpers from opp_table pointer > to errno. > > - C

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

2021-03-14 Thread Kai Huang
On Tue, 9 Mar 2021 14:39:46 +1300 Kai Huang wrote: > 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 co

Recall: [PATCH] IOCTL support for dell-wmi-sysman driver

2021-03-14 Thread Ksr, Prasanth
Ksr, Prasanth would like to recall the message, "[PATCH] IOCTL support for dell-wmi-sysman driver".

[PATCH] exfat: improve write performance when dirsync enabled

2021-03-14 Thread Hyeongseok Kim
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 --- fs/exfat/balloc.c | 4

Re: [PATCH V2] drm: amd: pm: Mundane typo fixes in the file amdgpu_pm.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 8:21 PM, Bhaskar Chowdhury wrote: > > s/"an minimum"/"a minimum"/ > s/"an maxmum"/"a maximum"/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Randy's suggestion to adjust the subject line text > And missed out a spell too,which now inclu

[PATCH 0/4] KVM: arm64: Minor page fault handler improvement

2021-03-14 Thread Gavin Shan
The series includes several minior improvements to stage-2 page fault handler: PATCH[1/2] are cleaning up the code. PATCH[3] fixes the address range check on adding new memory slot. PATCH[4] don't retrieve the memory slot again in the page fault handler to save a bit CPU cycles. Gavin Shan (4):

[PATCH 2/4] KVM: arm64: Use find_vma_intersection()

2021-03-14 Thread Gavin Shan
find_vma_intersection() has been existing to search the intersected vma. This uses the function where it's applicable, to simplify the code. Signed-off-by: Gavin Shan --- arch/arm64/kvm/mmu.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/kvm/mmu.c b/ar

[PATCH 1/4] KVM: arm64: Hide kvm_mmu_wp_memory_region()

2021-03-14 Thread Gavin Shan
We needn't expose the function as it's only used by mmu.c. Signed-off-by: Gavin Shan --- arch/arm64/include/asm/kvm_host.h | 1 - arch/arm64/kvm/mmu.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kv

[PATCH 4/4] KVM: arm64: Don't retrieve memory slot again in page fault handler

2021-03-14 Thread Gavin Shan
We needn't retrieve the memory slot again in user_mem_abort() because the corresponding memory slot has been passed from the caller. This would save some CPU cycles. For example, the time used to write 1GB memory, which is backed by 2MB hugetlb pages and write-protected, is dropped by 6.8% from 928

[PATCH 3/4] KVM: arm64: Fix address check for memory slot

2021-03-14 Thread Gavin Shan
The last (IPA) page can't be specified when a new memory slot is added. The error -EFAULT is returned when the memory slot is added with the following parameters for the VM, which has 40-bits IPA limit. The host has 4KB base page size. It's not correct because the last (IPA) page is still usable.

Re: [PATCH] IOCTL support for dell-wmi-sysman driver

2021-03-14 Thread Prasanth, KSR
Hi, We tried to run some performance tests to build the case and the numbers really did not support much. So at this point to time we decided that IOCTL support is not making sense. Regards, Prasanth K S R Regards,On 15/03/21 9:12 am, Ksr, Prasanth wrote: Hi, We tried to run some perf

Re: [PATCH 3/3] fs: unicode: Add utf8 module and a unicode layer

2021-03-14 Thread Gabriel Krisman Bertazi
Shreeya Patel writes: > On 14/03/21 7:19 am, Gabriel Krisman Bertazi wrote: >> Shreeya Patel writes: >> >>> utf8data.h_shipped has a large database table which is an auto-generated >>> decodification trie for the unicode normalization functions. >>> It is not necessary to carry this large table

Re: [PATCH] iio: temperature: tmp007: use device-managed functions in probe

2021-03-14 Thread Manivannan Sadhasivam
On Wed, Mar 10, 2021 at 11:38:00AM +0200, Alexandru Ardelean wrote: > This change converts the driver to use device-managed functions in the > probe function. The power-down call is handled now via a > devm_add_action_or_reset() hook, and then devm_iio_device_register() can be > used to register th

Re: [PATCH][next] bus: mhi: core: remove redundant initialization of variables state and ee

2021-03-14 Thread Manivannan Sadhasivam
On Thu, Mar 11, 2021 at 11:17:27AM +, Colin King wrote: > From: Colin Ian King > > The variables state and ee are being initialized with values that > are never read and are being updated later with a new values. The > initializations are redundant and can be removed. > > Addresses-Coverity:

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

2021-03-14 Thread Shawn Guo
On Fri, Mar 05, 2021 at 02:03:51PM +0530, Sahil Malhotra wrote: > From: Sahil Malhotra > > optee node was disabled in ls1028a.dtsi, enabling it by default. > > Signed-off-by: Sahil Malhotra Applied, thanks.

[PATCH net 1/1] net: phylink: Fix phylink_err() function name error in phylink_major_config

2021-03-14 Thread Ong Boon Leong
if pl->mac_ops->mac_finish() failed, phylink_err should use "mac_finish" instead of "mac_prepare". Fixes: b7ad14c2fe2d4 ("net: phylink: re-implement interface configuration with PCS") Signed-off-by: Ong Boon Leong --- drivers/net/phy/phylink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH 0/3] arm64: dts: ls: mark crypto engine dma coherent

2021-03-14 Thread Shawn Guo
On Sun, Mar 07, 2021 at 10:47:34PM +0200, Horia Geantă wrote: > This patch set adds "dma-coherent" property to the crypto node > for NXP Layerscape platforms where the IP (CAAM) is configured > HW-coherent. > > Horia Geantă (3): > arm64: dts: ls1046a: mark crypto engine dma coherent > arm64: d

[PATCH 1/5] dt-bindings: timer: Simplify conditional expressions

2021-03-14 Thread Samuel Holland
The sun4i timer IP block has a variable number of interrupts based on the compatible. Use enums to combine the two sections for the existing 3-interrupt variants, and to simplify adding new compatible strings. Signed-off-by: Samuel Holland --- .../timer/allwinner,sun4i-a10-timer.yaml | 25 +

[PATCH 0/5] arm64: sunxi: Enable the sun4i timer

2021-03-14 Thread Samuel Holland
In preparation for adding CPU idle states, hook up the sun4i timer. Having a non-c3stop clockevent source available is necessary for all CPUs to simultaneously enter a local-timer-stop idle state. Samuel Holland (5): dt-bindings: timer: Simplify conditional expressions dt-bindings: timer: Add

[PATCH 2/5] dt-bindings: timer: Add compatibles for sun50i timers

2021-03-14 Thread Samuel Holland
The sun50i SoCs contain timer blocks which are useful as broadcast clockevent sources. They each have 2 interrupts, matching the A23 variant, so add the new compatible strings with the A23 compatible as a fallback. Signed-off-by: Samuel Holland --- .../timer/allwinner,sun4i-a10-timer.yaml

[PATCH 4/5] arm64: dts: allwinner: Add sun4i MMIO timer nodes

2021-03-14 Thread Samuel Holland
For a CPU to enter an idle state, there must be some timer which can trigger an IRQ to wake it back up. The local ARM architectural timer is not sufficient, because that timer stops when the CPU is powered down. Some other CPU's ARM architectural timer can be used, but this prevents that other CPU

[PATCH 5/5] arm64: sunxi: Build the sun4i timer driver

2021-03-14 Thread Samuel Holland
While the ARM architectural timer is generatlly the best timer to use, a non-c3stop timer is needed for cpuidle. Use the sun4i timer for this purpose, which is present on all 64-bit sunxi SoCs. Signed-off-by: Samuel Holland --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+)

[PATCH 3/5] arm64: dts: allwinner: a64: Sort watchdog node

2021-03-14 Thread Samuel Holland
Nodes should be sorted by unit address. Move the watchdog node to the correct place, so it will be next to the timer node when that is added. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 16 1 file changed, 8 insertions(+), 8 deletions(-) di

[PATCH] exfat: speed up iterate/lookup by fixing start point of traversing fat chain

2021-03-14 Thread Hyeongseok Kim
When directory iterate and lookup is called, there is a buggy rewinding of start point for traversing fat chain to the directory entry's first cluster. This caused repeated fat chain traversing from the first entry of the directory that would show worse performance if huge amounts of files exist un

Re: [PATCH] ARM: dts: ls1021a: mark crypto engine dma coherent

2021-03-14 Thread Shawn Guo
On Sun, Mar 07, 2021 at 10:56:29PM +0200, Horia Geantă wrote: > Crypto engine (CAAM) on LS1021A platform is configured HW-coherent, > mark accordingly the DT node. > > Signed-off-by: Horia Geantă Applied, thanks.

[syzbot] memory leak in hub_event (2)

2021-03-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:05a59d79 Merge git://git.kernel.org:/pub/scm/linux/kernel/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=164e6ba2d0 kernel config: https://syzkaller.appspot.com/x/.config?x=796675cee501159f das

drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops'

2021-03-14 Thread kernel test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 commit: 0c8d22fcae2f9590a07b000e1724f665820b77f7 Merge tag 'amd-drm-next-5.10-2020-09-03' of git://people.freedesktop

Re: [PATCH v4] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-14 Thread Shawn Guo
On Mon, Mar 08, 2021 at 03:22:27AM -0500, Alistair Francis wrote: > The reMarkable2 (https://remarkable.com) is an e-ink tablet based on > the imx7d SoC. > > This commit is based on the DTS provide by reMarkable but ported to the > latest kernel (instead of 4.14). I have removed references to > no

Re: [PATCH] KVM: clean up the unused argument

2021-03-14 Thread Keqian Zhu
This looks OK. The use of vcpu argument is removed in commit d383b3146d80 (KVM: x86: Fix NULL dereference at kvm_msr_ignored_check()) Reviewed-by: Keqian Zhu On 2021/3/13 13:10, lihaiwei.ker...@gmail.com wrote: > From: Haiwei Li > > kvm_msr_ignored_check function never uses vcpu argument. C

Re: [PATCH v2 1/1] arm64: dts: imx8mm-nitrogen-r2: add ecspi2 support

2021-03-14 Thread Shawn Guo
On Mon, Mar 08, 2021 at 01:55:18PM +0100, Adrien Grassein wrote: > Add the description for ecspi2 support. > > Signed-off-by: Adrien Grassein > Reviewed-by: Krzysztof Kozlowski > Reviewed-by: Fabio Estevam Applied, thanks.

Re: [PATCH] cpufreq: cppc: simplify default delay_us setting

2021-03-14 Thread Viresh Kumar
On 12-03-21, 19:50, Tom Saeger wrote: > Simplify case when setting default in cppc_cpufreq_get_transition_delay_us. > > Signed-off-by: Tom Saeger > --- > drivers/cpufreq/cppc_cpufreq.c | 14 ++ > 1 file changed, 2 insertions(+), 12 deletions(-) > > diff --git a/drivers/cpufreq/cppc_

[PATCH] perf record: Fix memory leak in vDSO

2021-03-14 Thread Namhyung Kim
I got several memory leak reports from Asan with a simple command. It was because VDSO is not released due to the refcount. Like in __dsos_addnew_id(), it should put the refcount after adding to the list. $ perf record true [ perf record: Woken up 1 times to write data ] [ perf record: Cap

[PATCH] f2fs: fix the discard thread sleep timeout under high utilization

2021-03-14 Thread Sahitya Tummala
When f2fs is heavily utilized over 80%, the current discard policy sets the max sleep timeout of discard thread as 50ms (DEF_MIN_DISCARD_ISSUE_TIME). But this is set even when there are no pending discard commands to be issued. This results into unnecessary frequent and periodic wake ups of the dis

[PATCH -tip 0/2] futex: Two pi fixes

2021-03-14 Thread Davidlohr Bueso
Hi, Some unrelated fixlets found via code inspection. Please consider for v5.13. Thanks! Davidlohr Bueso (2): futex: Fix irq mismatch in exit_pi_state_list() futex: Leave the pi lock stealer in a consistent state upon successful fault kernel/futex.c | 18 ++ 1 file chan

[PATCH 2/2] futex: Leave the pi lock stealer in a consistent state upon successful fault

2021-03-14 Thread Davidlohr Bueso
Before 34b1a1ce145 (futex: Handle faults correctly for PI futexes) any concurrent pi_state->owner fixup would assume that the task that fixed things on our behalf also correctly updated the userspace value. This is not always the case anymore, and can result in scenarios where a lock stealer return

[PATCH 1/2] futex: Fix irq mismatch in exit_pi_state_list()

2021-03-14 Thread Davidlohr Bueso
The pi_mutex->wait_lock is irq safe and needs to enable local interrupts upon unlocking, matching it's corresponding raw_spin_lock_irq(). Fixes: c74aef2d06a9f (futex: Fix pi_state->owner serialization) Signed-off-by: Davidlohr Bueso --- kernel/futex.c | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: [PATCH v29 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-14 Thread Can Guo
On 2021-03-15 09:31, Daejun Park wrote: This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HP

RE: [PATCH 1/2] usb: gadget: uvc: Updating bcdUVC field to 0x0110

2021-03-14 Thread Pawel Laszczak
Hi Laurent > >Hello Pawel, > >Thank you for the patch. > >On Sun, Mar 14, 2021 at 09:58:46AM +0800, Peter Chen wrote: >> On 21-03-08 11:27:34, Pawel Laszczak wrote: >> > From: Pawel Laszczak >> > >> > Command Verifier during UVC Descriptor Tests (Class Video Control >> > Interface Descriptor Test

[PATCH net-next 1/6] net: pcs: rearrange C73 functions to prepare for C37 support later

2021-03-14 Thread Ong Boon Leong
The current implementation for XPCS is validated for C73, so we rename them to have _c73 suffix and introduce a set of functions to use an_mode flag to switch between C73 and C37 AN later. Signed-off-by: Ong Boon Leong --- drivers/net/pcs/pcs-xpcs.c | 94 +--- i

[PATCH net-next 2/6] net: pcs: add C37 SGMII AN support for intel mGbE controller

2021-03-14 Thread Ong Boon Leong
XPCS IP supports C37 SGMII AN process and it is used in intel multi-GbE controller as MAC-side SGMII. Signed-off-by: Ong Boon Leong --- drivers/net/pcs/pcs-xpcs.c | 167 ++- include/linux/pcs/pcs-xpcs.h | 1 + 2 files changed, 167 insertions(+), 1 deletion(-)

[PATCH net-next 4/6] net: stmmac: make in-band AN mode parsing is supported for non-DT

2021-03-14 Thread Ong Boon Leong
Not all platform uses DT, so phylink_parse_mode() will skip in-band setup of pl->supported and pl->link_config.advertising entirely. So, we add the setting of ovr_an_inband flag to make it works for non-DT platform. Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_mai

[PATCH net-next 6/6] stmmac: intel: add pcs-xpcs for Intel mGbE controller

2021-03-14 Thread Ong Boon Leong
Intel mGbE controller such as those in EHL & TGL uses pcs-xpcs driver for SGMII interface. To ensure mdio bus scanning does not assign phy_device to MDIO-addressable entities like intel serdes and pcs-xpcs, we set up to phy_mask to skip them. Signed-off-by: Ong Boon Leong --- drivers/net/etherne

[PATCH net-next 3/6] net: phylink: make phylink_parse_mode() support non-DT platform

2021-03-14 Thread Ong Boon Leong
Certain platform does not support DT, so we make phylink_parse_mode() to allow non-DT platform to use it to setup in-band AN advertising. Signed-off-by: Ong Boon Leong --- drivers/net/phy/phylink.c | 5 +++-- include/linux/phylink.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) dif

[PATCH net-next 0/6] net: pcs, stmmac: add C37 AN SGMII support

2021-03-14 Thread Ong Boon Leong
Hi all, This patch series adds MAC-side SGMII support to stmmac driver and it is changed as follow:- 1/6: Refactor the current C73 implementation in pcs-xpcs to prepare for adding C37 AN later. 2/6: Add MAC-side SGMII C37 AN support to pcs-xpcs 3,4/6: make phylink_parse_mode() to work for no

[PATCH net-next 5/6] net: stmmac: ensure phydev is attached to phylink for C37 AN

2021-03-14 Thread Ong Boon Leong
As the support for MAC-side SGMII C37 AN is added to pcs-xpcs, phydev should be attached to phylink during driver's open(). So, we change the condition to "Not C73 AN" instead. Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion

linux-next: Tree for Mar 15

2021-03-14 Thread Stephen Rothwell
Hi all, Warning: Some of the branches in linux-next are 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] regulator: bd9576: Fix return from bd957x_probe()

2021-03-14 Thread Matti Vaittinen
On Fri, 2021-03-12 at 10:42 +0300, Dan Carpenter wrote: > The probe() function returns an uninitialized variable in the success > path. There is no need for the "err" variable at all, just delete > it. > > Fixes: b014e9fae7e7 ("regulator: Support ROHM BD9576MUF and > BD9573MUF") > Signed-off-by

linux-next: build warning after merge of the akpm-current tree

2021-03-14 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (htmldocs) produced this warning: Documentation/ABI/testing/sysfs-kernel-mm-cma:2: WARNING: Inline interpreted text or phrase reference start-string without end-string. Introduced by commit 439d477342a3 ("mm: cma: support

RE: [PATCH v3 6/6] phy: cadence-torrent: Add support to drive refclk out

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 5:39 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Swapnil Kashinath Jakhade > Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; Lokesh > Vutla > Subject: [PATCH v3 6/6] phy: cadenc

RE: [PATCH v6 02/13] phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > ; sta..

Re: [PATCH 2/3] regulator: bd9571mwv: Fix regulator name printed on registration failure

2021-03-14 Thread Matti Vaittinen
On Fri, 2021-03-12 at 14:02 +0100, Geert Uytterhoeven wrote: > If a regulator fails to register, the driver prints an error message > like: > > bd9571mwv-regulator bd9571mwv-regulator.6.auto: failed to > register bd9571mwv-regulator regulator > > However, the platform device's name is alrea

RE: [PATCH v6 03/13] phy: cadence: cadence-sierra: Create PHY only for "phy" or "link" sub-nodes

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > > Subj

RE: [PATCH v6 05/13] phy: cadence: cadence-sierra: Move all clk_get_*() to a separate function

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > > Subj

RE: [PATCH v6 08/13] phy: cadence-torrent: Use a common header file for Cadence SERDES

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > > Subj

RE: [PATCH v6 09/13] phy: cadence: cadence-sierra: Add array of input clocks in "struct cdns_sierra_phy"

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > > Subj

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

2021-03-14 Thread Jie Deng
On 2021/3/15 11:13, Jason Wang wrote: On 2021/3/15 9:14 上午, Jie Deng wrote: On 2021/3/12 16:58, Arnd Bergmann wrote: On Fri, Mar 12, 2021 at 2:33 PM Jie Deng wrote: + +/** + * struct virtio_i2c_req - the virtio I2C request structure + * @out_hdr: the OUT header of the virtio I2C message

RE: [PATCH v6 13/13] phy: cadence: sierra: Enable pll_cmnlc and pll_cmnlc1 clocks

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > > Subj

Re: [PATCH v2 0/2] AM64: Add USB support

2021-03-14 Thread Kishon Vijay Abraham I
On 10/03/21 4:57 pm, Aswath Govindraju wrote: > The following series of patches, add USB support for AM642 evm. > > USB test logs, > https://pastebin.ubuntu.com/p/Qrbb7SGv8N/ > > Changes since v1: > - Rebased the patches on top of ti-k3-dts-next > - Added test logs Would prefer simple data tr

Re: [PATCH v2] iio:dac:max517.c: Use devm_iio_device_register()

2021-03-14 Thread Lars-Peter Clausen
On 3/14/21 6:57 PM, Mugilraj Dhavachelvan wrote: Use devm_iio_device_register() to avoid remove function and drop explicit call to iio_device_unregister(). Signed-off-by: Mugilraj Dhavachelvan changes v1->v2: -As sugested by Alexandru removed i2c_set_clientdata() because the stored

[PATCH] mtd: spi-nor: Update comment about the default flash parameters

2021-03-14 Thread Tudor Ambarus
s/legacy/default. spi_nor_info_init_params initializes some default flash parameters and settings that can be overwritten when parsing SFDP, or by fixup hooks. There's nothing legacy about them, they are just some default settings, if not otherwise discovered or specified. Signed-off-by: Tudor Amb

[PATCH] dt-bindings: qcom,pdc: Add compatible for sc7280

2021-03-14 Thread Rajendra Nayak
Add the compatible string for sc7280 SoC from Qualcomm Signed-off-by: Rajendra Nayak Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- This was earlier posted as part of the entire DT series for sc7280 [1] Rest of the patches are now picked, posting this separately so it can be picked up via

auxv stuff (Re: [PATCH] prctl: fix PR_SET_MM_AUXV kernel stack leak)

2021-03-14 Thread Alexey Dobriyan
On Sun, Mar 14, 2021 at 02:40:05PM -0700, Linus Torvalds wrote: > [mm->saved_auxv] > > That's a separate issue, and I can't find it in myself to care (and > nobody has ever complained), but I thought I'd mention it. There is another (non-security) one. Compat 32-bit process will report 2 longs to

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

2021-03-14 Thread Ran Wang
Hi Andy, On Sunday, March 14, 2021 9:52 PM, Andy Shevchenko wrote: > > On Fri, Mar 12, 2021 at 8:53 AM Ran Wang wrote: > > First of all, please add me to the Cc list for the next version of the patch. > > > Current implementation only supports DT, now add ACPI support. > > > > Note that compar

[PATCH] dt-bindings: arm-smmu: Add compatible for SC7280 SoC

2021-03-14 Thread Rajendra Nayak
From: Sai Prakash Ranjan Add the SoC specific compatible for SC7280 implementing arm,mmu-500. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Rajendra Nayak Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- This was earlier posted as part of the entire DT series for sc7280 [1] Rest of the

[PATCH] dt-bindings: watchdog: Add compatible for SC7280 SoC

2021-03-14 Thread Rajendra Nayak
From: Sai Prakash Ranjan Add compatible for watchdog timer on SC7280 SoC. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Rajendra Nayak Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- This was earlier posted as part of the entire DT series for sc7280 [1] Rest of the patches are now pic

Re: [PATCH v2 4/5] mtd: spi-nor: Move Software Write Protection logic out of the core

2021-03-14 Thread Tudor.Ambarus
On 3/6/21 1:19 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2021-03-06 10:50, schrieb Tudor Ambarus: >> It makes the core file a bit smaller and provides better separation >> between the Software Write Protection fe

Re: [PATCHv2 0/4] Bx50v3 DT improvements

2021-03-14 Thread Shawn Guo
On Mon, Mar 08, 2021 at 04:18:25PM +0100, Sebastian Reichel wrote: > Bx50v3 DT improvements > > These are a bunch of small unrelated improvements for the GE Bx50v3 > device tree (and BA16 system on module, which is currently only used > by Bx50v3). > > Changes since PATCHv1 [1]: > * change patch

RE: [PATCH 1/2] usb: cdns3: Use dma_pool_* api to alloc trb pool

2021-03-14 Thread Sanket Parmar
Hi Peter, > > On 21-03-09 06:19:39, Sanket Parmar wrote: > > Allocation of DMA coherent memory in atomic context using > > dma_alloc_coherent() might fail on platforms with smaller > > DMA region. > > > > To fix it, dma_alloc_coherent() is replaced with dma_pool > > API to allocate a smaller chunk

[PATCH] staging: rtl8192u: fixed no space coding style issue.

2021-03-14 Thread zhaoxiao
Added space around the binary operator for readability in r8192U_wx.c file Signed-off-by: zhaoxiao --- drivers/staging/rtl8192u/r8192U_wx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_w

RE: [PATCH v3 1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI

2021-03-14 Thread Bharat Kumar Gogada
Ping. > -Original Message- > From: Bharat Kumar Gogada > Sent: Monday, February 22, 2021 2:18 PM > To: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: bhelg...@google.com; Bharat Kumar Gogada > Subject: [PATCH v3 1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic > usin

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

2021-03-14 Thread Ran Wang
Hi Michael, Bartosz, On Sunday, March 14, 2021 8:11 AM, Michael Walle wrote: > > Am 2021-03-12 12:07, schrieb Bartosz Golaszewski: > > On Fri, Mar 12, 2021 at 7:51 AM Ran Wang wrote: > >> > >> Current implementation only supports DT, now add ACPI support. > >> > >> Note that compared to device o

Re: [PATCH] f2fs: fix the discard thread sleep timeout under high utilization

2021-03-14 Thread Chao Yu
Sahitya, On 2021/3/15 12:56, Sahitya Tummala wrote: When f2fs is heavily utilized over 80%, the current discard policy sets the max sleep timeout of discard thread as 50ms (DEF_MIN_DISCARD_ISSUE_TIME). But this is set even when there are no pending discard commands to be issued. This results int

rmem.c:undefined reference to `memremap'

2021-03-14 Thread kernel test robot
Hi Nicolas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 commit: 5a3fa75a4d9cb6bcfc9081ef224a4cdcd4b3eafe nvmem: Add driver to expose reserved memory as nvmem date: 6 we

Re: [PATCH v3 1/3] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-03-14 Thread Yang Weijiang
On Fri, Mar 12, 2021 at 03:28:32PM -0800, Sean Christopherson wrote: > On Mon, Mar 08, 2021, Yang Weijiang wrote: > > On Thu, Mar 04, 2021 at 08:46:45AM -0800, Sean Christopherson wrote: > > > On Thu, Mar 04, 2021, Yang Weijiang wrote: > > > > @@ -3375,6 +3391,12 @@ enum nvmx_vmentry_status > > >

drivers/rtc/rtc-tps65910.c:422:7: error: implicit declaration of function 'device_property_present'

2021-03-14 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 commit: 454ba154a62c8806e82a3581c5233a5176cd7dd7 rtc: tps65910: Support wakeup-source property date: 7 weeks ago config: microblaze-randconfig-r002-20210315 (attach

RE: [PATCH v6 12/13] phy: cadence: phy-cadence-sierra: Model PLL_CMNLC and PLL_CMNLC1 as clocks (mux clocks)

2021-03-14 Thread Swapnil Kashinath Jakhade
> -Original Message- > From: Kishon Vijay Abraham I > Sent: Wednesday, March 10, 2021 9:16 PM > To: Kishon Vijay Abraham I ; Vinod Koul > ; Rob Herring ; Philipp Zabel > ; Swapnil Kashinath Jakhade > > Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Lokesh Vutla > > Subj

[PATCH v2] docs: usbip: Fix major fields and descriptions in protocol

2021-03-14 Thread Hongren Zheng (Zenithal)
The old document for usbip protocol is misleading and hard to read: * Some fields in header are incorrect * Explanation of some fields are unclear or even wrong * Padding of header (namely all headers have the same length) is not explicitly point out, which is crucial for stream protocol

Re: [PATCH] security/loadpin: Update the changing interface in the source code.

2021-03-14 Thread Jiele Zhao
On 2021/3/8 10:03, Jiele zhao wrote: Loadpin cmdline interface "enabled" has been renamed to "enforce" for a long time, but the User Description Document was not updated. (Meaning unchanged) And kernel_read_file* were moved from linux/fs.h to its own linux/kernel_read_file.h include file. So upd

Re: [PATCH v2 4/5] mtd: spi-nor: Move Software Write Protection logic out of the core

2021-03-14 Thread Vignesh Raghavendra
On 3/9/21 12:58 PM, tudor.amba...@microchip.com wrote: > On 3/8/21 7:28 PM, Vignesh Raghavendra wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 3/6/21 3:20 PM, Tudor Ambarus wrote: >>> It makes the core file a bit smaller and prov

Re: [PATCH net-next 3/8] net: dsa: microchip: add DSA support for microchip lan937x

2021-03-14 Thread Prasanna Vengateshan Varadharajan
On Fri, 2021-02-05 at 14:27 +0100, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > > > > +bool lan937x_is_internal_tx_phy_port(struct ksz_device *dev, > > > > int > > > > port) > > > > +{ > > > > + /* Check if the port is in

Re: [PATCH v29 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-14 Thread Can Guo
On 2021-03-15 09:31, Daejun Park wrote: This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HP

[PATCH v4 1/4] dt-binding: clock: Document rockchip,rk3568-cru bindings

2021-03-14 Thread Elaine Zhang
Document the device tree bindings of the rockchip Rk3568 SoC clock driver in Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml. Signed-off-by: Elaine Zhang Reviewed-by: Kever Yang Reviewed-by: Rob Herring --- .../bindings/clock/rockchip,rk3568-cru.yaml | 60 ++

[PATCH v4 2/4] clk: rockchip: add dt-binding header for rk3568

2021-03-14 Thread Elaine Zhang
Add the dt-bindings header for the rk3568, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3568. Signed-off-by: Elaine Zhang Reviewed-by: Kever Yang Reviewed-by: Rob Herring --- include/dt-bindings/clock/rk3568-cru.h | 926 +

[PATCH v4 0/4] clk: rockchip: add clock controller for rk3568

2021-03-14 Thread Elaine Zhang
Add the clock tree definition for the new rk3568 SoC. Change in V4: [PATCH v4 1/4]: No change. [PATCH v4 2/4]: No change. [PATCH v4 3/4]: No change. [PATCH v4 4/4]: Drop parenthesis and module alias. Change in V3: [PATCH v3 1/4]: Fix some code styles. [PATCH v3 2/4]: No change. [PATCH v3 3/4]: No

[PATCH v4 3/4] clk: rockchip: support more core div setting

2021-03-14 Thread Elaine Zhang
Use arrays to support more core independent div settings. A55 supports each core to work at different frequencies, and each core has an independent divider control. Signed-off-by: Elaine Zhang Reviewed-by: Kever Yang --- drivers/clk/rockchip/clk-cpu.c| 53 +-- dr

[PATCH v4 4/4] clk: rockchip: add clock controller for rk3568

2021-03-14 Thread Elaine Zhang
Add the clock tree definition for the new rk3568 SoC. Signed-off-by: Elaine Zhang Reviewed-by: Kever Yang --- drivers/clk/rockchip/Kconfig |7 + drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk-rk3568.c | 1725 + drivers/clk/rockchip/clk.

[PATCH net-next 0/1] net: stmmac: add per-q coalesce support

2021-03-14 Thread Ong Boon Leong
Hi, This patch adds per-queue RX & TX coalesce control so that user can adjust the RX & TX interrupt moderation per queue. This is beneficial for mixed criticality control (according to VLAN priority) by user application. The patch as been tested with following steps and results and the from the

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-14 Thread Viresh Kumar
On 14-03-21, 20:16, Frank Rowand wrote: > On 3/12/21 11:11 PM, Frank Rowand wrote: > > On 3/12/21 1:13 AM, Viresh Kumar wrote: > >> On 12-03-21, 01:09, Frank Rowand wrote: > >>> I suggested having the .dtso files include the .dts file because that is > >>> a relatively > >>> small and easy change

[PATCH net-next 1/1] net: stmmac: add per-queue TX & RX coalesce ethtool support

2021-03-14 Thread Ong Boon Leong
Extending the driver to support per-queue RX and TX coalesce settings in order to support below commands: To show per-queue coalesce setting:- $ ethtool --per-queue queue_mask --show-coalesce To set per-queue coalesce setting:- $ ethtool --per-queue queue_mask --coalesce \ [rx-usecs N]

Re: [PATCH v5 06/10] scsi: ufshpb: Add hpb dev reset response

2021-03-14 Thread Can Guo
On 2021-03-15 09:34, Can Guo wrote: On 2021-03-02 21:24, Avri Altman wrote: The spec does not define what is the host's recommended response when the device send hpb dev reset response (oper 0x2). We will update all active hpb regions: mark them and do that on the next read. Signed-off-by: A

<    1   2   3   4   5   6   >