Skip to content

Add EFI reserved memory regions for QCS615/QCM6490#6

Open
aswinm94 wants to merge 1 commit intoqualcomm-linux:qcom-nextfrom
aswinm94:efi-reserved-mem
Open

Add EFI reserved memory regions for QCS615/QCM6490#6
aswinm94 wants to merge 1 commit intoqualcomm-linux:qcom-nextfrom
aswinm94:efi-reserved-mem

Conversation

@aswinm94
Copy link

Implemented platform-specific reserved memory registration for EFI on
Qualcomm Snapdragon platforms. This adds SoC-specific memory regions
to the EFI memory map.

Added qcom_reserved_memory.c with predefined memory regions for QCS615
and QCM6490/SC7280 SoCs. The implementation detects the SoC type
from device tree and registers appropriate memory regions
via efi_add_memory_map().

Implemented efi_add_known_memory() in board.c to hook into the EFI
memory initialization.

Commits for this PR
arm: snapdragon: Add EFI reserved memory regions for QCS615/QCM6490

upstream link: https://lore.kernel.org/all/20260107091406.2428132-1-balaji.selvanathan@oss.qualcomm.com/

@b49020
Copy link
Member

b49020 commented Feb 11, 2026

This patch has got quite negative feedback upstream regarding hard coding of reserved memory ranges. Is the reserved memory ranges information already part of SMEM?

Implemented platform-specific reserved memory registration for EFI on
Qualcomm Snapdragon platforms. This adds SoC-specific memory regions
to the EFI memory map.

Added qcom_reserved_memory.c with predefined memory regions for QCS615
and QCM6490/SC7280 SoCs. The implementation detects the SoC type
from device tree and registers appropriate memory regions
via efi_add_memory_map().

Implemented efi_add_known_memory() in board.c to hook into the EFI
memory initialization.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments