mbox series

[linux-aws,PULL] xen hibernation support

Message ID 20171115191045.GA27411@whence.com
State New
Headers show
Series [linux-aws,PULL] xen hibernation support | expand

Pull-request

git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-aws hib

Message

Kamal Mostafa Nov. 15, 2017, 7:10 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1732512

linux-aws needs multiple commits from mainline and Amazon Linux to support xen
hibernation.  A test kernel with this patch set has received positive smoke
test results from Amazon and myself.

Pull request below; browser view here:

https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-aws/log/?h=hib

 -Kamal

---

The following changes since commit 794cd825047210704ea0de76624aa7f89a2bb19b:

  UBUNTU: [Config] Change Vcs-Git: URL to point to correct package (2017-11-07 12:03:30 +0000)

are available in the git repository at:

  git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-aws hib

for you to fetch changes up to da619be959065e9de4aa07c94fb7c23986883959:

  UBUNTU: SAUCE: [aws] PM / hibernate: update the resume offset on SNAPSHOT_SET_SWAP_AREA (2017-11-15 10:45:27 -0800)

----------------------------------------------------------------
Aleksei Besogonov (1):
      UBUNTU: SAUCE: [aws] PM / hibernate: update the resume offset on SNAPSHOT_SET_SWAP_AREA

Bob Liu (11):
      xen/blkfront: separate per ring information out of device info
      xen/blkfront: pseudo support for multi hardware queues/rings
      xen/blkfront: split per device io_lock
      xen/blkfront: negotiate number of queues/rings to be used with backend
      xen/blkfront: Remove duplicate setting of ->xbdev.
      xen/blkfront: make persistent grants pool per-queue
      xen/blkfront: realloc ring info in blkif_resume
      xen-blkfront: save uncompleted reqs in blkfront_resume()
      xen-blkfront: fix places not updated after introducing 64KB page granularity
      xen-blkfront: fix resume issues after a migration
      xen-blkfront: introduce blkif_set_queue_limits()

Juergen Gross (4):
      xen: add steal_clock support on x86
      xen: support runqueue steal time on xen
      xen: add static initialization of steal_clock op to xen_time_ops
      xen: update xen headers

Kamal Mostafa (2):
      UBUNTU: aws: [Config] disable SUSPEND
      UBUNTU: aws: [Config] disable XEN_FBDEV_FRONTEND, INPUT_XEN_KBDDEV_FRONTEND

Keith Busch (2):
      blk-mq: dynamic h/w context count
      blk-mq: Fix NULL pointer updating nr_requests

Konrad Rzeszutek Wilk (1):
      xen/blkfront: Cleanup of comments, fix unaligned variables, and syntax errors.

Ming Lei (1):
      blk-mq: mark request queue as mq asap

Munehisa Kamata (13):
      UBUNTU: SAUCE: [aws] xen/manage: keep track of the on-going suspend mode
      UBUNTU: SAUCE: [aws] xen/manage: introduce helper function to know the on-going suspend mode
      UBUNTU: SAUCE: [aws] xenbus: add freeze/thaw/restore callbacks support
      UBUNTU: SAUCE: [aws] x86/xen: decouple shared_info mapping from xen_hvm_init_shared_info()
      UBUNTU: SAUCE: [aws] x86/xen: add system core suspend and resume callbacks
      UBUNTU: SAUCE: [aws] xen/time: introduce xen_{save,restore}_steal_clock
      UBUNTU: SAUCE: [aws] x86/xen: save and restore steal clock
      UBUNTU: SAUCE: [aws] xen/events: add xen_shutdown_pirqs helper function
      UBUNTU: SAUCE: [aws] x86/xen: close event channels for PIRQs in system core suspend callback
      UBUNTU: SAUCE: [aws] xen-netfront: add callbacks for PM suspend and hibernation support
      UBUNTU: SAUCE: [aws] xen-blkfront: add callbacks for PM suspend and hibernation support
      UBUNTU: SAUCE: [aws] x86/xen: handle CPU_UP_PREPARE_FROZEN for PM suspend/hibernation
      UBUNTU: SAUCE: [aws] xen-netfront: add longer default freeze timeout as a module parameter

