[tip:objtool/core] BUILD SUCCESS 14db1f0a93331d0958e90da522c429ff0890d2d6

2020-09-21 Thread kernel test robot
randconfig-a004-20200920 i386 randconfig-a005-20200920 i386 randconfig-a001-20200920 i386 randconfig-a002-20200921 i386 randconfig-a006-20200921 i386 randconfig-a003-20200921 i386 randconfig-a004

Re: [Patch v2] arm64: dts: layerscape: correct watchdog clocks for LS1088A

2020-09-21 Thread Shawn Guo
On Tue, Sep 22, 2020 at 11:31:46AM +0800, Qiang Zhao wrote: > From: Zhao Qiang > > On LS1088A, watchdog clk are divided by 16, correct it in dts. > > Signed-off-by: Zhao Qiang Applied, thanks.

Re: [PATCH] net/mlx5: remove unreachable return

2020-09-21 Thread Saeed Mahameed
On Mon, 2020-09-21 at 13:41 +0200, Pavel Machek wrote: > The last return statement is unreachable code. I'm not sure if it > will > provoke any warnings, but it looks ugly. > > Signed-off-by: Pavel Machek (CIP) > > Applied to net-next-mlx5. Thanks, Saeed.

Re: [PATCH v18 24/32] mm/pgdat: remove pgdat lru_lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. > > Signed-off-by: Alex Shi > Reviewed-by: Alexander Duyck I don't take pleasure in spoiling your celebrations and ceremonies, but I strongly agree with AlexD that this should simply

Re: [PATCH -next] net/mlx5: simplify the return expression of mlx5_ec_init()

2020-09-21 Thread Saeed Mahameed
On Mon, 2020-09-21 at 21:10 +0800, Qinglang Miao wrote: > Simplify the return expression. > > Signed-off-by: Qinglang Miao > --- > drivers/net/ethernet/mellanox/mlx5/core/ecpf.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > Applied to net-next-mlx5. Thanks.

[PATCH] drm/amd/display: Simplify condition in try_disable_dsc

