SBA_MARK_INVALID

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

 

NAME

sba_mark_invalid - invalidate one or more IO PDIR entries  

SYNOPSIS

"SYNOPSIS"

SBA_INLINE void sba_mark_invalid (struct ioc * ioc, dma_addr_t iova, size_t byte_cnt);  

ARGUMENTS

ioc
IO MMU structure which owns the pdir we are interested in.
iova
IO Virtual Address mapped earlier
byte_cnt
number of bytes this mapping covers.
 

DESCRIPTION

Marking the IO PDIR entry(ies) as Invalid and invalidate corresponding IO TLB entry. The PCOM (Purge Command Register) is to purge stale entries in the IO TLB when unmapping entries.

The PCOM register supports purging of multiple pages, with a minium of 1 page and a maximum of 2GB. Hardware requires the address be aligned to the size of the range being purged. The size of the range must be a power of 2. The ``Cool perf optimization'' in the allocation routine helps keep that true.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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