linux-yocto/drivers
Bruno Faccini 7c734ad868 mm/fake-numa: handle cases with no SRAT info
commit 4c80187001 upstream.

Handle more gracefully cases where no SRAT information is available, like
in VMs with no Numa support, and allow fake-numa configuration to complete
successfully in these cases

Link: https://lkml.kernel.org/r/20250127171623.1523171-1-bfaccini@nvidia.com
Fixes: 63db8170bf (“mm/fake-numa: allow later numa node hotplug”)
Signed-off-by: Bruno Faccini <bfaccini@nvidia.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hyeonggon Yoo <hyeonggon.yoo@sk.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Mike Rapoport (IBM)" <rppt@kernel.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-23 11:18:52 +01:00
..
accel accel/ivpu: Fix DCT active percent format 2025-12-18 13:54:40 +01:00
accessibility
acpi mm/fake-numa: handle cases with no SRAT info 2026-01-23 11:18:52 +01:00
amba amba: tegra-ahb: Fix device leak on SMMU enable 2026-01-08 10:14:28 +01:00
android binder: remove "invalid inc weak" check 2025-10-29 14:09:00 +01:00
ata ata: libata-core: Disable LPM on ST2000DM008-2FR102 2026-01-17 16:31:28 +01:00
atm atm: Fix dma_free_coherent() size 2026-01-17 16:31:15 +01:00
auxdisplay
base PM: runtime: Do not clear needs_force_resume with enabled runtime PM 2026-01-08 10:14:23 +01:00
bcma bcma: don't register devices disabled in OF 2025-12-01 11:43:34 +01:00
block null_blk: fix kmemleak by releasing references to fault configfs items 2026-01-23 11:18:43 +01:00
bluetooth Bluetooth: btusb: revert use of devm_kzalloc in btusb 2026-01-08 10:14:32 +01:00
bus ti-sysc: allow OMAP2 and OMAP4 timers to be reserved on AM33xx 2026-01-08 10:14:09 +01:00
cache
cdrom
cdx cdx: Fix device node reference leak in cdx_msi_domain_init 2025-10-23 16:20:23 +02:00
char tpm2-sessions: Fix out of range indexing in name_size 2026-01-17 16:31:29 +01:00
clk clk: samsung: exynos-clkout: Assign .num before accessing .hws 2026-01-08 10:14:42 +01:00
clocksource clocksource/drivers/timer-rtl-otto: Do not interfere with interrupts 2025-11-13 15:34:07 -05:00
comedi comedi: check device's attached status in compat ioctls 2025-12-12 18:37:21 +01:00
connector
counter counter: interrupt-cnt: Drop IRQF_NO_THREAD flag 2026-01-17 16:31:16 +01:00
cpufreq cpufreq: intel_pstate: Check IDA only before MSR_IA32_PERF_CTL writes 2026-01-11 15:25:21 +01:00
cpuidle cpuidle: governors: teo: Drop misguided target residency check 2026-01-08 10:14:19 +01:00
crypto crypto: qat - fix duplicate restarting msg during AER error 2026-01-17 16:31:21 +01:00
cxl
dax
dca
devfreq
dio
dma dmaengine: fsl-edma: Fix clk leak on alloc_chan_resources failure 2026-01-23 11:18:51 +01:00
dma-buf udmabuf: fix a buf size overflow issue during udmabuf creation 2025-11-02 22:15:23 +09:00
dpll
edac EDAC/i3200: Fix a resource leak in i3200_probe1() 2026-01-23 11:18:46 +01:00
eisa
extcon extcon: adc-jack: Cleanup wakeup source only if it was enabled 2025-11-13 15:34:41 -05:00
firewire firewire: nosy: Fix dma_free_coherent() size 2026-01-08 10:14:34 +01:00
firmware efi/cper: Fix cper_bits_to_str buffer handling and return value 2026-01-23 11:18:35 +01:00
fpga
fsi
gnss
gpio gpio: pca953x: handle short interrupt pulses on PCAL devices 2026-01-17 16:31:22 +01:00
gpu drm/vmwgfx: Fix an error return check in vmw_compat_shader_add() 2026-01-23 11:18:47 +01:00
greybus greybus: gb-beagleplay: Fix timeout handling in bootloader functions 2025-12-18 13:55:08 +01:00
hid HID: intel-ish-hid: Fix -Wcast-function-type-strict in devm_ishtp_alloc_workqueue() 2026-01-23 11:18:50 +01:00
hsi
hte
hv
hwmon hwmon: (w83l786ng) Convert macros to functions to avoid TOCTOU 2026-01-08 10:14:30 +01:00
hwspinlock
hwtracing intel_th: Fix error handling in intel_th_output_open 2026-01-08 10:14:18 +01:00
i2c i2c: riic: Move suspend handling to NOIRQ phase 2026-01-23 11:18:46 +01:00
i3c i3c: master: svc: Prevent incomplete IBI transaction 2025-12-18 13:54:51 +01:00
idle
iio iio: adc: ti_am335x_adc: Limit step_avg to valid range for gcc complains 2026-01-08 10:14:11 +01:00
infiniband RDMA/cm: Fix leaking the multicast GID table reference 2026-01-08 10:14:50 +01:00
input Input: i8042 - add TUXEDO InfinityBook Max Gen10 AMD to i8042 quirk table 2026-01-08 10:14:06 +01:00
interconnect interconnect: qcom: sdx75: Drop QPIC interconnect and BCM nodes 2026-01-08 10:14:30 +01:00
iommu Revert "iommu/amd: Skip enabling command/event buffers for kdump" 2026-01-11 15:25:21 +01:00
ipack
irqchip irqchip/mchp-eic: Fix error code in mchp_eic_domain_alloc() 2025-12-18 13:55:22 +01:00
isdn tty: introduce and use tty_port_tty_vhangup() helper 2026-01-08 10:14:56 +01:00
leds leds: leds-lp50xx: Enable chip before any communication 2026-01-08 10:14:42 +01:00
macintosh macintosh/mac_hid: fix race condition in mac_hid_toggle_emumouse 2025-12-18 13:54:56 +01:00
mailbox mailbox: pcc: don't zero error register 2025-12-07 06:24:56 +09:00
mcb
md dm-snapshot: fix 'scheduling while atomic' on real-time kernels 2026-01-17 16:31:19 +01:00
media media: amphion: Remove vpu_vb_is_codecconfig 2026-01-08 10:15:05 +01:00
memory memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe 2025-10-19 16:33:54 +02:00
memstick memstick: Add timeout to prevent indefinite waiting 2025-11-13 15:34:02 -05:00
message
mfd mfd: max77620: Fix potential IRQ chip conflict when probing two devices 2026-01-08 10:14:42 +01:00
misc mei: me: add nova lake point S DID 2026-01-17 16:31:16 +01:00
mmc mmc: sdhci-msm: Avoid early clock doubling during HS400 transition 2026-01-08 10:14:14 +01:00
most most: usb: fix double free on late probe failure 2025-12-07 06:25:00 +09:00
mtd mtd: spi-nor: winbond: Add support for W25H02NWxxAM chips 2026-01-08 10:14:43 +01:00
mux
net can: ctucanfd: fix SSP_SRC in cases when bit-rate is higher than 1 MBit. 2026-01-23 11:18:43 +01:00
nfc nfc: pn533: Fix error code in pn533_acr122_poweron_rdr() 2026-01-08 10:14:01 +01:00
ntb NTB: epf: Allow arbitrary BAR mapping 2025-11-13 15:34:34 -05:00
nubus
nvdimm
nvme nvme: fix PCIe subsystem reset controller state transition 2026-01-23 11:18:46 +01:00
nvmem nvmem: layouts: fix nvmem_layout_bus_uevent 2025-12-07 06:24:59 +09:00
of arm64: kdump: Fix elfcorehdr overlap caused by reserved memory processing reorder 2026-01-08 10:14:05 +01:00
opp
parisc parisc: Do not reprogram affinitiy on ASP chip 2026-01-08 10:14:21 +01:00
parport
pci x86/kaslr: Recognize all ZONE_DEVICE users as physaddr consumers 2026-01-23 11:18:44 +01:00
pcmcia
peci
perf perf: arm_cspmu: fix error handling in arm_cspmu_impl_unregister() 2026-01-08 10:14:14 +01:00
phy phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe() 2026-01-23 11:18:51 +01:00
pinctrl pinctrl: qcom: lpass-lpi: mark the GPIO controller as sleeping 2026-01-17 16:31:17 +01:00
platform platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing 2026-01-08 10:14:35 +01:00
pmdomain pmdomain: imx: Fix reference count leak in imx_gpc_probe() 2026-01-08 10:14:49 +01:00
pnp
power power: supply: apm_power: only unset own apm_get_power_status 2025-12-18 13:54:52 +01:00
powercap powercap: fix sscanf() error return value handling 2026-01-17 16:31:28 +01:00
pps
ps3
ptp ptp: Limit time setting of PTP clocks 2025-11-13 15:34:17 -05:00
pwm pwm: stm32: Always program polarity 2026-01-11 15:25:21 +01:00
rapidio
ras RAS: Report all ARM processor CPER information to userspace 2025-12-18 13:55:04 +01:00
regulator regulator: fixed: Rely on the core freeing the enable GPIO 2025-12-18 13:55:19 +01:00
remoteproc remoteproc: qcom_q6v5_wcss: fix parsing of qcom,halt-regs 2025-12-18 13:55:13 +01:00
reset
rpmsg rpmsg: glink: fix rpmsg device leak 2026-01-08 10:14:29 +01:00
rtc rtc: gamecube: Check the return value of ioremap() 2025-12-18 13:55:20 +01:00
s390 s390/dasd: Fix gendisk parent after copy pair swap 2026-01-08 10:14:14 +01:00
sbus
scsi scsi: core: Fix error handler encryption support 2026-01-23 11:18:43 +01:00
sh
siox
slimbus slimbus: ngd: Fix reference count leak in qcom_slim_ngd_notify_slaves 2025-12-07 06:24:59 +09:00
soc soc: amlogic: canvas: fix device leak on lookup 2026-01-08 10:14:29 +01:00
soundwire soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter 2026-01-08 10:15:04 +01:00
spi spi: cadence-quadspi: Prevent lost complete() call during indirect read 2026-01-17 16:31:29 +01:00
spmi
ssb
staging tty: introduce and use tty_port_tty_vhangup() helper 2026-01-08 10:14:56 +01:00
target scsi: target: Reset t_task_cdb pointer in error case 2026-01-08 10:14:19 +01:00
tc
tee tee: allow a driver to allocate a tee_device without a pool 2025-11-13 15:34:06 -05:00
thermal thermal: gov_step_wise: Allow cooling level to be reduced earlier 2025-11-13 15:34:04 -05:00
thunderbolt thunderbolt: Add support for Intel Wildcat Lake 2025-12-07 06:24:59 +09:00
tty tty: fix tty_port_tty_*hangup() kernel-doc 2026-01-08 10:15:01 +01:00
ufs scsi: ufs: core: Fix EH failure after W-LUN resume error 2026-01-17 16:31:20 +01:00
uio uio: uio_fsl_elbc_gpcm:: Add null pointer check to uio_fsl_elbc_gpcm_probe 2025-12-18 13:54:46 +01:00
usb tcpm: allow looking for role_sw device in the main node 2026-01-23 11:18:46 +01:00
vdpa virtio: vdpa: Fix reference count leak in octep_sriov_enable() 2026-01-08 10:14:29 +01:00
vfio vfio/pci: Disable qword access to the PCI ROM bar 2026-01-08 10:15:05 +01:00
vhost vhost/vsock: improve RCU read sections around vhost_vsock_get() 2026-01-08 10:14:13 +01:00
video fbdev: tcx.c fix mem_map to correct smem_start offset 2026-01-08 10:14:45 +01:00
virt
virtio mm/balloon_compaction: convert balloon_page_delete() to balloon_page_finalize() 2026-01-08 10:15:05 +01:00
w1
watchdog via_wdt: fix critical boot hang due to unnamed resource allocation 2026-01-08 10:14:11 +01:00
xen
zorro
Kconfig
Makefile