[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CALHRZurovUkQboM_o-q7U-EK6n5zJ78vcoNEc1HFv=-R52wMvA@mail.gmail.com>
Date: Sun, 28 Jul 2013 15:27:24 +0530
From: sundeep subbaraya <sundeep.lkml@...il.com>
To: hjk@...sjkoch.de, gregkh@...uxfoundation.org, arnd@...db.de,
linux-kernel@...r.kernel.org
Subject: [RFC] Request for suggestions
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists