Page MenuHomeFreeBSD

if_cgem support for SiFive Unleashed
ClosedPublic

Authored by br on Apr 2 2019, 5:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:50 AM
Unknown Object (File)
Nov 15 2023, 4:29 PM
Unknown Object (File)
Nov 15 2023, 1:40 PM
Unknown Object (File)
Oct 14 2023, 3:27 PM
Unknown Object (File)
Sep 3 2023, 7:56 PM
Unknown Object (File)
Aug 8 2023, 9:58 PM
Unknown Object (File)
Aug 7 2023, 10:11 AM
Unknown Object (File)
Aug 7 2023, 10:10 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

First disable interrupts and then clear bits.

The approach seems ok to me, but there should probably be a comment explaining why we handle interrupts this way.

To be clear, you are saying that the PLIC claim does not prevent further interrupts from being raised? Is this a known erratum?

Sorry this is a different issue. I simply forgot to implement pre_ithread, post_ithread methods in the interrupt controller driver where we have to disable and enable interrupts. I will update patch shortly

br edited the summary of this revision. (Show Details)
br edited the test plan for this revision. (Show Details)

Interrupts have to be disabled in PLIC driver when we process it in the interrupt thread.

The new diff doesn't modify the PLIC driver.

The new diff doesn't modify the PLIC driver.

I think PLIC changes are not related, so I create another diff:
https://reviews.freebsd.org/D19819

This revision is now accepted and ready to land.Apr 4 2019, 11:05 PM
This revision was automatically updated to reflect the committed changes.