Re: [PATCH net v4] virtio_net: Do not send RSS key if it is not supported

2024-04-07 Thread Xuan Zhuo
On Wed, 3 Apr 2024 08:43:12 -0700, Breno Leitao wrote: > There is a bug when setting the RSS options in virtio_net that can break > the whole machine, getting the kernel into an infinite loop. > > Running the following command in any QEMU virtual machine with virtionet > will reproduce this

[PATCH v3 2/2] ARM: dts: qcom: Add support for Motorola Moto G (2013)

2024-04-07 Thread Stanislav Jakubek
Add a device tree for the Motorola Moto G (2013) smartphone based on the Qualcomm MSM8226 SoC. Initially supported features: - Buttons (Volume Down/Up, Power) - eMMC - Hall Effect Sensor - SimpleFB display - TMP108 temperature sensor - Vibrator Note: the dhob and shob reserved-memory

[PATCH v3 1/2] dt-bindings: arm: qcom: Add Motorola Moto G (2013)

2024-04-07 Thread Stanislav Jakubek
Document the Motorola Moto G (2013), which is a smartphone based on the Qualcomm MSM8226 SoC. Acked-by: Krzysztof Kozlowski Signed-off-by: Stanislav Jakubek --- Changes in V3: - no changes Changes in V2: - collect Krzysztof's A-b Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1

[PATCH net-next v1 04/12] mm: page_frag: add '_va' suffix to page_frag API

2024-04-07 Thread Yunsheng Lin
Currently most of the API for page_frag API is returning 'virtual address' as output or expecting 'virtual address' as input, in order to differentiate the API handling between 'virtual address' and 'struct page', add '_va' suffix to the corresponding API mirroring the page_pool_alloc_va() API of

Re: [PATCH net v4] virtio_net: Do not send RSS key if it is not supported

2024-04-07 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Wed, 3 Apr 2024 08:43:12 -0700 you wrote: > There is a bug when setting the RSS options in virtio_net that can break > the whole machine, getting the kernel into an infinite loop. > > Running the following command

[PATCH 2/3] dt-bindings: remoteproc: qcom,sc7280-wpss-pil: Fix qcom,halt-regs definition

2024-04-07 Thread Luca Weiss
Set the 'items' correctly for the qcom,halt-regs property and update the description to match what it should be. Signed-off-by: Luca Weiss --- .../devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 0/3] Fix up qcom,halt-regs definition in various schemas

2024-04-07 Thread Luca Weiss
changed, 15 insertions(+), 3 deletions(-) --- base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc change-id: 20240407-qcom-halt-regs-fixup-2c6cce9734e4 Best regards, -- Luca Weiss

[PATCH 1/3] dt-bindings: remoteproc: qcom,qcs404-cdsp-pil: Fix qcom,halt-regs definition

2024-04-07 Thread Luca Weiss
Set the 'items' correctly for the qcom,halt-regs property and update the description to match what it should be. Signed-off-by: Luca Weiss --- .../devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 3/3] dt-bindings: remoteproc: qcom,sdm845-adsp-pil: Fix qcom,halt-regs definition

2024-04-07 Thread Luca Weiss
Set the 'items' correctly for the qcom,halt-regs property and update the description to match what it should be. Signed-off-by: Luca Weiss --- .../devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [PATCH bpf-next] rethook: Remove warning messages printed for finding return address of a frame.

2024-04-07 Thread Google
On Wed, 3 Apr 2024 16:36:25 +0200 Daniel Borkmann wrote: > On 4/2/24 6:58 PM, Andrii Nakryiko wrote: > > On Mon, Apr 1, 2024 at 12:16 PM Kui-Feng Lee wrote: > >> > >> rethook_find_ret_addr() prints a warning message and returns 0 when the > >> target task is running and not the "current" task

Re: [PATCHv2 1/3] uprobe: Add uretprobe syscall to speed up return probe

2024-04-07 Thread Google
On Fri, 5 Apr 2024 10:56:15 +0200 Jiri Olsa wrote: > > > > Can we avoid this with below strict check? > > > > if (ri->stack != regs->sp + expected_offset) > > goto sigill; > > hm the current uprobe 'alive' check makes sure the return_instance is above > or at the same stack address, not

Re: [PATCHv2 1/3] uprobe: Add uretprobe syscall to speed up return probe

