[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 10/14] XSM: fold xsm_{,un}bind_pt_irq() hooks
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 2 Dec 2026 15:00:08 -0500
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=x header.d=apertussolutions.com header.i="@apertussolutions.com" header.h="Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date"
- Cc: Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>, Roger Pau Monné <roger@xxxxxxxxxxxxxx>
- Delivery-date: Wed, 02 Dec 2026 20:00:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 8/17/26 4:56 AM, Jan Beulich wrote:
Like other resource management hooks they are mainly different in "add
resource" vs "remove resource". Hence like in other cases a single hook
can easily serve both purposes, with minor tweaking of
flask_bind_pt_irq(). While adjusting that function, also defer the setting
of "dperm", which is only needed in the "map" case.
Rename hook and functions to fit xsm_{io{mem,port},{p,}irq}_mapping().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
v2: Fix inverted part of conditional in flask_bind_pt_irq(). Rename hook,
functions, and new parameter.
Acked-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
|