[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

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

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 > >

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

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 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 > >

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 > >

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 > >

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 > >

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

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 > ;

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:

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] 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") >

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

[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 ---

[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 ---

[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(-)

[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

[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 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 +---

[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

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

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

[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

[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

[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

[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

[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:

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

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 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 >

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.

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

[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

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.

[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

[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 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 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(-)

[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

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:

[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

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.

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. > >

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

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] 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

[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

[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.

[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

[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

[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):

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

[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 |

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".

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

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. > > -

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. > >

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 +- >

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 ---

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

[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

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

[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 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

[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

[PATCH v4] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-14 Thread Nicolin Chen
This patch dumps all active mapping entries from pagetable to a debugfs directory named "mappings". Ataching an example: SWGROUP: hc ASID: 0 reg: 0x250 PTB_ASID: 0xe0080004 as->pd_dma: 0x80004000 { [1023] 0xf008000b (1) { PTE RANGE | ATTR | PHYS

Re: [PATCH v1 10/14] mm: multigenerational lru: core

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 07:02:01PM -0700, Andi Kleen wrote: > Yu Zhao writes: Hi Andi! Recovering the context a bit: err = -EBUSY; > > + > > +#ifdef CONFIG_MEMCG > > + if (memcg && atomic_read(>moving_account)) > > + goto contended; > > +#endif > >

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

2021-03-14 Thread Kai Huang
On Fri, 12 Mar 2021 13:58:40 -0800 Sean Christopherson wrote: > On Tue, Mar 09, 2021, Kai Huang wrote: > > 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

linux-next: manual merge of the hyperv tree with the tip tree

2021-03-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the hyperv tree got a conflict in: arch/x86/include/asm/mshyperv.h between commit: a0e2bf7cb700 ("x86/paravirt: Switch time pvops functions to use static_call()") from the tip tree and commit: eb3e1d370b4c ("clocksource/drivers/hyper-v: Handle

[PATCH] perf core: Allocate perf_buffer in the target node memory

2021-03-14 Thread Namhyung Kim
I found the ring buffer pages are allocated in the node but the ring buffer itself is not. Let's convert it to use kzalloc_node() too. Signed-off-by: Namhyung Kim --- kernel/events/ring_buffer.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

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

2021-03-14 Thread Bhaskar Chowdhury
On 13:48 Mon 15 Mar 2021, Michael Ellerman wrote: Randy Dunlap writes: On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote: Trivial spelling fixes throughout the file. Signed-off-by: Bhaskar Chowdhury --- arch/powerpc/kernel/head_fsl_booke.S | 8 1 file changed, 4 insertions(+), 4

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

2021-03-14 Thread Bhaskar Chowdhury
s/"an minimum"/"a minimum"/ s/"an maxmum"/"a maximum"/ Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Randy's suggestion to adjust the subject line text And missed out a spell too,which now included drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] xtensa: fix pgprot_noncached assumptions

2021-03-14 Thread Max Filippov
pgprot_noncached assumes that cache bypass attribute is represented as zero. This may not always be true. Fix pgprot_noncached definition by adding _PAGE_CA_BYPASS to the result. Signed-off-by: Max Filippov --- arch/xtensa/include/asm/pgtable.h | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH] xtensa: simplify coherent_kvaddr logic

2021-03-14 Thread Max Filippov
Functions coherent_kvaddr, clear_page_alias and copy_page_alias use physical address 0 as a special value that means 'this page is in the KSEG mapping and its existing virtual address has the same color as the virtual address of its future mapping, so don't map it to the TLBTEMP_BASE area'.

Re: [PATCH] ia64: fix format string for ia64-acpi-cpu-freq

2021-03-14 Thread Viresh Kumar
On 13-03-21, 10:42, Sergei Trofimovich wrote: > Fix warning with %lx / s64 mismatch: > > CC [M] drivers/cpufreq/ia64-acpi-cpufreq.o > drivers/cpufreq/ia64-acpi-cpufreq.c: In function 'processor_get_pstate': > warning: format '%lx' expects argument of type 'long unsigned int', >

Re: [PATCH V3] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-14 Thread Viresh Kumar
On 13-03-21, 09:19, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V2: > Incoporated the findings of Tom Saeger > > drivers/cpufreq/s5pv210-cpufreq.c | 12 ++-- > 1 file changed, 6 insertions(+), 6

Re: [PATCH v3] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-14 Thread Nicolin Chen
On Sun, Mar 14, 2021 at 06:08:00PM +0300, Dmitry Osipenko wrote: > 14.03.2021 11:06, Nicolin Chen пишет: > > + for (pd_index = 0; pd_index < SMMU_NUM_PDE; pd_index++) { > > + struct page *pt_page; > > + u32 *addr; > > + int i; > > unsigned int > > and then printf

Re: [PATCH] vfio/type1: fix vaddr_get_pfns() return in vfio_pin_page_external()

2021-03-14 Thread Keqian Zhu
Hi Daniel, [+Cc iommu mail list] This patch looks good to me. (but I don't test it too.) Thanks, Keqian On 2021/3/9 1:24, Daniel Jordan wrote: > vaddr_get_pfns() now returns the positive number of pfns successfully > gotten instead of zero. vfio_pin_page_external() might return 1 to >

Re: [PATCH v1 06/14] mm, x86: support the access bit on non-leaf PMD entries

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 04:22:03PM -0700, Dave Hansen wrote: > On 3/12/21 11:57 PM, Yu Zhao wrote: > > Some architectures support the accessed bit on non-leaf PMD entries > > (parents) in addition to leaf PTE entries (children) where pages are > > mapped, e.g., x86_64 sets the accessed bit on a

Re: [PATCH v5 03/10] scsi: ufshpb: Add region's reads counter

2021-03-14 Thread Can Guo
Hi Avri, On 2021-03-02 21:24, Avri Altman wrote: In host control mode, reads are the major source of activation trials. Keep track of those reads counters, for both active as well inactive regions. We reset the read counter upon write - we are only interested in "clean" reads. less

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

2021-03-14 Thread Kai Huang
On Sun, 14 Mar 2021 17:27:18 +0200 Jarkko Sakkinen wrote: > On Sun, Mar 14, 2021 at 05:25:26PM +0200, Jarkko Sakkinen wrote: > > On Sat, Mar 13, 2021 at 09:07:36PM +0200, Jarkko Sakkinen wrote: > > > On Sat, Mar 13, 2021 at 09:05:36PM +0200, Jarkko Sakkinen wrote: > > > > On Fri, Mar 12, 2021 at

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

2021-03-14 Thread Jason Wang
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 + * @buf: the buffer into which data is

RE: [RFC PATCH v4 1/3] topology: Represent clusters of CPUs within a die.

2021-03-14 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Tuesday, March 2, 2021 12:00 PM > To: tim.c.c...@linux.intel.com; catalin.mari...@arm.com; w...@kernel.org; > r...@rjwysocki.net; vincent.guit...@linaro.org; b...@alien8.de; > t...@linutronix.de; mi...@redhat.com;

Re: [PATCH v2 4/5] thermal/drivers/cpuidle_cooling: Use device name instead of auto-numbering

2021-03-14 Thread Daniel Lezcano
On 15/03/2021 04:07, Viresh Kumar wrote: > On 12-03-21, 18:03, Daniel Lezcano wrote: >> Currently the naming of a cooling device is just a cooling technique >> followed by a number. When there are multiple cooling devices using >> the same technique, it is impossible to clearly identify the

[RFC v2] net: sched: implement TCQ_F_CAN_BYPASS for lockless qdisc

2021-03-14 Thread Yunsheng Lin
Currently pfifo_fast has both TCQ_F_CAN_BYPASS and TCQ_F_NOLOCK flag set, but queue discipline by-pass does not work for lockless qdisc because skb is always enqueued to qdisc even when the qdisc is empty, see __dev_xmit_skb(). This patch calls sch_direct_xmit() to transmit the skb directly to

[PATCH] staging: rtl8723bs: add spaces between operators

2021-03-14 Thread Qiang Ma
Add spaces between operators for a better readability in function 'rtw_secgetmic'. Signed-off-by: Qiang Ma --- drivers/staging/rtl8723bs/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c

Re: [PATCH v2 4/5] thermal/drivers/cpuidle_cooling: Use device name instead of auto-numbering

2021-03-14 Thread Viresh Kumar
On 12-03-21, 18:03, Daniel Lezcano wrote: > Currently the naming of a cooling device is just a cooling technique > followed by a number. When there are multiple cooling devices using > the same technique, it is impossible to clearly identify the related > device as this one is just a number. > >

[PATCH] fat: Mark dirty just before updating metadata

2021-03-14 Thread Tetsuhiro Kohada
Instead of marking dirty-state on mount, do it just before updating the metadata. Therefore, if no write operation is performed, the boot sector will not be updated. This eliminates unnecessary dirty mark / unmark and reduces the risk of boot sector corruption. Also, keep boot-sec bh in sb to

Re: [PATCH] rpadlpar: fix potential drc_name corruption in store functions

2021-03-14 Thread Michael Ellerman
Tyrel Datwyler writes: > On 3/13/21 1:17 AM, Michal Suchánek wrote: >> On Wed, Mar 10, 2021 at 04:30:21PM -0600, Tyrel Datwyler wrote: >>> Both add_slot_store() and remove_slot_store() try to fix up the drc_name >>> copied from the store buffer by placing a NULL terminator at nbyte + 1 >>> or in

[PATCH V3] ata: sata_highbank: delete redundant print and fix return value

2021-03-14 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, and should corrected to < 0. Also, thhe return value should return a real error. Signed-off-by: Wang Qing --- drivers/ata/sata_highbank.c | 6 ++ 1 file changed, 2 insertions(+), 4

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

2021-03-14 Thread Michael Ellerman
Randy Dunlap writes: > On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote: >> >> Trivial spelling fixes throughout the file. >> >> Signed-off-by: Bhaskar Chowdhury >> --- >> arch/powerpc/kernel/head_fsl_booke.S | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git

Re: [PATCH] net: ethernet: intel: igb: Typo fix in the file igb_main.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:48 PM, Bhaskar Chowdhury wrote: > > s/structue/structure/ > > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/ethernet/intel/igb/igb_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] net: ethernet: neterion: Fix a typo in the file s2io.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:53 PM, Bhaskar Chowdhury wrote: > > s/structue/structure/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/ethernet/neterion/s2io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/neterion/s2io.c >

Re: [kbuild-all] Re: [PATCH] gcov: fail build on gcov_info size mismatch

2021-03-14 Thread Rong Chen
On 3/13/21 1:52 AM, Linus Torvalds wrote: On Thu, Mar 11, 2021 at 7:50 PM Rong Chen wrote: The issue is from a=!, and [ "$a $b" = ".size .LPBX0," ] can avoid the error. + [ ! = .size -a ABI = .LPBX0, ] ./kernel/gcov/geninfosize.sh: 13: [: =: unexpected operator But that's not what the

Re: [PATCH v2 11/27] perf parse-events: Support hardware events inside PMU

2021-03-14 Thread Jin, Yao
Hi Jiri, On 3/13/2021 3:15 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:26PM +0800, Jin Yao wrote: On hybrid platform, some hardware events are only available on a specific pmu. For example, 'L1-dcache-load-misses' is only available on 'cpu_core' pmu. And even for the event which can be

  1   2   3   4   5   >