提交 63eef6e8 编写于 作者: Z Zihao Yu

riscv: fix "Cannot allocate SWIOTLB buffer"

* By default, ARCH_LOW_ADDRESS_LIMIT is 0xffff_ffffUL. When we put the
  kernel over 4GB physical memory, swiotlb can not get free memory below
  ARCH_LOW_ADDRESS_LIMIT. Modifying ARCH_LOW_ADDRESS_LIMIT to
  0xf_ffff_ffffUL can fix this issue.
上级 94dfd6b6
......@@ -92,6 +92,8 @@ extern int riscv_of_processor_hart(struct device_node *node);
extern void riscv_fill_hwcap(void);
#define ARCH_LOW_ADDRESS_LIMIT (0xfffffffffUL)
#endif /* __ASSEMBLY__ */
#endif /* _ASM_RISCV_PROCESSOR_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册