Introduction

This page describes the APM driver which is available in Xilinx Linux distribution as
drivers/uio/uio_xilinx_apm.c

HW IP features

  • Connects as a 32-bit slave on AXI4-Lite interface
  • Configurable number of (AXI4/AXI3/ AXI4-Stream/AXI4-Lite) monitor slots (up to eight)
  • Flexible support for monitor slots with any data width, ID width and frequency
  • Free running Global Clock Counter
  • Supports AXI and external events logging
  • Supports AXI and external events counting
  • Supports external event triggering and cross probing between event counting and event logging

Features supported in driver

  • Connects as a 32-bit slave on AXI4-Lite interface
  • Configurable number of (AXI4/AXI3/ AXI4-Stream/AXI4-Lite) monitor slots (up to eight)
  • Flexible support for monitor slots with any data width, ID width and frequency
  • Free running Global Clock Counter
  • Supports AXI and external events logging
  • Supports AXI and external events counting
  • Supports external event triggering and cross probing between event counting and event logging


Missing Features and known Issues/Limitations in Driver

  • None

Kernel Configuration

The following config options should be enabled in order to build the apm driver:

Devicetree

AXI PL APM Example:


There are 4 APMs available on the Zynq Ultrascale PS:


PS APM DDR Example:

Test Procedure

Run the apm app.
The app can be found at
https://github.com/Xilinx/linux-xlnx/tree/master/samples/xilinx_apm

Mainline Status

The driver is not mainlined.

Change Log


2016.3
None

2017.1
None

2017.2
None

2017.3
Summary:

  • Add runtime support
  • Warning fixes.

Commits:
cbc0b6f :  uio: apm: Add runtime support
cbc0b: uio : uio_xilinx_apm: Fix warnings in the driver
acbf6de: uio: uio_xilinx_apm: Fix Kernel doc warnings

2017.4
None

2018.1
None

2018.2
None

2018.3
None

2019.1
Summary:

  • uio: apm: Do not show error in case of deferred probe
  • uio: uio_xilinx_apm: Fix the suspend resume

Commits:
6465c7 :uio: apm: Do not show error in case of deferred probe

c3d5df: uio: uio_xilinx_apm: Fix the suspend resume


2019.2
None

2020.1
Summary:

  • uio: apm: Do not show error in case of deferred probe
  • uio: axi-perf-monitor: Enable shared irq for the apms

Commits:
87ec38 :uio: apm: Do not show error in case of deferred probe
83759a :uio: axi-perf-monitor: Enable shared irq for the apms


2020.2
None

2021.1
None

Related Links