[lkml]   [2010]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86/sfi: fix ioapic gsi range
"H. Peter Anvin" <> writes:

> On 06/08/2010 01:59 PM, Eric W. Biederman wrote:
>> No. There is no reason to loose 16 IDT entries indefinitely. We may
>> need a boot time allocation when we see we have isa irqs, to replace
>> the static allocation that we have. But for the most part we dynamically
>> idt entries aka vector numbers today, and there is no reason we can't
>> generalize that in the future.
> Well, that boot time allocation is one of the things
> legacy_pic->nr_legacy_irq is used for, and it really makes sense, I
> think. I would really like to move away from a compile-time allocation,
> and I still find it hard to believe it has a reason to exist.

Interesting. Using legacy_pic->nr_legacy_irqs certainly isn't the
right way to handle that. We should just have an init method for the
legacy_pic that just allocates what it needs when it is initialized.

I think we can now run in either just pic mode or just apic mode and
so can kill any code for switching from one mode to another. That led
to all kinds of complexity.

As time and priorities permit I will send/review patches cleaning up the linux
irq code.


 \ /
  Last update: 2010-06-08 23:53    [W:0.032 / U:2.064 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site