[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] About the IRQ framework of Unikraft



Hi Wei,

On 03.12.18 08:14, Wei Chen (Arm Technology China) wrote:
Hi,

These days I am testing the multi-thread support patches on Arm64.
But I find a problem about the IRQ framework. This framework can
work properly for x86_64. But it can't work properly for Arm64

static struct irq_handler_head irq_handlers[16];

Here defined 16 irq_handlers, but on Arm64, most irq number
Is higher than 16.

So, in ukplat_irq_register:
UK_SLIST_INSERT_HEAD(&irq_handlers[irq], h, entries);
Will overflow.

Actually, this implementation needs an update anyways since at some point we want to have MSI and MSI-X support on x86. In this case the numbers are going to be much bigger. The current implementation was more a first draft to have something functional working.

Short question: Do you have an option to register a handler and an argument to the interrupt descriptor table on Arm? I guess you have one entry for each possible interrupt line number? How do other OSes on Arm deal with such big tables?

Thanks,

Simon


Regards,
Wei Chen
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.