----- Original Message -----
> Paawan, your fix looks sane to me but can you add a small
comment describing
> why this is done?
>
ok,
Let us wait for Dave and others to comment on it, and try to see how
this could be pushed.
Regards,
Oza.
Oza,
Can you please append your actual patch as Rabin has done? The only
thing that I have from you is this pseudo-code description:
then I have to do workaround for section level physical addresses as
follows.
page_dir = pgd + PGD_OFFSET(vaddr) * 2;
if (bit(vaddr,20)) //if bit is set then move to the next pgd */
page_dir = page_dir + 1;
FILL_PGD(PAGEBASE(pgd), KVADDR, PGDIR_SIZE());
pgd_pte = ULONG(machdep->pgd + PGDIR_OFFSET(page_dir));
Then Mika can decide on how to proceed with the two patches.
Dave