All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Juergen Gross <jgross@suse.com>,
	linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
	x86@kernel.org, lguest@lists.ozlabs.org
Cc: boris.ostrovsky@oracle.com, hpa@zytor.com, tglx@linutronix.de,
	mingo@redhat.com, Juergen Gross <jgross@suse.com>
Subject: Re: [PATCH v2 0/2] x86: paravirt related cleanup
Date: Thu, 17 Aug 2017 10:28:05 +0930	[thread overview]
Message-ID: <87valnnh7m.fsf@rustcorp.com.au> (raw)
In-Reply-To: <20170816173157.8633-1-jgross@suse.com>

Juergen Gross <jgross@suse.com> writes:
> Cleanup special cases of paravirt patching:
>
> - Xen doesn't need a custom patching function, it can use
>   paravirt_patch_default()
>
> - Remove lguest completely from the tree. A LKML mail asking for any
>   users 3 months ago did not reveal any need for keeping lguest [1].

Shit, I didn't see that mail :(

Posting on lkml is a terrible way to find users (you should generally
remove the config option, wait a year, then see, as that gives end users
time to find it).

In this case though, I think it's time.  I intended for it to be removed
with the paravirt infrastructure itself, but I think that's getting
closer anyway.

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

> In case the patches make it to the tree there is quite some potential
> for further simplification of paravirt stuff. Especially most of the
> pv operations can be put under the CONFIG_XEN_PV umbrella.
>
> Changes in V2:
> - drop patch 3 (removal of vsmp support)
> - patch 1: remove even more stuff no longer needed without xen_patch()
>     (Peter Zijlstra)
>
> [1]: https://lkml.org/lkml/2017/5/15/502
>
> Juergen Gross (2):
>   paravirt,xen: remove xen_patch()
>   x86/lguest: remove lguest support
>
>  MAINTAINERS                           |   11 -
>  arch/x86/Kbuild                       |    3 -
>  arch/x86/Kconfig                      |    2 -
>  arch/x86/include/asm/lguest.h         |   91 -
>  arch/x86/include/asm/lguest_hcall.h   |   74 -
>  arch/x86/include/asm/processor.h      |    2 +-
>  arch/x86/include/uapi/asm/bootparam.h |    2 +-
>  arch/x86/kernel/asm-offsets_32.c      |   20 -
>  arch/x86/kernel/head_32.S             |    2 -
>  arch/x86/kernel/platform-quirks.c     |    1 -
>  arch/x86/kvm/Kconfig                  |    1 -
>  arch/x86/lguest/Kconfig               |   14 -
>  arch/x86/lguest/Makefile              |    2 -
>  arch/x86/lguest/boot.c                | 1558 ---------------
>  arch/x86/lguest/head_32.S             |  192 --
>  arch/x86/xen/enlighten_pv.c           |   59 +-
>  arch/x86/xen/xen-asm.S                |   24 +-
>  arch/x86/xen/xen-asm.h                |   12 -
>  arch/x86/xen/xen-asm_32.S             |   27 +-
>  arch/x86/xen/xen-asm_64.S             |   20 +-
>  arch/x86/xen/xen-ops.h                |   15 +-
>  drivers/Makefile                      |    1 -
>  drivers/block/Kconfig                 |    2 +-
>  drivers/char/Kconfig                  |    2 +-
>  drivers/char/virtio_console.c         |    2 +-
>  drivers/lguest/Kconfig                |   13 -
>  drivers/lguest/Makefile               |   26 -
>  drivers/lguest/README                 |   47 -
>  drivers/lguest/core.c                 |  398 ----
>  drivers/lguest/hypercalls.c           |  304 ---
>  drivers/lguest/interrupts_and_traps.c |  706 -------
>  drivers/lguest/lg.h                   |  258 ---
>  drivers/lguest/lguest_user.c          |  446 -----
>  drivers/lguest/page_tables.c          | 1239 ------------
>  drivers/lguest/segments.c             |  228 ---
>  drivers/lguest/x86/core.c             |  724 -------
>  drivers/lguest/x86/switcher_32.S      |  388 ----
>  drivers/net/Kconfig                   |    2 +-
>  drivers/tty/hvc/Kconfig               |    2 +-
>  drivers/virtio/Kconfig                |    4 +-
>  include/linux/lguest.h                |   73 -
>  include/linux/lguest_launcher.h       |   44 -
>  include/uapi/linux/virtio_ring.h      |    4 +-
>  tools/Makefile                        |   11 +-
>  tools/lguest/.gitignore               |    2 -
>  tools/lguest/Makefile                 |   14 -
>  tools/lguest/extract                  |   58 -
>  tools/lguest/lguest.c                 | 3420 ---------------------------------
>  tools/lguest/lguest.txt               |  125 --
>  49 files changed, 36 insertions(+), 10639 deletions(-)
>  delete mode 100644 arch/x86/include/asm/lguest.h
>  delete mode 100644 arch/x86/include/asm/lguest_hcall.h
>  delete mode 100644 arch/x86/lguest/Kconfig
>  delete mode 100644 arch/x86/lguest/Makefile
>  delete mode 100644 arch/x86/lguest/boot.c
>  delete mode 100644 arch/x86/lguest/head_32.S
>  delete mode 100644 arch/x86/xen/xen-asm.h
>  delete mode 100644 drivers/lguest/Kconfig
>  delete mode 100644 drivers/lguest/Makefile
>  delete mode 100644 drivers/lguest/README
>  delete mode 100644 drivers/lguest/core.c
>  delete mode 100644 drivers/lguest/hypercalls.c
>  delete mode 100644 drivers/lguest/interrupts_and_traps.c
>  delete mode 100644 drivers/lguest/lg.h
>  delete mode 100644 drivers/lguest/lguest_user.c
>  delete mode 100644 drivers/lguest/page_tables.c
>  delete mode 100644 drivers/lguest/segments.c
>  delete mode 100644 drivers/lguest/x86/core.c
>  delete mode 100644 drivers/lguest/x86/switcher_32.S
>  delete mode 100644 include/linux/lguest.h
>  delete mode 100644 include/linux/lguest_launcher.h
>  delete mode 100644 tools/lguest/.gitignore
>  delete mode 100644 tools/lguest/Makefile
>  delete mode 100644 tools/lguest/extract
>  delete mode 100644 tools/lguest/lguest.c
>  delete mode 100644 tools/lguest/lguest.txt
>
> -- 
> 2.12.3

  parent reply	other threads:[~2017-08-17  1:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16 17:31 [PATCH v2 0/2] x86: paravirt related cleanup Juergen Gross
2017-08-16 17:31 ` [PATCH v2 1/2] paravirt,xen: remove xen_patch() Juergen Gross
2017-08-16 17:31 ` Juergen Gross
2017-08-16 19:16   ` Josh Poimboeuf
2017-08-16 19:16   ` Josh Poimboeuf
2017-08-18 13:22   ` Boris Ostrovsky
2017-08-18 13:22   ` Boris Ostrovsky
2017-08-24  8:25   ` [tip:x86/asm] x86/paravirt/xen: Remove xen_patch() tip-bot for Juergen Gross
2017-08-16 17:31 ` [PATCH v2 2/2] x86/lguest: remove lguest support Juergen Gross
2017-08-24  8:25   ` [tip:x86/asm] x86/lguest: Remove " tip-bot for Juergen Gross
2017-08-16 17:31 ` [PATCH v2 2/2] x86/lguest: remove " Juergen Gross
2017-08-17  0:58 ` [PATCH v2 0/2] x86: paravirt related cleanup Rusty Russell
2017-08-17  0:58 ` Rusty Russell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-16 17:31 Juergen Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87valnnh7m.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=boris.ostrovsky@oracle.com \
    --cc=hpa@zytor.com \
    --cc=jgross@suse.com \
    --cc=lguest@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.