On Tue, Mar 7, 2017 at 9:45 PM, ags <[email protected]> wrote:

> The mechanism for generating an interrupt from a PRU to the A8 (host) is
> well-documented. Is there a way to send an interrupt (one of the 64 system
> interrupt events documented in the PRU-ICSS literature) from userspace?
>

No, there are no such things as userspace interrupts, period.

>
> From reading the TI documentation, the only two that seem to be candidates
> are two "mailbox" interrupts. I  recall reading something about a version
> of the remoteproc (or RPMsg, or virtio) drivers that utilized these
> mailboxes, but ultimately abandoned them as they are not available on all
> platforms. (that may be incorrect).
>
> Setting a flag in PRU DRAM or shared RAM is clearly a method that will
> work. However, it appears that polling DRAM or shared RAM is a multi-clock
> task; if a PRU system interrupt can be generated, it can be polled in one
> clock by examining R31 bits 30/31 (if configured correctly). Is this
> possible?
>

I get the feeling however that you're misunderstanding the purpose of an
interrupt. An interrupt is a way for hardware to let software know,
something has happen that may require attention. Either way you wold
probably be better off thinking in the context of setting a bitfield, or in
this case, a single bit.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORoM%2BD0Fd8R2TvFdzbbrcWOMs9mvS3HvpKbNZmNAQqzD2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to