Skip to content

x86: remove paravirt_enabled()

Luis R. Rodriguez linux-acpi lkml xen-devel 5 versions – Applied

Status from this message: The following commit has been merged into the x86/cleanups branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest16 patches 1 replyApplied
  2. v514 patches 11 repliesSuperseded
  3. v414 patches 27 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v311 patches13 repliesSuperseded
v19 patches17 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/16x86/boot: enumerate documentation for the x86 hardware_subarcharch/x86/include/uapi/asm/bootparam.h+40 -10 replies
2/16x86/xen: use X86_SUBARCH_XEN for PV guest bootsarch/x86/xen/enlighten.c+1 -00 replies
3/16tools/lguest: make lguest launcher use X86_SUBARCH_LGUEST explicitlytools/lguest/lguest.c+2 -20 replies
4/16x86/rtc: replace paravirt rtc check with platform legacy quirkarch/x86/Makefile arch/x86/include/asm/paravirt.h arch/x86/include/asm/paravirt_types.h +9 more+60 -221 reply
5/16x86, ACPI: move ACPI_FADT_NO_CMOS_RTC check to ACPI boot codearch/x86/kernel/acpi/boot.c arch/x86/kernel/rtc.c+4 -80 replies
5/16x86, ACPI: move ACPI_FADT_NO_CMOS_RTC check to ACPI boot codearch/x86/kernel/acpi/boot.c arch/x86/kernel/rtc.c+4 -80 replies
5/16x86, ACPI: move ACPI_FADT_NO_CMOS_RTC check to ACPI boot codearch/x86/kernel/acpi/boot.c arch/x86/kernel/rtc.c+4 -80 replies
6/16x86/init: use a platform legacy quirk for ebdaarch/x86/include/asm/x86_init.h arch/x86/kernel/head.c arch/x86/kernel/platform-quirks.c+8 -10 replies
7/16tools/lguest: force disable tboot and apmtools/lguest/lguest.c+6 -00 replies
7/16tools/lguest: force disable tboot and apmtools/lguest/lguest.c+6 -00 replies
8/16apm32: remove paravirt_enabled() usearch/x86/kernel/apm_32.c+1 -10 replies
9/16x86/tboot: remove paravirt_enabled()arch/x86/kernel/tboot.c+0 -60 replies
10/16x86/cpu/intel: remove not needed paravirt_enabled() for f00f work aroundarch/x86/kernel/cpu/intel.c+1 -10 replies
11/16pnpbios: replace paravirt_enabled() check with legacy device checkarch/x86/include/asm/x86_init.h arch/x86/kernel/platform-quirks.c drivers/pnp/pnpbios/core.c +1 more+41 -10 replies
12/16x86, ACPI: parse ACPI_FADT_LEGACY_DEVICESarch/x86/kernel/acpi/boot.c+5 -00 replies
12/16x86, ACPI: parse ACPI_FADT_LEGACY_DEVICESarch/x86/kernel/acpi/boot.c+5 -00 replies
13/16x86/init: rename ebda code filearch/x86/Makefile arch/x86/kernel/Makefile arch/x86/kernel/ebda.c+2 -20 replies
14/16x86/paravirt: remove paravirt_enabled()arch/x86/include/asm/paravirt.h arch/x86/include/asm/paravirt_types.h arch/x86/include/asm/processor.h +4 more+0 -190 replies
15/16x86/init: disable pnpbios for X86_SUBARCH_INTEL_MIDarch/x86/kernel/platform-quirks.c+1 -30 replies
16/16x86/init: disable pnpbios and rtc for X86_SUBARCH_CE4100arch/x86/kernel/platform-quirks.c arch/x86/kernel/rtc.c+1 -30 replies

Reviews trailers per patch

6 of 20 patches have a Reviewed-by or Acked-by.

PatchDavid VrabelRusty RussellJuergen Gross
1/16
2/16R-b
3/16A-b
4/16R-b
5/16
5/16
5/16
6/16
7/16A-b A-b
7/16A-b A-b
8/16
9/16
10/16
11/16
12/16
12/16
13/16
14/16A-b
15/16
16/16

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 v6 thread

