Hi I have tested both this patch and the patch by Rabin and they are OK for me. The patches fixes the identified problems and I have not found any unwanted consequences from the patches. Jan Jan Karlsson Senior Software Engineer MIB Sony Mobile Communications Tel: +46703062174 From: paawan oza [mailto:paawan1982@xxxxxxxxx] Hi, --- arm.c 2012-06-29 20:29:18.000000000 +0530 +++ arm_section.c 2012-10-04 19:49:01.166889000 +0530 @@ -932,6 +932,13 @@ */ page_dir = pgd + PGD_OFFSET(vaddr) * 2; + /* The unity-mapped region is mapped using 1MB pages, + * hence 1-level translation if bit 20 is set, + * we are 1MB apart physically, + * hence we move the page_dir in case bit 20 is set. + */ + if (((vaddr) >> (20)) & 1) + page_dir = page_dir + 1; FILL_PGD(PAGEBASE(pgd), KVADDR, PGDIR_SIZE()); pgd_pte = ULONG(machdep->pgd + PGDIR_OFFSET(page_dir)); Regards, Oza. From: Dave Anderson <anderson@xxxxxxxxxx>
|
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility