Message ID | 1613663886-83811-6-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Superseded |
Delegated to: | Priyanka Jain |
Headers | show |
Series | ppc: qemu: Convert qemu-ppce500 to driver model and enable additional driver support | expand |
>-----Original Message----- >From: Bin Meng <bmeng.cn@gmail.com> >Sent: Thursday, February 18, 2021 9:28 PM >To: Simon Glass <sjg@chromium.org>; Alexander Graf <agraf@csgraf.de>; >Priyanka Jain <priyanka.jain@nxp.com> >Cc: U-Boot Mailing List <u-boot@lists.denx.de>; Tom Rini ><trini@konsulko.com> >Subject: [PATCH v2 05/38] ppc: qemu: Fix CONFIG_SYS_PCI_MAP_END > >CONFIG_SYS_PCI_MAP_END currently points to 0xe8000000, which means >the upper end of the virtual address mapped to PCI bus address ends at >0xe8000000. But this is wrong as the CCSBAR was already mapped at >0xe0000000 with a 1 MiB size. > >Fixes: fa08d3951777 ("PPC 85xx: Add qemu-ppce500 machine") >Signed-off-by: Bin Meng <bmeng.cn@gmail.com> >--- > >(no changes since v1) > > include/configs/qemu-ppce500.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu- >ppce500.h index ee6ef18..f13e4ea 100644 >--- a/include/configs/qemu-ppce500.h >+++ b/include/configs/qemu-ppce500.h >@@ -35,7 +35,7 @@ extern unsigned long long >get_phys_ccsrbar_addr_early(void); > > /* Virtual address range for PCI region maps */ > #define CONFIG_SYS_PCI_MAP_START 0x80000000 >-#define CONFIG_SYS_PCI_MAP_END 0xe8000000 >+#define CONFIG_SYS_PCI_MAP_END 0xe0000000 > > /* Virtual address to a temporary map if we need it (max 128MB) */ > #define CONFIG_SYS_TMPVIRT 0xe8000000 >-- >2.7.4 Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h index ee6ef18..f13e4ea 100644 --- a/include/configs/qemu-ppce500.h +++ b/include/configs/qemu-ppce500.h @@ -35,7 +35,7 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void); /* Virtual address range for PCI region maps */ #define CONFIG_SYS_PCI_MAP_START 0x80000000 -#define CONFIG_SYS_PCI_MAP_END 0xe8000000 +#define CONFIG_SYS_PCI_MAP_END 0xe0000000 /* Virtual address to a temporary map if we need it (max 128MB) */ #define CONFIG_SYS_TMPVIRT 0xe8000000
CONFIG_SYS_PCI_MAP_END currently points to 0xe8000000, which means the upper end of the virtual address mapped to PCI bus address ends at 0xe8000000. But this is wrong as the CCSBAR was already mapped at 0xe0000000 with a 1 MiB size. Fixes: fa08d3951777 ("PPC 85xx: Add qemu-ppce500 machine") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> --- (no changes since v1) include/configs/qemu-ppce500.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)