All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Arm: drop assertion from page_is_ram_type()
@ 2025-08-11 13:01 Jan Beulich
  2025-08-11 17:24 ` Julien Grall
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2025-08-11 13:01 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org
  Cc: Julien Grall, Stefano Stabellini, Volodymyr Babchuk,
	Bertrand Marquis, Michal Orzel, Oleksii Kurochko

Its uses in offline_page() and query_page_offline() make it reachable on
Arm, as long as XEN_SYSCTL_page_offline_op doesn't have any Arm-specific
code added. It being reachable was even mentioned in the commit
introducing it, claiming it "clearly shouldn't be called on ARM just
yet".

Fixes: 214c4cd94a80 ("xen: arm: stub page_is_ram_type")
Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/arm/mm.c
+++ b/xen/arch/arm/mm.c
@@ -66,7 +66,6 @@ int steal_page(
 
 int page_is_ram_type(unsigned long mfn, unsigned long mem_type)
 {
-    ASSERT_UNREACHABLE();
     return 0;
 }
 


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

end of thread, other threads:[~2025-08-12 11:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11 13:01 [PATCH] Arm: drop assertion from page_is_ram_type() Jan Beulich
2025-08-11 17:24 ` Julien Grall
2025-08-12  6:29   ` Jan Beulich
2025-08-12 11:05     ` Julien Grall

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.