2020-09-21 Thread Nathan Chancellor
Clang warns: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:637:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] && !params[i].clock_force_enable == DSC_CLK_FORCE_DEFAULT) {

Re: [PATCH v18 23/32] mm/lru: revise the comments of lru_lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > From: Hugh Dickins > > Since we changed the pgdat->lru_lock to lruvec->lru_lock, it's time to > fix the incorrect comments in code. Also fixed some zone->lru_lock comment > error from ancient time. etc. > > Signed-off-by: Hugh Dickins > Signed-off-by:

Re: [PATCH v18 22/32] mm/vmscan: use relock for move_pages_to_lru

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > From: Hugh Dickins > > Use the relock function to replace relocking action. And try to save few > lock times. > > Signed-off-by: Hugh Dickins > Signed-off-by: Alex Shi > Reviewed-by: Alexander Duyck NAK. Who wrote this rubbish? Oh, did I? Maybe

Re: [PATCH v18 21/32] mm/lru: introduce the relock_page_lruvec function

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > From: Alexander Duyck > > Use this new function to replace repeated same code, no func change. > > When testing for relock we can avoid the need for RCU locking if we simply > compare the page pgdat and memcg pointers versus those that the lruvec is >

[PATCH v1 2/2] scsi: ufs: Fix a racing problem between ufshcd_abort and eh_work

2020-09-21 Thread Can Guo
In current task abort routine, if task abort happens to the device W-LU, the code directly jumps to ufshcd_eh_host_reset_handler() to perform a full reset and restore then returns FAIL or SUCCESS. Commands sent to the device W-LU are most likely the SSU cmds sent during UFS PM operations. If such

RE: [PATCH V2 0/2] add QoS support for cpuidle system

2020-09-21 Thread Joakim Zhang
Hi Sean, Any comments? Best Regards, Joakim Zhang > -Original Message- > From: Joakim Zhang > Sent: 2020年9月19日 2:17 > To: mche...@kernel.org; robh...@kernel.org; s...@mess.org > Cc: linux-me...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx

[PATCH v1 1/2] scsi: ufs: Serialize eh_work with system PM events and async scan

2020-09-21 Thread Can Guo
Serialize eh_work with system PM events and async scan to make sure eh_work does not run in parallel with them. Change-Id: I33012c68e2ea443950313c59a4a46ad88cf3c82d Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 64 +--

Re: [PATCH v2 31/32] auxdisplay: charlcd: Do not print chars at end of line

2020-09-21 Thread Willy Tarreau
On Mon, Sep 21, 2020 at 04:46:43PM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > Skip printing characters at the end of a display line. This fits to the > behaviour we already had, that the cursor is nailed to last position of > a line. Just very old memories, but wasn't this

Re: [PATCH v2 28/32] auxdisplay: hd44780: Remove clear_fast

2020-09-21 Thread Willy Tarreau
Hi Lars, On Mon, Sep 21, 2020 at 04:46:40PM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > We remove the hd44780_clear_fast (display) clear implementation. charlcd > will fall back to use hd44780_common_clear_display then, which is much > much faster. I might have got confused,

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-21 Thread Jarkko Sakkinen
On Tue, Sep 22, 2020 at 08:30:06AM +0300, Jarkko Sakkinen wrote: > On Mon, Sep 21, 2020 at 02:18:49PM -0700, Sean Christopherson wrote: > > On Tue, Sep 22, 2020 at 12:07:36AM +0300, Jarkko Sakkinen wrote: > > > On Mon, Sep 21, 2020 at 09:57:58AM -0700, Sean Christopherson wrote: > > > > On Mon,

Re: [PATCH v2 00/33] Make charlcd device independent

2020-09-21 Thread Willy Tarreau
Hi Lars, On Mon, Sep 21, 2020 at 04:46:12PM +0200, poesc...@lemonage.de wrote: > This tries to make charlcd device independent. At the moment hd44780 > device specific code is contained deep in charlcd. This moves this out > into a hd44780_common module, where the two hd44780 drivers we have at >

Re: [PATCH 5/6] scsi: ufs: show ufs part info in error case

2020-09-21 Thread Can Guo
On 2020-09-18 12:13, Jaegeuk Kim wrote: On 09/17, Can Guo wrote: On 2020-09-17 00:05, Jaegeuk Kim wrote: > On 09/16, Bean Huo wrote: > > On Tue, 2020-09-15 at 13:45 -0700, Jaegeuk Kim wrote: > > > Cc: Avri Altman > > > Signed-off-by: Jaegeuk Kim > > > --- > > > drivers/scsi/ufs/ufshcd.c | 8

Re: [PATCH v38 10/24] mm: Add vm_ops->mprotect()

2020-09-21 Thread Jarkko Sakkinen
On Mon, Sep 21, 2020 at 02:18:49PM -0700, Sean Christopherson wrote: > On Tue, Sep 22, 2020 at 12:07:36AM +0300, Jarkko Sakkinen wrote: > > On Mon, Sep 21, 2020 at 09:57:58AM -0700, Sean Christopherson wrote: > > > On Mon, Sep 21, 2020 at 03:49:46PM +0300, Jarkko Sakkinen wrote: > > > > On Fri,

[RFC PATCH v2] tools/x86: add kcpuid tool to show raw CPU features

2020-09-21 Thread Feng Tang
End users frequently want to know what features their processor supports, independent of what the kernel supports. /proc/cpuinfo is great. It is omnipresent and since it is provided by the kernel it is always as up to date as the kernel. But, it could be ambiguous about processor features which

Re: [PATCH v18 20/32] mm/lru: replace pgdat lru_lock with lruvec lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > This patch moves per node lru_lock into lruvec, thus bring a lru_lock for > each of memcg per node. So on a large machine, each of memcg don't > have to suffer from per node pgdat->lru_lock competition. They could go > fast with their self lru_lock. > >

Re: [PATCH v2 13/13] x86/platform/uv: Update Copyrights to conform to HPE standards

2020-09-21 Thread Greg Kroah-Hartman
On Mon, Sep 21, 2020 at 09:25:04PM -0500, Russ Anderson wrote: > On Thu, Sep 17, 2020 at 09:54:29AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 16, 2020 at 02:20:39PM -0500, Mike Travis wrote: > > > Add Copyrights to those files that have been updated for UV5 changes. > > > > > >

Re: [PATCH] mm/shmem.c: Fix the missing unaccount on the failed path

2020-09-21 Thread Tianjia Zhang
On 9/21/20 2:49 AM, Hugh Dickins wrote: On Mon, 21 Sep 2020, Tianjia Zhang wrote: In function __shmem_file_setup(), shmem_unacct_size() is forgotten on the failed path, so add it. Fixes: 93dec2da7b234 ("... and switch shmem_file_setup() to alloc_file_pseudo()") Cc: Al Viro Signed-off-by:

[PATCH] KVM: x86: emulate wait-for-SIPI and SIPI-VMExit

2020-09-21 Thread yadong . qi
From: Yadong Qi Background: We have a lightweight HV, it needs INIT-VMExit and SIPI-VMExit to wake-up APs for guests since it do not monitor the Local APIC. But currently virtual wait-for-SIPI(WFS) state is not supported in nVMX, so when running on top of KVM, the L1 HV cannot receive the

Re: [PATCH 2/2] net/mlx5e: Use kfree() to free fd->g in accel_fs_tcp_create_groups()

2020-09-21 Thread Saeed Mahameed
On Mon, 2020-09-21 at 19:23 +0300, Denis Efremov wrote: > Memory ft->g in accel_fs_tcp_create_groups() is allocaed with > kcalloc(). > It's excessive to free ft->g with kvfree(). Use kfree() instead. > > Signed-off-by: Denis Efremov > --- > series applied to net-next-mlx5

Re: [PATCH RFT/RFC 01/49] staging: media: Revert "media: zoran: remove deprecated driver"

2020-09-21 Thread Christoph Hellwig
> + fh->buffers.buffer[i].v4l.fbuffer = mem; > + fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem); > + fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem); > + for (off = 0; off < fh->buffers.buffer_size; > + off +=

Re: general protection fault in perf_misc_flags

2020-09-21 Thread Dmitry Vyukov
On Mon, Sep 21, 2020 at 10:59 PM 'Nick Desaulniers' via syzkaller-bugs wrote: > > On Mon, Sep 21, 2020 at 1:09 AM 'Dmitry Vyukov' via Clang Built Linux > wrote: > > > > On Mon, Sep 21, 2020 at 7:54 AM Dmitry Vyukov wrote: > > > > > > On Sat, Sep 19, 2020 at 1:08 PM Borislav Petkov wrote: > > >

[PATCH v3 1/3] dt-bindings: vendor-prefixes: Add an entry for Plymovent

2020-09-21 Thread Oleksij Rempel
Add "ply" entry for Plymovent Group BV: https://www.plymovent.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v3 0/3] mainline Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
changes v3: - use old style copyright text changes v2: - fsl.yaml: reorder ply,plym2m - imx6dl-plym2m.dts: use hyphen instead of underscore in phy-clock Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Plymovent dt-bindings: arm: fsl: add Plymovent M2M board ARM: dts: add

[PATCH v3 3/3] ARM: dts: add Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
Plymovent M2M is a control interface produced for the Plymovent filter systems. Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-plym2m.dts | 396 2 files changed, 397 insertions(+)

Re: general protection fault in perf_misc_flags

2020-09-21 Thread Dmitry Vyukov
On Mon, Sep 21, 2020 at 10:59 PM 'Nick Desaulniers' via syzkaller-bugs wrote: > > On Mon, Sep 21, 2020 at 1:09 AM 'Dmitry Vyukov' via Clang Built Linux > wrote: > > > > On Mon, Sep 21, 2020 at 7:54 AM Dmitry Vyukov wrote: > > > > > > On Sat, Sep 19, 2020 at 1:08 PM Borislav Petkov wrote: > > >

[PATCH v3 2/3] dt-bindings: arm: fsl: add Plymovent M2M board

2020-09-21 Thread Oleksij Rempel
Add Plymovent Group BV M2M iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

Re: [PATCH RFT/RFC 06/49] staging: media: zoran: unsplit lines

2020-09-21 Thread Christoph Hellwig
On Mon, Sep 21, 2020 at 10:19:41AM +, Corentin Labbe wrote: > This patch un-split some lines. > Signed-off-by: Corentin Labbe Just don't do this. This is a purious change going over 80 chars for absolutely no reason, and you'd still need a very good reason for that.

Re: [PATCH RFT/RFC 24/49] staging: media: zoran: Use DMA coherent for stat_com

2020-09-21 Thread Christoph Hellwig
On Mon, Sep 21, 2020 at 10:19:59AM +, Corentin Labbe wrote: > Instead of using a fragile virt_to_bus, let's use proper DMA coherent > for the stat_com entry. > > Signed-off-by: Corentin Labbe > --- > drivers/staging/media/zoran/zoran.h| 2 ++ >

Re: NVFS XFS metadata (was: [PATCH] pmem: export the symbols __copy_user_flushcache and __copy_from_user_flushcache)

2020-09-21 Thread Dave Chinner
Hi Mikulas, I'll say up front that I think you're barking up the wrong tree trying to knock down XFS and ext4 to justify NVFS. NVFS will stand or fall on it's own merits, not on how you think it's better than other filesystems... I have some fundamental concerns about the NVFS integrity model,

Re: [PATCH v18 19/32] mm/swap.c: serialize memcg changes in pagevec_lru_move_fn

2020-09-21 Thread Alex Shi
在 2020/9/22 上午8:42, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> Hugh Dickins' found a memcg change bug on original version: >> If we want to change the pgdat->lru_lock to memcg's lruvec lock, we have >> to serialize mem_cgroup_move_account during pagevec_lru_move_fn. The >>

Re: [PATCH 5.8 000/118] 5.8.11-rc1 review

2020-09-21 Thread Naresh Kamboju
On Mon, 21 Sep 2020 at 22:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.11 release. > There are 118 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v18 17/32] mm/compaction: do page isolation first in compaction

