RE: allocating IRQ mentioned in _CRS of ACPI
- Reply: Warner Losh : "Re: allocating IRQ mentioned in _CRS of ACPI"
- In reply to: Souradeep Chakrabarti : "RE: allocating IRQ mentioned in _CRS of ACPI"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Oct 2022 18:33:38 UTC
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