Home
last modified time | relevance | path

Searched refs:iommu (Results 1 – 25 of 63) sorted by relevance

123

/external/crosvm/devices/src/virtio/iommu/sys/
Dunix.rs26 use crate::virtio::iommu::ipc_memory_mapper::IommuRequest;
27 use crate::virtio::iommu::ipc_memory_mapper::IommuResponse;
28 use crate::virtio::iommu::DmabufRegionEntry;
29 use crate::virtio::iommu::Result;
30 use crate::virtio::iommu::State;
37 pub(in crate::virtio::iommu) fn handle_add_vfio_device( in handle_add_vfio_device()
60 pub(in crate::virtio::iommu) fn handle_del_vfio_device( in handle_del_vfio_device()
74 pub(in crate::virtio::iommu) fn handle_map_dmabuf( in handle_map_dmabuf()
103 pub(in crate::virtio::iommu) fn handle_unmap_dmabuf( in handle_unmap_dmabuf()
120 pub(in crate::virtio::iommu) fn handle_vfio( in handle_vfio()
[all …]
Dwindows.rs12 use crate::virtio::iommu::Result;
13 use crate::virtio::iommu::State;
15 pub(in crate::virtio::iommu) async fn handle_command_tube( in handle_command_tube()
22 pub(in crate::virtio::iommu) async fn handle_translate_request( in handle_translate_request()
/external/crosvm/devices/src/virtio/
Dqueue.rs108 iommu: Option<Arc<Mutex<IpcMemoryMapper>>>, field
135 iommu: Option<Arc<Mutex<IpcMemoryMapper>>>, in checked_new()
150 let (regions, exported_region) = if let Some(iommu) = &iommu { in checked_new()
156 ExportedRegion::new(mem, iommu.clone(), addr.offset(), len.into()) in checked_new()
193 iommu, in checked_new()
254 let iommu = self.iommu.as_ref().map(Arc::clone); in next_descriptor() localVariable
261 iommu, in next_descriptor()
333 iommu: Option<Arc<Mutex<IpcMemoryMapper>>>, field
376 iommu: None, in new()
478 iommu: self.iommu.as_ref().map(Arc::clone), in activate()
[all …]
Dvirtio_pci_device.rs291 iommu: Option<Arc<Mutex<IpcMemoryMapper>>>, field
386 iommu: None, in new()
508 if let Some(iommu) = &self.iommu { in activate()
509 self.device.set_iommu(iommu); in activate()
576 if let Some(iommu) = &self.iommu { in keep_rds()
577 rds.append(&mut iommu.lock().as_raw_descriptors()); in keep_rds()
896 if let Some(iommu) = &self.iommu { in write_bar()
898 q.set_iommu(Arc::clone(iommu)); in write_bar()
926 fn set_iommu(&mut self, iommu: IpcMemoryMapper) -> anyhow::Result<()> { in set_iommu()
928 self.iommu = Some(Arc::new(Mutex::new(iommu))); in set_iommu()
Dvirtio_mmio_device.rs69 iommu: Option<Arc<Mutex<IpcMemoryMapper>>>, field
105 iommu: None, in new()
330 if let Some(iommu) = &self.iommu { in write_mmio()
332 q.set_iommu(Arc::clone(iommu)); in write_mmio()
396 if let Some(iommu) = &self.iommu { in keep_rds()
397 rds.append(&mut iommu.lock().as_raw_descriptors()); in keep_rds()
Dmod.rs15 mod iommu; module
50 pub use self::iommu::*;
69 pub use self::iommu::sys::unix::vfio_wrapper;
Dvirtio_device.rs114 fn set_iommu(&mut self, iommu: &Arc<Mutex<IpcMemoryMapper>>) { in set_iommu()
115 let _ = iommu; in set_iommu()
/external/crosvm/devices/src/virtio/iommu/sys/unix/
Dvfio_wrapper.rs19 use crate::virtio::iommu::memory_mapper::AddMapResult;
20 use crate::virtio::iommu::memory_mapper::MappingInfo;
21 use crate::virtio::iommu::memory_mapper::MemoryMapper;
22 use crate::virtio::iommu::memory_mapper::RemoveMapResult;
/external/arm-trusted-firmware/fdts/
Dn1sdp.dtsi131 smmu_ccix: iommu@4f000000 {
139 #iommu-cells = <1>;
143 smmu_pcie: iommu@4f400000 {
151 #iommu-cells = <1>;
174 iommu-map = <0 &smmu_pcie 0 0x10000>;
197 iommu-map = <0 &smmu_ccix 0 0x10000>;
Dn1sdp-multi-chip.dts57 smmu_slave_pcie: iommu@4004f400000 {
65 #iommu-cells = <1>;
88 iommu-map = <0 &smmu_slave_pcie 0 0x10000>;
/external/crosvm/devices/src/virtio/iommu/
Dsys.rs15 pub(in crate::virtio::iommu) use platform::handle_command_tube;
16 pub(in crate::virtio::iommu) use platform::handle_translate_request;
Dipc_memory_mapper.rs179 iommu: Arc<Mutex<IpcMemoryMapper>>, field
184 if let Err(e) = self.iommu.lock().release(self.iova, self.size) { in drop()
200 iommu: Arc<Mutex<IpcMemoryMapper>>, in new()
204 let regions = iommu in new()
218 iommu, in new()
Dmemory_util.rs13 use crate::virtio::iommu::ExportedRegion;
/external/crosvm/devices/src/virtio/vhost/user/
Dproxy.rs288 iommu: Arc<Mutex<IpcMemoryMapper>>, field
452 .iommu in run()
984 .iommu in handle_map_message()
1043 self.iommu in handle_unmap_reply()
1179 self.iommu in release_exported_regions()
1313 iommu: Arc<Mutex<IpcMemoryMapper>>,
1376 iommu: Option<Arc<Mutex<IpcMemoryMapper>>>, field
1410 iommu: None, in new()
1534 iommu, in try_starting_worker()
1545 iommu, in try_starting_worker()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/
Davailable_events718 iommu:add_device_to_group
719 iommu:remove_device_from_group
720 iommu:attach_device_to_domain
721 iommu:detach_device_from_domain
722 iommu:map
723 iommu:unmap
724 iommu:map_start
725 iommu:map_end
726 iommu:unmap_start
727 iommu:unmap_end
[all …]
/external/crosvm/src/crosvm/sys/unix/
Dconfig.rs70 pub iommu: IommuDevType, field
349 assert_eq!(vfio.iommu, IommuDevType::NoIommu); in vfio_pci_path()
366 assert_eq!(vfio.iommu, IommuDevType::CoIommu); in vfio_pci_path_coiommu()
387 assert_eq!(vfio.iommu, IommuDevType::VirtioIommu); in vfio_pci_path_viommu_guest_address()
/external/crosvm/docs/book/src/devices/
Dindex.md23 - [`iommu`] - Emulates an IOMMU device to manage DMA from endpoints in the guest.
50 [`iommu`]: https://chromium.googlesource.com/crosvm/crosvm/+/refs/heads/main/devices/src/virtio/iom…
/external/cpuinfo/test/dmesg/
Dnexus6.log267 [ 0.314670] msm_iommu fda64000.qcom,iommu: device jpeg_iommu mapped at cd700000, with 3 ctx banks
268 [ 0.315342] msm_iommu fd928000.qcom,iommu: device mdp_iommu mapped at cd720000, with 3 ctx banks
269 [ 0.316260] msm_iommu fdc84000.qcom,iommu: device venus_iommu mapped at cd740000, with 5 ctx ban…
270 [ 0.316847] msm_iommu fdb10000.qcom,iommu: device kgsl_iommu mapped at cd760000, with 3 ctx banks
271 [ 0.317595] msm_iommu fda44000.qcom,iommu: device vfe_iommu mapped at cd780000, with 3 ctx banks
272 [ 0.318748] msm_iommu f9bc4000.qcom,iommu: device copss_iommu mapped at cd7a0000, with 8 ctx ban…
274 [ 0.319397] msm_iommu fdee4000.qcom,iommu: device vpu_iommu mapped at cd7c0000, with 3 ctx banks
275 [ 0.320056] msm_iommu fe054000.qcom,iommu: device lpass_qdsp_iommu mapped at cd7e0000, with 4 ct…
276 [ 0.320602] msm_iommu fe064000.qcom,iommu: device lpass_core_iommu mapped at cda20000, with 3 ct…
277 [ 0.321371] msm_iommu_ctx fda6c000.qcom,iommu-ctx: context jpeg_enc0 using bank 0
[all …]
Dxiaomi-redmi-note-4.log244 [ 0.645638] msm_iommu 1e00000.qcom,iommu: device apps_iommu (model: 500) mapped at ffffff8001d80…
245 [ 0.651488] msm_iommu_ctx 1e20000.qcom,iommu-ctx: context adsp_elf using bank 0
246 [ 0.651637] msm_iommu_ctx 1e21000.qcom,iommu-ctx: context adsp_sec_pixel using bank 1
247 [ 0.651776] msm_iommu_ctx 1e22000.qcom,iommu-ctx: context mdp_1 using bank 2
248 [ 0.651917] msm_iommu_ctx 1e23000.qcom,iommu-ctx: context venus_fw using bank 3
249 [ 0.652064] msm_iommu_ctx 1e24000.qcom,iommu-ctx: context venus_sec_non_pixel using bank 4
250 [ 0.652210] msm_iommu_ctx 1e25000.qcom,iommu-ctx: context venus_sec_bitstream using bank 5
251 [ 0.652351] msm_iommu_ctx 1e26000.qcom,iommu-ctx: context venus_sec_pixel using bank 6
252 [ 0.652518] msm_iommu_ctx 1e28000.qcom,iommu-ctx: context pronto_pil using bank 8
253 [ 0.652683] msm_iommu_ctx 1e29000.qcom,iommu-ctx: context q6 using bank 9
[all …]
Doppo-a37.log214 <6>[ 0.210290] (0)[1:swapper/0]msm_iommu 1f00000.qcom,iommu: device gfx_iommu (model: 500) mapp…
215 <6>[ 0.210885] (1)[1:swapper/0]msm_iommu 1e00000.qcom,iommu: device apps_iommu (model: 500) map…
216 <6>[ 0.214686] (0)[1:swapper/0]msm_iommu_ctx 1f09000.qcom,iommu-ctx: context gfx3d_user using b…
217 <6>[ 0.214818] (1)[1:swapper/0]msm_iommu_ctx 1f0a000.qcom,iommu-ctx: context gfx3d_priv using b…
218 <6>[ 0.214918] (1)[1:swapper/0]msm_iommu_ctx 1e22000.qcom,iommu-ctx: context jpeg_enc0 using ba…
219 <6>[ 0.215000] (1)[1:swapper/0]msm_iommu_ctx 1e23000.qcom,iommu-ctx: context vfe using bank 3
220 <6>[ 0.215078] (1)[1:swapper/0]msm_iommu_ctx 1e24000.qcom,iommu-ctx: context mdp_0 using bank 4
221 <6>[ 0.215158] (1)[1:swapper/0]msm_iommu_ctx 1e25000.qcom,iommu-ctx: context venus_ns using ban…
222 <6>[ 0.215235] (1)[1:swapper/0]msm_iommu_ctx 1e26000.qcom,iommu-ctx: context cpp using bank 6
223 <6>[ 0.215314] (1)[1:swapper/0]msm_iommu_ctx 1e27000.qcom,iommu-ctx: context mDSP using bank 7
[all …]
Dxiaomi-redmi-note-3.log423 <6>[ 0.223223] msm_iommu 1f00000.qcom,iommu: device gfx_iommu (model: 500) mapped at ffffff80019…
424 <6>[ 0.223715] msm_iommu 1e00000.qcom,iommu: device apps_iommu (model: 500) mapped at ffffff8001…
425 <6>[ 0.226814] msm_iommu_ctx 1f08000.qcom,iommu-ctx: context gfx3d_user using bank 0
426 <6>[ 0.226893] msm_iommu_ctx 1f09000.qcom,iommu-ctx: context gfx3d_secure using bank 1
427 <6>[ 0.226966] msm_iommu_ctx 1f0a000.qcom,iommu-ctx: context gfx3d_priv using bank 2
428 <6>[ 0.227038] msm_iommu_ctx 1e20000.qcom,iommu-ctx: context adsp_elf using bank 0
429 <6>[ 0.227110] msm_iommu_ctx 1e21000.qcom,iommu-ctx: context adsp_sec_pixel using bank 1
430 <6>[ 0.227183] msm_iommu_ctx 1e22000.qcom,iommu-ctx: context adsp_sec_bitstream using bank 2
431 <6>[ 0.227260] msm_iommu_ctx 1e23000.qcom,iommu-ctx: context venus_fw using bank 3
432 <6>[ 0.227332] msm_iommu_ctx 1e24000.qcom,iommu-ctx: context venus_sec_non_pixel using bank 4
[all …]
Dlg-k10-eu.log262 <6>[ 0.181434 / 01-01 00:00:00.160] msm_iommu 1f00000.qcom,iommu: device gfx_iommu (model: 500) …
263 <6>[ 0.184842 / 01-01 00:00:00.160] msm_iommu 1e00000.qcom,iommu: device apps_iommu (model: 500)…
264 <6>[ 0.185698 / 01-01 00:00:00.160] msm_iommu_ctx 1f09000.qcom,iommu-ctx: context gfx3d_user usi…
265 <6>[ 0.185796 / 01-01 00:00:00.160] msm_iommu_ctx 1f0a000.qcom,iommu-ctx: context gfx3d_priv usi…
266 <6>[ 0.185884 / 01-01 00:00:00.160] msm_iommu_ctx 1e22000.qcom,iommu-ctx: context jpeg_enc0 usin…
267 <6>[ 0.185963 / 01-01 00:00:00.160] msm_iommu_ctx 1e23000.qcom,iommu-ctx: context vfe using bank…
268 <6>[ 0.186038 / 01-01 00:00:00.160] msm_iommu_ctx 1e24000.qcom,iommu-ctx: context mdp_0 using ba…
269 <6>[ 0.186111 / 01-01 00:00:00.160] msm_iommu_ctx 1e25000.qcom,iommu-ctx: context venus_ns using…
270 <6>[ 0.186184 / 01-01 00:00:00.160] msm_iommu_ctx 1e26000.qcom,iommu-ctx: context cpp using bank…
271 <6>[ 0.186261 / 01-01 00:00:00.160] msm_iommu_ctx 1e27000.qcom,iommu-ctx: context mDSP using ban…
[all …]
Dmoto-g-gen2.log207 [ 0.389210,0] msm_iommu_v1 fda64000.qcom,iommu: device jpeg_iommu mapped at e6960000, with 3 ctx…
208 [ 0.390337,0] msm_iommu_v1 fd928000.qcom,iommu: device mdp_iommu mapped at e6a40000, with 3 ctx …
209 [ 0.391455,0] msm_iommu_v1 fdc84000.qcom,iommu: device venus_iommu mapped at e6a60000, with 3 ct…
210 [ 0.392521,0] msm_iommu_v1 fdb10000.qcom,iommu: device kgsl_iommu mapped at e6a80000, with 3 ctx…
211 [ 0.393573,0] msm_iommu_v1 fda44000.qcom,iommu: device vfe_iommu mapped at e6aa0000, with 3 ctx …
212 [ 0.394870,0] msm_iommu_ctx_v1 fda6c000.qcom,iommu-ctx: context jpeg_enc0 using bank 0
213 [ 0.395158,0] msm_iommu_ctx_v1 fda6d000.qcom,iommu-ctx: context jpeg_enc1 using bank 1
214 [ 0.395364,0] msm_iommu_ctx_v1 fda6e000.qcom,iommu-ctx: context jpeg_dec using bank 2
215 [ 0.395662,0] msm_iommu_ctx_v1 fd930000.qcom,iommu-ctx: context mdp_0 using bank 0
216 [ 0.395961,0] msm_iommu_ctx_v1 fd931000.qcom,iommu-ctx: context mdp_1 using bank 1
[all …]
/external/mesa3d/.gitlab-ci/
Ddeqp-freedreno-a530-flakes.txt12 # unstable results (probably related to the iommu faults).
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/
Davailable_events1137 iommu:add_device_to_group
1138 iommu:attach_device_to_domain
1139 iommu:detach_device_from_domain
1140 iommu:io_page_fault
1141 iommu:map
1142 iommu:remove_device_from_group
1143 iommu:unmap

123