2020-09-21 Thread Alex Shi
在 2020/9/22 上午7:49, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> Currently, compaction would get the lru_lock and then do page isolation >> which works fine with pgdat->lru_lock, since any page isoltion would >> compete for the lru_lock. If we want to change to memcg lru_lock,

Re: [PATCH v2 1/2] PM / Domains: Add GENPD_FLAG_NO_SUSPEND/RESUME flags

2020-09-21 Thread Sibi Sankar
On 2020-09-22 01:26, Stephen Boyd wrote: Quoting Rafael J. Wysocki (2020-09-21 09:18:17) On Fri, Aug 21, 2020 at 10:49 PM Sibi Sankar wrote: > > Add GENPD_FLAG_NO_SUSPEND/RESUME flags to instruct genpd to keep the > status of the PM domain unaltered during suspend/resume respectively. > The

Re: [PATCH v3 2/2] arm64: dts: qcom: Switch sc7180-trogdor to control SPI CS via GPIO

2020-09-21 Thread Akash Asthana
On 9/22/2020 2:57 AM, Douglas Anderson wrote: As talked about in the patch ("arm64: dts: qcom: sc7180: Provide pinconf for SPI to use GPIO for CS"), on some boards it makes much more sense (and is much more efficient) to think of the SPI Chip Select as a GPIO. Trogdor is one such board where

[PATCH v4] powercap: include header to fix -Wmissing-prototypes

