stop using the SEV instruction #81
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#81
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The ACP kernel initiator (#55) uses the
EVENTO
signal to reduce latency. Any SEV instruction, even those we currently use for other purposes, toggles it. The SEV instruction should be reserved to the ACP kernel initiator.If power is not a concern, we could just remove all the
SEV
andWFE
.Or we could replace
WFE
withWFI
, but we would have to trigger FIQs instead of IRQs as IRQs are now masked when we hold the mutex. This should be possible with GIC.I think this should be posted in
zc706
repo? As the synchronization primitives we implemented would useSEV
for blocking operations... IIRC there are not much use ofSEV
in this repo, except for the wait for core1 restart I've just implemented.Nvm,
WFI
would resume when IRQ is triggered regardless of whether it is masked or not...zc706
.wfi
power optimization.powersave
feature tozc706
that keeps thewfe
/sev
instructions.