Article View: linux.kernel.netdev
Article #3097Re: [PATCH net-next v2 02/11] net: ethernet: qualcomm: ppe: Fix multicast queue config table access
From: Jie Luo
Date: Wed, 14 Oct 2026 07:20
Date: Wed, 14 Oct 2026 07:20
26 lines
13243 bytes
13243 bytes
On 10/12/2026 9:03 PM, netdev-bot+sashiko@kernel.org wrote:
>> Fix it by converting the queue ID to the index of the multicast queue
>> configuration table and accessing only the 3 words of the entry.
>>
>> Signed-off-by: Luo Jie <jie.luo@oss.qualcomm.com>
> [Severity: Low]
> Should this have a Fixes: tag? Commit 806268dc7efd added both the
> multicast_queue_cfg[5] declaration and the absolute queue_id indexing:
>
> Fixes: 806268dc7efd ("net: ethernet: qualcomm: Initialize PPE queue management for IPQ9574")
>
> ipq9574_ppe_qm_queue_config[] covers multicast queues 256 to 299. That
> means kernels which already have the IPQ9574 PPE QM code take the broken
> else branch in ppe_config_qm() on every probe.
>
> Since this fixes code that is already merged, could it be sent on its
> own to net with the Fixes: tag, rather than as part of the IPQ5424
> series?
The IPQ5424 QM configuration in this series depends on this fix. The
issue is only theoretical: it was found by code inspection, and no
user has reported it. So we would like to keep this patch in this series
for net-next, without the Fixes: tag.
Technical Details
Message-ID:
<56401e91-6d8e-4489-ab34-ee25af031a74@oss.qualcomm.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346074-linux-kernel-netdev=dewy.ruReferences:
<20261011-qcom_ipq5424_ppe-v2-2-8c7b057e2c43@oss.qualcomm.com> <179181020968.434549.112728167970187942@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346074-linux-kernel-netdev=dewy.ru
From: jie.luo@oss.qualcomm.com (Jie Luo)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 02/11] net: ethernet: qualcomm: ppe: Fix
multicast queue config table access
Date: Wed, 14 Oct 2026 15:20:53 +0800
Organization: Usenet Network
Message-ID: <56401e91-6d8e-4489-ab34-ee25af031a74@oss.qualcomm.com>
References: <20261011-qcom_ipq5424_ppe-v2-2-8c7b057e2c43@oss.qualcomm.com>
<179181020968.434549.112728167970187942@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2240702"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:bv1q7Ki44WTFiM4my1Poxan8tbw= sha256:trXsBij/H3tSkyiTzpAfXQCRuyeAi5b5GzD6LvtAMuA=
sha1:h934i1twIwqdORyzMyvPzfu9rbc= sha256:Ngsn0G5tbMHpdZNQeO8pAjkl1ba7ZI7PiAcH0J+rFac=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id AFE7A10FFDE; Wed, 14 Oct 2026 10:24:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: 0.351
X-Spam-Status: No, score=0.351 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=no autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=qualcomm.com header.b=IrazKw40; dkim=pass (2048-bit key)
header.d=oss.qualcomm.com header.b=e96y2sQ0
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 71MojrGgdaSZ;
Wed, 14 Oct 2026 10:23:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-346074-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=oss.qualcomm.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 4C28310FFE9; Wed, 14 Oct 2026 10:23:46 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id B4CFA410D5; Wed, 14 Oct 2026 07:21:04 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 800C747CA64;
Wed, 14 Oct 2026 07:21:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="IrazKw40";
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="e96y2sQ0"
X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 459774119F9
for <netdev@vger.kernel.org>; Wed, 14 Oct 2026 07:21:03 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791962464; cv=none; b=IBEZQE6NZmdNgZ5Sh0GSp2Xn68IpI6XpzWQFdxzkFtvhAcdEyxZAN+CEjxjmiWipQ5HJRzNWkNQzMjzHiyF+SHsk8qFX1F9oBQrLD/K7jCi1aJ7ULDabYcmrVis811srDUGEXaVzCQzJfrAx8S2fcuZZoTX2Kr7153AN44gKkPI=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791962464; c=relaxed/simple;
bh=dJv04GCBfv9Q9OqQCW/KCpqg3mnXeg8ey1h8IgH3AvE=;
h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References:
In-Reply-To:Content-Type; b=r7FaoRxEwtDACy/aAkt46duhxlmmkGpbygEFesgn83BnySLZmDK1tbIxSMsz6RhjAptBwkxc70PjOSc0MqKbPhGGVAr4qBogiynE+6Qtb0H8Mx1WgcDgNw3Fg14k2YrmgHPdI7AfmTJzDq+x5dcmSuLvK7IjdsN7jw7IGx8rR1I=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=IrazKw40; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=e96y2sQ0; arc=none smtp.client-ip=205.220.168.131
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com
X-Received: from pps.filterd (m0279864.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69E4h2al806684
for <netdev@vger.kernel.org>; Wed, 14 Oct 2026 07:21:02 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
4m2/P44n+1lUk9jmbr0HgeEa8ci+GuUp5mLQUxQ+IiQ=; b=IrazKw401apH70ng
ZG35AdfkadcMTRiGauT8oOeMipmvv6JiHOVgf4rc/iIBJW7AaLk8EJUr2hSFIT5n
NPIXUW3/lcDwy5JMCSz0QGRv41mmm5qbMHamE/PYG1MfR2gEQlKhem0ckYhB0c1r
AxxDqa0IgcArLWECWVtYgjsJn8sXzc84b2AasxCFuBgfsPp/xTTLCiDDAxNUulHf
eYQjLBi1AmpkieaF+uja4aO78qH5PnqRWZJ1cTyokXnLSyJ1r+n9OWp+kAcm/gEL
fr5l/aAxVfUEPeeKI7nttH5nnzTa9hrkP+DPGeLPcIcJalNUrH9Gd2RmkqyDK4CU
fGsd1w==
X-Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h9ud6a6eh-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <netdev@vger.kernel.org>; Wed, 14 Oct 2026 07:21:02 +0000 (GMT)
X-Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3ab67ff8ec3so81487a91.0
for <netdev@vger.kernel.org>; Wed, 14 Oct 2026 00:21:02 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1791962462; x=1792567262; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:content-language
:references:cc:to:subject:from:user-agent:mime-version:date
:message-id:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=4m2/P44n+1lUk9jmbr0HgeEa8ci+GuUp5mLQUxQ+IiQ=;
b=e96y2sQ0uT8AltmlRQ91JCzfjCfUzmpZ7ZNrMimJUj3sHXew3JpfcCSJt6RGTPMYVD
gQTE6zdsEGuPCOvq3CjFsHES3bl2zlLqOJX6SHw+yBMfLOA2dH0E0qvxfV0zfjA6h+ze
J8GfM3J8pfj4z2iY6h0JjRYpAUK0bhog1/DpfAtuuUXmCViDMB+gesZLIHQ0QQ7cbq/y
542MeJTaT0PvTTklxa/uS4iasNckk79jqr5Z+kR7ySBVm9Pb8mNRr46rY8cEpcSK0Foa
CU/l/4zh6NaLYS37+npq++3YAySbYxpKu93t+27x2HhGj55/LSkXxKFF8Ygp82nzCtz4
qHTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791962462; x=1792567262;
h=content-transfer-encoding:content-type:in-reply-to:content-language
:references:cc:to:subject:from:user-agent:mime-version:date
:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=4m2/P44n+1lUk9jmbr0HgeEa8ci+GuUp5mLQUxQ+IiQ=;
b=yfUrEetdeKvKR9RE21LaKLO6b+/e5NeZwGo+2gUmxIgW4rFufywxfJ1w5gDWXcjLpH
qdnwssdeVQil3qZYPowaA06IvUTol6OEfgyJfsLjgj6ObutnJ5BkaPrY5KUE7EfCfsFB
yIHYLU94gT3b5eVDlrd9AMwEs/vTdC448B5UQ2dOpwEnvfsJg5plOy0z+OSrMxG8jjk1
RAmJ53zIqaIJr4pdqs/wtJCZdoGIttY3QVZLUCpJ6QeQG8pAYB4Il2LaIsrO9x6L8vRm
v18NoylOUXPGGTiAu3QSBJo1mrzggeRNgO8TujPGCu2vLG4KuqTVF96quv9X4FijBU8t
QcuQ==
X-Forwarded-Encrypted: i=1; AKwUvBzUWa7OxjpJaCMgq8eBh7X6kRLPUWccGDNhBAiTXKc7vIDqio1H7re0ksxRTjl2A6Qe8UwetrI=@vger.kernel.org
X-Gm-Message-State: AFq9FYKzv8n3xO+jLhOdoP5oYhXuJc7bBSkKFkx/xpZFnchcNgdO0MVF
3DSkRLfU1wHHzzfBME4AamZ4oCRfzvKdUr2WOWMcV2W/iCgbAv2K4d+0hYt82xugqaZou9BWBPZ
FGOE7/gYYIGMvE7baCSdp8pwZJALdm0B57BvyxD1p0vESh2ssM58elAAqHDQ=
X-Gm-Gg: AYBFou2CLRGAQCre0tYroBBpjLtLUZS1LzONvbs7Fdr9YiqtGctqFLFcejMKGRWMDia
flulTItL4047xbz8W0Ju641HDMAeclxkic0HlagVye9MP7cWxDOqUltcoS1sSM9G4Kz0hxO3NJC
sTrvRMNI8LbobASnKFijzHn2IjQry8JSEkMWmmKQLazdjPcWnsmbnjWloaaK7oe5PYdEnOuknHb
bUffGZlYzbdNh/M8zfxN3WVV8wGUqlHQQgNFDjwL5OS7BBxwfek2WaHAoJw5QaqVgP0Z0/YHLHc
/AJ8YBc8f120+b7YmYlnNM3ZTkhWq/4AeCGl4o7zQ+m0mhT6QzUH7JefBImIeP9d5euSCEiBAnG
yx17hxjiqQzimWwxhprzBVoxzKj9B1fJ0CSMOZ75L2muTJNus6W4/JpgrFNW1L1pmSA==
X-Received: by 2002:a17:90b:3912:b0:3a7:f64f:6473 with SMTP id 98e67ed59e1d1-3ab3ac6e6camr12528254a91.50.1791962461355;
Wed, 14 Oct 2026 00:21:01 -0700 (PDT)
X-Received: by 2002:a17:90b:3912:b0:3a7:f64f:6473 with SMTP id 98e67ed59e1d1-3ab3ac6e6camr12528187a91.50.1791962460699;
Wed, 14 Oct 2026 00:21:00 -0700 (PDT)
X-Received: from [10.133.33.181] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4])
by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3ac5f24b74csm3549219a91.7.2026.10.14.00.20.55
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Wed, 14 Oct 2026 00:21:00 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-User-Agent: Mozilla Thunderbird
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, quic_leiwei@quicinc.com,
quic_suruchia@quicinc.com, quic_pavir@quicinc.com, horms@kernel.org,
corbet@lwn.net, skhan@linuxfoundation.org, rdunlap@infradead.org,
netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, quic_kkumarcs@quicinc.com,
quic_linchen@quicinc.com
X-In-Reply-To: <179181020968.434549.112728167970187942@kernel.org>
X-Proofpoint-ORIG-GUID: W3-31Llx5dCNMXDNdccMWo-1EKmUgKw0
X-Proofpoint-Spam-Info: AW1haW4tMjYxMDE0MDAyOSBTYWx0ZWRfXyEKbpDKpB3c7
U5NidPr+5Esf5I1Q96+86xhYTxZL6cZWdJ0vVUD8VZU0ENpYZTKSrjmaTfmIjN1HS6BZTSuWChC
9a4YM0TMn67vzGgwfEHV2i3dRHxn3Ng=
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE0MDAyOSBTYWx0ZWRfXwLeg8rX1n+uu
1Bx5CR2VSnlhYG7LiPhukGncqk0CTuDS8aPteBtvrTZPa0MY3OI3ZvIrLom6Icjcqsx7hDjH5U7
AnFNW2zEKIFNSI0hraT+KuT70lPuBBkcBbT30WOb1mHDX22pU5U/xL1bZdrDvEj0qbhvh0ujTZb
MBR9pSDGpFbCF1J2+kZRejDffks8YJs/koGdyGwLR2SzUZ/Bi3V7OQMK5iCBNw+sSfzUmcnAUl/
O4JLvB8g2/YX7RLCYNp3gBBwbM4CfQIfYk+evoqCHLPiCJvhewB/Ehhhh5zVxamx84t8Supxhh+
tEQEqIZMfkIag3uQ1w0ilJqfpl/hJ607z6ySPpSTmIlBXlcNRHqEHqAlLINxfEbQkYf7ibYIchb
vKRF2+9Rpps1HPI4CWacNtDCsLzvxCodvWCE44RLtOfZLltfxsvGnNQI594stD/YhGd0G8oUQv0
hmas6lzovliKCsaw4lQ==
X-Authority-Analysis: v=2.4 cv=fJ6sTpae c=1 sm=1 tr=0 ts=6acf2d5e cx=c_pps
a=RP+M6JBNLl+fLTcSJhASfg==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17
a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10
a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22
a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=1_IYofuslNu8jKGPog4A:9 a=QEXdDO2ut3YA:10
a=iS9zxrgQBfv6-_F4QbHw:22
X-Proofpoint-GUID: W3-31Llx5dCNMXDNdccMWo-1EKmUgKw0
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49
definitions=2026-10-13_01,2026-10-09_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
priorityscore=1501 spamscore=0 lowpriorityscore=0 malwarescore=0
suspectscore=0 adultscore=0 impostorscore=0 phishscore=0 bulkscore=0
clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc=
route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000
definitions=main-2610140029