2020-09-21 Thread Pujin Shi
Include the linux/idle_inject.h header to fix W=1 build warning: drivers/powercap/idle_inject.c:152:6: warning: no previous prototype for ‘idle_inject_set_duration’ [-Wmissing-prototypes] drivers/powercap/idle_inject.c:167:6: warning: no previous prototype for ‘idle_inject_get_duration’

Re: [PATCH v3 1/2] arm64: dts: qcom: sc7180: Provide pinconf for SPI to use GPIO for CS

2020-09-21 Thread Akash Asthana
On 9/22/2020 2:57 AM, Douglas Anderson wrote: When the chip select line is controlled by the QUP, changing CS is a time consuming operation. We have to send a command over to the geni and wait for it to Ack us every time we want to change (both making it high and low). To send this command

Re: remove set_fs for riscv v2

2020-09-21 Thread Christoph Hellwig
Given tht we've not made much progress with the common branch, are you fine just picking this up through the riscv tree for 5.10? I'll defer other architectures that depend on the common changes to 5.11 then. On Wed, Sep 09, 2020 at 08:55:15AM +0200, Christoph Hellwig wrote: > now that we've

[PATCH v3] arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases

2020-09-21 Thread Andre Heider
The included armada-37xx.dtsi already defines these two aliases. Signed-off-by: Andre Heider Reviewed-by: Pali Rohár --- v3: really fix filename, sorry for the spam... too early, not enough coffee v2: fix filename in commit message This goes on top of Pali's patch: "arm64: dts: marvell:

[PATCH v2] arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases

2020-09-21 Thread Andre Heider
The included armada-3xxx.dtsi already defines these two aliases. Signed-off-by: Andre Heider Reviewed-by: Pali Rohár --- v2: fix filename in commit message This goes on top of Pali's patch: "arm64: dts: marvell: espressobin: Add ethernet switch aliases" The resulting .dtb files are the same.

Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-21 Thread Yafang Shao
On Mon, Sep 21, 2020 at 7:36 PM Michal Hocko wrote: > > On Mon 21-09-20 19:23:01, Yafang Shao wrote: > > On Mon, Sep 21, 2020 at 7:05 PM Michal Hocko wrote: > > > > > > On Mon 21-09-20 18:55:40, Yafang Shao wrote: > > > > On Mon, Sep 21, 2020 at 4:12 PM Michal Hocko wrote: > > > > > > > > > >

Re: [PATCH -next] phy: fix USB_LGM_PHY warning & build errors

2020-09-21 Thread Ramuthevar, Vadivel MuruganX
Hi Randy, Thank you for the report, surely will fix it. Regards Vadivel On 21/9/2020 11:45 pm, Randy Dunlap wrote: Ping. Still seeing this in linux-next. On 9/17/20 10:51 AM, Randy Dunlap wrote: From: Randy Dunlap Fix a Kconfig warning that is causing lots of build errors when

Re: UBSAN: array-index-out-of-bounds in arch_uprobe_analyze_insn

2020-09-21 Thread syzbot
syzbot has bisected this issue to: commit 4b2bd5fec007a4fd3fc82474b9199af25013de4c Author: John Stultz Date: Sat Oct 8 00:02:33 2016 + proc: fix timerslack_ns CAP_SYS_NICE check when adjusting self bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1697348d90 start

Re: [PATCH] mmap_lock: add tracepoints around lock acquisition

2020-09-21 Thread Yafang Shao
On Tue, Sep 22, 2020 at 12:53 AM Axel Rasmussen wrote: > > On Sun, Sep 20, 2020 at 9:58 PM Yafang Shao wrote: > > > > On Fri, Sep 18, 2020 at 2:13 AM Axel Rasmussen > > wrote: > > > > > > The goal of these tracepoints is to be able to debug lock contention > > > issues. This lock is acquired

Re: [PATCH bpf-next v3 3/5] bpf: add 'bpf_mptcp_sock' structure and helper

