lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