Commit 7e436355 authored by Ram Pai's avatar Ram Pai Committed by Michael Ellerman

powerpc: capture the PTE format changes in the dump pte report

The H_PAGE_F_SECOND,H_PAGE_F_GIX are not in the 64K main-PTE.
capture these changes in the dump pte report.
Reviewed-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: default avatarRam Pai <linuxram@us.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent a8548686
...@@ -213,7 +213,7 @@ static const struct flag_info flag_array[] = { ...@@ -213,7 +213,7 @@ static const struct flag_info flag_array[] = {
.val = H_PAGE_4K_PFN, .val = H_PAGE_4K_PFN,
.set = "4K_pfn", .set = "4K_pfn",
}, { }, {
#endif #else /* CONFIG_PPC_64K_PAGES */
.mask = H_PAGE_F_GIX, .mask = H_PAGE_F_GIX,
.val = H_PAGE_F_GIX, .val = H_PAGE_F_GIX,
.set = "f_gix", .set = "f_gix",
...@@ -224,6 +224,7 @@ static const struct flag_info flag_array[] = { ...@@ -224,6 +224,7 @@ static const struct flag_info flag_array[] = {
.val = H_PAGE_F_SECOND, .val = H_PAGE_F_SECOND,
.set = "f_second", .set = "f_second",
}, { }, {
#endif /* CONFIG_PPC_64K_PAGES */
#endif #endif
.mask = _PAGE_SPECIAL, .mask = _PAGE_SPECIAL,
.val = _PAGE_SPECIAL, .val = _PAGE_SPECIAL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment