TIOCA_DMA_D48

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

tioca_dma_d48 - create a DMA mapping using 48-bit direct mode  

SYNOPSIS

"SYNOPSIS"

uint64_t tioca_dma_d48 (struct pci_dev * pdev, uint64_t paddr);  

ARGUMENTS

pdev
linux pci_dev representing the function
paddr
system physical address
 

DESCRIPTION

Map paddr into 64-bit bus space of the CA associated with pcidev_info.  

THE CA AGP 48 BIT DIRECT ADDRESS FALLS OUT AS FOLLOWS

When direct mapping AGP addresses, the 48 bit AGP address is  

CONSTRUCTED AS FOLLOWS

[47:40] - Low 8 bits of the page Node ID extracted from coretalk address [47:40]. The upper 8 node bits are fixed and come from the xxx register bits [5:0] [39:38] - Chiplet ID extracted from coretalk address [39:38] [37:00] - node offset extracted from coretalk address [37:00]

Since the node id in general will be non-zero, and the chiplet id will always be non-zero, it follows that the device must support a dma mask of at least 0xffffffffff (40 bits) to target node 0 and in general should be 0xffffffffffff (48 bits) to target nodes up to 255. Nodes above 255 need the support of the xxx register, and so a given CA can only directly target nodes in the range xxx - xxx+255.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
THE CA AGP 48 BIT DIRECT ADDRESS FALLS OUT AS FOLLOWS
CONSTRUCTED AS FOLLOWS

This document was created by man2html, using the manual pages.
Time: 00:02:55 GMT, October 09, 2005