aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorGravatar Guo Ren <ren_guo@c-sky.com> 2018-11-20 16:06:57 +0800
committerGravatar Guo Ren <ren_guo@c-sky.com> 2018-12-03 10:49:11 +0800
commit63e19c8216bb03a1b4d10f6637d1324ae7a2b612 (patch)
treee262771a315b279237acea490c54e110d198af1c /MAINTAINERS
parentMAINTAINERS: add maintainer for C-SKY drivers (diff)
downloadlinux-63e19c8216bb03a1b4d10f6637d1324ae7a2b612.tar.gz
linux-63e19c8216bb03a1b4d10f6637d1324ae7a2b612.tar.bz2
linux-63e19c8216bb03a1b4d10f6637d1324ae7a2b612.zip
csky: bugfix tlb_get_pgd error.
It's wrong to mask/unmask highest bit in addr to translate the vaddr to paddr. We should use PAGE_OFFSET and PHYS_OFFSET. Wrong implement: return ((get_pgd()|(1<<31)) - PHYS_OFFSET) & ~1; When PHYS_OFFSET=0xc0000000 and get_pgd() return 0xe0000000, it'll return 0x60000000. It's wrong and should be 0xa0000000. Now correct it to: return ((get_pgd() - PHYS_OFFSET) & ~1) + PAGE_OFFSET; Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions