From: Marek Vasut <marek.vasut@mailbox.org>
To: Thomas Gleixner <tglx@linutronix.de>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
linux-pci@vger.kernel.org
Cc: "Krzysztof Wilczyński" <kw@linux.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Jisheng Zhang" <Jisheng.Zhang@synaptics.com>,
"Jon Hunter" <jonathanh@nvidia.com>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Marc Zyngier" <maz@kernel.org>, "Rob Herring" <robh@kernel.org>,
"Yoshihiro Shimoda" <yoshihiro.shimoda.uh@renesas.com>,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v2] [RFC] genirq/cpuhotplug, PCI/rcar-host: Silence set affinity failed warning
Date: Mon, 15 Jul 2024 14:26:28 +0200 [thread overview]
Message-ID: <d5efcb28-dd5a-4b96-aabd-c73c95dff8e7@mailbox.org> (raw)
In-Reply-To: <87wmlnrdkf.ffs@tglx>
On 7/14/24 9:14 PM, Thomas Gleixner wrote:
> Marek!
Hello Thomas,
> On Sun, Jul 14 2024 at 14:23, Marek Vasut wrote:
>> --- a/drivers/base/platform-msi.c
>> +++ b/drivers/base/platform-msi.c
>> @@ -100,7 +100,7 @@ static void platform_msi_update_chip_ops(struct msi_domain_info *info)
>> chip->irq_unmask = irq_chip_unmask_parent;
>> if (!chip->irq_eoi)
>> chip->irq_eoi = irq_chip_eoi_parent;
>> - if (!chip->irq_set_affinity)
>> + if (!chip->irq_set_affinity && !(info->flags & MSI_FLAG_USE_DEF_CHIP_OPS_NOAFF))
>> chip->irq_set_affinity = msi_domain_set_affinity;
>
> I'm not really a fan of this new flag.
>
> I'd rather leave MSI_FLAG_USE_DEF_CHIP_OPS alone and introduce a
> dedicated flag MSI_FLAG_NO_AFFINITY to tell the core code that these
> interrupts cannot be steered. Other than that this approach looks sane.
Should be fixed in V3. I also converted Tegra so far and sent it
alongside V3. There are many more controllers to convert that will follow.
--
Best regards,
Marek Vasut
prev parent reply other threads:[~2024-07-15 12:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 12:23 [PATCH v2] [RFC] genirq/cpuhotplug, PCI/rcar-host: Silence set affinity failed warning Marek Vasut
2024-07-14 19:14 ` Thomas Gleixner
2024-07-15 12:26 ` Marek Vasut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5efcb28-dd5a-4b96-aabd-c73c95dff8e7@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=Jisheng.Zhang@synaptics.com \
--cc=bhelgaas@google.com \
--cc=jonathanh@nvidia.com \
--cc=kw@linux.com \
--cc=linux-pci@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=marek.vasut+renesas@mailbox.org \
--cc=maz@kernel.org \
--cc=robh@kernel.org \
--cc=tglx@linutronix.de \
--cc=yoshihiro.shimoda.uh@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).