Skip to content

libsel4simple-default,riscv: implement irq_trigger#78

Open
canarysnort01 wants to merge 2 commits intoseL4:masterfrom
canarysnort01:riscv-simple-irq-trigger
Open

libsel4simple-default,riscv: implement irq_trigger#78
canarysnort01 wants to merge 2 commits intoseL4:masterfrom
canarysnort01:riscv-simple-irq-trigger

Conversation

@canarysnort01
Copy link

Wire up simple->irq_trigger to seL4_IRQControl_GetTrigger on risc-v. This allows risc-v drivers in libplatsupport to register edge-triggered interrupts.

Purpose: Ready to merge
Context: Needed for the star64 timer driver that will be in libplatsupport
Testing performed: Tested on a WIP version of sel4test for the star64 platform on pinetab-v hardware

@Ivan-Velickovic
Copy link

Hey @canarysnort01, I've been stuck on this timer driver for a while as I could not get it enabled. I revisited it briefly last week and managed to patch U-Boot such that it turns on the timers and now getting the time works. I haven't spent much time on it since, feel free to email me ([email protected]) if you want to take over the driver and get it fully working and I can tell you the status of it.

U-Boot patch is here by the way Ivan-Velickovic/u-boot@f524a32.

@Ivan-Velickovic
Copy link

Can this be merged?

Wire up simple->irq_trigger to seL4_IRQControl_GetTrigger on risc-v.
This allows risc-v drivers in libplatsupport to register edge-triggered
interrupts.

Signed-off-by: Jimmy Brush <[email protected]>
Signed-off-by: Jimmy Brush <[email protected]>
@Ivan-Velickovic Ivan-Velickovic force-pushed the riscv-simple-irq-trigger branch from 7fb680e to a3a136f Compare June 11, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants