0%

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 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协议里有function level reset的定义,实现FLR的设备可以提供function级别的复位。 本文梳理linux内核里和FLR相关的流程。本文可以作为设备复位设计的一个参考。

阅读全文 »

本文是学习cache基础知识过程中的一个笔记。学习的材料是《深入理解计算机系统》和 ARMv8的编程指导手册。这个笔记会梳理cache相关的几个基础概念,比如,cache line, cache set, way,全相连cache,组相连cache,直接映射cache等等。其实 《深入理解计算机系统》这本书里讲的已经很清楚。这里会结合ARMv8手册做一个简单梳理。

阅读全文 »

设备复位的功能,需要软硬件一起联合起来考虑。本文试图梳理下要给一个linux设备驱动 加上复位功能需要考虑的基本逻辑。本文只从逻辑的层面给出我的认识,不涉及具体的 硬件和软件驱动。

阅读全文 »