lkml.org 
[lkml]   [2013]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[RFC] Request for suggestions
From
Hi All,

AXI bus Monitor(AM) has set of counters which are used to collect
metrics related to AXI transactions happening between Masters and Slaves
in an AXI system. Example metrics which can be calculated using AM are
as below:
Read Latency
Write Latency
Idle Read/Write Cycle counts
Number of Transactions
Number of Bytes transferred
Number of Read/Write Last signals issued.
etc.,
AM raises interrupts during counter overflows and there is Sample Interval
down counter which raises interrupt and takes snapshot of all counters and
stores in set of registers. Use case for this IP will be as follows:
User confiures his required metrics to be collected by Counters.
User sets Sample Interval down counter depending on the metrics
monitoring sampling rate.
Start counters.
Collect metrics data when AM issues Sample Interval
down Counter interrupt.

What would be the appropriate framework/interface of Linux Driver for AM?
I have been thinking of interfaces-
UIO
Char
sysfs
The main problem I see is signalling interrupts to Userspace.
Please suggest me the best interface.

Thanks,
Sundeep


\
 
 \ /
  Last update: 2013-07-28 12:21    [W:0.032 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site