~canonical-kernel/ubuntu/+source/linux-aws/+git/impish:master

Last commit made on 2022-06-21
Get this branch:
git clone -b master https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-aws/+git/impish
Members of Canonical Kernel can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

9b015c9... by David Woodhouse <email address hidden>

PM: hibernate: Honour ACPI hardware signature by default for virtual guests

BugLink: https://bugs.launchpad.net/bugs/1965002

The ACPI specification says that OSPM should refuse to restore from
hibernate if the hardware signature changes, and should boot from
scratch. However, real BIOSes often vary the hardware signature in cases
where we *do* want to resume from hibernate, so Linux doesn't follow the
spec by default.

However, in a virtual environment there's no reason for the VMM to vary
the hardware signature *unless* it wants to trigger a clean reboot as
defined by the ACPI spec. So enable the check by default if a hypervisor
is detected.

Signed-off-by: David Woodhouse <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
(cherry picked from commit f6c46b1d62f8ffbf2cf6eb43ab0d277bd3f7e948 linux-next)
Signed-off-by: Tim Gardner <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Ian May <email address hidden>
Signed-off-by: Tim Gardner <email address hidden>

3184be0... by David Woodhouse <email address hidden>

PM: hibernate: Allow ACPI hardware signature to be honoured

BugLink: https://bugs.launchpad.net/bugs/1965002

Theoretically, when the hardware signature in FACS changes, the OS
is supposed to gracefully decline to attempt to resume from S4:

 "If the signature has changed, OSPM will not restore the system
  context and can boot from scratch"

In practice, Windows doesn't do this and many laptop vendors do allow
the signature to change especially when docking/undocking, so it would
be a bad idea to simply comply with the specification by default in the
general case.

However, there are use cases where we do want the compliant behaviour
and we know it's safe. Specifically, when resuming virtual machines where
we know the hypervisor has changed sufficiently that resume will fail.
We really want to be able to *tell* the guest kernel not to try, so it
boots cleanly and doesn't just crash. This patch provides a way to opt
in to the spec-compliant behaviour on the command line.

A follow-up patch may do this automatically for certain "known good"
machines based on a DMI match, or perhaps just for all hypervisor
guests since there's no good reason a hypervisor would change the
hardware_signature that it exposes to guests *unless* it wants them
to obey the ACPI specification.

Signed-off-by: David Woodhouse <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
(cherry picked from commit 74d9555580c48a04b2c3b742dfb0c80777aa0b26)
Signed-off-by: Tim Gardner <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Ian May <email address hidden>
Signed-off-by: Tim Gardner <email address hidden>

e8e9147... by Thadeu Lima de Souza Cascardo

UBUNTU: Ubuntu-aws-5.13.0-1031.35

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

58d2204... by Thadeu Lima de Souza Cascardo

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

d6c5f29... by Thadeu Lima de Souza Cascardo

UBUNTU: Ubuntu-aws-5.13.0-1028.31

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

8b78941... by Thadeu Lima de Souza Cascardo

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

bc55ec6... by Tim Gardner

UBUNTU: Ubuntu-aws-5.13.0-1026.28

Signed-off-by: Tim Gardner <email address hidden>

e2c6717... by Tim Gardner

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1974332
Properties: no-test-build
Signed-off-by: Tim Gardner <email address hidden>

fd9043c... by Tim Gardner

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Tim Gardner <email address hidden>

796ba98... by Tim Gardner

UBUNTU: [Config] aws: CONFIG_HISI_PMU=m

BugLink: https://launchpad.net/bugs/1956086

    Signed-off-by: Ike Panhc <email address hidden>
    Acked-by: Stefan Bader <email address hidden>
    Acked-by: Tim Gardner <email address hidden>
    Signed-off-by: Stefan Bader <email address hidden>

Copied from master

Signed-off-by: Tim Gardner <email address hidden>