DragonFly kernel List (threaded) for 2009-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: PCI code from FreeBSD
On Fri, Jul 3, 2009 at 9:50 AM, Sepherosa Ziehau<sepherosa@gmail.com> wrote:
> On Fri, Jul 3, 2009 at 2:01 AM, Matthew
> Dillon<dillon@apollo.backplane.com> wrote:
>>
>> :Yep. All the ACPI-related work is here:
>> :
>> : http://github.com/polachok/dragonflybsd/tree/acpi2
>> :
>> :See dmesg attached for example.
>
> It shows ICU works.
>
>>
>> Ok, how does this integrate with the APIC_IO kernel config
>> option verses not having it? Will not having APIC_IO still
>> back-off to just using the BIOS intr defaults for the
>> ICU (8259)?
>
> I think before bringing the ACPI code, we have to change our APIC
> interrupt handling code:
> FreeBSD uses ACPI GSI (ACPI3.0a, page120) concept directly (I think
> they apply it to the MP table too). So more than 24 idt vectors may
> be used, if, for example, there are two 24pin I/O APICs. As far as I
> understand our apic_abi.c, we only support 24 idt vectors; and the
> gd_[if]pending limit us to 32 vectors. Before we could sort that out
> or at least introduce another mapping layer, bringing in ACPI routing
BTW, I prefer not to introduce another mapping layer, so we could
prepare the MSI/MSI-X work :)
Best Regards,
sephe
--
Live Free or Die
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]