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.
PCI SMMU parse in ACPI
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.
PCI parse MEM/IO range in _CRS in ACPI table
Linux PCI code parses MEM/IO range, which are described in _CRS method in ACPI DSDT table. This document tries to share an analysis about this part of code.
PCIe enumeration for SR-IOV PCIe 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.
ssh笔记
本文用来收集ssh使用的一些技巧
How to test PCIe SR-IOV in D0x
This doc helps to introduce how to test PCIe SR-IOV in HiSilicon D05 board. We can use same way to test SR-IOV in Hi1620.
sed笔记
本文是Linux sed命令的一个学习笔记
docker笔记
docker的三个最基本的概念是镜像(Image),容器(Container)和仓库(Repository)。本文简单介绍有关他们的基础操作。
wireshark and tcpdump
本文记录使用wireshark做tcpdump的简单步骤
How to assign more than 31 VFs to one VM
本文介绍通过给虚拟机加入PCIe switch扩展总线的方法,通过这样的方法, 可以实现把多个VF挂接给一个虚拟机