Re: [PATCH v3 3/4] dt-bindings: clock: adi,axi-clkgen: add compatible string for ZynqMP support

2021-02-08 Thread Stephen Boyd
Quoting Alexandru Ardelean (2021-02-01 07:12:44) > The axi-clkgen driver now supports ZynqMP (UltraScale) as well, however the > driver needs to use different PFD & VCO limits. > > For ZynqMP, these needs to be selected by using the > 'adi,zynqmp-axi-clkgen-2.00.a' string. > > Signed-off-by:

Re: [PATCH v3 2/4] clk: clk-axiclkgen: add ZynqMP PFD and VCO limits

2021-02-08 Thread Stephen Boyd
Quoting Alexandru Ardelean (2021-02-01 07:12:43) > For ZynqMP (Ultrascale) the PFD and VCO limits are different. In order to > support these, this change adds a compatible string (i.e. > 'adi,zynqmp-axi-clkgen-2.00.a') which will take into account for these > limits and apply them. > >

drivers/pinctrl/cirrus/pinctrl-lochnagar.c:52:46: error: pasting "LOCHNAGAR1_" and "(" does not give a valid preprocessing token

2021-02-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 61556703b610a104de324e4f061dc6cf7b218b46 commit: 0548448b719ac78fa18fdbcd03856952ba6cc7dc pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar date: 1 year, 10 months ago config:

Re: [PATCH v3 1/4] clk: axi-clkgen: replace ARCH dependencies with driver deps

2021-02-08 Thread Stephen Boyd
Quoting Alexandru Ardelean (2021-02-01 07:12:42) > The intent is to be able to run this driver to access the IP core in setups > where FPGA board is also connected via a PCIe bus. In such cases the number > of combinations explodes, where the host system can be an x86 with Xilinx >

Re: [PATCH v19 2/3] scsi: ufs: L2P map management for HPB read

