Skip to content

Backport "KVM: arm64: Filter out invalid core registers IDs in KVM_GET_REG_LIST"

Takahiro Itazuri stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v1 posting 2/22 patches 0 repliesSuperseded
  3. v1 posting 1/22 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: Factor out core register ID enumerationarch/arm64/kvm/guest.c+24 -80 replies
2/3KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LISTarch/arm64/kvm/guest.c+43 -80 replies
3/3arm64: KVM: Fix system register enumerationarch/arm64/kvm/guest.c+3 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJulien Thierryzhang.leiAndrew Jones
1/3R-b T-b
2/3R-b T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 stable 4.14 4.19 0/3] Backport "KVM: arm64: Filter out invalid core registers IDs in KVM_GET_REG_LIST"

Hi stable maintainers,

This is a backport patch for commit df205b5c6328 ("KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST") to 4.14 and 4.19. This commit was not applied to the 4.14-stable tree due to merge conflict [1]. To backport this, cherry-picked commit be25bbb392fa ("KVM: arm64: Factor out core register ID enumeration") that has no functional changes but makes it easy to merge, and commit 5d8d4af24460 ("arm64: KVM: Fix system register enumeration") that is a fix patch for the commit.

I'd appreciate it if you could consider backporting this to 4.14 and 4.19.

Best regards,
Takahiro

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

Dave Martin (2):
KVM: arm64: Factor out core register ID enumeration
KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST

 arch/arm64/kvm/guest.c | 79 ++++++++++++++++++++++++++++++++++--------
 1 file changed, 65 insertions(+), 14 deletions(-)
Signature · 9 lines
2.39.2

v2 -> v3:
* Cherry-pick an additional fix patch.
* Link to v2: https://lore.kernel.org/all/[email protected]/

v1 -> v2:
* Fix a compile error for core_reg_size_from_offset().
* Link to v1: https://lore.kernel.org/all/[email protected]/