rhythm16.github.io

Home Tags Categories Archives About

Why aren’t CNT{P, V} TVAL_EL0 in the VNCR page?

Recently I have been looking at ARM architecture’s support for nested virtualization and its implementation in KVM ARM,
2025-01-30 ARMv8 , Nested Virtualization

為什麼ARM Nested Virtualization的VNCR page 沒有CNT{P, V} TVAL_EL0

最近在研究ARM架構對於nested virtualization的支持和KVM ARM nested virtualization的實作,所以也就讀到了Generic timer的虛擬化。在觀察FEAT_NV2和Generic timer
2025-01-25 ARMv8 , Nested Virtualization

Why does the stage 2 page tables need to be cleared after a reinitialization of a vCPU?

Originally I wanted to do better job at presenting the contents of this article, but there is just too much information
2024-11-06 Linux , KVM , ARMv8

為什麼KVM重新初始化vCPU時要清除所有stage 2地址轉換?

對於這篇我原本是想要寫的順一點的,但寫到後來實在是太雜了也太多背景知識要補充,所以最後比較像是一份雜亂的筆記😅 有興趣的人如果有問題歡迎來信討論 此文中”guest”與”VM”與”guest VM”這三個詞是一樣的意思 Arm Arc
2024-10-30 Linux , KVM , ARMv8

Casting a `char` to an `unsigned int` sign extends

Let’s look at this snippet of code: 12345678#include <stdio.h>int main() { char a = 0xFF; unsigned char b = 0
2024-06-17 C

把`char`cast成`unsigned int`會sign extend

看一下這段code: 12345678#include <stdio.h>int main() { char a = 0xFF; unsigned char b = 0xFF; printf("%x, %x\
2024-06-12 C

Linux Interrupt Subsystem Intro (2): Interrupt Handling Process

Linux version: v6.0 Architecture: ARMv8 This post is the continuation of Linux Interrupt Subsystem Intro(1): Interrupt
2024-03-24 Linux , ARMv8 , interrupt

Linux中斷子系統簡介(2): 中斷處理流程執行

Linux版本:v6.0處理器架構:ARMv8 這篇接續Linux中斷子系統簡介(1): 中斷處理流程的建立 前言距離前篇已經過了快要半年… 中間跑去研究其他的事了所以才一直留著這個坑沒填,現在回來看已經有點生疏了qaq,果然有想寫的東
2024-03-04 Linux , ARMv8 , interrupt

Linux Interrupt Subsystem Intro(1): Interrupt Handling Initialization

Linux version: v6.0 Architecture: ARMv8 I have been digging into the details of interrupt processing in Linux in the p
2023-12-27 Linux , ARMv8 , interrupt

Linux中斷子系統簡介(1): 中斷處理流程的建立

Linux版本:v6.0 處理器架構:ARMv8 前言這幾週花了不少時間在看Linux到底是怎麼處理中斷的,在閱讀網路上前輩們介紹Linux中斷的blogs時總覺得細節都講得不錯,但大方向好難掌握住,我也是真的下去trace一遍才比較有
2023-09-23 Linux , ARMv8 , interrupt
next
Powered by Hexo Theme