Re: [PATCH vhost 0/7] vdpa/mlx5: Add support for resumable vqs

2023-12-04 Thread Dragos Tatulea
On Sun, 2023-12-03 at 11:23 -0500, Michael S. Tsirkin wrote: > On Sun, Dec 03, 2023 at 03:21:01PM +, Dragos Tatulea wrote: > > On Sat, 2023-12-02 at 15:26 -0500, Michael S. Tsirkin wrote: > > > On Fri, Dec 01, 2023 at 12:48:50PM +0200, Dragos Tatulea wrote: > > > > Add support for resumable vqs

Re: [PATCH vhost 0/7] vdpa/mlx5: Add support for resumable vqs

2023-12-04 Thread Michael S. Tsirkin
On Mon, Dec 04, 2023 at 08:53:26AM +, Dragos Tatulea wrote: > On Sun, 2023-12-03 at 11:23 -0500, Michael S. Tsirkin wrote: > > On Sun, Dec 03, 2023 at 03:21:01PM +, Dragos Tatulea wrote: > > > On Sat, 2023-12-02 at 15:26 -0500, Michael S. Tsirkin wrote: > > > > On Fri, Dec 01, 2023 at 12:48

Re: [PATCH RESEND] mac802154: Fix uninit-value access in ieee802154_hdr_push_sechdr

2023-12-04 Thread Miquel Raynal
Hi Zhang, zhang_shur...@foxmail.com wrote on Sat, 2 Dec 2023 22:58:52 +0800: > The syzkaller reported an issue: Subject should start with [PATCH wpan] > > BUG: KMSAN: uninit-value in ieee802154_hdr_push_sechdr > net/ieee802154/header_ops.c:54 [inline] > BUG: KMSAN: uninit-value in ieee802154

Re: [PATCH vhost 0/7] vdpa/mlx5: Add support for resumable vqs

2023-12-04 Thread Dragos Tatulea
On Mon, 2023-12-04 at 03:55 -0500, Michael S. Tsirkin wrote: > On Mon, Dec 04, 2023 at 08:53:26AM +, Dragos Tatulea wrote: > > On Sun, 2023-12-03 at 11:23 -0500, Michael S. Tsirkin wrote: > > > On Sun, Dec 03, 2023 at 03:21:01PM +, Dragos Tatulea wrote: > > > > On Sat, 2023-12-02 at 15:26 -

Re: [PATCH v5] bus: mhi: host: Add tracing support

2023-12-04 Thread Krishna Chaitanya Chundru
On 12/1/2023 10:31 PM, Jeffrey Hugo wrote: On 11/27/2023 4:09 AM, Krishna chaitanya chundru wrote: This change adds ftrace support for following functions which helps in debugging the issues when there is Channel state & MHI state change and also when we receive data and control events: 1. mhi

[PATCH v6] bus: mhi: host: Add tracing support

2023-12-04 Thread Krishna chaitanya chundru
This change adds ftrace support for following functions which helps in debugging the issues when there is Channel state & MHI state change and also when we receive data and control events: 1. mhi_intvec_mhi_states 2. mhi_process_data_event_ring 3. mhi_process_ctrl_ev_ring 4. mhi_gen_tre 5. mhi_upda

[PATCH] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys

2023-12-04 Thread Matti Lehtimäki
Add touch keys which are handled in touchscreen driver. Use KEY_APPSELECT for the left button because other devices use that even though downstream kernel uses KEY_RECENT. Signed-off-by: Matti Lehtimäki --- .../boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts| 7 +++ 1 file changed, 7

[PATCH v5 0/3] Add UFS host controller and Phy nodes for sc7280

2023-12-04 Thread Luca Weiss
(-) --- base-commit: ce733604ab13d907655fd76ef5be55d16bbd0f8c change-id: 20231204-sc7280-ufs-b1e746ea60ed Best regards, -- Luca Weiss

[PATCH v5 1/3] scsi: ufs: qcom: dt-bindings: Add SC7280 compatible string

