Re: [PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text

2024-07-23 Thread kernel test robot
Hi Zheng, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.10] [cannot apply to mcgrof/modules-next masahiroy-kbuild/for-next masahiroy-kbuild/fixes powerpc/next powerpc/fixes tip/x86/core next-20240723] [If your

Re: [PATCH 2/2] LoongArch: KVM: Add paravirt qspinlock in guest side

2024-07-23 Thread kernel test robot
Hi Bibo, kernel test robot noticed the following build warnings: [auto build test WARNING on 7846b618e0a4c3e0099d1d4512722b39ca99] url: https://github.com/intel-lab-lkp/linux/commits/Bibo-Mao/LoongArch-KVM-Add-paravirt-qspinlock-in-kvm-side/20240723-160536 base

Re: [PATH v5 1/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Cindy Lu
On Wed, 24 Jul 2024 at 02:48, Andrew Lunn wrote: > > On Tue, Jul 23, 2024 at 01:39:20PM +0800, Cindy Lu wrote: > > Add new UAPI to support the mac address from vdpa tool > > Function vdpa_nl_cmd_dev_attr_set_doit() will get the > > new MAC address from the vdpa tool and then set it to the device.

Re: [PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-23 Thread Cindy Lu
On Tue, 23 Jul 2024 at 19:29, Michael S. Tsirkin wrote: > > On Tue, Jul 23, 2024 at 07:49:44AM +, Dragos Tatulea wrote: > > On Tue, 2024-07-23 at 13:39 +0800, Cindy Lu wrote: > > > Add the function to support setting the MAC address. > > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac

Re: [PATH v5 0/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Cindy Lu
On Wed, 24 Jul 2024 at 02:45, Andrew Lunn wrote: > > On Tue, Jul 23, 2024 at 01:39:19PM +0800, Cindy Lu wrote: > > Add support for setting the MAC address using the VDPA tool. > > This feature will allow setting the MAC address using the VDPA tool. > > For example, in vdpa_sim_net, the implementat

Re: [PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text

2024-07-23 Thread kernel test robot
Hi Zheng, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.10] [cannot apply to mcgrof/modules-next masahiroy-kbuild/for-next masahiroy-kbuild/fixes powerpc/next powerpc/fixes tip/x86/core next-20240723] [If your

Re: [PATCH 2/2] LoongArch: KVM: Add paravirt qspinlock in guest side

2024-07-23 Thread maobibo
7846b618e0a4c3e0099d1d4512722b39ca99] url: https://github.com/intel-lab-lkp/linux/commits/Bibo-Mao/LoongArch-KVM-Add-paravirt-qspinlock-in-kvm-side/20240723-160536 base: 7846b618e0a4c3e0099d1d4512722b39ca99 patch link: https://lore.kernel.org/r/20240723073825.1811600-3-maobibo%40loongson.cn patch

Re: [PATCH] eventfs: Use SRCU for freeing eventfs_inodes

2024-07-23 Thread Steven Rostedt
On Tue, 23 Jul 2024 23:07:53 +0200 Mathias Krause wrote: > To mirror the SRCU lock held in eventfs_iterate() when iterating over > eventfs inodes, use call_srcu() to free them too. > > This was accidentally(?) degraded to RCU in commit 43aa6f97c2d0 > ("eventfs: Get rid of dentry pointers without

Re: [GIT PULL] rpmsg updates for v6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 12:17:49 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git > tags/rpmsg-v6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/643af93f15be901982b2b08f241263934201c99f Thank you! -- Deet-doot-d

Re: [GIT PULL] hwspinlock updates for v6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 10:20:47 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git > tags/hwlock-v6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/58bffbac533d4526cb4922b8563d1963a90729be Thank you! -- Deet-doot-

Re: [GIT PULL] remoteproc updates for v6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 11:30:41 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git > tags/rproc-v6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/60c6119cadba52bee86b3e88011495483e26eb43 Thank you! -- Deet-doot-d

[PATCH] eventfs: Use SRCU for freeing eventfs_inodes

2024-07-23 Thread Mathias Krause
To mirror the SRCU lock held in eventfs_iterate() when iterating over eventfs inodes, use call_srcu() to free them too. This was accidentally(?) degraded to RCU in commit 43aa6f97c2d0 ("eventfs: Get rid of dentry pointers without refcounts"). Cc: Ajay Kaher Cc: Linus Torvalds Fixes: 43aa6f97c2d

Re: tracing: user events UAF crash report

2024-07-23 Thread Mathias Krause
On 23.07.24 16:43, Steven Rostedt wrote: > On Fri, 19 Jul 2024 22:47:01 +0200 > Mathias Krause wrote: > >> Beside the obvious bug, I noticed the following (not fixing the issue, >> tho): >> >> diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c >> index 5d88c184f0fc..687ad0a26458 100

Re: [PATCH 2/2] LoongArch: KVM: Add paravirt qspinlock in guest side

2024-07-23 Thread kernel test robot
Hi Bibo, kernel test robot noticed the following build errors: [auto build test ERROR on 7846b618e0a4c3e0099d1d4512722b39ca99] url: https://github.com/intel-lab-lkp/linux/commits/Bibo-Mao/LoongArch-KVM-Add-paravirt-qspinlock-in-kvm-side/20240723-160536 base

[GIT PULL] rpmsg updates for v6.11

2024-07-23 Thread Bjorn Andersson
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rpmsg-v6.11 for you to fetch changes up to 36862eab884

Re: [GIT PULL] livepatching for 6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 17:46:20 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching > tags/livepatching-for-6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d2d721e2eb1337c67f0c5bba303f8a013b622bed Thank you! --

Re: [GIT PULL] Modules changes for v6.11-rc1

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 10:14:01 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ > tags/modules-6.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f488790059fe7be6b2b059ddee10835b2500b603 Thank you! -- Deet-doot-d

Re: [PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-23 Thread Jeff Johnson
On 7/15/2024 7:18 AM, Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o > > Add the missing invocation of the MODULE_DESCRIPTION() macro. > > Reviewed-by: Matt Wu > Signed-off-by: Jeff Johnson > --- > Changes

Re: [PATH v5 2/3] vdpa_sim_net: Add the support of set mac address

2024-07-23 Thread Andrew Lunn
> +static int vdpasim_net_set_attr(struct vdpa_mgmt_dev *mdev, > + struct vdpa_device *dev, > + const struct vdpa_dev_set_config *config) > +{ > + struct vdpasim *vdpasim = container_of(dev, struct vdpasim, vdpa); > + struct virtio_net

Re: [PATH v5 1/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Andrew Lunn
On Tue, Jul 23, 2024 at 01:39:20PM +0800, Cindy Lu wrote: > Add new UAPI to support the mac address from vdpa tool > Function vdpa_nl_cmd_dev_attr_set_doit() will get the > new MAC address from the vdpa tool and then set it to the device. > > The usage is: vdpa dev set name vdpa_name mac **:**:**:

Re: [PATH v5 0/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Andrew Lunn
On Tue, Jul 23, 2024 at 01:39:19PM +0800, Cindy Lu wrote: > Add support for setting the MAC address using the VDPA tool. > This feature will allow setting the MAC address using the VDPA tool. > For example, in vdpa_sim_net, the implementation sets the MAC address > to the config space. However, for

Re: [PATCH] rpmsg: char: add missing MODULE_DESCRIPTION() macro

2024-07-23 Thread Jeff Johnson
On 6/10/2024 10:25 AM, Mathieu Poirier wrote: > On Tue, Jun 04, 2024 at 06:53:44PM -0700, Jeff Johnson wrote: >> make allmodconfig && make W=1 C=1 reports: >> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/rpmsg/rpmsg_char.o >> >> Add the missing invocation of the MODULE_DESCRIPTION() ma

[GIT PULL] remoteproc updates for v6.11

2024-07-23 Thread Bjorn Andersson
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rproc-v6.11 for you to fetch changes up to 19cb6058620

[GIT PULL] hwspinlock updates for v6.11

2024-07-23 Thread Bjorn Andersson
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/hwlock-v6.11 for you to fetch changes up to 718a7ad700

[GIT PULL] Modules changes for v6.11-rc1

2024-07-23 Thread Luis Chamberlain
The following changes since commit 6ba59ff4227927d3a8530fc2973b80e94b54d58f: Linux 6.10-rc4 (2024-06-16 13:40:16 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ tags/modules-6.11-rc1 for you to fetch changes up to 61842868de13a

[GIT PULL] livepatching for 6.11

2024-07-23 Thread Petr Mladek
Hi Linus, please pull the latest changes for the kernel livepatching from git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching tags/livepatching-for-6.11 - Show also patch->replace flag in sysfs. - Add or improve few selftests.

Re: tracing: user events UAF crash report

2024-07-23 Thread Steven Rostedt
On Fri, 19 Jul 2024 22:47:01 +0200 Mathias Krause wrote: > Beside the obvious bug, I noticed the following (not fixing the issue, > tho): > > diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c > index 5d88c184f0fc..687ad0a26458 100644 > --- a/fs/tracefs/event_inode.c > +++ b/fs/tra

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Konrad Dybcio
On 23.07.2024 3:39 PM, Raymond Hackley wrote: >> Fixes? >> >> Konrad > > Hi Konrad, > > the issue is not reported or discussed on lkml, so there is no thread to fix? See the "In case your patch fixes a bug.." paragraph in: https://docs.kernel.org/process/submitting-patches.html > > Regards, >

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Raymond Hackley
> Fixes? > > Konrad Hi Konrad, the issue is not reported or discussed on lkml, so there is no thread to fix? Regards, Raymond

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

2024-07-23 Thread Konrad Dybcio
On 23.07.2024 3:15 PM, Raymond Hackley wrote: > Core Prime uses an Imagis IST3038 touchscreen that is connected to > blsp_i2c5. Add it to the device tree. > > Signed-off-by: Raymond Hackley > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

2024-07-23 Thread Raymond Hackley
Tested-by: Juan-Rafael Fernandez Regards, Raymond

[PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

2024-07-23 Thread Raymond Hackley
Core Prime uses an Imagis IST3038 touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Raymond Hackley --- .../boot/dts/qcom/msm8916-samsung-rossa.dts | 20 +++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-sams

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Konrad Dybcio
On 23.07.2024 3:12 PM, Raymond Hackley wrote: > The phone needs the touchkeys to be enabled so the sense lines of the > touch controller are mapped properly. Otherwise the touchscreen is not > mapped to the display properly. > > Signed-off-by: Raymond Hackley > --- Fixes? Konrad

[PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Raymond Hackley
The phone needs the touchkeys to be enabled so the sense lines of the touch controller are mapped properly. Otherwise the touchscreen is not mapped to the display properly. Signed-off-by: Raymond Hackley --- arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi | 2 ++ 1 file changed, 2 i

[PATCH] eventfs: Don't return NULL in eventfs_create_dir()

2024-07-23 Thread Mathias Krause
Commit 77a06c33a22d ("eventfs: Test for ei->is_freed when accessing ei->dentry") added another check, testing if the parent was freed after we released the mutex. If so, the function returns NULL. However, all callers expect it to either return a valid pointer or an error pointer, at least since co

Re: [PATCH v3 7/9] dt-bindings: interconnect: qcom: msm8939: Fix example

2024-07-23 Thread Konrad Dybcio
On 9.07.2024 12:22 PM, Adam Skladowski wrote: > For now example list snoc_mm as children of bimc which is obviously > not valid, drop bimc and move snoc_mm into snoc. > > Signed-off-by: Adam Skladowski > --- loool, thanks Reviewed-by: Konrad Dybcio Konrad

Re: [PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-23 Thread Michael S. Tsirkin
On Tue, Jul 23, 2024 at 07:49:44AM +, Dragos Tatulea wrote: > On Tue, 2024-07-23 at 13:39 +0800, Cindy Lu wrote: > > Add the function to support setting the MAC address. > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > > to set the mac address > > > > Tested in ConnectX-6 Dx device

Re: [PATCH 1/2] x86/tdx: Add prctl to allow userlevel TDX hypercalls

2024-07-23 Thread Kirill A . Shutemov
On Mon, Jul 22, 2024 at 10:04:40PM -0700, Tim Merrifield wrote: > > Thanks for the review, Kirill. > > On Mon, Jul 08, 2024 at 03:19:54PM +0300, Kirill A . Shutemov wrote: > > Hm. Per-thread flag is odd. I think it should be per-process. > > This is the only point I might need some clarification

Re: [PATCH 3/4] ASoC: dt-bindings: qcom,sm8250: Add msm8953/msm8976-qdsp6-sndcard

2024-07-23 Thread Krzysztof Kozlowski
On 23/07/2024 10:19, Krzysztof Kozlowski wrote: > On 22/07/2024 11:51, Adam Skladowski wrote: >> Document MSM8953/MSM8976 QDSP6 cards. >> >> Signed-off-by: Adam Skladowski > > ... > >> +then: >>properties: >> -reg: false >> -reg-names: false >> +reg: >> +

Re: [PATCH 3/4] ASoC: dt-bindings: qcom,sm8250: Add msm8953/msm8976-qdsp6-sndcard

2024-07-23 Thread Krzysztof Kozlowski
On 22/07/2024 11:51, Adam Skladowski wrote: > Document MSM8953/MSM8976 QDSP6 cards. > > Signed-off-by: Adam Skladowski ... > +then: >properties: > -reg: false > -reg-names: false > +reg: > + items: > +- description: Microphone I/O mux reg

Re: [PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-23 Thread Dragos Tatulea
On Tue, 2024-07-23 at 13:39 +0800, Cindy Lu wrote: > Add the function to support setting the MAC address. > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > to set the mac address > > Tested in ConnectX-6 Dx device > > Signed-off-by: Cindy Lu > --- > drivers/vdpa/mlx5/net/mlx5_vnet.c |

[PATCH 2/2] LoongArch: KVM: Add paravirt qspinlock in guest side

2024-07-23 Thread Bibo Mao
Option PARAVIRT_SPINLOCKS is added on LoongArch system, and pv_lock_ops template is added here. If option PARAVIRT_SPINLOCKS is enabled, the native ops works on host machine. Two functions kvm_wait() and kvm_kick_cpu() are added specicial for VM, if VM detects hypervisor supports pv spinlock. With

[PATCH 1/2] LoongArch: KVM: Add paravirt qspinlock in kvm side

2024-07-23 Thread Bibo Mao
Add paravirt spinlock in kvm side, idle instruction is used with pv_wait() function so that vCPU thread releases pCPU and sleeps on the wait queue. With pv_kick_cpu() function, hypercall instruction is used to wake up vCPU thread and yield to vcpu thread, caller vcpu thread gives up schedule. Sign

[PATCH 0/2] LoongArch: KVM: Add paravirt qspinlock support

2024-07-23 Thread Bibo Mao
Lock Holder Preemption (LHP) is classic problem especially on VM, if lock holder vCPU is preempted on host, other vCPUs will do busy looping and waste pCPU time. And there is no hw Pause Loop Exiting (PLE) supported on LoongArch system also. Here pavavirt qspinlock is introduced, by the kernel com