From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 BF19233EAE7 for ; Tue, 6 Jan 2026 15:07:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767712043; cv=none; b=CZQWAoCKVAyiEDZhIi8DfyqLirJYBOD9DV9Rjy21FBl+gVvOncFGPyJ4g3fZtKqz6aphQsCuDaK4CBrAgcmz4lrUZewNetDb9oRvy0xC3/pALuyJSurDvqJccDQWWp7GCQqTgHJYwNqYGJl8idbnFHHrxX5XmjEo2MM23arxiNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767712043; c=relaxed/simple; bh=CMjxqxLw/Ci5doH1lPqdeqau4OYfeQieSlVZ2ZdxM50=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=pIn9chitOt9u4S3BgS9CAD8a3J206iInLA+PGSLxd4bMb9cY8LRul0wB4uoQ+MMJIzPClHMgkf1RBGre/oyWHKD/P6zNp3ThNBxDxLJNsBTuU2hj8mN8MzHHFmJ5QAsYOOELUouVQEt21bagNj77aLYeikcO/IxVAD3xXiDicu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=MSISJFIi; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=qlp+1pX9; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="MSISJFIi"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="qlp+1pX9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767712037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CMjxqxLw/Ci5doH1lPqdeqau4OYfeQieSlVZ2ZdxM50=; b=MSISJFIiQLDRiYi9EModgrueRSOgsMeWbrJTEILwp0R0X4utqkdSJFnRbtv8EcZa6Szqc2 AeiB99TW0JqQ4eAGRqCYkQer+jSO6gCrQ618DaAZq0t2QQaD7DSgY0aYL9iAp8S3mzcv55 hypY+XQNkkScw/LQIu4TACmVW8GwTRg= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-562-zUoyhCfoPc-oJf5sn9PBfg-1; Tue, 06 Jan 2026 10:07:16 -0500 X-MC-Unique: zUoyhCfoPc-oJf5sn9PBfg-1 X-Mimecast-MFC-AGG-ID: zUoyhCfoPc-oJf5sn9PBfg_1767712036 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b2e235d4d2so421108285a.3 for ; Tue, 06 Jan 2026 07:07:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1767712035; x=1768316835; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=CMjxqxLw/Ci5doH1lPqdeqau4OYfeQieSlVZ2ZdxM50=; b=qlp+1pX9JevUT3wchyLMAaupgWRCW1VG8f5ue9FSnCblbkrE/C5Jd9n2yB3D8Cslup zNeCvSa9MGTPI5T+asWCaiUE1o3uF5Fg+pp2IHWGD1eo1hIOHDUasV8zgVEZYXXuRfbA b9jiCy/42i2KWyTgp+HJfU33X5eTzOwwpn32hxoiIDuS55xr/TawPnmJo9X+665nMniO wULcHXKC9BX2Y6fB5bxXoU9iIVxopOgmCjApYkwkDGnl7wicxn1+zpW+TzG7nS2DyjSk SWnBhW0x+5J+gZG8GjHB/DgOt3eM8xN1YaJdSFbOpBtl+BCOcLi5ipsnje2SwIWRNpy1 pqOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767712035; x=1768316835; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CMjxqxLw/Ci5doH1lPqdeqau4OYfeQieSlVZ2ZdxM50=; b=JZlhCRZUdwlkzf/lPr4DtikhZTKXy7YTr1wdNhtwPQHcy2otiHt2sEpFnw6o7Jp1G6 OVPJkjDgz3eAaktiNa/91Q72f3jfuyj+WMV0iemXwlarF800pTgQrL36nxYByMloXmsF oynqzcEPkiMKiFbSHnw6azb6BXmxYFg/ltNPdF986dHAk7x7F6fasOKGDzed+cqlsS52 EsqyFvDfnLK1O5jvjJ6NxQcNT06p91ONS7/vHwgkytG9GTA2hKbMBKaEbVvpJKeVFy6f jr0PMgEFIX/DYh8gwUi0o3yaNFOMtCwEAbVVazs8ttUG0rNZbgRVOaKSdOIMC1u1T6cB ShZg== X-Forwarded-Encrypted: i=1; AJvYcCUDlN2w1B34oBjrZF5NR8t35hFixt7MEGbRgkYa/mZYadICKt1E5UgZYmZjsmPW4B0caEa2GvVEl7bMP3c=@vger.kernel.org X-Gm-Message-State: AOJu0YxbQ86Y2gqeSNfxEUZPvre/y59zHYhSd6qhoScRH6PHmmYqMeAH HC+67F9WO4jtS3984/wnGBjJjk+bSuc7iXyXRDeWCPm+YTsc9csiFv2VPI4l94mh2OtkHV566cW knqTZlB0ErU4fyIqXO79JnCej2DqzW94zfZ5hJxyDjAuyH+CitxRoNqohbaT4IoBgJDqrUoT1Qg == X-Gm-Gg: AY/fxX46clsoPEwzhJIiCNLzsvmBjwQqW2VAxkTBPwrej++A/1AdJzsVg5UU6PYbGsW UCcU+xoKOQVheSYrQ1CTH1eZXKrfMOByK3TuWVTHqG+0oiZ+qyGlDW3rw910BVK60KRHsGacoNW brWgNcOFfljL1aLcWH2DR7sTH6gi4lGL9hNiVWCwyvyYhzkSVw+IpuXB7qznbAS4tYsqUzXg4eF IkScqWGhGt41OmLJtzS6JIdxV2b/SW11BLlZJtS8/K4D1Ot0CuPnd76LDspnDpWOk49I9NRUEkF +SiBZpy7u3IyVJ3xDOglLKbKyY0TLv6LdcKg39KatfhfRTqiqHV5Xz9kSbtEtxJwpeEGRtj4h+T DMo+ARuObdBTVSOxO2Ki41mVcKenpxYnQRsLTG+o9AN2I9utLzqeliESh8z0Ljrjgq6Sdb9TI9/ e/AA== X-Received: by 2002:a05:620a:7107:b0:8c3:528b:1b10 with SMTP id af79cd13be357-8c37ebddb4cmr380384185a.90.1767712035398; Tue, 06 Jan 2026 07:07:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiDyi2NMxi0Q7EnkMQjTjzMEV1g2tympMDCJWpCiVD6eHjpDWXm78MFa6DFOXzNiCNQZb8pw== X-Received: by 2002:a05:620a:7107:b0:8c3:528b:1b10 with SMTP id af79cd13be357-8c37ebddb4cmr380362385a.90.1767712033474; Tue, 06 Jan 2026 07:07:13 -0800 (PST) Received: from thinkpad-p1.localdomain (pool-174-112-193-187.cpe.net.cable.rogers.com. [174.112.193.187]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8c37f53129fsm180726485a.44.2026.01.06.07.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 07:07:13 -0800 (PST) Message-ID: <9ec6928cd4e7a599d4bbb6ac0258da8997518d3a.camel@redhat.com> Subject: Re: [tip: irq/msi] PCI: dwc: Enable MSI affinity support From: Radu Rendec To: Jon Hunter , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org Cc: Thomas Gleixner , x86@kernel.org, "linux-tegra@vger.kernel.org" Date: Tue, 06 Jan 2026 10:07:12 -0500 In-Reply-To: <44509520-f29b-4b8a-8986-5eae3e022eb7@nvidia.com> References: <20251128212055.1409093-4-rrendec@redhat.com> <176583448396.510.10427292538118156779.tip-bot2@tip-bot2> <44509520-f29b-4b8a-8986-5eae3e022eb7@nvidia.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Jon, On Tue, 2026-01-06 at 09:53 +0000, Jon Hunter wrote: > On 15/12/2025 21:34, tip-bot2 for Radu Rendec wrote: > > The following commit has been merged into the irq/msi branch of tip: > >=20 > > Commit-ID:=C2=A0=C2=A0=C2=A0=C2=A0 eaf290c404f7c39f23292e9ce83b8b5b51ab= 598a > > Gitweb:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 https://git.kernel.or= g/tip/eaf290c404f7c39f23292e9ce83b8b5b51ab598a > > Author:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Radu Rendec > > AuthorDate:=C2=A0=C2=A0=C2=A0 Fri, 28 Nov 2025 16:20:55 -05:00 > > Committer:=C2=A0=C2=A0=C2=A0=C2=A0 Thomas Gleixner > > CommitterDate: Mon, 15 Dec 2025 22:30:48 +01:00 > >=20 > > PCI: dwc: Enable MSI affinity support > >=20 > > Leverage the interrupt redirection infrastructure to enable CPU affinit= y > > support for MSI interrupts. Since the parent interrupt affinity cannot > > be changed, affinity control for the child interrupt (MSI) is achieved > > by redirecting the handler to run in IRQ work context on the target CPU= . > >=20 > > This patch was originally prepared by Thomas Gleixner (see Link tag bel= ow) > > in a patch series that was never submitted as is, and only parts of tha= t > > series have made it upstream so far. > >=20 > > Originally-by: Thomas Gleixner > > Signed-off-by: Radu Rendec > > Signed-off-by: Thomas Gleixner > > Link: https://lore.kernel.org/linux-pci/878qpg4o4t.ffs@tglx/ > > Link: https://patch.msgid.link/20251128212055.1409093-4-rrendec@redhat.= com >=20 >=20 > With next-20260105 I am observing the following warning on the Tegra194= =20 > Jetson AGX platform ... >=20 > =C2=A0 WARNING KERN genirq: irq_chip DW-PCI-MSI-0001:01:00.0 did not upda= te > =C2=A0=C2=A0 eff. affinity mask of irq 171 >=20 > Bisect is point to this commit. This platform is using the driver=20 > drivers/pci/controller/dwc/pcie-tegra194.c. Is there some default=20 > affinity that we should be setting to avoid this warning? Before that patch, affinity control wasn't even possible for PCI MSIs exposed by the dw_pci drivers. Without having looked at the code yet, I suspect it's just because now that affinity control is enabled, something tries to use it. I don't think you should set some default affinity. By default, the PCI MSIs should be affine to all available CPUs, and that warning shouldn't happen in the first place. Let me test on Jetson AGX and see what's going on. I'll update the thread with my findings, hopefully later today. --=20 Thanks, Radu