mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +00:00
platform_drv: try enabling msi independent of gsi
value written in pci config space. Issue #2620
This commit is contained in:
parent
336140c5f1
commit
fcadbc9023
@ -193,10 +193,6 @@ Platform::Irq_session_component::Irq_session_component(unsigned irq,
|
||||
:
|
||||
_gsi(irq)
|
||||
{
|
||||
/* invalid irq number for pci_devices */
|
||||
if (_gsi >= INVALID_IRQ)
|
||||
return;
|
||||
|
||||
if (pci_config_space != ~0UL) {
|
||||
/* msi way */
|
||||
unsigned msi = irq_alloc.alloc_msi();
|
||||
@ -219,6 +215,10 @@ Platform::Irq_session_component::Irq_session_component(unsigned irq,
|
||||
}
|
||||
}
|
||||
|
||||
/* invalid irq number for pci_devices */
|
||||
if (_gsi >= INVALID_IRQ)
|
||||
return;
|
||||
|
||||
Genode::Irq_session::Trigger trigger;
|
||||
Genode::Irq_session::Polarity polarity;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user