summaryrefslogtreecommitdiff
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-11-04 12:07:13 +0530
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-11-06 00:03:47 -0800
commit1074dd44c5ba377f90e2d0d99a784f73dbea6ff7 (patch)
treedb890abe5ec11634ed0b8fd001e4c307e96f89a9 /drivers/fpga/zynq-fpga.c
parent635e3f3e47f24b2506bc9daf91d70ddf3cd024a9 (diff)
RISC-V: Use non-PGD mappings for early DTB access
Currently, we use PGD mappings for early DTB mapping in early_pgd but this breaks Linux kernel on SiFive Unleashed because on SiFive Unleashed PMP checks don't work correctly for PGD mappings. To fix early DTB mappings on SiFive Unleashed, we use non-PGD mappings (i.e. PMD) for early DTB access. Fixes: 8f3a2b4a96dc ("RISC-V: Move DT mapping outof fixmap") Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Tested-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions