All of lore.kernel.org
 help / color / mirror / Atom feed
* [v5.4 stable] arm: stm32: Regression observed on "no-map" reserved memory region
@ 2021-04-20 14:02 Alexandre TORGUE
  2021-04-20 14:45 ` Rob Herring
  0 siblings, 1 reply; 33+ messages in thread
From: Alexandre TORGUE @ 2021-04-20 14:02 UTC (permalink / raw)
  To: Quentin Perret, Greg Kroah-Hartman, Sasha Levin; +Cc: stable, Rob Herring

Hi,

Since v5.4.102 I observe a regression on stm32mp1 platform: "no-map" 
reserved-memory regions are no more "reserved" and make part of the 
kernel System RAM. This causes allocation failure for devices which try 
to take a reserved-memory region.

It has been introduced by the following path:

"fdt: Properly handle "no-map" field in the memory region
[ Upstream commit 86588296acbfb1591e92ba60221e95677ecadb43 ]"
which replace memblock_remove by memblock_mark_nomap in no-map case.

Reverting this patch it's fine.

I add part of my DT (something is maybe wrong inside):

memory@c0000000 {
	reg = <0xc0000000 0x20000000>;
};

reserved-memory {
	#address-cells = <1>;
	#size-cells = <1>;
	ranges;

	gpu_reserved: gpu@d4000000 {
		reg = <0xd4000000 0x4000000>;
		no-map;
	};
};

Sorry if this issue has already been raised and discussed.

Thanks
alex

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2021-05-12 12:45 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 14:02 [v5.4 stable] arm: stm32: Regression observed on "no-map" reserved memory region Alexandre TORGUE
2021-04-20 14:45 ` Rob Herring
2021-04-20 15:12   ` Alexandre TORGUE
2021-04-20 15:54     ` Rob Herring
2021-04-20 15:54       ` Rob Herring
2021-04-20 16:10       ` Ard Biesheuvel
2021-04-20 16:10         ` Ard Biesheuvel
2021-04-20 16:33         ` Florian Fainelli
2021-04-20 16:33           ` Florian Fainelli
2021-04-21  8:31           ` Quentin Perret
2021-04-21  8:31             ` Quentin Perret
2021-04-21  8:45             ` Quentin Perret
2021-04-21  8:45               ` Quentin Perret
2021-04-21 14:33             ` Florian Fainelli
2021-04-21 14:33               ` Florian Fainelli
2021-04-21 15:17               ` Florian Fainelli
2021-04-21 15:17                 ` Florian Fainelli
2021-04-22 13:03                 ` Quentin Perret
2021-04-22 13:03                   ` Quentin Perret
2021-04-22 12:59               ` Quentin Perret
2021-04-22 12:59                 ` Quentin Perret
2021-05-07 15:15                 ` Alexandre TORGUE
2021-05-07 15:15                   ` Alexandre TORGUE
2021-05-10 10:09                   ` Quentin Perret
2021-05-10 10:09                     ` Quentin Perret
2021-05-12 10:55                     ` Alexandre TORGUE
2021-05-12 10:55                       ` Alexandre TORGUE
2021-05-12 12:34                       ` Quentin Perret
2021-05-12 12:34                         ` Quentin Perret
2021-05-12 12:44                         ` Alexandre TORGUE
2021-05-12 12:44                           ` Alexandre TORGUE
2021-04-20 21:05         ` Rob Herring
2021-04-20 21:05           ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.