Centos-kernel-stream-9/arch/arc
Ming Lei f61ca691c2 asm-generic: provide generic page_to_phys and phys_to_page implementations
JIRA: https://issues.redhat.com/browse/RHEL-79409
Conflicts: drop change on several un-supported arch code(hexagon,
longarch, openrisc)

commit c5c3238d9b8cee58cd4b08bbbe9347a94a566390
Author: Christoph Hellwig <hch@lst.de>
Date:   Wed Oct 23 07:36:36 2024 +0200

    asm-generic: provide generic page_to_phys and phys_to_page implementations

    page_to_phys is duplicated by all architectures, and from some strange
    reason placed in <asm/io.h> where it doesn't fit at all.

    phys_to_page is only provided by a few architectures despite having a lot
    of open coded users.

    Provide generic versions in <asm-generic/memory_model.h> to make these
    helpers more easily usable.

    Note with this patch powerpc loses the CONFIG_DEBUG_VIRTUAL pfn_valid
    check.  It will be added back in a generic version later.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Signed-off-by: Ming Lei <ming.lei@redhat.com>
2025-03-14 16:48:31 +08:00
..
boot ARC: haps: bump memory to 1 GB 2021-03-12 07:22:23 -08:00
configs mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2024-09-05 20:35:59 -04:00
include asm-generic: provide generic page_to_phys and phys_to_page implementations 2025-03-14 16:48:31 +08:00
kernel module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mm mm: make arch_has_descending_max_zone_pfns() static 2024-04-30 07:00:48 -04:00
plat-axs10x treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
plat-hsdk ARC: [hsdk]: Enable FPU_SAVE_RESTORE 2021-01-08 13:46:58 -08:00
plat-sim ARC: merge HAPS-HS with nSIM-HS configs 2019-10-28 12:12:31 -07:00
plat-tb10x treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
Kconfig mm, treewide: redefine MAX_ORDER sanely 2023-10-30 09:12:37 +01:00
Kconfig.debug
Makefile kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild 2021-05-26 23:10:37 +09:00