Skip to content

hujiaodigua/force_build_sm_all_map_table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

use get_zeroed_page to create a all-map PML4 table structure.

the 1st offset = 0x888
the 2nd offsets are all
the 3rd offsets are all
the 4th offsets are all

this structure may use 1.1GB memory in vmalloc area.

Don't set the sm_root_t pa into RTADDR_REG
Besure the TTM=01b(scalable moe) into RTADDR_REG
Set the sm_context_t pa into Root Table entry

20240418 nested translation structure
sudo insmod neste_get_zeroed_page_test.ko bus=0x86 dev=0x10 func=0x1 pasid=0x143 rid_pasid=0x0

if pasid=0 means used rid_pasid, the checkr args input_pasid_val=0x0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published