original_kernel/drivers/firmware
Palmer Dabbelt 0c34e79e52
RISC-V: Introduce sv48 support without relocatable kernel
This patchset allows to have a single kernel for sv39 and sv48 without
being relocatable.

The idea comes from Arnd Bergmann who suggested to do the same as x86,
that is mapping the kernel to the end of the address space, which allows
the kernel to be linked at the same address for both sv39 and sv48 and
then does not require to be relocated at runtime.

This implements sv48 support at runtime. The kernel will try to boot
with 4-level page table and will fallback to 3-level if the HW does not
support it. Folding the 4th level into a 3-level page table has almost
no cost at runtime.

Note that kasan region had to be moved to the end of the address space
since its location must be known at compile-time and then be valid for
both sv39 and sv48 (and sv57 that is coming).

* riscv-sv48-v3:
  riscv: Explicit comment about user virtual address space size
  riscv: Use pgtable_l4_enabled to output mmu_type in cpuinfo
  riscv: Implement sv48 support
  asm-generic: Prepare for riscv use of pud_alloc_one and pud_free
  riscv: Allow to dynamically define VA_BITS
  riscv: Introduce functions to switch pt_ops
  riscv: Split early kasan mapping to prepare sv48 introduction
  riscv: Move KASAN mapping next to the kernel mapping
  riscv: Get rid of MAXPHYSMEM configs

Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-01-19 19:37:44 -08:00
..
arm_ffa
arm_scmi virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
broadcom
cirrus firmware: cs_dsp: Clear core reset for cache 2022-01-05 13:53:53 +00:00
efi RISC-V: Introduce sv48 support without relocatable kernel 2022-01-19 19:37:44 -08:00
google firmware: Update Kconfig help text for Google firmware 2021-12-21 10:12:31 +01:00
imx
meson
psci
smccc firmware: smccc: Fix check for ARCH_SOC_ID not implemented 2021-11-22 11:42:59 +01:00
tegra
xilinx Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
Kconfig
Makefile
arm_scpi.c
arm_sdei.c
dmi-id.c
dmi-sysfs.c firmware: dmi-sysfs: use default_groups in kobj_type 2022-01-06 14:28:22 +01:00
dmi_scan.c
edd.c firmware: edd: remove empty default_attrs array 2022-01-06 14:28:42 +01:00
iscsi_ibft.c
iscsi_ibft_find.c
memmap.c firmware: memmap: use default_groups in kobj_type 2022-01-05 19:17:29 +01:00
pcdp.c
pcdp.h
qcom_scm-legacy.c
qcom_scm-smc.c
qcom_scm.c
qcom_scm.h
qemu_fw_cfg.c firmware: qemu_fw_cfg: remove sysfs entries explicitly 2022-01-14 18:50:52 -05:00
raspberrypi.c
scpi_pm_domain.c firmware: arm_scpi: Fix string overflow in SCPI genpd driver 2021-12-13 15:17:37 +01:00
stratix10-rsu.c
stratix10-svc.c
sysfb.c
sysfb_simplefb.c drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb 2022-01-06 15:47:45 +01:00
ti_sci.c firmware: ti_sci: rm: remove unneeded semicolon 2021-11-22 19:41:36 -06:00
ti_sci.h
trusted_foundations.c
turris-mox-rwtm.c