linux-yocto/arch/powerpc/sysdev
Guo Weikang c6f239796b mm/memblock: add memblock_alloc_or_panic interface
Before SLUB initialization, various subsystems used memblock_alloc to
allocate memory.  In most cases, when memory allocation fails, an
immediate panic is required.  To simplify this behavior and reduce
repetitive checks, introduce `memblock_alloc_or_panic`.  This function
ensures that memory allocation failures result in a panic automatically,
improving code readability and consistency across subsystems that require
this behavior.

[guoweikang.kernel@gmail.com: arch/s390: save_area_alloc default failure behavior changed to panic]
  Link: https://lkml.kernel.org/r/20250109033136.2845676-1-guoweikang.kernel@gmail.com
  Link: https://lore.kernel.org/lkml/Z2fknmnNtiZbCc7x@kernel.org/
Link: https://lkml.kernel.org/r/20250102072528.650926-1-guoweikang.kernel@gmail.com
Signed-off-by: Guo Weikang <guoweikang.kernel@gmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>	[s390]
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-25 20:22:38 -08:00
..
ge
xics powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu 2023-11-27 22:01:15 +11:00
xive powerpc/xive: Use cpumask_intersects() 2024-11-14 22:43:52 +11:00
6xx-suspend.S
cpm_common.c
cpm_gpio.c
cpm2_pic.c powerpc/cpm2: Remove cpm2_map() and cpm2_unmap() 2023-08-16 23:54:47 +10:00
cpm2_pic.h
cpm2.c powerpc/cpm2: Remove cpm2_map() and cpm2_unmap() 2023-08-16 23:54:47 +10:00
dart_iommu.c powerpc/dart: Drop unnecessary call to kmemleak_no_scan() 2024-04-29 23:51:16 +10:00
dart.h
dcr-low.S powerpc: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-16 23:54:48 +10:00
dcr.c
ehv_pic.c powerpc/85xx: Mark some functions static and add missing includes to fix no previous prototype error 2023-08-23 15:55:21 +10:00
fsl_gtm.c powerpc: Fix kernel-doc comments in fsl_gtm.c 2024-05-07 23:16:13 +10:00
fsl_lbc.c
fsl_mpic_err.c
fsl_mpic_timer_wakeup.c
fsl_msi.c powerpc: Switch back to struct platform_driver::remove() 2024-09-10 11:27:40 +10:00
fsl_msi.h
fsl_pci.c powerpc/fsl-pci: Use PCI_HEADER_TYPE_MASK instead of literal 2023-12-01 15:00:54 -06:00
fsl_pci.h powerpc/fsl_pci: Make fsl_add_bridge() static 2023-08-18 17:03:13 +10:00
fsl_pmc.c
fsl_rcpm.c
fsl_rio.c powerpc/85xx: Mark some functions static and add missing includes to fix no previous prototype error 2023-08-23 15:55:21 +10:00
fsl_rio.h
fsl_rmu.c powerpc/85xx: Mark some functions static and add missing includes to fix no previous prototype error 2023-08-23 15:55:21 +10:00
fsl_soc.c TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
fsl_soc.h
grackle.c powerpc/32: Drop unused grackle_set_stg() 2023-11-27 22:01:15 +11:00
i8259.c
indirect_pci.c
ipic.c
ipic.h
Kconfig powerpc: Replace CONFIG_4xx with CONFIG_44x 2024-06-28 22:28:48 +10:00
Makefile powerpc/Makefile: Remove bits related to the previous use of -mcmodel=large 2024-05-07 23:48:45 +10:00
mmio_nvram.c
mpc5xxx_clocks.c powerpc/mpc5xxx: Add missing fwnode_handle_put() 2023-08-25 08:39:30 +10:00
mpic_msgr.c
mpic_msi.c
mpic_timer.c
mpic_u3msi.c
mpic.c powerpc: mpic: make mpic_subsys const 2024-02-15 00:14:06 +11:00
mpic.h
msi_bitmap.c mm/memblock: add memblock_alloc_or_panic interface 2025-01-25 20:22:38 -08:00
of_rtc.c
pmi.c powerpc: Switch back to struct platform_driver::remove() 2024-09-10 11:27:40 +10:00
rtc_cmos_setup.c powerpc: add missing MODULE_DESCRIPTION() macros 2024-07-04 22:39:20 +10:00
tsi108_dev.c
tsi108_pci.c
udbg_memcons.c powerpc: udbg_memcons: mark functions static 2024-02-06 21:17:44 +11:00