~bladernr/ubuntu/+source/linux/+git/kinetic:1990985-limit-dummy_wait-to-intel

Last commit made on 2022-09-27
Get this branch:
git clone -b 1990985-limit-dummy_wait-to-intel https://git.launchpad.net/~bladernr/ubuntu/+source/linux/+git/kinetic
Only Jeff Lane  can upload to this branch. If you are Jeff Lane  please log in for upload directions.

Branch merges

Branch information

Name:
1990985-limit-dummy_wait-to-intel
Repository:
lp:~bladernr/ubuntu/+source/linux/+git/kinetic

Recent commits

50598fa... by Dave Hansen <email address hidden>

ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems

BugLink: http://bugs.launchpad.net/bugs/1990985

Old, circa 2002 chipsets have a bug: they don't go idle when they are
supposed to. So, a workaround was added to slow the CPU down and
ensure that the CPU waits a bit for the chipset to actually go idle.
This workaround is ancient and has been in place in some form since
the original kernel ACPI implementation.

But, this workaround is very painful on modern systems. The "inl()"
can take thousands of cycles (see Link: for some more detailed
numbers and some fun kernel archaeology).

First and foremost, modern systems should not be using this code.
Typical Intel systems have not used it in over a decade because it is
horribly inferior to MWAIT-based idle.

Despite this, people do seem to be tripping over this workaround on
AMD system today.

Limit the "dummy wait" workaround to Intel systems. Keep Modern AMD
systems from tripping over the workaround. Remotely modern Intel
systems use intel_idle instead of this code and will, in practice,
remain unaffected by the dummy wait.

Reported-by: K Prateek Nayak <email address hidden>
Suggested-by: Rafael J. Wysocki <email address hidden>
Signed-off-by: Dave Hansen <email address hidden>
Reviewed-by: Mario Limonciello <email address hidden>
Tested-by: K Prateek Nayak <email address hidden>
Link: https://<email address hidden>/
Link: https://<email address hidden>
(cherry picked from commit e400ad8b7e6a1b9102123c6240289a811501f7d9)
Signed-off-by: Jeff Lane <email address hidden>

2d04e10... by Andrea Righi

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1983335
Properties: no-test-build
Signed-off-by: Andrea Righi <email address hidden>

44dc7b2... by Andrea Righi

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>

b357dad... by Andrea Righi

UBUNTU: [Config] update annotations to support both gcc-11 and gcc-12

Temporarily remove some annotation enforcements so that we can build the
kernel either with gcc-11 or gcc-12.

Signed-off-by: Andrea Righi <email address hidden>

9a950cf... by Andrea Righi

UBUNTU: Ubuntu-5.19.0-14.14

Signed-off-by: Andrea Righi <email address hidden>

12b901d... by Andrea Righi

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1983273
Properties: no-test-build
Signed-off-by: Andrea Righi <email address hidden>

68aff57... by Andrea Righi

UBUNTU: [Config] update configs after moving to gcc-12

Signed-off-by: Andrea Righi <email address hidden>

f7b646d... by Andrea Righi

UBUNTU: [Config] update configs/annotations after rebase to 5.19

c653c591789b ("drm/amdgpu: Re-enable DCN for 64-bit powerpc") introduced
CONFIG_PPC_LONG_DOUBLE_128, make sure to add that to the config.

Signed-off-by: Andrea Righi <email address hidden>

42beb24... by Andrea Righi

Revert "UBUNTU: [Packaging]: always use fully qualified <triplet>-gcc-VER toolchain"

Move to the default gcc to avoid using different versions of gcc for
the dkms and kernel, that seems to cause random breakage across the
different dkms.

Signed-off-by: Andrea Righi <email address hidden>

47838eb... by Andrea Righi

UBUNTU: Rebase to v5.19

Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>