]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
swiotlb: add the late swiotlb initialization function with iotlb memory
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 28 Jul 2012 00:55:27 +0000 (20:55 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 21 Aug 2012 18:47:25 +0000 (14:47 -0400)
commit74838b75379a53678ffc5f59de86161d21e2c808
tree432322ae10e8f72dbda8745492a6cc35a32c6193
parentfc2341df9e31be8a3940f4e302372d7ef46bab8c
swiotlb: add the late swiotlb initialization function with iotlb memory

This enables the caller to initialize swiotlb with its own iotlb
memory late in the bootup.

See git commit eb605a5754d050a25a9f00d718fb173f24c486ef
"swiotlb: add swiotlb_tbl_map_single library function" which will
explain the full details of what it can be used for.

CC: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
[v1: Fold in smatch warning]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
include/linux/swiotlb.h
lib/swiotlb.c