2021-02-08 Thread Can Guo
On 2021-02-09 09:27, Daejun Park wrote: @@ -342,13 +1208,14 @@ void ufshpb_suspend(struct ufs_hba *hba) > struct scsi_device *sdev; > > shost_for_each_device(sdev, hba->host) { > -hpb = sdev->hostdata; > +hpb = ufshpb_get_hpb_data(sdev); >

Re: [PATCH v2 2/2] thermal: Move therm_throt there from x86/mce

2021-02-08 Thread Sergey Senozhatsky
-20210208-3-g3ba4c4f662ad-dirty #1928 [0.003751] RIP: 0010:thermal_set_handler+0x12/0x25 [0.003751] RSP: :b5f0c00c7ed8 EFLAGS: 00010097 [0.003751] RAX: 0003 RBX: RCX: 01b2 [0.003751] RDX: RSI: 0003 RDI

Re: [PATCH v2 07/17] dt_bindings: mfd: Add ROHM BD71815 PMIC

2021-02-08 Thread Rob Herring
On Tue, 19 Jan 2021 09:21:23 +0200, Matti Vaittinen wrote: > Document DT bindings for ROHM BD71815. > > BD71815 is a single-chip power management IC mainly for battery-powered > portable devices. The IC integrates 5 bucks, 7 LDOs, a boost driver for > LED, a battery charger with a Coulomb

Re: [PATCH v2 06/17] dt_bindings: regulator: Add ROHM BD71815 PMIC regulators

2021-02-08 Thread Rob Herring
On Tue, Jan 19, 2021 at 09:17:09AM +0200, Matti Vaittinen wrote: > Add binding documentation for regulators on ROHM BD71815 PMIC. > 5 bucks, 7 LDOs and a boost for LED. > > Signed-off-by: Matti Vaittinen > --- > > Changes since v1: > - Changed patch order to fix ref dependecy > - Added missing

Re: [PATCH] scsi: pmcraid: fix 'ioarcb' alignment warning

2021-02-08 Thread Martin K. Petersen
Arnd, > Building with 'make W=1' enables -Wpacked-not-aligned, and this warns > about pmcraid because of incompatible alignment constraints for > pmcraid_passthrough_ioctl_buffer: Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [External] Re: [PATCH] psi: Remove the redundant psi_task_tick

2021-02-08 Thread Chengming Zhou
在 2021/2/9 上午12:45, Johannes Weiner 写道: > On Sun, Feb 07, 2021 at 07:56:42PM +0800, Chengming Zhou wrote: >> From: zhouchengming >> >> When the current task in a cgroup is in_memstall, the corresponding psi_group >> is in PSI_MEM_FULL state > This is correct. > >> so we can remove the redundant

Re: [PATCH v2 2/3] dt-bindings: pinctrl: Added binding for ZynqMP pinctrl driver

2021-02-08 Thread Rob Herring
On Tue, Jan 19, 2021 at 10:57:33AM +0530, Sai Krishna Potthuri wrote: > Added documentation and dt-bindings file which contains MIO pin > configuration defines for Xilinx ZynqMP pinctrl driver. > > Signed-off-by: Sai Krishna Potthuri > --- > .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 337

Re: [PATCH v2 05/17] dt_bindings: bd71828: Add clock output mode

2021-02-08 Thread Rob Herring
On Tue, 19 Jan 2021 09:16:23 +0200, Matti Vaittinen wrote: > The BD71828 allows configuring the clk32kout pin mode to CMOS or > open-drain. Add device-tree property for specifying the preferred mode. > > Signed-off-by: Matti Vaittinen > --- > > Changes from v1: > switched clk-mode property from

[PATCH v2] mm/hugetlb: use helper huge_page_size() to get hugepage size

2021-02-08 Thread Miaohe Lin
We can use helper huge_page_size() to get the hugepage size directly to simplify the code slightly. Reviewed-by: Mike Kravetz Signed-off-by: Miaohe Lin --- v1 -> v2 change huge_page_size(h) >> 10 to huge_page_size(h) / SZ_1K collect Reviewed-by tag --- mm/hugetlb.c | 14

Re: [PATCH] printk: avoid prb_first_valid_seq() where possible

2021-02-08 Thread Sergey Senozhatsky
On (21/02/05 15:23), John Ogness wrote: > If message sizes average larger than expected (more than 32 > characters), the data_ring will wrap before the desc_ring. Once the > data_ring wraps, it will start invalidating descriptors. These > invalid descriptors hang around until they are eventually

[PATCH v2] psi: Add PSI_CPU_FULL state

2021-02-08 Thread Chengming Zhou
The FULL state doesn't exist for the CPU resource at the system level, but exist at the cgroup level, means all non-idle tasks in a cgroup are delayed on the CPU resource which used by others outside of the cgroup or throttled by the cgroup cpu.max configuration. Co-developed-by: Muchun Song

Re: [PATCH] mm/hugetlb: Remove redundant VM_BUG_ON_PAGE on putback_active_hugepage()

2021-02-08 Thread Miaohe Lin
Hi: On 2021/2/9 9:26, Mike Kravetz wrote: > On 2/8/21 12:37 AM, Miaohe Lin wrote: >> PageHead(page) is implicitly checked in set_page_huge_active() via the >> PageHeadHuge(page) check. So remove this explicit one. > > I do not disagree with the code change. However, this commit message > is not

Re: [PATCH] of: property: Fix fw_devlink handling of interrupts/interrupts-extended

2021-02-08 Thread Rob Herring
On Mon, Feb 8, 2021 at 7:04 PM Saravana Kannan wrote: > > Commit 4104ca776ba3 ("of: property: Add fw_devlink support for interrupts") > was not taking interrupt-map into account. Fix that. > > Reported-by: Marek Szyprowski > Fixes: 4104ca776ba3 ("of: property: Add fw_devlink support for

Re: [PATCH] selftests: bpf: remove unneeded semicolon

2021-02-08 Thread Andrii Nakryiko
On Mon, Feb 8, 2021 at 2:30 AM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./tools/testing/selftests/bpf/test_flow_dissector.c:506:2-3: Unneeded > semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- Applied to bpf-next, changing subject to have more

Re: [PATCH v5 19/22] powerpc/syscall: Optimise checks in beginning of system_call_exception()

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > Combine all tests of regs->msr into a single logical one. Okay by me unless we choose to do the config option and put these all under it. I think I would prefer that because sometimes the registers are in a state you can't

Re: [PATCH v5 18/22] powerpc/syscall: Remove FULL_REGS verification in system_call_exception

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > For book3s/64, FULL_REGS() is 'true' at all time, so the test voids. > For others, non volatile registers are saved inconditionally. > > So the verification is pointless. > > Should one fail to do it, it would anyway be

Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-08 Thread tanxiaofei
Hi Finn, Thanks for reviewing the patch set. On 2021/2/8 15:57, Finn Thain wrote: On Sun, 7 Feb 2021, Xiaofei Tan wrote: Replace spin_lock_irqsave with spin_lock in hard IRQ of SCSI drivers. There are no function changes, but may speed up if interrupt happen too often. This change doesn't

Re: [PATCH] bpf: Simplify bool comparison

2021-02-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 8 Feb 2021 17:43:36 +0800 you wrote: > Fix the following coccicheck warning: > > ./tools/bpf/bpf_dbg.c:893:32-36: WARNING: Comparison to bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > >

Re: [PATCH v5 17/22] powerpc/syscall: Do not check unsupported scv vector on PPC32

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > Only PPC64 has scv. No need to check the 0x7ff0 trap on PPC32. > For that, add a helper trap_is_unsupported_scv() similar to > trap_is_scv(). > > And ignore the scv parameter in syscall_exit_prepare (Save 14 cycles > 346 =>

Re: [PATCH v2 bpf-next] selftests/bpf: Add missing cleanup in atomic_bounds test

2021-02-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 8 Feb 2021 12:37:37 + you wrote: > Add missing skeleton destroy call. > > Reported-by: Yonghong Song > Fixes: 37086bfdc737 ("bpf: Propagate stack bounds to registers in atomics w/ > BPF_FETCH") >

Re: [PATCH] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel

2021-02-08 Thread kernel test robot
Hi Zhengqiao, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.11-rc6 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

Re: [PATCH 2/3] kbuild: clamp SUBLEVEL to 255

2021-02-08 Thread Masahiro Yamada
On Mon, Feb 8, 2021 at 10:48 PM David Laight wrote: > > From: Sasha Levin > > Sent: 06 February 2021 03:51 > > > > Right now if SUBLEVEL becomes larger than 255 it will overflow into the > > territory of PATCHLEVEL, causing havoc in userspace that tests for > > specific kernel version. > > > >

Re: [PATCH v3 4/8] perf cs-etm: Fix bitmap for option

2021-02-08 Thread Leo Yan
On Mon, Feb 08, 2021 at 01:46:41PM -0700, Mathieu Poirier wrote: > On Sat, Feb 06, 2021 at 11:08:29PM +0800, Leo Yan wrote: > > From: Suzuki K Poulose > > > > When set option with macros ETM_OPT_CTXTID and ETM_OPT_TS, it wrongly > > takes these two values (14 and 28 prespectively) as bit masks,

Re: [PATCH] mm/hugetlb: use helper huge_page_size() to get hugepage size

2021-02-08 Thread Miaohe Lin
On 2021/2/9 9:36, Mike Kravetz wrote: > On 2/8/21 5:24 PM, Miaohe Lin wrote: >> Hi: >> On 2021/2/9 8:45, Mike Kravetz wrote: >>> On 2/8/21 12:24 AM, Miaohe Lin wrote: We can use helper huge_page_size() to get the hugepage size directly to simplify the code slightly.

Re: [PATCH v2] mm: cma: support sysfs

2021-02-08 Thread John Hubbard
On 2/8/21 3:36 PM, Minchan Kim wrote: ... char name[CMA_MAX_NAME]; +#ifdef CONFIG_CMA_SYSFS + struct cma_stat *stat; This should not be a pointer. By making it a pointer, you've added a bunch of pointless extra code to the implementation. Originally, I went with the object

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

2021-02-08 Thread Alexey Kardashevskiy
On 08/02/2021 23:44, Max Gurtovoy wrote: On 2/5/2021 2:42 AM, Alexey Kardashevskiy wrote: On 04/02/2021 23:51, Jason Gunthorpe wrote: On Thu, Feb 04, 2021 at 12:05:22PM +1100, Alexey Kardashevskiy wrote: It is system firmware (==bios) which puts stuff in the device tree. The stuff is:

Re: [PATCH v5 16/22] powerpc/syscall: Avoid stack frame in likely part of system_call_exception()

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > When r3 is not modified, reload it from regs->orig_r3 to free > volatile registers. This avoids a stack frame for the likely part > of system_call_exception() This doesn't on my 64s build, but it does reduce one non volatile

Re: [PATCH] selftests/vDSO: fix ABI selftest on riscv

2021-02-08 Thread Palmer Dabbelt
On Mon, 08 Feb 2021 15:37:24 PST (-0800), sk...@linuxfoundation.org wrote: On 2/5/21 12:57 AM, Tobias Klauser wrote: On 2021-02-05 at 08:06:37 +0100, Palmer Dabbelt wrote: On Thu, 04 Feb 2021 06:50:42 PST (-0800), tklau...@distanz.ch wrote: [...] Reviewed-by: Palmer Dabbelt Acked-by:

Re: [PATCH 3/7] fsdax: Copy data before write

2021-02-08 Thread Ruan Shiyang
On 2021/2/8 下午11:14, Christoph Hellwig wrote: switch (iomap.type) { case IOMAP_MAPPED: +cow: if (iomap.flags & IOMAP_F_NEW) { count_vm_event(PGMAJFAULT); count_memcg_event_mm(vma->vm_mm, PGMAJFAULT);

drivers/platform/surface/surface3-wmi.c:60:14: warning: variable 'status' set but not used

2021-02-08 Thread kernel test robot
Hi Maximilian, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 61556703b610a104de324e4f061dc6cf7b218b46 commit: f23027ca3d48b6f93c5994069fb25b73539fdf34 platform/surface: Move Surface 3 WMI driver to

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

2021-02-08 Thread Alexey Kardashevskiy
On 09/02/2021 05:13, Jason Gunthorpe wrote: On Fri, Feb 05, 2021 at 11:42:11AM +1100, Alexey Kardashevskiy wrote: A real nvswitch function? What do you mean by this exactly? The cpu side of nvlink is "emulated pci devices", the gpu side is not in pci space at all, the nvidia driver manages

Re: [PATCH 0/7] fsdax,xfs: Add reflink support for fsdax

2021-02-08 Thread Ruan Shiyang
On 2021/2/8 下午11:39, Jan Kara wrote: On Mon 08-02-21 01:09:17, Shiyang Ruan wrote: This patchset is attempt to add CoW support for fsdax, and take XFS, which has both reflink and fsdax feature, as an example. One of the key mechanism need to be implemented in fsdax is CoW. Copy the data

Re: [External] Re: [PATCH] psi: Add PSI_CPU_FULL state

2021-02-08 Thread Chengming Zhou
在 2021/2/9 上午2:18, Johannes Weiner 写道: > On Sun, Feb 07, 2021 at 03:24:02PM +0800, Chengming Zhou wrote: >> The FULL state doesn't exist for the CPU resource at the system level, >> but exist at the cgroup level, means all non-idle tasks in a cgroup are >> delayed on the CPU resource which used

RE: [Linuxarm] Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

2021-02-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Finn Thain [mailto:fth...@telegraphics.com.au] > Sent: Monday, February 8, 2021 8:57 PM > To: tanxiaofei > Cc: j...@linux.ibm.com; martin.peter...@oracle.com; > linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux...@openeuler.org > Subject:

Re: [PATCH v3 6/7] ASoC: codecs: lpass-tx-macro: add support for lpass tx macro

2021-02-08 Thread kernel test robot
Hi Srinivas, I love your patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v5.11-rc6 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

Re: [PATCH 3/3] mlx5_vdpa: defer clear_virtqueues to until DRIVER_OK

2021-02-08 Thread Si-Wei Liu
On 2/7/2021 9:48 PM, Eli Cohen wrote: On Sat, Feb 06, 2021 at 04:29:24AM -0800, Si-Wei Liu wrote: While virtq is stopped, get_vq_state() is supposed to be called to get sync'ed with the latest internal avail_index from device. The saved avail_index is used to restate the virtq once

Re: [PATCH v2] arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+

2021-02-08 Thread Nick Desaulniers
On Mon, Feb 8, 2021 at 4:58 PM Nathan Chancellor wrote: > > Similar to commit 28187dc8ebd9 ("ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN > depends on !LD_IS_LLD"), ld.lld prior to 13.0.0 does not properly > support aarch64 big endian, leading to the following build error when > CONFIG_CPU_BIG_ENDIAN is

Re: [PATCH] mm/hugetlb: use helper huge_page_size() to get hugepage size

2021-02-08 Thread Mike Kravetz
On 2/8/21 5:24 PM, Miaohe Lin wrote: > Hi: > On 2021/2/9 8:45, Mike Kravetz wrote: >> On 2/8/21 12:24 AM, Miaohe Lin wrote: >>> We can use helper huge_page_size() to get the hugepage size directly to >>> simplify the code slightly. >>> >>> Signed-off-by: Miaohe Lin >>> --- >>> mm/hugetlb.c | 14

Re: [PATCH v5 12/22] powerpc/syscall: Change condition to check MSR_RI

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > In system_call_exception(), MSR_RI also needs to be checked on 8xx. > Only booke and 40x doesn't have MSR_RI. Reviewed-by: Nicholas Piggin ... > > Signed-off-by: Christophe Leroy > --- > v5: Also in interrupt exit prepare

FORM MRS.GRACE WILLIAMS,

2021-02-08 Thread Mrs. Grace Williams
Hello To Whom It May Concern, Dear Friend, Please forgive me for stressing you with my predicaments as I know that this letter may come to you as big surprise. Actually, as my pastor advised me to reject earthly reward and thanks by handing the project to someone I have never seen or met for a

Re: [PATCH 6/6] MIPS: remove CONFIG_DMA_PERDEV_COHERENT

2021-02-08 Thread Huacai Chen
Reviewed-by: Huacai Chen On Mon, Feb 8, 2021 at 10:51 PM Christoph Hellwig wrote: > > Just select DMA_NONCOHERENT and ARCH_HAS_SETUP_DMA_OPS from the > MIPS_GENERIC platform instead. > > Signed-off-by: Christoph Hellwig > --- > arch/mips/Kconfig | 8 ++-- >

Re: [PATCH] hugetlbfs: Remove unneeded return value of hugetlb_vmtruncate()

2021-02-08 Thread Mike Kravetz
On 2/8/21 12:46 AM, Miaohe Lin wrote: > The function hugetlb_vmtruncate() is guaranteed to always success since > commit 7aa91e104028 ("hugetlb: allow extending ftruncate on hugetlbfs"). > So we should remove the unneeded return value which is always 0. > > Signed-off-by: Miaohe Lin > --- >

Re: [PATCH net-next v2] net: phy: broadcom: remove BCM5482 1000Base-BX support

2021-02-08 Thread Andrew Lunn
On Tue, Feb 09, 2021 at 12:17:06AM +0100, Michael Walle wrote: > It is nowhere used in the kernel. It also seems to be lacking the > proper fiber advertise flags. Remove it. Maybe also remove the #define for PHY_BCM_FLAGS_MODE_1000BX? Maybe there is an out of tree driver using this? By removing

Re: [PATCH v5 11/22] powerpc/syscall: Save r3 in regs->orig_r3

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > Save r3 in regs->orig_r3 in system_call_exception() > > Signed-off-by: Christophe Leroy Reviewed-by: Nicholas Piggin > --- > v5: Removed the assembly one on SCV type system call > --- > arch/powerpc/kernel/entry_64.S |

Re: [PATCH v5 10/22] powerpc/syscall: Use is_compat_task()

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > Instead of hard comparing task flags with _TIF_32BIT, use > is_compat_task(). The advantage is that it returns 0 on PPC32 > allthough _TIF_32BIT is always set. > > Signed-off-by: Christophe Leroy Reviewed-by: Nicholas

RE: Re: [PATCH v19 2/3] scsi: ufs: L2P map management for HPB read

2021-02-08 Thread Daejun Park
> @@ -342,13 +1208,14 @@ void ufshpb_suspend(struct ufs_hba *hba) > > struct scsi_device *sdev; > > > > shost_for_each_device(sdev, hba->host) { > > -hpb = sdev->hostdata; > > +hpb = ufshpb_get_hpb_data(sdev); > >

Re: [PATCH v5 09/22] powerpc/syscall: Make interrupt.c buildable on PPC32

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > To allow building interrupt.c on PPC32, ifdef out specific PPC64 > code or use helpers which are available on both PP32 and PPC64 > > Modify Makefile to always build interrupt.o > > Signed-off-by: Christophe Leroy > --- >

Re: [PATCH] mm/hugetlb: Remove redundant VM_BUG_ON_PAGE on putback_active_hugepage()

2021-02-08 Thread Mike Kravetz
On 2/8/21 12:37 AM, Miaohe Lin wrote: > PageHead(page) is implicitly checked in set_page_huge_active() via the > PageHeadHuge(page) check. So remove this explicit one. I do not disagree with the code change. However, this commit message is not accurate. set_page_huge_active() no longer exists

Re: [PATCH] mm/hugetlb: use helper huge_page_size() to get hugepage size

2021-02-08 Thread Miaohe Lin
Hi: On 2021/2/9 8:45, Mike Kravetz wrote: > On 2/8/21 12:24 AM, Miaohe Lin wrote: >> We can use helper huge_page_size() to get the hugepage size directly to >> simplify the code slightly. >> >> Signed-off-by: Miaohe Lin >> --- >> mm/hugetlb.c | 14 ++ >> 1 file changed, 6

Re: [PATCH] drm/i915/gvt/kvmgt: Fix the build failure in kvmgt.

2021-02-08 Thread Zhenyu Wang
On 2021.02.09 02:52:10 +0800, Yu Zhang wrote: > Previously, commit 531810caa9f4 ("KVM: x86/mmu: Use > an rwlock for the x86 MMU") replaced KVM's mmu_lock > with type rwlock_t. This will cause a build failure > in kvmgt, which uses the same lock when trying to add/ > remove some GFNs to/from the

Re: [PATCH v9 01/18] docs: acrn: Introduce ACRN

2021-02-08 Thread Shuo A Liu
Hi Randy, On Mon 8.Feb'21 at 11:48:07 -0800, Randy Dunlap wrote: On 2/6/21 7:10 PM, shuo.a@intel.com wrote: From: Shuo Liu Add documentation on the following aspects of ACRN: 1) A brief introduction on the architecture of ACRN. 2) I/O request handling in ACRN. 3) CPUID functions

[PATCH] x86: vdso: fix printf() format warnings in vdso2c.h

2021-02-08 Thread Randy Dunlap
Use %zu instead of %lu for size_t to prevent w printf() format warnings in vdso2c.h HOSTCC arch/x86/entry/vdso/vdso2c In file included from ../arch/x86/entry/vdso/vdso2c.c:162: ../arch/x86/entry/vdso/vdso2c.h: In function 'extract64': ../arch/x86/entry/vdso/vdso2c.h:38:52: warning: format

Re: [PATCH net-next] net: phy: drop explicit genphy_read_status() op

2021-02-08 Thread Andrew Lunn
On Tue, Feb 09, 2021 at 02:00:18AM +0100, Michael Walle wrote: > genphy_read_status() is already the default for the .read_status() op. > Drop the unnecessary references. > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew

Re: [FYI PATCH] i915: kvmgt: the KVM mmu_lock is now an rwlock

2021-02-08 Thread Zhenyu Wang
On 2021.02.08 06:34:37 -0500, Paolo Bonzini wrote: > Adjust the KVMGT page tracking callbacks. > > Cc: Zhenyu Wang > Cc: Zhi Wang > Cc: intel-gvt-...@lists.freedesktop.org > Cc: intel-...@lists.freedesktop.org > Signed-off-by: Paolo Bonzini > --- Thanks for that! Acked-by: Zhenyu Wang >

Re: [PATCH 2/3] mlx5_vdpa: fix feature negotiation across device reset

2021-02-08 Thread Si-Wei Liu
On 2/7/2021 9:35 PM, Eli Cohen wrote: On Sat, Feb 06, 2021 at 04:29:23AM -0800, Si-Wei Liu wrote: The mlx_features denotes the capability for which set of virtio features is supported by device. In principle, this field needs not be cleared during virtio device reset, as this capability is

Re: [PATCH v5 08/22] powerpc/syscall: Rename syscall_64.c into interrupt.c

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > syscall_64.c will be reused almost as is for PPC32. > > As this file also contains functions to handle other types > of interrupts rename it interrupt.c > > Signed-off-by: Christophe Leroy Reviewed-by: Nicholas Piggin >

Re: [PATCH v5 07/22] powerpc/irq: Add stub irq_soft_mask_return() for PPC32

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > To allow building syscall_64.c smoothly on PPC32, add stub version > of irq_soft_mask_return(). > > Signed-off-by: Christophe Leroy Same kind of comment as the other soft mask stuff. Again not a big deal but there might be

Re: [PATCH] staging: fix ignoring return value warning

2021-02-08 Thread Youling Tang
Hi, Dan On 02/09/2021 03:02 AM, Dan Carpenter wrote: On Mon, Feb 08, 2021 at 04:06:18PM +0100, Sascha Hauer wrote: Hi Dan, On Mon, Feb 08, 2021 at 04:45:17PM +0300, Dan Carpenter wrote: On Sun, Feb 07, 2021 at 05:23:28PM +0800, Youling Tang wrote: Fix the below ignoring return value

Re: [PATCH v5 06/22] powerpc/irq: Rework helpers that manipulate MSR[EE/RI]

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > In preparation of porting PPC32 to C syscall entry/exit, > rewrite the following helpers as static inline functions and > add support for PPC32 in them: > __hard_irq_enable() > __hard_irq_disable() >

Re: [PATCH v5 05/22] powerpc/irq: Add helper to set regs->softe

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > regs->softe doesn't exist on PPC32. > > Add irq_soft_mask_regs_set_state() helper to set regs->softe. > This helper will void on PPC32. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/hw_irq.h | 11

[PATCH 9/9] nouveau/svm: Implement atomic SVM access

2021-02-08 Thread Alistair Popple
Some NVIDIA GPUs do not support direct atomic access to system memory via PCIe. Instead this must be emulated by granting the GPU exclusive access to the memory. This is achieved by migrating the userspace mappings to device private pages whilst leaving the actual page in place. The driver then

[PATCH 7/9] nouveau/svm: Refactor nouveau_range_fault

2021-02-08 Thread Alistair Popple
Call mmu_interval_notifier_insert() as part of nouveau_range_fault(). This doesn't introduce any functional change but makes it easier for a subsequent patch to alter the behaviour of nouveau_range_fault() to support GPU atomic operations. Signed-off-by: Alistair Popple ---

[PATCH 8/9] nouveau/dmem: Add support for multiple page types

2021-02-08 Thread Alistair Popple
Device private pages are used to track a per-page migrate_to_ram() callback which is called when the CPU attempts to access a GPU page from the CPU. Currently the same callback is used for all GPU pages tracked by Nouveau. However a future patch requires support for calling a different callback

[PATCH 5/9] hmm-tests: Add test for unmap and pin

2021-02-08 Thread Alistair Popple
Adds a basic test of the HMM unmap and pin operation. Signed-off-by: Alistair Popple --- lib/test_hmm.c | 107 + lib/test_hmm_uapi.h| 1 + tools/testing/selftests/vm/hmm-tests.c | 49 +++ 3 files changed, 140

[PATCH 6/9] nouveau/dmem: Only map migrating pages

2021-02-08 Thread Alistair Popple
Only pages which were actually migrated should be mapped on the GPU. migrate_vma_pages() clears MIGRATE_PFN_MIGRATE in the src_pfn array, so test this prior to mapping the pages on the GPU. If any pages failed to migrate don't install any mappings - the GPU will demand fault any as required.

[PATCH 4/9] Documentation: Add unmap and pin to HMM

2021-02-08 Thread Alistair Popple
Update the HMM documentation to include information on the unmap and pin operation. Signed-off-by: Alistair Popple --- Documentation/vm/hmm.rst | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Documentation/vm/hmm.rst b/Documentation/vm/hmm.rst index

[PATCH 2/9] mm/migrate.c: Allow pfn flags to be passed to migrate_vma_setup()

2021-02-08 Thread Alistair Popple
Currently migrate_vma_setup() zeros both src and dst pfn arrays. This means it is not possible to pass per-pfn flags to migrate_vma_setup(). A future patch introduces per-pfn flags for migrate_vma_setup(), so ensure existing callers will not be affected by having the caller zero both src and dst

[PATCH 3/9] mm/migrate: Add a unmap and pin migration mode

2021-02-08 Thread Alistair Popple
Some drivers need to ensure that a device has access to a particular user page whilst preventing userspace access to that page. For example this is required to allow a driver to implement atomic access to a page when the device hardware does not support atomic access to system memory. This could

[PATCH 0/9] Add support for SVM atomics in Nouveau

2021-02-08 Thread Alistair Popple
This series adds support to Nouveau for atomic memory operations on OpenCL shared virtual memory (SVM). This is achieved using the atomic PTE bits on the GPU to only permit atomic operations to system memory when a page is not mapped in userspace on the CPU. This is implemented by adding a mode

[PATCH 1/9] mm/migrate.c: Always allow device private pages to migrate

2021-02-08 Thread Alistair Popple
Device private pages are used to represent device memory that is not directly accessible from the CPU. Extra references to a device private page are only used to ensure the struct page itself remains valid whilst waiting for migration entries. Therefore extra references should not prevent device

Re: [PATCH v3 2/3] mm, slub: don't combine pr_err with INFO

2021-02-08 Thread Miaohe Lin
On 2021/2/8 18:14, Yafang Shao wrote: > It is strange to combine "pr_err" with "INFO", so let's remove the > prefix completely. > This patch is motivated by David's comment[1]. > > - before the patch > [ 8846.517809] INFO: Slab 0xf42a2c60 objects=33 used=3 > fp=0x60d32ca8

[PATCH] of: property: Fix fw_devlink handling of interrupts/interrupts-extended

2021-02-08 Thread Saravana Kannan
Commit 4104ca776ba3 ("of: property: Add fw_devlink support for interrupts") was not taking interrupt-map into account. Fix that. Reported-by: Marek Szyprowski Fixes: 4104ca776ba3 ("of: property: Add fw_devlink support for interrupts") Signed-off-by: Saravana Kannan Tested-by: Marek Szyprowski

Re: [PATCH v3 1/3] mm, slub: use pGp to print page flags

2021-02-08 Thread Miaohe Lin
On 2021/2/8 18:14, Yafang Shao wrote: > As pGp has been already introduced in printk, we'd better use it to make > the output human readable. > > Before this change, the output is, > [ 6155.716018] INFO: Slab 0x4027dd4f objects=33 used=3 > fp=0x8cd1579c flags=0x17c0010200 >

Re: [PATCH 08/14] taint: add taint for direct hardware access

2021-02-08 Thread Dan Williams
On Mon, Feb 8, 2021 at 3:36 PM Dan Williams wrote: > > On Mon, Feb 8, 2021 at 2:09 PM Kees Cook wrote: > > > > On Mon, Feb 08, 2021 at 02:00:33PM -0800, Dan Williams wrote: > > > [ add Jon Corbet as I'd expect him to be Cc'd on anything that > > > generically touches Documentation/ like this,

Re: [PATCH v5 00/22] powerpc/32: Implement C syscall entry/exit

2021-02-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 9, 2021 1:10 am: > This series implements C syscall entry/exit for PPC32. It reuses > the work already done for PPC64. > > This series is based on today's merge-test > (b6f72fc05389e3fc694bf5a5fa1bbd33f61879e0) > > In terms on performance we

Re: [PATCH v6 00/22] Mediatek MT8192 clock support

2021-02-08 Thread Stephen Boyd
Quoting Weiyi Lu (2020-12-22 05:09:25) > This series is based on v5.10-rc1. > The DT bindings fail, can you fix and resend? Documentation/devicetree/bindings/arm/mediatek/mediatek,msdc.yaml: 'additionalProperties' is a required property

[PATCH net-next] net: phy: drop explicit genphy_read_status() op

2021-02-08 Thread Michael Walle
genphy_read_status() is already the default for the .read_status() op. Drop the unnecessary references. Signed-off-by: Michael Walle --- drivers/net/phy/marvell.c | 1 - drivers/net/phy/micrel.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/phy/marvell.c

[PATCH v2] arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+

2021-02-08 Thread Nathan Chancellor
Similar to commit 28187dc8ebd9 ("ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD"), ld.lld prior to 13.0.0 does not properly support aarch64 big endian, leading to the following build error when CONFIG_CPU_BIG_ENDIAN is selected: ld.lld: error: unknown emulation: aarch64linuxb This

Re: [PATCH] Documentation/admin-guide: kernel-parameters: Update nohlt section

2021-02-08 Thread Randy Dunlap
On 2/8/21 4:30 PM, Florian Fainelli wrote: > Update the documentation regarding "nohlt" and indicate that it is not > only for bugs, but can be useful to disable the architecture specific > sleep instructions. ARM, ARM64, SuperH and Microblaze all use > CONFIG_GENERIC_IDLE_POLL_SETUP which takes

Re: [PATCH 2/2] dt-bindings: display: Add "disable-hpd" binding

2021-02-08 Thread Laurent Pinchart
Hi Mykyta, Thank you for the patch. On Sun, Jan 31, 2021 at 11:57:01AM +0200, Mykyta Poturai wrote: > Add the "disable-hpd" binding, used to disable hotplug detected > functionality in the driver. When it's enabled the driver assumes that > the connector is always connected and disables the

Re: [PATCH 46/49] perf stat: Filter out unmatched aggregation for hybrid event

2021-02-08 Thread Jin, Yao
Hi Arnaldo, On 2/9/2021 3:16 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 08, 2021 at 07:25:43AM -0800, kan.li...@linux.intel.com escreveu: From: Jin Yao perf-stat has supported some aggregation modes, such as --per-core, --per-socket and etc. While for hybrid event, it may only available

[PATCH] arm64: dts: ls1028a: add interrupt to Root Complex Event Collector

2021-02-08 Thread Michael Walle
The legacy interrupt INT_A is hardwired to the event collector. RCEC is bascially supported starting with v5.11. Having a correct interrupt, will make RCEC at least probe correctly. There are still issues with how RCEC is implemented in the RCiEP on the LS1028A. RCEC will report an error, but it

Re: [PATCH net 0/2] bridge: mrp: Fix br_mrp_port_switchdev_set_state

2021-02-08 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net.git (refs/heads/master): On Sat, 6 Feb 2021 22:47:32 +0100 you wrote: > Based on the discussion here[1], there was a problem with the function > br_mrp_port_switchdev_set_state. The problem was that it was called > both with BR_STATE* and

Re: [PATCH 18/18] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree

2021-02-08 Thread Hector Martin
On 09/02/2021 04.14, Rob Herring wrote: Does there need to be a legal entity behind 'The Asahi Linux Contributors' to be valid? I don't think so, this seems to be common practice in other open source projects, and recommended these days. Some recent discussion on the subject from the Linux

Re: [PATCH 49/49] perf evsel: Adjust hybrid event and global event mixed group

2021-02-08 Thread Jin, Yao
Hi Arnaldo, On 2/9/2021 3:12 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 08, 2021 at 07:25:46AM -0800, kan.li...@linux.intel.com escreveu: From: Jin Yao A group mixed with hybrid event and global event is allowed. For example, group leader is 'cpu-clock' and the group member is

Re: [PATCH] mm/hugetlb: use helper huge_page_size() to get hugepage size

2021-02-08 Thread Mike Kravetz
On 2/8/21 12:24 AM, Miaohe Lin wrote: > We can use helper huge_page_size() to get the hugepage size directly to > simplify the code slightly. > > Signed-off-by: Miaohe Lin > --- > mm/hugetlb.c | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) > > diff --git a/mm/hugetlb.c

Re: md_raid: mdX_raid6 looping after sync_action "check" to "idle" transition

2021-02-08 Thread Guoqing Jiang
Hi Donald, On 2/8/21 19:41, Donald Buczek wrote: Dear Guoqing, On 08.02.21 15:53, Guoqing Jiang wrote: On 2/8/21 12:38, Donald Buczek wrote: 5. maybe don't hold reconfig_mutex when try to unregister sync_thread, like this. /* resync has finished, collect result */

Re: [PATCH 11/12] platform-msi: Add platform check for subdevice irq domain

2021-02-08 Thread Lu Baolu
Hi Leon, On 2/8/21 4:21 PM, Leon Romanovsky wrote: On Wed, Feb 03, 2021 at 12:56:44PM -0800, Megha Dey wrote: From: Lu Baolu The pci_subdevice_msi_create_irq_domain() should fail if the underlying platform is not able to support IMS (Interrupt Message Storage). Otherwise, the isolation of

Re: [PATCH v6 2/4] soc: qcom: Add SoC sleep stats driver

2021-02-08 Thread Stephen Boyd
Quoting Maulik Shah (2021-02-04 06:21:46) > From: Mahesh Sivasubramanian > > Let's add a driver to read the stats from remote processor and > export to debugfs. > > The driver creates "qcom_sleep_stats" directory in debugfs and > adds files for various low power mode available. Below is sample

Re: [PATCH v6] modules: introduce the MODULE_SCMVERSION config

2021-02-08 Thread Will McVicker
Thanks Jessica for all the reviews. I guess we can let this die here and I'll carry it downstream. At least it's all here for others to see. Thanks, Will On Wed, Feb 3, 2021 at 7:54 AM Greg Kroah-Hartman wrote: > > On Wed, Feb 03, 2021 at 04:46:16PM +0100, Jessica Yu wrote: > > +++ Will

Antworte zurück für den sofortigen Anspruch auf dein gespendetes Geld und gratuliere dir ......

2021-02-08 Thread Charles Jackson Jr
-- IHR E-MAIL-KONTO WURDE FÜR EINE SPENDE VON 3.500.000,00 USD FÜR CHARITY AUSGEWÄHLT. Antworten Sie auf die folgende E-Mail, um weitere Informationen zu erhalten E-Mail: charlesjackson...@gmail.com

Re: [PATCH 43/49] perf stat: Add default hybrid events

2021-02-08 Thread Jin, Yao
Hi Arnaldo, On 2/9/2021 3:10 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 08, 2021 at 07:25:40AM -0800, kan.li...@linux.intel.com escreveu: From: Jin Yao Previously if '-e' is not specified in perf stat, some software events and hardware events are added to evlist by default.

Re: [PATCH 18/18] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree

2021-02-08 Thread Hector Martin
On 09/02/2021 02.58, Rob Herring wrote: I'll also highlight there's a DT only tree[1] available to import DT related parts to other projects. It's generated from the kernel tree. Probably an overkill to copying at this point though. Rob [1]

Re: [PATCH 1/6] platform/surface: Set up Surface Aggregator device registry

2021-02-08 Thread Maximilian Luz
On 2/8/21 8:35 PM, Maximilian Luz wrote: The Surface System Aggregator Module (SSAM) subsystem provides various functionalities, which are separated by spreading them across multiple devices and corresponding drivers. Parts of that functionality / some of those devices, however, can (as far

[PATCH] Documentation/admin-guide: kernel-parameters: Update nohlt section

2021-02-08 Thread Florian Fainelli
Update the documentation regarding "nohlt" and indicate that it is not only for bugs, but can be useful to disable the architecture specific sleep instructions. ARM, ARM64, SuperH and Microblaze all use CONFIG_GENERIC_IDLE_POLL_SETUP which takes care of honoring the "hlt"/"nohlt" parameters.

Re: [PATCH 39/49] perf parse-events: Support hybrid raw events

2021-02-08 Thread Jin, Yao
Hi Arnaldo, On 2/9/2021 3:07 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 08, 2021 at 07:25:36AM -0800, kan.li...@linux.intel.com escreveu: From: Jin Yao On hybrid platform, same raw event is possible to be available on both cpu_core pmu and cpu_atom pmu. So it's supported to create two

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