linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Remove unused macros from asm-offset
@ 2022-09-13  7:40 Disha Goel
  2022-09-13  7:40 ` [PATCH 1/4] powerpc/asm-offset: Remove unused KVM_TLB_SETS macros Disha Goel
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Disha Goel @ 2022-09-13  7:40 UTC (permalink / raw)
  To: mpe; +Cc: atrajeev, kjain, npiggin, maddy, disgoel, linuxppc-dev

There were commits which did code refactoring and converting some of kvm
assembly routines to C. When doing it, many of the asm-offset macro
definitions were missed to remove. Patchset here removes those.

Patch1 removes usage of KVM_TLB_SETS macro from the asm-offset

Patch2 removes KVM_RADIX macro from the asm-offset.c

Patch3 removes a set of unused kvm vcpu and hstate macros from the
asm-offset.c

Patch4 removes unused HSTATE/host_mmcr references for MMCR3/SIER2/SIER3

Link to the script used to get unused macro:
https://github.com/maddy-kerneldev/scripts/blob/master/check_asm-offset.sh

Link to linux-ci job result:
https://github.com/disgoel/linux-ci/actions

Disha Goel (3):
  powerpc/asm-offset: Remove unused KVM_TLB_SETS macros
  powerpc/asm-offset: Remove unused KVM_RADIX macros
  powerpc/kvm: Remove unused macros from asm-offset

Kajol Jain (1):
  powerpc/kvm: Remove unused references for MMCR3/SIER2/SIER3 registers

 arch/powerpc/include/asm/kvm_book3s_asm.h |  2 +-
 arch/powerpc/kernel/asm-offsets.c         | 25 -----------------------
 2 files changed, 1 insertion(+), 26 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-09-14 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13  7:40 [PATCH 0/4] Remove unused macros from asm-offset Disha Goel
2022-09-13  7:40 ` [PATCH 1/4] powerpc/asm-offset: Remove unused KVM_TLB_SETS macros Disha Goel
2022-09-13  7:40 ` [PATCH 2/4] powerpc/asm-offset: Remove unused KVM_RADIX macros Disha Goel
2022-09-13  7:40 ` [PATCH 3/4] powerpc/kvm: Remove unused macros from asm-offset Disha Goel
2022-09-13  7:40 ` [PATCH 4/4] powerpc/kvm: Remove unused references for MMCR3/SIER2/SIER3 registers Disha Goel
2022-09-13  8:15 ` [PATCH 0/4] Remove unused macros from asm-offset Christophe Leroy
2022-09-14 11:20   ` Disha Goel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).