[PATCH 3/3] arm64: dts: qcom: msm8916-lg-c50: add initial dts for LG Leon LTE

2024-06-23 Thread Nikita Travkin
From: Anton Bambura Add initial device-tree for LG Leon LTE (lg-c50), currently supported features: - eMMC; - MicroSD; - usb in peripheral mode; - WiFi/BT; - vibration; - keys. Signed-off-by: Anton Bambura Signed-off-by: Nikita Travkin --- arch/arm64/boot/dts/qcom/Makefile | 1 +

[PATCH 2/3] arm64: dts: qcom: msm8916-lg-m216: Add initial device tree

2024-06-23 Thread Nikita Travkin
From: Cristian Cozzolino This commit adds initial support for the LG K10 smartphone. Support for the following features is included: - Serial - Keys - Battery and charger - Accelerometer, magnetometer - Touchscreen - Sound and modem - Haptic Signed-off-by: Cristian Cozzolino [Nikita: Minor cl

[PATCH 1/3] dt-bindings: arm: qcom: Add msm8916 based LG devices

2024-06-23 Thread Nikita Travkin
Add compatible values for the msm8916 based LG smartphones. Signed-off-by: Nikita Travkin --- Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml i

[PATCH 0/3] Introduce msm8916 based LG devices

2024-06-23 Thread Nikita Travkin
This series introduces two msm8916-based LG devices: - LG Leon LTE (c50) - LG LG K10 (m216) The devices only have basic support for now. Signed-off-by: Nikita Travkin --- Anton Bambura (1): arm64: dts: qcom: msm8916-lg-c50: add initial dts for LG Leon LTE Cristian Cozzolino (1): ar

Re: [PATCH 1/3] dt-bindings: arm: qcom: Add msm8916 based LG devices

2024-06-23 Thread Krzysztof Kozlowski
On 23/06/2024 11:26, Nikita Travkin wrote: > Add compatible values for the msm8916 based LG smartphones. > > Signed-off-by: Nikita Travkin > --- > Documentation/devicetree/bindings/arm/qcom.yaml | 2 + Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH vhost 18/23] vdpa/mlx5: Forward error in suspend/resume device

2024-06-23 Thread Zhu Yanjun
在 2024/6/17 23:07, Dragos Tatulea 写道: Start using the suspend/resume_vq() error return codes previously added. Signed-off-by: Dragos Tatulea Reviewed-by: Cosmin Ratiu --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drive

Re: [PATCH] vfs: Add AT_EMPTY_PATH_NOCHECK as unchecked AT_EMPTY_PATH

2024-06-23 Thread Mateusz Guzik
On Sun, Jun 23, 2024 at 3:22 AM Xi Ruoyao wrote: > > On Sun, 2024-06-23 at 03:07 +0200, Mateusz Guzik wrote: > > On Sun, Jun 23, 2024 at 2:59 AM Xi Ruoyao wrote: > > > > > > On Sat, 2024-06-22 at 15:41 -0700, Linus Torvalds wrote: > > > > > > > I do think that we should make AT_EMPTY_PATH with a

Re: [PATCH] vfs: Add AT_EMPTY_PATH_NOCHECK as unchecked AT_EMPTY_PATH

2024-06-23 Thread Xi Ruoyao
On Sun, 2024-06-23 at 14:04 +0200, Mateusz Guzik wrote: > On Sun, Jun 23, 2024 at 3:22 AM Xi Ruoyao wrote: > > > > On Sun, 2024-06-23 at 03:07 +0200, Mateusz Guzik wrote: > > > On Sun, Jun 23, 2024 at 2:59 AM Xi Ruoyao > > > wrote: > > > > > > > > On Sat, 2024-06-22 at 15:41 -0700, Linus Torval

Re: [PATCH] ring-buffer: Limit time with disabled interrupts in rb_check_pages()

2024-06-23 Thread Petr Pavlu
On 6/21/24 17:09, Petr Pavlu wrote: > Function rb_check_pages() validates the integrity of a specified per-CPU > tracing ring buffer. It does so by walking the underlying linked > list and checking its next and prev links. > > To guarantee that the list doesn't get modified during the check, > a c

Re: [PATCH] virtio: add missing MODULE_DESCRIPTION() macro

2024-06-23 Thread Jeff Johnson
On 6/2/2024 1:25 PM, Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/virtio/virtio_dma_buf.o > > Add the missing invocation of the MODULE_DESCRIPTION() macro. > > Signed-off-by: Jeff Johnson > --- > drivers/virtio/v

Re: (subset) [PATCH 0/5] Use mboxes in smsm node for all dtsi where possible

2024-06-23 Thread Bjorn Andersson
On Wed, 19 Jun 2024 18:42:26 +0200, Luca Weiss wrote: > With the binding and driver patches queued for 6.11[0][1], it's time to > update the dtsi files to use the new binding. > > [0] > https://lore.kernel.org/linux-arm-msm/171840533352.102487.9576671528001022676.b4...@kernel.org/ > [1] > http

Re: [PATCH 0/2] Add PM8008 regulator support for Fairphone 4 & 5

2024-06-23 Thread Bjorn Andersson
On Fri, 21 Jun 2024 10:42:29 +0200, Luca Weiss wrote: > With the PM8008 regulator driver scheduled for Linux v6.11[0] let's add > the dts bits for Fairphone 4 and Fairphone 5 which both use this PMIC > for powering the camera sensors - and the pull-up for the CCI (camera > I2C bus). > > [0] > h

Re: (subset) [PATCH v2 0/3] Add Sony Xperia Z3 Compact smartphone

2024-06-23 Thread Bjorn Andersson
On Fri, 21 Jun 2024 17:26:41 +0300, Valeriy Klimin wrote: > This is almost the same as the dts of the Xperia Z3, except for the > battery charge limits. > > The current on the l21 regulator for shinano is also bumped up > to stop SD card errors. > > > [...] Applied, thanks! [1/3] dt-bindings

[PATCH V2 0/3] virtio-net: synchronize operstate with admin state on up/down

2024-06-23 Thread Jason Wang
Hi All: Currently, we don't synchronize the opersteate with the admin state currently when prevent the link status to be propagated to the stacked device on top of the virtio-net. This patch fixes this issue. Changes since V1: - Try to reuse the virtio core facility to enable and disable the c

[PATCH V2 1/3] virtio: allow nested disabling of the configure interrupt

2024-06-23 Thread Jason Wang
Somtime driver may want to enable or disable the config callback. This requires a synchronization with the core. So this patch change the config_enabled to be a integer counter. This allows the toggling of the config_enable to be synchronized between the virtio core and the virtio driver. The coun

[PATCH V2 2/3] virtio: export virtio_config_{enable|disable}()

2024-06-23 Thread Jason Wang
This patch exports virtio_config_enable() and virtio_config_disable() for drivers to disable config callbacks. Signed-off-by: Jason Wang --- drivers/virtio/virtio.c | 6 -- include/linux/virtio.h | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio.c

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

2024-06-23 Thread Jason Wang
This patch synchronize operstate with admin state per RFC2863. This is done by trying to toggle the carrier upon open/close and synchronize with the config change work. This allows propagate status correctly to stacked devices like: ip link add link enp0s3 macvlan0 type macvlan ip link set link e