2020-09-21 Thread Alexei Starovoitov
On Fri, Sep 18, 2020 at 02:10:42PM +0200, Nicolas Rybowski wrote: > + > +BPF_CALL_1(bpf_mptcp_sock, struct sock *, sk) > +{ > + if (sk_fullsock(sk) && sk->sk_protocol == IPPROTO_TCP && > sk_is_mptcp(sk)) { > + struct mptcp_subflow_context *mptcp_sfc = mptcp_subflow_ctx(sk); Could

Re: [PATCH] scsi: target: remove redundant assignment to variable 'ret'

2020-09-21 Thread Martin K. Petersen
On Mon, 14 Sep 2020 10:32:07 +0800, Jing Xiangfeng wrote: > The variable ret has been initialized with a value '0'. The assignment > in switch-case is redundant. So remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: target: Remove redundant assignment to variable 'ret'

Re: [mm/debug_vm_pgtable/locks] e2aad6f1d2: BUG:unable_to_handle_page_fault_for_address

2020-09-21 Thread Aneesh Kumar K.V
On 9/21/20 2:51 PM, kernel test robot wrote: Greeting, FYI, we noticed the following commit (built with gcc-9): commit: e2aad6f1d232b457ea6a3194992dd4c0a83534a5 ("mm/debug_vm_pgtable/locks: take correct page table lock") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

Re: [PATCH v4] scsi: libfc: Fix passing zero to 'PTR_ERR' warning

2020-09-21 Thread Martin K. Petersen
On Wed, 9 Sep 2020 21:54:32 +0800, YueHaibing wrote: > drivers/scsi/libfc/fc_disc.c:304 > fc_disc_error() warn: passing zero to 'PTR_ERR' > > fp maybe NULL in fc_disc_error(), use PTR_ERR_OR_ZERO to handle this. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: libfc: Fix passing zero to

Re: [PATCH 1/2] dyndbg: dont panic over bad input

2020-09-21 Thread jim . cromie
On Mon, Sep 21, 2020 at 1:29 PM Joe Perches wrote: > > On Mon, 2020-09-21 at 13:04 -0600, Jim Cromie wrote: > > This BUG_ON, from 2009, caught the impossible case of a word-char both > > starting and ending a string (loosely speaking). A bad (reverted) > > patch finally hit this case, but even

Re: [PATCH -next] scsi: aic94xx: Remove unused inline function

2020-09-21 Thread Martin K. Petersen
On Wed, 9 Sep 2020 21:57:11 +0800, YueHaibing wrote: > There is no caller in tree, so can remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: aic94xx: Remove unused inline function https://git.kernel.org/mkp/scsi/c/3f4fee002b00 -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: target: tcmu: add a missing newline when printing parameters

2020-09-21 Thread Martin K. Petersen
On Thu, 3 Sep 2020 19:29:33 +0800, Xiongfeng Wang wrote: > When I cat module paramter 'global_max_data_area_mb' by sysfs, it > displays as follows. It's better to add a newline for easy reading. > > root@(none):/# cat > /sys/module/target_core_user/parameters/global_max_data_area_mb >

Re: [PATCH] scsi: ufs: Fix NOP OUT timeout value

2020-09-21 Thread Martin K. Petersen
On Wed, 02 Sep 2020 11:58:52 +0900, Daejun Park wrote: > In some Samsung UFS devices, there is some booting fail issue with > low-power UFS device. The reason of this issue is the UFS device has a > little bit longer latency for NOP OUT response. It causes booting fail > because NOP OUT command

Re: [PATCH] Rescan the entire target on transport reset when LUN is 0

2020-09-21 Thread Martin K. Petersen
On Fri, 28 Aug 2020 12:21:35 +, Matej Genci wrote: > VirtIO 1.0 spec says > The removed and rescan events ... when sent for LUN 0, they MAY > apply to the entire target so the driver can ask the initiator > to rescan the target to detect this. > > This change introduces the

Re: [PATCH] scsi: aic7xxx: Use kmemdup in two places

2020-09-21 Thread Martin K. Petersen
On Wed, 9 Sep 2020 19:58:55 +0100, Alex Dewar wrote: > kmemdup can be used instead of kmalloc+memcpy. Replace two occurrences > of this pattern. > > Issue identified with Coccinelle. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: aic7xxx: Use kmemdup() in two places

Re: [PATCH V2] scsi: ufs-pci: Add LTR support for Intel controllers

2020-09-21 Thread Martin K. Petersen
On Thu, 27 Aug 2020 10:20:30 +0300, Adrian Hunter wrote: > Intel host controllers support the setting of latency tolerance. > Accordingly, implement the PM QoS ->set_latency_tolerance() callback. The > raw register values are also exposed via debugfs. Applied to 5.10/scsi-queue, thanks! [1/1]

Re: [PATCH v18 16/32] mm/lru: introduce TestClearPageLRU

2020-09-21 Thread Alex Shi
在 2020/9/22 上午7:16, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> Currently lru_lock still guards both lru list and page's lru bit, that's >> ok. but if we want to use specific lruvec lock on the page, we need to >> pin down the page's lruvec/memcg during locking. Just taking

Re: [PATCH v2 13/13] x86/platform/uv: Update Copyrights to conform to HPE standards

2020-09-21 Thread Russ Anderson
On Thu, Sep 17, 2020 at 09:54:29AM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 16, 2020 at 02:20:39PM -0500, Mike Travis wrote: > > Add Copyrights to those files that have been updated for UV5 changes. > > > > Signed-off-by: Mike Travis > > --- > > arch/x86/include/asm/uv/bios.h | 1 + >

RE: [PATCH] arm64: dts: layerscape: correct watchdog clocks for LS1088A

2020-09-21 Thread Qiang Zhao
On Mon, Sep 14, 2020 at 03:52:02PM +0800, Qiang Zhao wrote: > -Original Message- > From: Shawn Guo > Sent: 2020年9月22日 10:18 > To: Qiang Zhao > Cc: robh...@kernel.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org > Subject: Re: [PATCH] arm64: dts: layerscape: correct

Re: [PATCH v18 15/32] mm/lru: move lock into lru_note_cost

2020-09-21 Thread Alex Shi
在 2020/9/22 上午6:03, Hugh Dickins 写道: >> Acked-by: Hugh Dickins >> >> In your lruv19 github tree, you have merged 14/32 into this one: thanks. > Grr, I've only just started, and already missed some of my notes. > > I wanted to point out that this patch does introduce an extra unlock+lock > in

[Patch v2] arm64: dts: layerscape: correct watchdog clocks for LS1088A

2020-09-21 Thread Qiang Zhao
From: Zhao Qiang On LS1088A, watchdog clk are divided by 16, correct it in dts. Signed-off-by: Zhao Qiang --- Changes for v2: - rebase arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [PATCH v18 15/32] mm/lru: move lock into lru_note_cost

2020-09-21 Thread Alex Shi
在 2020/9/22 上午5:36, Hugh Dickins 写道: > >> We have to move lru_lock into lru_note_cost, since it cycle up on memcg >> tree, for future per lruvec lru_lock replace. It's a bit ugly and may >> cost a bit more locking, but benefit from multiple memcg locking could >> cover the lost. >> >>

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-09-21 Thread Paul E. McKenney
On Mon, Sep 21, 2020 at 06:03:18PM +0200, Michal Hocko wrote: > On Mon 21-09-20 08:45:58, Paul E. McKenney wrote: > > On Mon, Sep 21, 2020 at 09:47:16AM +0200, Michal Hocko wrote: > > > On Fri 18-09-20 21:48:15, Uladzislau Rezki (Sony) wrote: > > > [...] > > > > Proposal > > > > > > > >

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2020-09-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/selftests/mock_gem_device.c between commit: 9f9f4101fc98 ("drm/i915/selftests: Push the fake iommu device from the stack to data") from the drm-intel tree and commit: cd01269d11a3

RE: [EXT] Re: [PATCH 2/5] arm64: dts: lx2160a-rdb: remove useless property of rtc

2020-09-21 Thread Biwen Li
> > > > > -Original Message- > > From: Biwen Li > > Sent: Monday, September 21, 2020 10:13 PM > > To: Shawn Guo ; Biwen Li (OSS) > > > > Cc: alexandre.bell...@bootlin.com; Leo Li ; > > robh...@kernel.org; mark.rutl...@arm.com; devicet...@vger.kernel.org; > >

RE: [EXT] Re: [PATCH 2/5] arm64: dts: lx2160a-rdb: remove useless property of rtc

2020-09-21 Thread Leo Li
> -Original Message- > From: Biwen Li > Sent: Monday, September 21, 2020 10:13 PM > To: Shawn Guo ; Biwen Li (OSS) > > Cc: alexandre.bell...@bootlin.com; Leo Li ; > robh...@kernel.org; mark.rutl...@arm.com; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; Jiafei Pan ;

Re: [PATCH] kbuild: Try up to eight kallsyms link passes

2020-09-21 Thread Guenter Roeck
On Thu, Sep 10, 2020 at 08:32:04AM -0700, Guenter Roeck wrote: > Since v5.8, powerpc:allmodconfig often fails to build with the following > error message. > > Inconsistent kallsyms data > Try make KALLSYMS_EXTRA_PASS=1 as a workaround > > Setting KALLSYMS_EXTRA_PASS=1 does not help.

Re: [RFC][PATCH 1/4] acpi: Use CPUIDLE_FLAG_TIMER_STOP

2020-09-21 Thread Guenter Roeck
On Tue, Sep 15, 2020 at 12:31:58PM +0200, Peter Zijlstra wrote: > Make acpi_processor_idle use the common broadcast code, there's no > reason not to. This also removes some RCU usage after > rcu_idle_enter(). > > Signed-off-by: Peter Zijlstra (Intel) > Acked-by: Rafael J. Wysocki > Reported-by:

Re: [PATCH v4] mtd: parsers: bcm63xx: simplify CFE detection

2020-09-21 Thread Guenter Roeck
On 9/21/20 8:18 PM, Naresh Kamboju wrote: > On Fri, 14 Aug 2020 at 14:26, Guenter Roeck wrote: >> >> On Mon, Jun 15, 2020 at 11:17:40AM +0200, Álvaro Fernández Rojas wrote: >>> Instead of trying to parse CFE version string, which is customized by some >>> vendors, let's just check that "CFE1" was

Re: [RFC] fpga: dfl: a prototype uio driver

2020-09-21 Thread Xu Yilun
On Mon, Sep 21, 2020 at 12:32:16PM -0700, Tom Rix wrote: > > On 9/21/20 1:55 AM, Xu Yilun wrote: > > On Sat, Sep 19, 2020 at 09:51:13AM -0700, t...@redhat.com wrote: > >> From: Tom Rix > >> > >> I following up on Moritz asking for early RFC's by showing how this > >> could be done with the

[PATCH v2 0/2] perf: Update CascadelakeX and SkylakeX events list

2020-09-21 Thread Jin Yao
This patchset updates CascadelakeX events to v1.08 and updates SkylakeX events to v1.21. The events have been tested on CascadelakeX and SkylakeX servers with latest perf/core branch. The first version was posted a few months ago and now just resend the patchset with minor update. v2: -

Re: [PATCH v4] mtd: parsers: bcm63xx: simplify CFE detection

2020-09-21 Thread Naresh Kamboju
On Fri, 14 Aug 2020 at 14:26, Guenter Roeck wrote: > > On Mon, Jun 15, 2020 at 11:17:40AM +0200, Álvaro Fernández Rojas wrote: > > Instead of trying to parse CFE version string, which is customized by some > > vendors, let's just check that "CFE1" was passed on argument 3. > > > > Signed-off-by:

Re: [PATCH v3] memory: dfl-emif: add the DFL EMIF private feature driver

2020-09-21 Thread Moritz Fischer
Hi Krzysztof, On Mon, Sep 21, 2020 at 10:46:45PM +0200, Krzysztof Kozlowski wrote: > WhOn Mon, 21 Sep 2020 at 22:31, Moritz Fischer wrote: > > > > Hi Krzysztof, > > > > On Mon, Sep 21, 2020 at 09:23:11AM +0200, Krzysztof Kozlowski wrote: > > > On Mon, Sep 21, 2020 at 01:31:20PM +0800, Xu Yilun

Re: [RFC][Patch v1 1/3] sched/isolation: API to get num of hosekeeping CPUs

2020-09-21 Thread Nitesh Narayan Lal
On 9/21/20 7:40 PM, Frederic Weisbecker wrote: > On Wed, Sep 09, 2020 at 11:08:16AM -0400, Nitesh Narayan Lal wrote: >> +/* >> + * num_housekeeping_cpus() - Read the number of housekeeping CPUs. >> + * >> + * This function returns the number of available housekeeping CPUs >> + * based on

[PATCH 0/2] perf stat: Unbreak perf stat with ARMv8 PMU events

2020-09-21 Thread Wei Li
Currently, perf-stat with armv8_pmu events with a workload is broken. This patch set just fixes that. Before the patch set: [root@localhost hulk]# tools/perf/perf stat -e armv8_pmuv3_0/ll_cache_rd/,armv8_pmuv3_0/ll_cache_miss_rd/ ls > /dev/null Segmentation fault After the patch set:

[PATCH 1/2] perf stat: Fix segfault when counting armv8_pmu events

2020-09-21 Thread Wei Li
When executing perf stat with armv8_pmu events with a workload, it will report a segfault as result. (gdb) bt #0 0x00603fc8 in perf_evsel__close_fd_cpu (evsel=, cpu=) at evsel.c:122 #1 perf_evsel__close_cpu (evsel=evsel@entry=0x716e950, cpu=7) at evsel.c:156 #2 0x004d4718

[PATCH 2/2] perf stat: Unbreak perf stat with armv8_pmu events

2020-09-21 Thread Wei Li
After the segfault is fixed, perf-stat with armv8_pmu events with a workload is still broken: [root@localhost hulk]# tools/perf/perf stat -e armv8_pmuv3_0/ll_cache_rd/,armv8_pmuv3_0/ll_cache_miss_rd/ ls > /dev/null Performance counter stats for 'ls': armv8_pmuv3_0/ll_cache_rd/

Re: [PATCH 2/2] mm,swap: skip swap readahead if page was obtained instantaneously

2020-09-21 Thread huang ying
On Tue, Sep 22, 2020 at 10:02 AM Rik van Riel wrote: > > Check whether a swap page was obtained instantaneously, for example > because it is in zswap, or on a very fast IO device which uses busy > waiting, and we did not wait on IO to swap in this page. > If no IO was needed to get the swap page

RE: [EXT] Re: [PATCH 2/5] arm64: dts: lx2160a-rdb: remove useless property of rtc

2020-09-21 Thread Biwen Li
> > Caution: EXT Email > > On Tue, Sep 15, 2020 at 03:32:10PM +0800, Biwen Li wrote: > > From: Biwen Li > > > > Remove useless property interrupts of rtc > > > > Signed-off-by: Biwen Li > > --- > > arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 -- > > 1 file changed, 2 deletions(-) >

Re: [RFC][Patch v1 2/3] i40e: limit msix vectors based on housekeeping CPUs

2020-09-21 Thread Nitesh Narayan Lal
On 9/21/20 6:58 PM, Frederic Weisbecker wrote: > On Thu, Sep 17, 2020 at 11:23:59AM -0700, Jesse Brandeburg wrote: >> Nitesh Narayan Lal wrote: >> >>> In a realtime environment, it is essential to isolate unwanted IRQs from >>> isolated CPUs to prevent latency overheads. Creating MSIX vectors

[PATCH v7 1/4] dt-bindings: Add vendor prefix for Caninos Loucos

2020-09-21 Thread Matheus Castello
The Caninos Loucos Program develops Single Board Computers with an open structure. The Program wants to form a community of developers to use IoT technologies and disseminate the learning of embedded systems in Brazil. It is an initiative of the Technological Integrated Systems Laboratory

[PATCH v7 4/4] arm64: dts: Add Caninos Loucos Labrador v3

2020-09-21 Thread Matheus Castello
Add Device Trees for Caninos Loucos Labrador CoM Core v3 and base board M v2. Based on the work of Andreas Färber on Cubieboard 7 device tree. Signed-off-by: Matheus Castello --- arch/arm64/boot/dts/actions/Makefile | 2 + .../dts/actions/s700-labrador-base-m2.dts | 34 +

[PATCH v7 2/4] dt-bindings: arm: actions: Document Caninos Loucos Labrador

2020-09-21 Thread Matheus Castello
Update the documentation to add the Caninos Loucos Labrador. Labrador project consists of the computer on module Core v2 based on the Actions Semi S500, computer on module Core v3 based on the Actions Semi S700 and the Labrador base boards. Signed-off-by: Matheus Castello Acked-by: Rob Herring

[PATCH v7 3/4] ARM: dts: Add Caninos Loucos Labrador v2

2020-09-21 Thread Matheus Castello
Add Device Trees for Caninos Loucos Labrador CoM Core v2 and base board M v1. Based on the work of Andreas Färber on Lemaker Guitar device tree. Signed-off-by: Matheus Castello Reviewed-by: Manivannan Sadhasivam Reviewed-by: Andreas Färber --- arch/arm/boot/dts/Makefile|

[PATCH v7 0/4] Add Caninos Loucos Labrador CoM and Base Board Device Tree

2020-09-21 Thread Matheus Castello
I'm adding to the series the new Labrador v3, since it uses the same vendor prefix. Thanks Andreas, Mani and Rob for your time reviewing it. Changes since v6: - Add new caninos,labrador-v3 CoM and caninos,labrador-base-m2 base board - Improve Model description Changes since v5: (Suggested by

Re: [PATCH 2/5] arm64: dts: lx2160a-rdb: remove useless property of rtc

2020-09-21 Thread Shawn Guo
On Tue, Sep 15, 2020 at 03:32:10PM +0800, Biwen Li wrote: > From: Biwen Li > > Remove useless property interrupts of rtc > > Signed-off-by: Biwen Li > --- > arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 -- > 1 file changed, 2 deletions(-) > > diff --git

Re: [PATCH v10 11/13] arm64: dts: freescale: sl28: enable LED support

2020-09-21 Thread Shawn Guo
On Mon, Sep 14, 2020 at 11:43:39PM +0200, Michael Walle wrote: > Now that we have support for GPIO lines of the SMARC connector, enable > LED support on the KBox A-230-LS. There are two LEDs without fixed > functions, one is yellow and one is green. Unfortunately, it is just one > multi-color LED,

Re: [PATCH] soc: mediatek: Check if power domains can be powered on at boot time

2020-09-21 Thread Nicolas Boichat
Hi, On Tue, Sep 22, 2020 at 1:07 AM Matthias Brugger wrote: > > Hi Nicolas, > > Thanks for the patch. > > On 30/07/2020 06:01, Nicolas Boichat wrote: > > In the error case, where a power domain cannot be powered on > > successfully at boot time (in mtk_register_power_domains), > > pm_genpd_init

Re: [PATCH v17 00/20] iommu/arm-smmu + drm/msm: per-process GPU pgtables

2020-09-21 Thread Jordan Crouse
On Mon, Sep 21, 2020 at 10:30:57PM +0100, Will Deacon wrote: > On Sat, Sep 05, 2020 at 01:04:06PM -0700, Rob Clark wrote: > > From: Rob Clark > > > > NOTE: I have re-ordered the series, and propose that we could merge this > > series in the following order: > > > >1) 01-11 - merge

[PATCH v9 16/20] tools: gpio: rename nlines to num_lines

2020-09-21 Thread Kent Gibson
Rename nlines to num_lines to be consistent with other usage for fields describing the number of entries in an array. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 26 +- tools/gpio/gpio-utils.c | 20 ++-- tools/gpio/gpio-utils.h | 6 +++---

[PATCH v9 15/20] tools: gpio: port gpio-watch to v2 uAPI

2020-09-21 Thread Kent Gibson
Port the gpio-watch tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-watch.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/gpio/gpio-watch.c b/tools/gpio/gpio-watch.c index 5cea24fddfa7..f229ec62301b 100644 ---

[PATCH v9 17/20] tools: gpio: port gpio-hammer to v2 uAPI

2020-09-21 Thread Kent Gibson
Port the gpio-hammer tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 32 +--- tools/gpio/gpio-utils.c | 164 --- tools/gpio/gpio-utils.h | 46 ++- 3 files changed, 197 insertions(+), 45 deletions(-)

[PATCH v9 20/20] tools: gpio: add debounce support to gpio-event-mon

2020-09-21 Thread Kent Gibson
Add support for debouncing monitored lines to gpio-event-mon. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index

[PATCH v9 19/20] tools: gpio: add multi-line monitoring to gpio-event-mon

2020-09-21 Thread Kent Gibson
Extend gpio-event-mon to support monitoring multiple lines. This would require multiple lineevent requests to implement using uAPI v1, but can be performed with a single line request using uAPI v2. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 45

[PATCH v9 18/20] tools: gpio: port gpio-event-mon to v2 uAPI

2020-09-21 Thread Kent Gibson
Port the gpio-event-mon tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 91 +++-- 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index

[PATCH v9 09/20] gpiolib: cdev: support edge detection for uAPI v2

2020-09-21 Thread Kent Gibson
Add support for edge detection to lines requested using GPIO_V2_GET_LINE_IOCTL. The edge detector implementation is based on the v1 lineevent implementation. Unlike the v1 implementation, an overflow of the event buffer results in discarding older events, rather than the most recent, so the

[PATCH v9 10/20] gpiolib: cdev: support GPIO_V2_LINE_SET_CONFIG_IOCTL

2020-09-21 Thread Kent Gibson
Add support for GPIO_V2_LINE_SET_CONFIG_IOCTL, the uAPI v2 line set config ioctl. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index

  1   2   3   4   5   6   7   8   9   10   >