Cover letter [PATCH v6 00/16] x86: remove paravirt_enabled()

This v6 series addresses:

- addresses the __init on xen_dom0_set_legacy_features() as Juergen asked, the reason the size impact doesn't changea as per 0-day is 0-day uses x86 tinyconfig but the gains should be there

- I looked for stragglers on Reivewed-by / Acked-by tags, I could not find anything else missing. If I left your tag out it means the patch has changed since your last review and your blessings would be good to have. Seems the only ones missing were Rusty's for lguest stuff and Juergen Acked-by for the patch "x86/paravirt: remove paravirt_enabled()"

- Folds the X86_SUBARCH_INTEL_MID and X86_SUBARCH_CE4100 new uses of the quirks. As such it also adjusts the commit log for the X86_SUBARCH_INTEL_MID patch to account for the vmlinux size impact as per 0-day on tinyconfig.

This has been all tested by 0-day. This series is available on git here:

https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux-next.git/log/?h=20160413-pv-disabled-v6

Luis R. Rodriguez (16):
x86/boot: enumerate documentation for the x86 hardware_subarch x86/xen: use X86_SUBARCH_XEN for PV guest boots tools/lguest: make lguest launcher use X86_SUBARCH_LGUEST explicitly x86/rtc: replace paravirt rtc check with platform legacy quirk x86, ACPI: move ACPI_FADT_NO_CMOS_RTC check to ACPI boot code x86/init: use a platform legacy quirk for ebda tools/lguest: force disable tboot and apm
apm32: remove paravirt_enabled() use
x86/tboot: remove paravirt_enabled()
x86/cpu/intel: remove not needed paravirt_enabled() for f00f work
around
pnpbios: replace paravirt_enabled() check with legacy device check x86, ACPI: parse ACPI_FADT_LEGACY_DEVICES
x86/init: rename ebda code file
x86/paravirt: remove paravirt_enabled()
x86/init: disable pnpbios for X86_SUBARCH_INTEL_MID x86/init: disable pnpbios and rtc for X86_SUBARCH_CE4100

 arch/x86/Makefile                     |  3 ++-
 arch/x86/include/asm/paravirt.h       | 11 --------
 arch/x86/include/asm/paravirt_types.h |  6 -----
 arch/x86/include/asm/processor.h      |  2 --
 arch/x86/include/asm/x86_init.h       | 50 +++++++++++++++++++++++++++++++++++
 arch/x86/include/uapi/asm/bootparam.h | 41 +++++++++++++++++++++++++++-
 arch/x86/kernel/Makefile              |  6 ++++-
 arch/x86/kernel/acpi/boot.c           |  9 +++++++
 arch/x86/kernel/apm_32.c              |  2 +-
 arch/x86/kernel/cpu/intel.c           |  2 +-
 arch/x86/kernel/{head.c => ebda.c}    |  2 +-
 arch/x86/kernel/head32.c              |  2 ++
 arch/x86/kernel/head64.c              |  1 +
 arch/x86/kernel/kvm.c                 |  8 ------
 arch/x86/kernel/paravirt.c            |  1 -
 arch/x86/kernel/platform-quirks.c     | 35 ++++++++++++++++++++++++
 arch/x86/kernel/rtc.c                 | 18 ++-----------
 arch/x86/kernel/tboot.c               |  6 -----
 arch/x86/lguest/boot.c                |  3 ---
 arch/x86/xen/enlighten.c              | 12 ++++++---
 drivers/pnp/pnpbios/core.c            |  3 ++-
 include/linux/pnp.h                   |  2 ++
 tools/lguest/lguest.c                 | 10 +++++--
 23 files changed, 169 insertions(+), 66 deletions(-)
 rename arch/x86/kernel/{head.c => ebda.c} (98%)
 create mode 100644 arch/x86/kernel/platform-quirks.c
Signature · 1 line
2.7.2