Skip to contentSkip to conversation

xen: balloon: enable for ARM

PATCH In review Ian Campbell 2 participants 2 messages Dec 11, 2013 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: balloon: enable for ARM

Since c275a57f5ec3 "xen/balloon: Set balloon's initial state to number of existing RAM pages" the balloon driver appears to work fine on ARM as far as I can tell. Prior to that commit it was broken because on ARM RAM doesn't typically start at zero, effectively leaving a big MMIO hole at the start. This would cause the balloon driver to give away all of RAM at start of day, which is rather inconvenient

It was already enabled (or rather not excluded) on ARM64.

Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Boris Ostrovsky <[email protected]>
Cc David Vrabel <[email protected]>
Cc Stefano Stabellini <[email protected]>
---
 drivers/xen/Kconfig |    1 -
 1 file changed, 1 deletion(-)
drivers/xen/Kconfig +0 -1
index c794ea1..b9ea2ab 100644
@@ -3,7 +3,6 @@ menu "Xen driver support"
 
 config XEN_BALLOON
 	bool "Xen memory balloon driver"
-	depends on !ARM
 	default y
 	help
 	  The balloon driver allows the Xen domain to request more memory from
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Ian Campbell

Since c275a57f5ec3 "xen/balloon: Set balloon's initial state to number of existing RAM pages" the balloon driver appears to work fine on ARM as far as I can tell. Prior to that commit it was broken because on ARM RAM doesn't typically start at zero, effectively leaving a big MMIO hole at the start. This would cause the balloon driver to give away all of RAM at start of day, which is rather inconvenient

Quoted 7 lines

It was already enabled (or rather not excluded) on ARM64.

Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Boris Ostrovsky <[email protected]>
Cc David Vrabel <[email protected]>
Cc Stefano Stabellini <[email protected]>

It only makes sense for this patch to go in if the following patch goes in too:

http://marc.info/?l=xen-devel&m=138678120616388

Quoted 18 lines
 drivers/xen/Kconfig |    1 -
 1 file changed, 1 deletion(-)
drivers/xen/Kconfig +0 -1
index c794ea1..b9ea2ab 100644
@@ -3,7 +3,6 @@ menu "Xen driver support"
 
 config XEN_BALLOON
 	bool "Xen memory balloon driver"
-	depends on !ARM
 	default y
 	help
 	  The balloon driver allows the Xen domain to request more memory from
Signature · 1 line
1.7.10.4