[PATCH v4] x86/paravirt: Disable virt spinlock on bare metal

2024-07-28 Thread Chen Yu
The kernel can change spinlock behavior when running as a guest. But this guest-friendly behavior causes performance problems on bare metal. So there's a 'virt_spin_lock_key' static key to switch between the two modes. In current code, the static key is always enabled by default when running in gu

Re: [PATCH] ptp: Add vDSO-style vmclock support

2024-07-28 Thread David Woodhouse
On 28 July 2024 16:23:49 BST, "Michael S. Tsirkin" wrote: >On Sun, Jul 28, 2024 at 02:07:01PM +0100, David Woodhouse wrote: >> On 28 July 2024 11:37:04 BST, "Michael S. Tsirkin" wrote: >> >Glad you asked :) >> >> Heh, I'm not sure I'm so glad. Did I mention I hate ACPI? Perhaps it's still >> no

[PATCH v7 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-28 Thread Cindy Lu
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 | 28 1 file changed, 28 insertions(+) di

[PATCH v7 2/3] vdpa_sim_net: Add the support of set mac address

2024-07-28 Thread Cindy Lu
Add the function to support setting the MAC address. For vdpa_sim_net, the driver will write the MAC address to the config space, and other devices can implement their own functions to support this. Signed-off-by: Cindy Lu --- drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 21 - 1 fi

[PATCH v7 1/3] vdpa: support set mac address from vdpa tool

2024-07-28 Thread Cindy Lu
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 **:**:**:**:**:** Here is example: root@L1# vdpa -jp dev config show vdpa0 {

[PATCH v7 0/3] vdpa: support set mac address from vdpa tool

2024-07-28 Thread Cindy Lu
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 other drivers, they can implement their own function, not limited

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

2024-07-28 Thread Bjorn Andersson
On Tue, 23 Jul 2024 13:15:09 +, Raymond Hackley wrote: > Core Prime uses an Imagis IST3038 touchscreen that is connected to > blsp_i2c5. Add it to the device tree. > > Applied, thanks! [1/1] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen commit: 2bb08c4c9adcff11855b4a8d5e2

Re: [PATCH v4 0/2] Use of devname for interrupt descriptions and tracepoint support for smp2p

2024-07-28 Thread Bjorn Andersson
On Tue, 16 Jul 2024 23:08:32 +0530, Sudeepgoud Patil wrote: > This commit enhances the smp2p driver by adding support for using the device > name in interrupt descriptions and introducing tracepoint functionality. > These improvements facilitate more effective debugging of smp2p-related > issues

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

2024-07-28 Thread Bjorn Andersson
On Thu, 18 Jul 2024 11:28:57 +, Lin, Meng-Bo wrote: > Grand Max uses an Imagis IST3038 touchscreen that is connected to > blsp_i2c5. Add it to the device tree. > > Applied, thanks! [1/1] arm64: dts: qcom: msm8916-samsung-grandmax: Add touchscreen commit: 1e19ffdb780a43f34d5da28b7f84

Re: [PATCH v2 1/2] nvdimm: Fix devs leaks in scan_labels()

2024-07-28 Thread Zhijian Li (Fujitsu)
On 26/07/2024 21:37, Ira Weiny wrote: > Li Zhijian wrote: >> The leakage would happend when create_namespace_pmem() meets an invalid >> label which gets failure in validating isetcookie. >> >> Try to resuse the devs that may have already been allocated with size >> (2 * sizeof(dev)) previously. >

Re: [PATCH net-next v3 3/3] virtio-net: synchronize operstate with admin state on up/down

2024-07-28 Thread Jason Wang
On Fri, Jul 26, 2024 at 3:24 PM Michael S. Tsirkin wrote: > > On Wed, Jul 10, 2024 at 11:03:42AM +0800, Jason Wang wrote: > > On Tue, Jul 9, 2024 at 9:28 PM Michael S. Tsirkin wrote: > > > > > > On Tue, Jul 09, 2024 at 04:02:14PM +0800, Jason Wang wrote: > > > > This patch synchronize operstate w

[GIT PULL] virtio: fixes for rc1

2024-07-28 Thread Michael S. Tsirkin
The biggest thing here is the adminq change - but it looks like the only way to avoid headq blocking causing indefinite stalls. The following changes since commit 6c85d6b653caeba2ef982925703cbb4f2b3b3163: virtio: rename virtio_find_vqs_info() to virtio_find_vqs() (2024-07-17 05:20:58 -0400)

[PATCH v1] MAINTAINERS: add me as reviewer of AF_VSOCK and virtio-vsock

2024-07-28 Thread Arseniy Krasnov
I'm working on AF_VSOCK and virtio-vsock. Signed-off-by: Arseniy Krasnov --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c0a3d9e93689..2bf0987d87ed 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24131,6 +24131,7 @@ F: virt/lib/ VIRTIO A

Re: [PATCH] ptp: Add vDSO-style vmclock support

2024-07-28 Thread Michael S. Tsirkin
On Sun, Jul 28, 2024 at 02:07:01PM +0100, David Woodhouse wrote: > On 28 July 2024 11:37:04 BST, "Michael S. Tsirkin" wrote: > >Glad you asked :) > > Heh, I'm not sure I'm so glad. Did I mention I hate ACPI? Perhaps it's still > not too late for me just to define a DT binding and use PRP0001 for

Re: [PATCH] ptp: Add vDSO-style vmclock support

2024-07-28 Thread David Woodhouse
On 28 July 2024 11:37:04 BST, "Michael S. Tsirkin" wrote: >Glad you asked :) Heh, I'm not sure I'm so glad. Did I mention I hate ACPI? Perhaps it's still not too late for me just to define a DT binding and use PRP0001 for it :) >Long story short, QEMUVGID is indeed out of spec, but it works >bo

Re: [PATCH] ptp: Add vDSO-style vmclock support

2024-07-28 Thread Michael S. Tsirkin
On Fri, Jul 26, 2024 at 07:28:28PM +0100, David Woodhouse wrote: > On 26 July 2024 17:49:58 BST, Jonathan Cameron > wrote: > >On Thu, 25 Jul 2024 14:50:50 +0100 > >David Woodhouse wrote: > > > >> On Thu, 2024-07-25 at 08:33 -0400, Michael S. Tsirkin wrote: > >> > On Thu, Jul 25, 2024 at 01:31:19

Re: [PATCH 1/2] module: Split modules_install compression and in-kernel decompression

2024-07-28 Thread Masahiro Yamada
On Thu, Jul 25, 2024 at 9:59 PM Petr Pavlu wrote: > > On 7/22/24 12:23, Masahiro Yamada wrote: > > On Mon, Jul 22, 2024 at 6:07 PM Petr Pavlu wrote: > >> > >> The kernel configuration allows specifying a module compression mode. If > >> one is selected then each module gets compressed during > >>

Re: [PATCH v2 3/4] ASoC: dt-bindings: apq8016-sbc: Add msm8953/msm8976-qdsp6-sndcard

2024-07-28 Thread Krzysztof Kozlowski
On 27/07/2024 20:20, Adam Skladowski wrote: > Document MSM8953/MSM8976 QDSP6 cards. > > Signed-off-by: Adam Skladowski > --- Your cover letter must ALWAYS clearly document the dependency. > .../sound/qcom,apq8016-sbc-sndcard.yaml | 51 --- > 1 file changed, 45 insertions(