Re: allocating IRQ mentioned in _CRS of ACPI
Date: Wed, 19 Oct 2022 17:39:19 UTC
Sorry for the late reply... I've been busy with some things for work... I think you'll need to get the parent of vmbus to allow a pass through allocation. What bus is that currently? Warner On Tue, Oct 18, 2022 at 12:33 PM Souradeep Chakrabarti < schakrabarti@microsoft.com> wrote: > Hi, > It will be a great help, if someone can help here with some idea. > As it is blocking the FreeBSD on Hyper-V ARM64. > > Thanks & Regards, > Souradeep > > > -----Original Message----- > > From: Souradeep Chakrabarti > > Sent: Friday, October 14, 2022 1:24 PM > > To: 'Warner Losh' <imp@bsdimp.com> > > Cc: freebsd-hackers@freebsd.org; Wei Hu <weh@microsoft.com> > > Subject: RE: allocating IRQ mentioned in _CRS of ACPI > > > > Last mail was having incorrect FreeBSD hacker alias. Replacing that with > correct > > 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 > > > > > > Hi, > > > I would like to allocate IRQ to a device, mentioned in the _CRS of > > > that device in ACPI table. > > > I have tried with bus_alloc_resource_any(), but it is failing as the > > > parent of that device is not owning the IRQ. > > > > > > 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). > > > > > > How can I get here both SYS_RES_IRQ and SYS_RES_MEM allocated to VMBUS? > > > > > > Thanks & Regards, > > > Souradeep >