From: Baolu Lu <baolu.lu@linux.intel.com>
To: "Tian, Kevin" <kevin.tian@intel.com>,
Dimitri Sivanich <sivanich@hpe.com>,
Thomas Gleixner <tglx@linutronix.de>,
Joerg Roedel <joro@8bytes.org>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
David Woodhouse <dwmw2@infradead.org>,
Mark Rutland <mark.rutland@arm.com>,
Peter Zijlstra <peterz@infradead.org>,
Arnd Bergmann <arnd@arndb.de>, YueHaibing <yuehaibing@huawei.com>,
"iommu@lists.linux.dev" <iommu@lists.linux.dev>
Cc: baolu.lu@linux.intel.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Steve Wahl <steve.wahl@hpe.com>,
"Anderson, Russ" <russ.anderson@hpe.com>,
Jacob Pan <jacob.jun.pan@linux.intel.com>
Subject: Re: [PATCH v2] iommu/vt-d: Allocate DMAR fault interrupts locally
Date: Mon, 8 Apr 2024 15:21:56 +0800 [thread overview]
Message-ID: <ec0ff625-855c-4dba-b19f-db050671fbfb@linux.intel.com> (raw)
In-Reply-To: <BN9PR11MB52765241E3261B58BE93E8A88C002@BN9PR11MB5276.namprd11.prod.outlook.com>
On 2024/4/8 14:54, Tian, Kevin wrote:
>> From: Dimitri Sivanich <sivanich@hpe.com>
>> Sent: Friday, March 22, 2024 4:51 AM
>>
>> The Intel IOMMU code currently tries to allocate all DMAR fault interrupt
>> vectors on the boot cpu. On large systems with high DMAR counts this
>> results in vector exhaustion, and most of the vectors are not initially
>> allocated socket local.
>>
>> Instead, have a cpu on each node do the vector allocation for the DMARs on
>> that node. The boot cpu still does the allocation for its node during its
>> boot sequence.
>>
>> Signed-off-by: Dimitri Sivanich <sivanich@hpe.com>
>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
>
Kevin,
Jacob has another proposal which shares the irq among all IOMMUs.
https://lore.kernel.org/linux-iommu/20240403234548.989061-1-jacob.jun.pan@linux.intel.com/
How do you like this?
Best regards,
baolu
next prev parent reply other threads:[~2024-04-08 7:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 20:50 [PATCH v2] iommu/vt-d: Allocate DMAR fault interrupts locally Dimitri Sivanich
2024-03-22 4:41 ` Zhang, Tina
2024-03-22 15:03 ` Dimitri Sivanich
2024-03-22 23:01 ` Jacob Pan
2024-04-08 6:54 ` Tian, Kevin
2024-04-08 7:21 ` Baolu Lu [this message]
2024-04-08 9:00 ` Tian, Kevin
2024-04-08 16:39 ` Jacob Pan
2024-04-24 3:43 ` Baolu Lu
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=ec0ff625-855c-4dba-b19f-db050671fbfb@linux.intel.com \
--to=baolu.lu@linux.intel.com \
--cc=arnd@arndb.de \
--cc=dwmw2@infradead.org \
--cc=iommu@lists.linux.dev \
--cc=jacob.jun.pan@linux.intel.com \
--cc=joro@8bytes.org \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=peterz@infradead.org \
--cc=robin.murphy@arm.com \
--cc=russ.anderson@hpe.com \
--cc=sivanich@hpe.com \
--cc=steve.wahl@hpe.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=tglx@linutronix.de \
--cc=will@kernel.org \
--cc=yuehaibing@huawei.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