4.73 ExportTest:AHCI_SATA - trace

This section describes the trace sources.

AHCI_REG_GHC_READ

GHC Register read access to AHCI. Fields:

ADDRESS unsigned int
Address Offset within GHC space
DATA unsigned int
Data returned by this register
GHC_REGISTER enum
Name of the GHC register

AHCI_REG_GHC_WRITE

GHC Register write access to AHCI. Fields:

ADDRESS unsigned int
Address Offset within GHC space
DATA unsigned int
Data written to this register
GHC_REGISTER enum
Name of the GHC register

AHCI_REG_PORT_READ

PORT Register read access to AHCI. Fields:

ADDRESS unsigned int
Address Offset within PORTx space
DATA unsigned int
Data returned by this register
PORT unsigned int
SATA port number
PORTx_REGISTER enum
Name of the PORTx register

AHCI_REG_PORT_WRITE

PORT Register write access to AHCI. Fields:

ADDRESS unsigned int
Address Offset within PORTx space
DATA unsigned int
Data written to this register
PORT unsigned int
SATA port number
PORTx_REGISTER enum
Name of the PORTx register

ATA_COMMAND

ATA command received by SATA device. Fields:

COMMAND enum
ATA Command
FIS_COUNT unsigned int
Raw value of the Count field in the FIS. (Sector count for non-NCQ commands.)
FIS_DEVICE unsigned int
Raw value of the Device fiels on the FIS. Bit 6 indicates LBA (28 or 48 bit access).
FIS_FEATURE unsigned int
Raw value of the Feature field in the FIS. (Sector count for NCQ commands.)
LBA unsigned int
Starting sector index
PORT unsigned int
SATA port number (0-31)
SECTOR_COUNT unsigned int
Sector count

ATA_COMMAND_HEADER

ATA Command header. Fields:

CFIS_LEN unsigned int
CFIS length
CMD_TABLE_BASE unsigned int
Command table Base
IS_WRITE bool
Write?
PORT unsigned int
SATA port number (0-31)
PRD_COUNT unsigned int
Number of PRDs
PRD_TABLE_LEN unsigned int
PRD table length

ArchMsg.Error.invalid_access_width

Access with invalid access width in AHCI. Fields:

ACCESS_WIDTH unsigned int
Access Width to a register
ADDRESS unsigned int
Address Offset within GHC space
DATA unsigned int
Data with access width of 32 bits

ArchMsg.Error.invalid_register

Access to invalid register offsets in AHCI. Fields:

ADDRESS unsigned int
Address Offset within GHC or port space
PORT unsigned int
SATA port number or 0xff for GHC

CFIS

Command FIS. Fields:

CFIS unsigned int
CFIS content
PORT unsigned int
SATA port number (0-31)

CMD_SLOT

Command Slot in Command List. Fields:

CMD_SLOT unsigned int
Command Slot
PORT unsigned int
SATA port number (0-31)

DATA_READ

Data read from ahci_dma_m. Fields:

ADDRESS unsigned int
Address
DATA unsigned int
Data Read
PORT unsigned int
SATA port number (0-31)

DATA_READ_ABORT

The data read by the device aborted. Fields:

ADDR unsigned int
Address.
NS bool
Non-secure access.
PORT unsigned int
SATA port number (0-31)
SIZE unsigned int
The data size in bytes.

DATA_WRITE

Data write from ahci_dma_m. Fields:

ADDRESS unsigned int
Address
DATA unsigned int
Data Write
PORT unsigned int
SATA port number (0-31)

DATA_WRITE_ABORT

The data write by the device aborted. Fields:

ADDR unsigned int
Address.
NS bool
Non-secure access.
PORT unsigned int
SATA port number (0-31)
SIZE unsigned int
The data size in bytes.

FIS

FIS received by AHCI controller from SATA device. Fields:

DATA unsigned int
FIS content (first byte is the FIS type)
PORT unsigned int
SATA port number (0-31)

MSI_INTERRUPT

MSI interrupt generated by AHCI. Fields:

GHC_IS unsigned int
Contents of GHC.IS register
MSI_VECTOR unsigned int
MSI vector number

PORT_INTRRUPT

Interrupt generated by port. This is emitted only when the corresponding interrupt is enabled in PxIE, but regardless whether interrupts are globally enabled in GHC.IE. Fields:

INTRRUPT_TYPE enum
Interrupt type
PORT unsigned int
SATA port number (0-31)

PRDT_ENTRY

PRDT_ENTRY. Fields:

ADDR unsigned int
PRD entry address
COUNT unsigned int
Bytes for this PRD entry
IRQ bool
Raise an interrupt upon completion
PORT unsigned int
SATA port number (0-31)

SATA_BS_PERF

SATA backend storage periodic performance indicator. This allows to monitor the data throughput in terms of host time. This emits a trace event, at most once per second, which indicates the data rate for reads, writes and the sum (througput) in the interval since the last event. An event is only generated when there was at least one read/write access in the last second. Fields:

PERF string
Throughput/read/write performance as a formatted string.
SATA_PORT unsigned int
Index of the SATA port this backend storage is attached to.

SATA_BS_READ

SATA backend storage read. Fields:

SATA_PORT unsigned int
Index of the SATA port this backend storage is attached to.
SECTOR_COUNT unsigned int
Number of sectors read (512 byte sectors)
SECTOR_INDEX unsigned int
Access starts at this sector index (512 byte sectors)

SATA_BS_READ_DATA

SATA backend storage read. This trace is issued for each individual 512-byte sector of the original access size. Fields:

DATA unsigned int
Sector Data (always 512 bytes)
SATA_PORT unsigned int
Index of the SATA port this backend storage is attached to.
SECTOR_INDEX unsigned int
Sector index of this data (512 byte sectors)

SATA_BS_TRIM

SATA backend storage trim (marking sectors as unused). Fields:

SATA_PORT unsigned int
Index of the SATA port this backend storage is attached to.
SECTOR_COUNT unsigned int
Number of sectors read (512 byte sectors)
SECTOR_INDEX unsigned int
Access starts at this sector index (512 byte sectors)

SATA_BS_WRITE

SATA backend storage write. Fields:

SATA_PORT unsigned int
Index of the SATA port this backend storage is attached to.
SECTOR_COUNT unsigned int
Number of sectors read (512 byte sectors)
SECTOR_INDEX unsigned int
Access starts at this sector index (512 byte sectors)

SATA_BS_WRITE_DATA

SATA backend storage write. This trace is issued for each individual 512-byte sector of the original access size. Fields:

DATA unsigned int
Sector Data (always 512 bytes)
SATA_PORT unsigned int
Index of the SATA port this backend storage is attached to.
SECTOR_INDEX unsigned int
Sector index of this data (512 byte sectors)

SET_FEATURE

SET FEATURE. Fields:

PARAMETER unsigned int
Sub command parameter
PORT unsigned int
SATA port number (0-31)
SUB_COMMAND enum
Set Feature sub command
Non-ConfidentialPDF file icon PDF version100964_1161_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.