Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2022 07:54:22 +0000
From:      Souradeep Chakrabarti <schakrabarti@microsoft.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Wei Hu <weh@microsoft.com>
Subject:   RE: allocating IRQ mentioned in _CRS of ACPI
Message-ID:  <PSAP153MB053698CAD8CB5439C99355B4CC249@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <PSAP153MB053667A618629ACFFDCEDCBFCC249@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>
References:  <PSAP153MB053667A618629ACFFDCEDCBFCC249@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
Last mail was having incorrect FreeBSD hacker alias. Replacing that with co=
rrect one here.


> -----Original Message-----
> From: Souradeep Chakrabarti
> Sent: Friday, October 14, 2022 1:19 PM
> To: Warner Losh <imp@bsdimp.com>
> Cc: hacker@freebsd.org; Wei Hu <weh@microsoft.com>
> Subject: allocating IRQ mentioned in _CRS of ACPI
>=20
> Hi,
> I would like to allocate IRQ to a device, mentioned in the _CRS of that d=
evice in
> ACPI table.
> I have tried with bus_alloc_resource_any(), but it is failing as the pare=
nt of that
> device is not owning the IRQ.
>=20
> Current ACPI topo for the device :
> ACPI0->SB.VMOD(HID ACPI0004, has SYS_RES_MEM for MMIO in _CRS)-
> >VMBUS( it has SYS_RES_IRQ in it's _CRS).
>=20
> How can I get here both SYS_RES_IRQ and SYS_RES_MEM allocated to VMBUS?
>=20
> Thanks & Regards,
> Souradeep



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