On 03.03.2022 11:30, Roger Pau Monne wrote:
> --- a/xen/common/event_channel.c
> +++ b/xen/common/event_channel.c
> @@ -556,6 +556,9 @@ static int evtchn_bind_pirq(evtchn_bind_pirq_t *bind)
> int port = 0, rc;
> unsigned int pirq = bind->pirq;
>
> + if ( is_hvm_domain(d) && !has_pirq(d) )
Arm doesn't have has_pirq(), so some further conditional will be needed,
or has_pirq() needs adding there.
Doesn't this want further accompanying with adjustments to the checks in
physdev_{,un}map_pirq()?
> + return -ENOSYS;
-EOPNOTSUPP please.
Jan