Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2023 07:13:50 +0000
From:      Souradeep Chakrabarti <schakrabarti@microsoft.com>
To:        "freebsd-arm@FreeBSD.org" <freebsd-arm@FreeBSD.org>, Li-Wen Hsu <lwhsu@freebsd.org>, Warner Losh <imp@bsdimp.com>, "freebsd-hackers@FreeBSD.org" <freebsd-hackers@freebsd.org>
Cc:        Wei Hu <weh@microsoft.com>
Subject:   RE: MSI  CPU affinity for ARM64
Message-ID:  <PSAP153MB0536FA12367A59EB8AA8C1FECCFE9@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <PSAP153MB0536DE0C63CFD99B65406F87CCF89@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
References:  <PSAP153MB0536DE0C63CFD99B65406F87CCF89@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help



> -----Original Message-----
> From: Souradeep Chakrabarti
> Sent: Saturday, January 7, 2023 8:24 PM
> To: freebsd-arm@FreeBSD.org; Li-Wen Hsu <lwhsu@freebsd.org>
> Cc: Wei Hu <weh@microsoft.com>
> Subject: MSI CPU affinity for ARM64
>=20
> Hi,
> I am trying to understand how we can find the target CPU for  MSI in ARM6=
4.
> When looking at gic_v3 code I can see following:
> gic_v3_bind_intr( ) does mapping to next incremental CPU but gic_v3_dist_=
init( )
> does setup boot cpu as the target CPU for MSI interrupts.
>=20
> If I need to find the CPU bound with a particular MSI interrupt, how we c=
an do that?
>=20
> Also is there a way get the the CPU id from the CPU affinity in ARM?
>=20
> Thanks & Regards,
> Souradeep
[Souradeep]=20
Adding FreeBSD Hackers on the mail thread.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAP153MB0536FA12367A59EB8AA8C1FECCFE9>