Linux内核crypto子系统带有自测试的功能,它可以对注册到crypto子系统上的各种算法 做测试。如果你自己写了一个驱动注册了一个算法到crypto子系统上可以使用crypto自带 的测试程序做一下快速的测试。本文大概介绍下crypto下的自测试相关的东西。
linux kernel vfio mdev arch
This document shares the basic logic of linux vfio mdev driver
How to do UT test in software
UT test is one kind of basic software test. This document tries to share the basic idea about UT test from author. The idea is not mutual and author does not have much experience about UT.
tmux tips
tmux is useful tool in linux when you need to work in different windows. This note tries to collect and share some tips when I am using tmux to work.
PCI FLR analysis
PCI协议里有function level reset的定义,实现FLR的设备可以提供function级别的复位。 本文梳理linux内核里和FLR相关的流程。本文可以作为设备复位设计的一个参考。
Compile DPDK in ARMv8 machine
This doc is a quirk note about the process of DPDK compile in ARMv8 machine.
cache基础概念
本文是学习cache基础知识过程中的一个笔记。学习的材料是《深入理解计算机系统》和 ARMv8的编程指导手册。这个笔记会梳理cache相关的几个基础概念,比如,cache line, cache set, way,全相连cache,组相连cache,直接映射cache等等。其实 《深入理解计算机系统》这本书里讲的已经很清楚。这里会结合ARMv8手册做一个简单梳理。
模块复位的基本逻辑
设备复位的功能,需要软硬件一起联合起来考虑。本文试图梳理下要给一个linux设备驱动 加上复位功能需要考虑的基本逻辑。本文只从逻辑的层面给出我的认识,不涉及具体的 硬件和软件驱动。
How to use Linux kernel crypto compression
This doc shares the crypto compression API in Linux kernel.
Guest and host communication for QEMU
When we use qemu to help debug, we need a way to move files between host and guest. This doc shares a easy way to do this.