Skip to content

Drivers: hv: balloon: Temporary fixes for ARM64

Boqun Feng linux-hyperv lkml stable 2 versions – Applied

Status from this message: Applied to hyperv-fixes. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v1 RFC2 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: balloon: Support status report for larger page sizesdrivers/hv/hv_balloon.c+10 -32 replies
2/2Drivers: hv: balloon: Disable balloon and hot-add accordinglydrivers/hv/hv_balloon.c+34 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael Kelley
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Drivers: hv: balloon: Temporary fixes for ARM64

v1: https://lore.kernel.org/lkml/[email protected]/

Changes since v1:

* Wording changes suggested by Michael Kelley.

Since Hyper-V always uses 4k pages, hv_balloon has some difficulties working on ARM64 with larger pages[1]. Besides the memory hot add messages of Hyper-V doesn't have the information of NUMA node id of the added memory range, and ARM64 currently doesn't provide the conversion from a physical address to a node id, as a result the hv_balloon driver couldn't handle hot add properly when there are more than one NUMA node.

Among these issues, post_status() is easy to fix, while the unballoon issue and the hot-add issue requires more discussion. To make the hv_balloon driver work at the best effort, this patchset fixes the post_status() and temporarily disable the balloon and hot-add accordingly.

Looking forwards to comments and suggestions.

Regards,
Boqun

[1]: https://lore.kernel.org/lkml/[email protected]/

*** BLURB HERE ***

Boqun Feng (2):
Drivers: hv: balloon: Support status report for larger page sizes
Drivers: hv: balloon: Disable balloon and hot-add accordingly

 drivers/hv/hv_balloon.c | 49 ++++++++++++++++++++++++++++++++++++-----
 1 file changed, 44 insertions(+), 5 deletions(-)
Signature · 1 line
2.35.1