2024-04-07 Thread Google
On Sat, 6 Apr 2024 19:55:59 +0200 Oleg Nesterov wrote: > On 04/06, Masami Hiramatsu wrote: > > > > On Fri, 5 Apr 2024 13:02:30 +0200 > > Oleg Nesterov wrote: > > > > > With or without this patch userpace can also do > > > > > > foo() { <-- retprobe1 > > > bar() { > > >

Re: [PATCH] kprobes: Fix possible warn in __arm_kprobe_ftrace()

2024-04-07 Thread Zheng Yejian
On 2024/4/8 10:50, Masami Hiramatsu (Google) wrote: On Sun, 7 Apr 2024 11:59:04 +0800 Zheng Yejian wrote: There is once warn in __arm_kprobe_ftrace() on: ret = ftrace_set_filter_ip(ops, (unsigned long)p->addr, 0, 0); if (WARN_ONCE(..., "Failed to arm kprobe-ftrace at %pS (error %d)\n",

Re: [PATCH] kprobes: Fix possible warn in __arm_kprobe_ftrace()

2024-04-07 Thread Google
On Sun, 7 Apr 2024 11:59:04 +0800 Zheng Yejian wrote: > There is once warn in __arm_kprobe_ftrace() on: > > ret = ftrace_set_filter_ip(ops, (unsigned long)p->addr, 0, 0); > if (WARN_ONCE(..., "Failed to arm kprobe-ftrace at %pS (error %d)\n", ...) >return ret; > > This warning is due to

Re: [PATCH v3 3/3] vhost: Improve vhost_get_avail_idx() with smp_rmb()

2024-04-07 Thread Gavin Shan
Hi Michael, On 3/30/24 19:02, Gavin Shan wrote: On 3/28/24 19:31, Michael S. Tsirkin wrote: On Thu, Mar 28, 2024 at 10:21:49AM +1000, Gavin Shan wrote: All the callers of vhost_get_avail_idx() are concerned to the memory barrier, imposed by smp_rmb() to ensure the order of the available ring

Re: [PATCH 1/3] dt-bindings: remoteproc: qcom,qcs404-cdsp-pil: Fix qcom,halt-regs definition

2024-04-07 Thread Krzysztof Kozlowski
On 07/04/2024 11:58, Luca Weiss wrote: > Set the 'items' correctly for the qcom,halt-regs property and update the > description to match what it should be. > > Signed-off-by: Luca Weiss > --- > .../devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml| 6 > +- > 1 file changed,

Re: [PATCH 2/3] dt-bindings: remoteproc: qcom,sc7280-wpss-pil: Fix qcom,halt-regs definition

2024-04-07 Thread Krzysztof Kozlowski
On 07/04/2024 11:58, Luca Weiss wrote: > Set the 'items' correctly for the qcom,halt-regs property and update the > description to match what it should be. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

UBSAN array-index-out-of-bounds in read_blocklist

2024-04-07 Thread Ubisectech Sirius
Hello. We are Ubisectech Sirius Team, the vulnerability lab of China ValiantSec. Recently, our team has discovered a issue in Linux kernel 6.8. Attached to the email were a PoC file of the issue. Stack dump: [ cut here ] UBSAN: array-index-out-of-bounds in

Re: (subset) [PATCH v3 1/2] dt-bindings: arm: qcom: Add Motorola Moto G (2013)

2024-04-07 Thread Bjorn Andersson
On Sun, 07 Apr 2024 11:05:10 +0200, Stanislav Jakubek wrote: > Document the Motorola Moto G (2013), which is a smartphone based > on the Qualcomm MSM8226 SoC. > > Applied, thanks! [1/2] dt-bindings: arm: qcom: Add Motorola Moto G (2013) commit: 4785ec47ec890fe66f31ee886a767dbdf2ea6bae

Re: [PATCH 0/2] Small fixes for MSM8974 SoC dtsi

2024-04-07 Thread Bjorn Andersson
On Mon, 18 Mar 2024 10:24:40 +0100, Luca Weiss wrote: > One fix for dt schema validation, one for the /chosen node. > > Applied, thanks! [1/2] ARM: dts: qcom: msm8974: Add @0 to memory node name commit: cad23ffd46e2205582f5a9e9014b3d78ec0256db [2/2] ARM: dts: qcom: msm8974: Add empty