Fri, Jan 30
how hard it would be to implement MSI interface here? to support MSI interrupts from devices, which is a crucial functionality
Nov 18 2025
Oct 23 2025
Oct 22 2025
This will not fix that bug. fence is fence iorw, iorw, so all you are doing is relaxing some ordering requirements.
@jrtc27 I've update the revision, PTAL
Oct 21 2025
Do we actually have a proper definition of what *our* memory barrier APIs are meant to mean? What the ISA manual says is a sensible mapping isn't necessarily what we want; note that the table you're referencing is for "Linux memory primitives", and we are not Linux, nor do we follow its memory model.
Jul 12 2025
Jul 2 2025
Jul 1 2025
Jun 12 2025
Shall I send a new patch? No comments on this one.
May 27 2025
FYI, it's best practice to generate diffs with full context (-U999999 or whatever).
May 26 2025
Feb 11 2025
Dec 23 2024
- Refactor aplic code into common init and aplic/imsic specific code.
- Add support for IMSIC.
Sep 23 2024
Sep 4 2024
Aug 14 2024
Aug 13 2024
Hi Himanshu what is status of this? could you regenerate for the latest HEAD ?
Jun 17 2024
Feb 14 2024
Feb 12 2024
Reworked APLIC_IDC_REG as asked
Feb 3 2024
Feb 2 2024
Feb 1 2024
Sorry for the mess up in versions in comments. Last patch was v9, as per my local branches. This one is v10.
Changes in v10:
- Save hart indices from FDT and use them to create target value
Jan 31 2024
LGTM!
Jan 28 2024
ping.
Jan 25 2024
After Convert local interrupt controller to a newbus PIC, commit rebase is required.
Jan 23 2024
Changes in v7:
- Keep per-cpu IDC offsets after reading interrupts-extended property
- Accessing IDC is via the stored per-CPU IDC offsets
- Remove cleanup after failure in *_attach function (like other drivers)
- Added aplic.c in files.riscv alphabetically
Jan 19 2024
Changes in v6:
- Added verification of harts that can take interrupt using "interrupts-extended" property of FDT.
- Added target_cpu cpuset which contains the bit map of logical cpus that can take interrupts.
- During binding of the irqs, the cpus from target_cpu cpuset is used.
- Handled failure case and deregister ircs.
- Took care of comments regarding the brackets.
- Added a macro APLIC_IDC to give offset of a given hart.
- Removed return of FILTER_STRAY when IRQ is 0, added a KASSERT instead.
- Use of DEFINE_CLASS_0
@jrtc27 Thanks for your review! I have taken care of your comments. Patch will follow shortly.