2023-12-04 Thread Luca Weiss
From: Nitin Rawat Document the compatible string for the UFS found on SC7280. Signed-off-by: Nitin Rawat Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bao D. Nguyen Acked-by: Manivannan Sadhasivam Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1 f

[PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-04 Thread Luca Weiss
From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 soc. Signed-off-by: Nitin Rawat Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio # QCM6490 FP5 [luca: various cleanups and additions as written in the cover letter] Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/s

[PATCH v5 3/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 IDP board

2023-12-04 Thread Luca Weiss
From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 IDP board. Signed-off-by: Nitin Rawat Acked-by: Manivannan Sadhasivam Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/

Re: [PATCH v2] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable UFS

2023-12-04 Thread Luca Weiss
On Sun Dec 3, 2023 at 5:41 AM CET, Bjorn Andersson wrote: > On Mon, Oct 02, 2023 at 02:30:41PM +0200, Luca Weiss wrote: > > Enable the UFS phy and controller so that we can access the internal > > storage of the phone. > > > > At the same time we need to bump the minimum voltage used for UFS VCC,

Re: [PATCH 2/2] ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes

2023-12-04 Thread Konrad Dybcio
On 3.12.2023 23:38, Luca Weiss wrote: > From: Ivaylo Ivanov > > Add CPU and SAW/ACC nodes to enable SMP on MSM8226. > > Signed-off-by: Ivaylo Ivanov > [luca: update some nodes to fix dtbs_check errors, reorder, cleanup] > Signed-off-by: Luca Weiss > --- Looks like L2 SAW (@ 0xf9012000) is miss

Re: [PATCH] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys

2023-12-04 Thread Konrad Dybcio
On 4.12.2023 10:46, Matti Lehtimäki wrote: > Add touch keys which are handled in touchscreen driver. > Use KEY_APPSELECT for the left button because other devices use that > even though downstream kernel uses KEY_RECENT. > > Signed-off-by: Matti Lehtimäki > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH] ARM: dts: qcom: Disable pm8941 & pm8226 smbb charger by default

2023-12-04 Thread Konrad Dybcio
On 3.12.2023 15:19, Luca Weiss wrote: > From: Bryant Mairs > > Some platforms don't use the built-in charging hardware (e.g. milletwifi). > As this is an optional peripheral, default it to off. > > Keep it enabled for all other boards that use smbb. > > Signed-off-by: Bryant Mairs > Signed-off

Re: [PATCH v5] bus: mhi: host: Add tracing support

2023-12-04 Thread Manivannan Sadhasivam
On Mon, Nov 27, 2023 at 04:39:12PM +0530, Krishna chaitanya chundru wrote: > This change adds ftrace support for following functions which > helps in debugging the issues when there is Channel state & MHI > state change and also when we receive data and control events: > 1. mhi_intvec_mhi_states >

Re: [PATCH vhost 0/7] vdpa/mlx5: Add support for resumable vqs

2023-12-04 Thread Michael S. Tsirkin
On Mon, Dec 04, 2023 at 09:16:07AM +, Dragos Tatulea wrote: > On Mon, 2023-12-04 at 03:55 -0500, Michael S. Tsirkin wrote: > > On Mon, Dec 04, 2023 at 08:53:26AM +, Dragos Tatulea wrote: > > > On Sun, 2023-12-03 at 11:23 -0500, Michael S. Tsirkin wrote: > > > > On Sun, Dec 03, 2023 at 03:21

Re: [PATCH vhost 0/7] vdpa/mlx5: Add support for resumable vqs

2023-12-04 Thread Dragos Tatulea
On Mon, 2023-12-04 at 06:04 -0500, Michael S. Tsirkin wrote: > On Mon, Dec 04, 2023 at 09:16:07AM +, Dragos Tatulea wrote: > > On Mon, 2023-12-04 at 03:55 -0500, Michael S. Tsirkin wrote: > > > On Mon, Dec 04, 2023 at 08:53:26AM +, Dragos Tatulea wrote: > > > > On Sun, 2023-12-03 at 11:23 -

Re: [PATCH 1/2] ARM: dts: qcom: msm8226: Sort and clean up nodes

2023-12-04 Thread Konrad Dybcio
On 3.12.2023 23:38, Luca Weiss wrote: > From: Matti Lehtimäki > > Quite a few nodes haven't been sorted correctly by reg, so let's do this > now so that future nodes can be added at the correct place. > > Also at the same time, move the status property last. > > No functional change intended. >

Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-04 Thread Nitin Rawat
On 12/4/2023 3:54 PM, Luca Weiss wrote: From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 soc. Signed-off-by: Nitin Rawat Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio # QCM6490 FP5 [luca: various cleanups and additions as written in the cover letter] Signed-off-by

Re: [PATCH v5 0/3] Add UFS host controller and Phy nodes for sc7280

2023-12-04 Thread Nitin Rawat
+- 3 files changed, 94 insertions(+), 1 deletion(-) --- base-commit: ce733604ab13d907655fd76ef5be55d16bbd0f8c change-id: 20231204-sc7280-ufs-b1e746ea60ed Best regards, Hi Luca, Thanks for updating the patch. Posted a comment on 1 patch. Regards, Nitin

Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-04 Thread Luca Weiss
On Mon Dec 4, 2023 at 1:15 PM CET, Nitin Rawat wrote: > > > On 12/4/2023 3:54 PM, Luca Weiss wrote: > > From: Nitin Rawat > > > > Add UFS host controller and PHY nodes for sc7280 soc. > > > > Signed-off-by: Nitin Rawat > > Reviewed-by: Konrad Dybcio > > Tested-by: Konrad Dybcio # QCM6490 FP5

Re: [syzbot] [bpf?] [trace?] possible deadlock in dev_watchdog

2023-12-04 Thread xingwei lee
hello I reproduced this bug with repro.c and repro.txt =* repro.txt =* r0 = syz_clone(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ptrace(0x10, r0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f000200)={0x18, 0x4, &(0x7f0002c0)=ANY=[@ANYBLOB="18011c0012f185006d0095"], &(0x

Re: [PATCH v3 2/5] dt-bindings: input/touchscreen: Add compatible for IST3038B

2023-12-04 Thread Markuss Broks
Hi Conor, On 12/3/23 13:20, Conor Dooley wrote: On Sat, Dec 02, 2023 at 01:48:33PM +0100, Karel Balej wrote: From: Markuss Broks Imagis IST3038B is a variant (firmware?) of Imagis IST3038 IC, add the compatible for it to the IST3038C bindings. This one is better, but would be well served by

Re: [PATCH v3 5/5] input/touchscreen: imagis: add support for IST3032C

2023-12-04 Thread Markuss Broks
Hi Karel, On 12/2/23 14:48, Karel Balej wrote: From: Karel Balej IST3032C is a touchscreen chip used for instance in the samsung,coreprimevelte smartphone, with which this was tested. Add the chip specific information to the driver. Signed-off-by: Karel Balej --- drivers/input/touchscreen/

Re: [PATCH v3 2/5] dt-bindings: input/touchscreen: Add compatible for IST3038B

2023-12-04 Thread Conor Dooley
On Mon, Dec 04, 2023 at 02:40:44PM +0200, Markuss Broks wrote: > On 12/3/23 13:20, Conor Dooley wrote: > > On Sat, Dec 02, 2023 at 01:48:33PM +0100, Karel Balej wrote: > > > From: Markuss Broks > > > > > > Imagis IST3038B is a variant (firmware?) of Imagis IST3038 IC, > > > add the compatible for

Re: (subset) [PATCH vhost 0/7] vdpa/mlx5: Add support for resumable vqs

2023-12-04 Thread Leon Romanovsky
On Fri, 01 Dec 2023 12:48:50 +0200, Dragos Tatulea wrote: > Add support for resumable vqs in the driver. This is a firmware feature > that can be used for the following benefits: > - Full device .suspend/.resume. > - .set_map doesn't need to destroy and create new vqs anymore just to > update t

Re: [PATCH V3] vdpa/mlx5: preserve CVQ vringh index

2023-12-04 Thread Steven Sistare
What's the decision here, pull it, or do not fix it? - Steve On 11/3/2023 8:26 AM, Steve Sistare wrote: > mlx5_vdpa does not preserve userland's view of vring base for the control > queue in the following sequence: > > ioctl VHOST_SET_VRING_BASE > ioctl VHOST_VDPA_SET_STATUS VIRTIO_CONFIG_S_DRIV

Re: [PATCH V3] vdpa/mlx5: preserve CVQ vringh index

2023-12-04 Thread Michael S. Tsirkin
It's in my tee and I'm sending it to Linus. On Mon, Dec 04, 2023 at 08:33:22AM -0500, Steven Sistare wrote: > What's the decision here, pull it, or do not fix it? > > - Steve > > On 11/3/2023 8:26 AM, Steve Sistare wrote: > > mlx5_vdpa does not preserve userland's view of vring base for the cont

[GIT PULL] vdpa: bugfixes

2023-12-04 Thread Michael S. Tsirkin
There's one other fix in my tree but it was only posted very recently so I am giving it a week in linux next, just in case. The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab: Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) are available in the Git repository at: https://

Re: [PATCH V3] vdpa/mlx5: preserve CVQ vringh index

2023-12-04 Thread Steven Sistare
Glad to hear it, thanks - Steve On 12/4/2023 8:35 AM, Michael S. Tsirkin wrote: > It's in my tee and I'm sending it to Linus. > > On Mon, Dec 04, 2023 at 08:33:22AM -0500, Steven Sistare wrote: >> What's the decision here, pull it, or do not fix it? >> >> - Steve >> >> On 11/3/2023 8:26 AM, Steve

Re: [PATCH net-next v5 2/3] virtio/vsock: send credit update during setting SO_RCVLOWAT

2023-12-04 Thread Stefano Garzarella
On Sat, Dec 02, 2023 at 03:22:39PM -0500, Michael S. Tsirkin wrote: On Fri, Dec 01, 2023 at 01:40:41PM +0300, Arseniy Krasnov wrote: On 01.12.2023 12:48, Stefano Garzarella wrote: > On Fri, Dec 01, 2023 at 11:35:56AM +0300, Arseniy Krasnov wrote: >> >> >> On 01.12.2023 11:27, Stefano Garzarell

[PATCH] ipvs: add a stateless type of service and a stateless Maglev hashing scheduler

2023-12-04 Thread Lev Pantiukhin
Maglev Hashing Stateless Introduction This patch to Linux kernel provides the following changes to IPVS: 1. Adds a new type (IP_VS_SVC_F_STATELESS) of scheduler that computes the need for connection entry addition; 2. Adds a new mhs (Maglev Hashing Stateless

Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-04 Thread Nitin Rawat
On 12/4/2023 5:51 PM, Luca Weiss wrote: On Mon Dec 4, 2023 at 1:15 PM CET, Nitin Rawat wrote: On 12/4/2023 3:54 PM, Luca Weiss wrote: From: Nitin Rawat Add UFS host controller and PHY nodes for sc7280 soc. Signed-off-by: Nitin Rawat Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio

Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-04 Thread Manivannan Sadhasivam
On Mon, Dec 04, 2023 at 01:21:42PM +0100, Luca Weiss wrote: > On Mon Dec 4, 2023 at 1:15 PM CET, Nitin Rawat wrote: > > > > > > On 12/4/2023 3:54 PM, Luca Weiss wrote: > > > From: Nitin Rawat > > > > > > Add UFS host controller and PHY nodes for sc7280 soc. > > > > > > Signed-off-by: Nitin Rawat

Re: [PATCH 2/2] ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes

2023-12-04 Thread Luca Weiss
On Montag, 4. Dezember 2023 11:41:36 CET Konrad Dybcio wrote: > On 3.12.2023 23:38, Luca Weiss wrote: > > From: Ivaylo Ivanov > > > > Add CPU and SAW/ACC nodes to enable SMP on MSM8226. > > > > Signed-off-by: Ivaylo Ivanov > > [luca: update some nodes to fix dtbs_check errors, reorder, cleanup]

Re: [PATCH] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys

2023-12-04 Thread Luca Weiss
On Montag, 4. Dezember 2023 10:46:49 CET Matti Lehtimäki wrote: > Add touch keys which are handled in touchscreen driver. > Use KEY_APPSELECT for the left button because other devices use that > even though downstream kernel uses KEY_RECENT. > > Signed-off-by: Matti Lehtimäki > --- > .../boot/dt

[PATCH v7] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-12-04 Thread Alessandro Carminati (Red Hat)
In the kernel environment, situations frequently arise where identical names are shared among symbols within both the core image and modules. While this doesn't pose issues for the kernel's binary itself, it complicates trace or probe operations using tools like kprobe. This patch introduces "kas_

Re: [GIT PULL] vdpa: bugfixes

2023-12-04 Thread pr-tracker-bot
The pull request you sent on Mon, 4 Dec 2023 08:38:08 -0500: > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1e535748449a51842872c46db61525f7524fc63a Thank you! -- Deet-doot-dot, I am a bo

Re: [PATCH] init: move THIS_MODULE from to

2023-12-04 Thread Luis Chamberlain
On Sun, Nov 26, 2023 at 04:19:14PM +0900, Masahiro Yamada wrote: > Commit f50169324df4 ("module.h: split out the EXPORT_SYMBOL into > export.h") appropriately separated EXPORT_SYMBOL into > because modules and EXPORT_SYMBOL are orthogonal; modules are symbol > consumers, while EXPORT_SYMBOL are us

[PATCH net-next v6 1/4] vsock: update SO_RCVLOWAT setting callback

2023-12-04 Thread Arseniy Krasnov
Do not return if transport callback for SO_RCVLOWAT is set (only in error case). In this case we don't need to set 'sk_rcvlowat' field in each transport - only in 'vsock_set_rcvlowat()'. Also, if 'sk_rcvlowat' is now set only in af_vsock.c, change callback name from 'set_rcvlowat' to 'notify_set_rc

[PATCH net-next v6 4/4] vsock/test: two tests to check credit update logic

2023-12-04 Thread Arseniy Krasnov
Both tests are almost same, only differs in two 'if' conditions, so implemented in a single function. Tests check, that credit update message is sent: 1) During setting SO_RCVLOWAT value of the socket. 2) When number of 'rx_bytes' become smaller than SO_RCVLOWAT value. Signed-off-by: Arseniy Kras

[PATCH net-next v6 2/4] virtio/vsock: send credit update during setting SO_RCVLOWAT

2023-12-04 Thread Arseniy Krasnov
Send credit update message when SO_RCVLOWAT is updated and it is bigger than number of bytes in rx queue. It is needed, because 'poll()' will wait until number of bytes in rx queue will be not smaller than SO_RCVLOWAT, so kick sender to send more data. Otherwise mutual hungup for tx/rx is possible:

[PATCH net-next v6 0/4] send credit update during setting SO_RCVLOWAT

2023-12-04 Thread Arseniy Krasnov
Hello, DESCRIPTION This patchset fixes old problem with hungup of both rx/tx sides and adds test for it. This happens due to non-default SO_RCVLOWAT value and deferred credit update in virtio/vsock. Link to previous old patchset: https://lore.kernel.org/netdev/39b2e

[PATCH net-next v6 3/4] virtio/vsock: fix logic which reduces credit update messages

2023-12-04 Thread Arseniy Krasnov
Add one more condition for sending credit update during dequeue from stream socket: when number of bytes in the rx queue is smaller than SO_RCVLOWAT value of the socket. This is actual for non-default value of SO_RCVLOWAT (e.g. not 1) - idea is to "kick" peer to continue data transmission, because

Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc

2023-12-04 Thread Luca Weiss
On Mon Dec 4, 2023 at 6:28 PM CET, Manivannan Sadhasivam wrote: > On Mon, Dec 04, 2023 at 01:21:42PM +0100, Luca Weiss wrote: > > On Mon Dec 4, 2023 at 1:15 PM CET, Nitin Rawat wrote: > > > > > > > > > On 12/4/2023 3:54 PM, Luca Weiss wrote: > > > > From: Nitin Rawat > > > > > > > > Add UFS host