Skip to content

paravirt: rebrand paravirt_enabled as paravirt_legacy

Luis R. Rodriguez cocci lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 39 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3paravirt: use bool for paravirt_enabled() and paravirt_has_feature()arch/x86/include/asm/paravirt.h arch/x86/include/asm/paravirt_types.h arch/x86/include/asm/processor.h +4 more+10 -100 replies
2/3paravirt: replace direct access to pv_info.paravirt_enabledarch/x86/include/asm/paravirt.h+1 -10 replies
3/3paravirt: rename paravirt_enabled to paravirt_legacyarch/x86/entry/entry_32.S arch/x86/include/asm/paravirt.h arch/x86/include/asm/paravirt_types.h +14 more+52 -2839 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] paravirt: rebrand paravirt_enabled as paravirt_legacy

There's been confusion both in code and by developers as to what the paravirt_enabled thing means. This sets to clarify this to help build stronger semantics on our bootup process.

This was originally suggested by Konrad and I included this as part of a larger patch set [0]. I've decided to break that single rename patch (1/8) out into a 3 smaller patches to both make it easier to review and to help with regression testing, should any issues arise.

[0] http://lkml.kernel.org/r/[email protected]
[1] http://lkml.kernel.org/r/[email protected]

Luis R. Rodriguez (3):
paravirt: use bool for paravirt_enabled() and paravirt_has_feature()
paravirt: replace direct access to pv_info.paravirt_enabled
paravirt: rename paravirt_enabled to paravirt_legacy

 arch/x86/entry/entry_32.S             |  2 +-
 arch/x86/include/asm/paravirt.h       | 10 +++++-----
 arch/x86/include/asm/paravirt_types.h | 35 +++++++++++++++++++++++++++++++++--
 arch/x86/include/asm/processor.h      |  4 ++--
 arch/x86/kernel/apm_32.c              |  2 +-
 arch/x86/kernel/asm-offsets.c         |  2 +-
 arch/x86/kernel/cpu/intel.c           |  2 +-
 arch/x86/kernel/cpu/microcode/core.c  |  2 +-
 arch/x86/kernel/head.c                |  2 +-
 arch/x86/kernel/kvm.c                 |  9 +--------
 arch/x86/kernel/paravirt.c            |  2 +-
 arch/x86/kernel/rtc.c                 |  2 +-
 arch/x86/kernel/tboot.c               |  2 +-
 arch/x86/lguest/boot.c                |  4 ++--
 arch/x86/mm/dump_pagetables.c         |  2 +-
 arch/x86/xen/enlighten.c              |  2 +-
 drivers/pnp/pnpbios/core.c            |  2 +-
 17 files changed, 55 insertions(+), 31 deletions(-)
Signature · 1 line
2.7.0