Add EFI reserved memory regions for QCS615/QCM6490#6
Open
aswinm94 wants to merge 1 commit intoqualcomm-linux:qcom-nextfrom
Open
Add EFI reserved memory regions for QCS615/QCM6490#6aswinm94 wants to merge 1 commit intoqualcomm-linux:qcom-nextfrom
aswinm94 wants to merge 1 commit intoqualcomm-linux:qcom-nextfrom
Conversation
Member
|
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>
a2ba37b to
02c5617
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/