Peng Fan (1):
      xen/blkfront: correct setting for xen_blkif_max_ring_order

Stefano Stabellini (2):
      xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c
      xen/time: use READ_ONCE

Vitaly Kuznetsov (6):
      x86/xen: use xen_vcpu_id mapping for HYPERVISOR_vcpu_op
      x86/xen: update cpuid.h from Xen-4.7
      x86/acpi: store ACPI ids from MADT for future usage
      xen: introduce xen_vcpu_id mapping
      xen: change the type of xen_vcpu_id to uint32_t
      xen/pvhvm: run xen_vcpu_setup() for the boot CPU

 arch/arm/xen/enlighten.c                       |    3 +-
 arch/x86/include/asm/cpu.h                     |    1 +
 arch/x86/include/asm/smp.h                     |    2 +
 arch/x86/include/asm/xen/cpuid.h               |    5 +-
 arch/x86/kernel/acpi/boot.c                    |   16 +-
 arch/x86/kernel/apic/apic.c                    |    2 +
 arch/x86/kernel/setup_percpu.c                 |    3 +
 arch/x86/xen/enlighten.c                       |   49 +-
 arch/x86/xen/irq.c                             |    3 +-
 arch/x86/xen/smp.c                             |   18 +-
 arch/x86/xen/suspend.c                         |   66 ++
 arch/x86/xen/time.c                            |  140 +---
 arch/x86/xen/xen-ops.h                         |    2 +
 block/blk-mq-sysfs.c                           |   10 +-
 block/blk-mq.c                                 |  179 ++--
 block/blk-mq.h                                 |    1 +
 debian.aws/abi/4.4.0-1040.49/amd64/aws.modules |    2 -
 debian.aws/config/config.common.ubuntu         |    8 +-
 drivers/block/xen-blkfront.c                   | 1062 ++++++++++++++++--------
 drivers/net/xen-netfront.c                     |   98 ++-
 drivers/xen/Makefile                           |    2 +-
 drivers/xen/events/events_base.c               |   15 +-
 drivers/xen/manage.c                           |   73 ++
 drivers/xen/time.c                             |  140 ++++
 drivers/xen/xenbus/xenbus_probe.c              |  102 ++-
 include/linux/blk-mq.h                         |    2 +
 include/linux/kernel_stat.h                    |    1 -
 include/xen/events.h                           |    1 +
 include/xen/interface/vcpu.h                   |   24 +-
 include/xen/interface/xen.h                    |   17 +-
 include/xen/xen-ops.h                          |   21 +
 include/xen/xenbus.h                           |    3 +
 kernel/power/user.c                            |    6 +-
 kernel/sched/cputime.c                         |   10 -
 34 files changed, 1455 insertions(+), 632 deletions(-)
 create mode 100644 drivers/xen/time.c

Comments

Seth Forshee Nov. 15, 2017, 8:17 p.m. UTC | #1
On Wed, Nov 15, 2017 at 11:10:46AM -0800, Kamal Mostafa wrote:
> BugLink: http://bugs.launchpad.net/bugs/1732512
> 
> linux-aws needs multiple commits from mainline and Amazon Linux to support xen
> hibernation.  A test kernel with this patch set has received positive smoke
> test results from Amazon and myself.
> 
> Pull request below; browser view here:
> 
> https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-aws/log/?h=hib

A big pile of changes, but scope is limited and they have positive
testing.

Acked-by: Seth Forshee <seth.forshee@canonical.com>
Kamal Mostafa Nov. 15, 2017, 9:21 p.m. UTC | #2
Applied to linux-aws, with additional irc ACK from Leann Ogasawara.

Re-ordered one out-of-order commit (thanks Seth!).

 -Kamal