Skip to content

[PW_SID:1158743] [v2] kexec_file: remove unused arch_kexec_locate_mem_hole hook - #2598

Open
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1158743
Open

[PW_SID:1158743] [v2] kexec_file: remove unused arch_kexec_locate_mem_hole hook#2598
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1158743

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1158743 applied to workflow__riscv__fixes

Name: [v2] kexec_file: remove unused arch_kexec_locate_mem_hole hook
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1158743
Version: 2

No architecture provides an implementation of
arch_kexec_locate_mem_hole(). Use kexec_locate_mem_hole() directly
and remove the unused fallback wrapper from the kexec header.

This simplifies the kexec memory allocation path without changing
its behavior. No functional changes intended.

The arch hook was introduced by commit f891f19 ("kexec_file: Allow
archs to handle special regions while locating memory hole"), and its
last user was removed by commit 6e5250e ("powerpc/crash: use
generic APIs to locate memory hole for kdump").

Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Cc: Paul Walmsley <pjw@kernel.org>
Cc: Pratyush Yadav <pratyush@kernel.org>
Cc: linux-riscv@lists.infradead.org
Cc: kexec@lists.infradead.org
Acked-by: Baoquan He <baoquan.he@linux.dev>
Reviewed-by: Mukesh Pilaniya <mpilaniy@redhat.com>
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.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.

2 participants