~vicamo/+git/ubuntu-kernel:bug-1866734/fix-selftest-retry-v2/disco

Last commit made on 2020-03-16
Get this branch:
git clone -b bug-1866734/fix-selftest-retry-v2/disco https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1866734/fix-selftest-retry-v2/disco
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

2f9ee4d... by You-Sheng Yang

Bug 1866734: Input: i8042 - fix the selftest retry logic

67f614a... by You-Sheng Yang

Input: i8042 - fix the selftest retry logic

It returns -NODEV at the first selftest timeout, so the retry logic
doesn't work. Move the return outside of the while loop to make it real
retry 5 times before returns -ENODEV.

BTW, the origin loop will retry 6 times, also fix this.

Signed-off-by: You-Sheng Yang <email address hidden>
(backported from
https://<email address hidden>/)

ff86878... by Khaled El Mously

UBUNTU: Ubuntu-5.0.0-44.48

Signed-off-by: Khalid Elmously <email address hidden>

703d979... by Khaled El Mously

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1867284
Properties: no-test-build
Signed-off-by: Khalid Elmously <email address hidden>

3dd1273... by Khaled El Mously

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Khalid Elmously <email address hidden>

360b995... by Khaled El Mously

UBUNTU: [Packaging] update helper scripts

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Khalid Elmously <email address hidden>

c63502c... by Khaled El Mously

UBUNTU: [Packaging] resync getabis

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Khalid Elmously <email address hidden>

ce370de... by Kamal Mostafa

UBUNTU: upstream stable to v4.19.103, v5.4.19

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

Ignore: yes
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

99d1e13... by Stephen Rothwell <email address hidden>

regulator fix for "regulator: core: Add regulator_is_equal() helper"

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

[ Upstream commit 0468e667a5bead9c1b7ded92861b5a98d8d78745 ]

Signed-off-by: Stephen Rothwell <email address hidden>
Link: https://<email address hidden>
Acked-by: Marek Vasut <email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>

f7726c0... by tglx

x86/timer: Don't skip PIT setup when APIC is disabled or in legacy mode

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

commit 979923871f69a4dc926658f9f9a1a4c1bde57552 upstream.

Tony reported a boot regression caused by the recent workaround for systems
which have a disabled (clock gate off) PIT.

On his machine the kernel fails to initialize the PIT because
apic_needs_pit() does not take into account whether the local APIC
interrupt delivery mode will actually allow to setup and use the local
APIC timer. This should be easy to reproduce with acpi=off on the
command line which also disables HPET.

Due to the way the PIT/HPET and APIC setup ordering works (APIC setup can
require working PIT/HPET) the information is not available at the point
where apic_needs_pit() makes this decision.

To address this, split out the interrupt mode selection from
apic_intr_mode_init(), invoke the selection before making the decision
whether PIT is required or not, and add the missing checks into
apic_needs_pit().

Fixes: c8c4076723da ("x86/timer: Skip PIT initialization on modern chipsets")
Reported-by: Anthony Buckley <email address hidden>
Tested-by: Anthony Buckley <email address hidden>
Signed-off-by: Thomas Gleixner <email address hidden>
Signed-off-by: Ingo Molnar <email address hidden>
Cc: Daniel Drake <email address hidden>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206125
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Khalid Elmously <email address hidden>