1
0
Fork 0
alistair23-linux/arch/riscv
Alexandre Ghiti b557b2f006 riscv: Fix range looking for kernel image memblock
[ Upstream commit a160eed4b7 ]

When looking for the memblock where the kernel lives, we should check
that the memory range associated to the memblock entirely comprises the
kernel image and not only intersects with it.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-25 08:25:48 +01:00
..
boot riscv: dts: HiFive Unleashed: add default chosen/stdout-path 2019-10-14 12:30:30 -07:00
configs RISC-V: Enable VIRTIO drivers in RV64 and RV32 defconfig 2019-09-19 05:44:35 -07:00
include RISC-V: Add PCIe I/O BAR memory mapping 2019-10-28 10:43:32 -07:00
kernel riscv: avoid the PIC offset of static percpu data in module beyond 2G limits 2020-03-25 08:25:48 +01:00
lib riscv: Using CSR numbers to access CSRs 2019-08-30 11:04:19 -07:00
mm riscv: Fix range looking for kernel image memblock 2020-03-25 08:25:48 +01:00
net riscv, bpf: Fix broken BPF tail calls 2020-02-11 04:35:28 -08:00
Kbuild riscv: add arch/riscv/Kbuild 2019-08-30 17:34:00 -07:00
Kconfig riscv: Force flat memory model with no-mmu 2020-03-25 08:25:48 +01:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: select SiFive platform drivers with SOC_SIFIVE 2019-07-01 13:20:01 -07:00
Makefile Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00