0%

In server system, we often use ACPI table in UEFI to stort parametres of system. For a PCIe subsystem, IORT table will be used to store configurations of ITS, SMMU and RC. This document analyzes how to parse ITS configuration in kernel.

阅读全文 »

This document shares a code analysis based on Linux-v4.9 about how to parse SMMU information in ACPI IORT table, and how does a PCIe device get its SMMUv3 device.

阅读全文 »

There are a lot things should be done in software to support PCIe SR-IOV. Using qemu(for example) to use a VF, at least, we should: 1. host PCI subsystem finds VF and allocate resources for VF. 2. vfio driver exports VF's configure space, MEM/IO range to user space. 3. vfio driver allocate DMA for VF by IOMMU. 4. vfio driver builds the interrupt flow for VF. 5. qemu vfio driver simulates PCIe device for guest kernel. This document just tries to share an outline about point 1.

阅读全文 »

docker的三个最基本的概念是镜像(Image),容器(Container)和仓库(Repository)。本文简单介绍有关他们的基础操作。

阅读全文 »