Skip to content
Snippets Groups Projects
Commit 625b4cc8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp: iommu: check for invalid entries while page table parsing"

parents 87accc53 a54f8760
No related branches found
No related tags found
No related merge requests found
......@@ -284,6 +284,10 @@ def get_mapping_info(ramdump, pg_table, index):
def fl_entry(ramdump, fl_pte, skip_fl):
fl_pg_table_entry = ramdump.read_u64(fl_pte)
if fl_pg_table_entry is None:
return (0, 0)
sl_pte = fl_pg_table_entry & FLSL_BASE_MASK
if skip_fl == 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment