Article View: linux.kernel.netdev
Article #6809Re: [PATCH] irqchip/gic-v3-its: Enable dynamic MSI-X allocation
From: Vlad Poenaru
Date: Fri, 23 Oct 2026 12:16
Date: Fri, 23 Oct 2026 12:16
35 lines
12386 bytes
12386 bytes
Two updates on this report. First, a correction: it is not specific to our debug config. Our production config hits it as well, on every Grace + BCM57508 machine we tried, at the same point in boot. Second, the root cause is in bnxt_en, and this commit only exposes it. When the channel count is raised, bnxt_check_rings() allocates the extra MSI-X vectors before firmware has reserved them for the function. On BCM57508, writes to MSI-X table entries beyond the reserved IRQs don't stick, so the message written when the vectors are activated is lost, and the entries stay zero after the reservation. x86 never notices because GENERIC_IRQ_RESERVATION_MODE makes the PCI MSI domains MSI_FLAG_MUST_REACTIVATE and the message is written again at request_irq() time. With this commit, arm64 GICv3 takes the same dynamic path but writes the message only once, at allocation. Instrumenting the driver showed it directly. After the channel count went from 18 to 32, MSI-X entries 18-31 read back as all zero, while the cached msi_msg and the ITS LPI mapping were correct. Exactly the 14 rings on those vectors lost their completions. The fix is posted to netdev: https://lore.kernel.org/all/20261023121321.2127263-1-vlad.wing@gmail.com/ With it, the same machine runs cleanly through the channel change and the ring resize. I don't think the ITS change needs to be reverted. #regzbot monitor: https://lore.kernel.org/all/20261023121321.2127263-1-vlad.wing@gmail.com/ Thanks, Vlad
Technical Details
Message-ID:
<20261023121635.2190639-1-vlad.wing@gmail.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-351062-linux-kernel-netdev=dewy.ruReferences:
<20261022193620.2152038-1-vlad.wing@gmail.com>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-351062-linux-kernel-netdev=dewy.ru
From: vlad.wing@gmail.com (Vlad Poenaru)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] irqchip/gic-v3-its: Enable dynamic MSI-X allocation
Date: Fri, 23 Oct 2026 05:16:35 -0700
Organization: Usenet Network
Message-ID: <20261023121635.2190639-1-vlad.wing@gmail.com>
References: <20261022193620.2152038-1-vlad.wing@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="493539"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hcnTYhTWOtvY7aNT+kYAQmwd0gY= sha256:g+7wypULnNfRT290bO5SIIw9GIhsek5QgHqkNLBktOQ=
sha1:7EoybaO74wTxReQD7u/9V14/wP8= sha256:E2+s60VEqgSWZ7ao3+Nn+h5ICkqJwiiqckWMftia694=
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 3AEF5111495; Fri, 23 Oct 2026 15:17:06 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Status: No, score=-3.148 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
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 gzBUIdWd0wCh;
Fri, 23 Oct 2026 15:17:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-351062-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id DBEED111489; Fri, 23 Oct 2026 15:16:53 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 0281360911F; Fri, 23 Oct 2026 12:16:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792757801;
b=haHiJBuZwSU0Rc3a3fnLZs3vcdRYCRlED3eDDn208mYLeHqjrhej44gpKiM57AqOhO5I
RV4BOib52gpGKTJYUhNmv+VwMXpO7KH63ugyEhZq4E02kS3GJUglQ49teLGZMS+KFg3vD
4GYrhXkYM6JJduwu/jBnwIB7ROLnLhibtykKy2Hvps97IvO0KHLmRAO2BWxTn6Szi/i++
/fdWMg0ryltCSHgVyiLTPEr7NSWzn/23+eStLabXWIyNw2lK092FrHi8hk9CMpx0SpL4N
d/ef9qfq16y7enVnK4AKS+2dksHhh5svHQtc6Jk4pIZr8vAw+RB8/DyKSEvIKTTf5qQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792757801;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding;
bh=pH7C+Ic+skXIiL+8yDLrJvoIJ/Xi8EZtJUFQlV0QBE0=;
b=flVtd4M7FnBErZbHF9VqfyK1P9Jsw59P0LWlYH9a4WuSVIpUEDx1MMHv0nW2YBlQV96R
3hyab6QR3641dobqEhbSvu2r4JS6h0A3cKujWolmTLdqdiuVsDx6eZeSRaqSR2snu6/YL
3MLNiuC4nyYftTDj9QzS6+0av0EkhHiRy6tMMVY+u0Hz5ZEizUdJaLfxIw499UgaMVkU4
qTofDalITndvj/7p/NcIXhFYDyP7klw5H6ZruFf5s+fFVU7AlxigsDJ3OLck9wzMnm8/U
OZ9IqASXZ7bQMY2YzN/blhroyCb89zhS7sxHv81te4XQ4UXAhE2gyoUlh40ntLtK+9A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=KW995WiV;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id F2CB4606A329;
Fri, 23 Oct 2026 12:16:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=KW995WiV
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.45
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792757800;
b=ej8o2SVbs5hmnKS1lI8ZMkC44mNGI44X+WaLHFs0bvjM3r54ThGlKBUl/oWuiTpYKa4F
kB9ri9N1bhKIoSfLX2xcBPRN7mkHJEaZlsZKfSZZORZi7rXGo3+rQlBM5yre0b/LZLlc6
KHXcXm7MByrvwQ5ZUFQ+2z9LcXUwtoFtu2bVfB0s7ilLBZfoZ6d5Ol+uvIT0+Ie8K2yK9
EGmvQ2QoQn16yssqajtd3rDVmW4Bev2BkI5tJ4obGtouE7w0s/sNinZLMtg50WzuI6EFA
S0C30NaSYzDT75Fug2owyf0yeGsO5OoB5Ca/1iqlMerYaiP/KLXA7YcnyYzZVMQMW1g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792757800;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
MIME-Version:Content-Transfer-Encoding;
bh=pH7C+Ic+skXIiL+8yDLrJvoIJ/Xi8EZtJUFQlV0QBE0=;
b=vMHebYO3AgdMo3e2mFcihcZVudb04A+T/NoBLKTGNzmT3kg3B763ZVk86O3qx/xF9NjP
1joNdePvhZ+znSj+Fnic2yZtMM35UVDuFzcoR93hdTpc+DYwtpfSfDd9X5RXvOIiBMCcd
vJyJw37D+fFEav/68cYckvu9ezzSrjdRnEMqAtRI3s5FskoBeKAvEQrPpOHXpTFPWc9GF
8wurhKXofxcOG8B8TREBWmylLLJHVGmd3d6vd5IDo/uCI3LkB/54d1ykV0w3y3vA4MdwH
u9j/47bPuC6Q6TQ25/lYzN4RannX5IdHvCS3yma6LA8VUKAibxGqTX/ohdvELeqO/8g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=KW995WiV;
arc=none smtp.remote-ip=209.85.218.45
X-Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9FF7606A31B
for <netdev@vger.kernel.org>; Fri, 23 Oct 2026 12:16:39 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B9FF7606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-c4322d310e7so122989666b.0
for <netdev@vger.kernel.org>; Fri, 23 Oct 2026 05:16:39 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792757798; x=1793362598; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=pH7C+Ic+skXIiL+8yDLrJvoIJ/Xi8EZtJUFQlV0QBE0=;
b=KW995WiV+2FKvyP/wgDtPTisweGN15FcNyMcGyClqJusS2poI0hz2xccJKOyCiI8Pv
MqChXnM36N3LKhLeA3IZ0Xk4pnF8RWFkyj8Q69NAruevjjSaB2ttKASmsWper5vSfGhD
Jz55nnvno4+UoxIFirw6wrTT0NMXfzI0L1sUd9/cmYHESFmkqHBm0sTPd/Sq9yEv7JC8
8ZKUjFoprG35SN44ahrR4rNebW1k3645bCEZt+RAn4PufSpxNXeTdhzh32T8QTsaWlka
twwdtrPXQaN7hhH/6wfANSkuq/zE28bvyJBU9X+tGSK0eSoVl7zYGk2/bhim0dny6MOx
KiDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792757798; x=1793362598;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to: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bPhDe4xNtjhK3qbNVCa7kc5HQpnlJX0TY
brM4Aa85nG+3/D2hGhCSlE/Ay5APSlr7ldAVf/+qKEcNVP2ffZy2Izbm2nWQ3FvABmX4t3Sb2c0
nXvVzYm0DbuLrdH40sbewmetqdH8hwqna6cUbYKXQlju2+01Q==
X-Received: by 2002:a17:907:9309:b0:c2e:63ba:1f90 with SMTP id a640c23a62f3a-c46a92d5849mr287640866b.48.1792757797774;
Fri, 23 Oct 2026 05:16:37 -0700 (PDT)
X-Received: from localhost ([2a03:2880:32ff:4f::])
by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c46a5cf5540sm95824066b.78.2026.10.23.05.16.37
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 23 Oct 2026 05:16:37 -0700 (PDT)
X-Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>,
Michael Chan <michael.chan@broadcom.com>,
Pavan Chebbi <pavan.chebbi@broadcom.com>,
Jakub Kicinski <kuba@kernel.org>,
Breno Leitao <leitao@debian.org>,
Andrew Preece <apreece@meta.com>,
netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
regressions@lists.linux.dev
X-Mailer: git-send-email 2.53.0
X-In-Reply-To: <20261022193620.2152038-1-vlad.wing@gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list