[PATCH] powerpc: add support for PAGE_SIZEs greater than 4KB for

prodyut hazarika prodyuth at gmail.com
Fri Sep 12 08:37:32 EST 2008


>        /*
>         * Create WS1. This is the faulting address (EPN),
>         * page size, and valid flag.
>         */
> -       li      r11,PPC44x_TLB_VALID | PPC44x_TLB_4K
> +       li      r11,PPC44x_TLB_VALID | PPC44x_TLBE_SIZE
>        rlwimi  r10,r11,0,20,31                 /* Insert valid and page size*/
>        tlbwe   r10,r13,PPC44x_TLB_PAGEID       /* Write PAGEID */
>

Change
>        rlwimi  r10,r11,0,20,31                 /* Insert valid and page size*/
to
>        rlwimi  r10,r11,0,PPC44x_PTE_ADD_M1,31                 /* Insert valid and page size*/



More information about the Linuxppc-dev mailing list