Messages in this thread | | | Date | Fri, 02 Jul 2010 00:29:57 -0700 | From | Zach Pfeffer <> | Subject | Re: [RFC 3/3] mm: iommu: The Virtual Contiguous Memory Manager |
| |
Hari Kanigeri wrote: >> The VCMM takes the long view. Its designed for a future in which the >> number of IOMMUs will go up and the ways in which these IOMMUs are >> composed will vary from system to system, and may vary at >> runtime. Already, there are ~20 different IOMMU map implementations in >> the kernel. Had the Linux kernel had the VCMM, many of those >> implementations could have leveraged the mapping and topology management >> of a VCMM, while focusing on a few key hardware specific functions (map >> this physical address, program the page table base register). >> > > -- Sounds good. > Did you think of a way to handle the cases where one of the Device > that is using the mapped address crashed ? > How is the physical address unbacked in this case ?
Actually the API takes care of that by design. Since the physical space is managed apart from the mapper the mapper can crash and not affect the physical memory allocation.
-- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
| |