intel-lpss driver conflicts with write-combining MTRR region
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
AceLan Kao | ||
Bionic |
Fix Released
|
Undecided
|
AceLan Kao | ||
Disco |
Fix Released
|
Undecided
|
AceLan Kao | ||
Eoan |
Fix Released
|
Undecided
|
AceLan Kao | ||
Focal |
Fix Released
|
Undecided
|
AceLan Kao | ||
linux-oem (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The memory region intel-lpss-pci uses has been declared as
write-combining
[ 0.001728] 5 base 4000000000 mask 6000000000 write-combining
This leads to the system hangs up during booting up.
This is a BIOS issue, but there are some platforms on the market and users are struggling on booting up the machines. So, we may have to fix this in the kernel.
[Fix]
Tuowen Zhao(<email address hidden>)[1] provides a diff patch for intel-lpss
driver to claim to use un-catchable memory while calling
__devm_ioremap(), and it works well. But it didn't be accepted by
maintainer yet.
To avoid the potential impact on other machines, I add a quirk to list
the machines which has the write-combining area in MTRR which overlaps
with the address that intel-lpss uses, only the machines in the list
pass the DEVM_IOREMAP_UC to __devm_ioremap().
[Test]
Verified on Dell XPS 13 7390 2-in-1
[Regression Potential]
Low, without this patch, the machine even can't boot. And the quirk only for specific machines, so the modification won't affect other machines.
description: | updated |
tags: | added: patch |
tags: | added: oem-priority originate-from-1844779 somerville |
Changed in linux-oem (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux-oem (Ubuntu Disco): | |
status: | New → Invalid |
Changed in linux-oem (Ubuntu Eoan): | |
status: | New → Invalid |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in linux-oem (Ubuntu Disco): | |
status: | Invalid → Fix Released |
tags: |
added: verification-done-bionic verification-done-disco removed: verification-needed-bionic verification-needed-disco |
Changed in hwe-next: | |
status: | New → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Released |
This bug was fixed in the package linux - 5.3.0-17.18
---------------
linux (5.3.0-17.18) eoan; urgency=medium
* eoan/linux: 5.3.0-17.18 -proposed tracker (LP: #1846641)
* CVE-2019-17056
- nfc: enforce CAP_NET_RAW for raw sockets
* CVE-2019-17055
- mISDN: enforce CAP_NET_RAW for raw sockets
* CVE-2019-17054
- appletalk: enforce CAP_NET_RAW for raw sockets
* CVE-2019-17053
- ieee802154: enforce CAP_NET_RAW for raw sockets
* CVE-2019-17052
- ax25: enforce CAP_NET_RAW for raw sockets
* CVE-2019-15098 usb_alloc_ urb_from_ pipe()
- ath6kl: fix a NULL-ptr-deref bug in ath6kl_
* xHCI on AMD Stoney Ridge cannot detect USB 2.0 or 1.1 devices.
(LP: #1846470)
- x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
* Re-enable linux-libc-dev build on i386 (LP: #1846508)
- [Packaging] Build only linux-libc-dev for i386
- [Debian] final-checks -- ignore archtictures with no binaries
* arm64: loop on boot after installing linux-generic- hwe-18. 04-edge/ bionic- ARM_SMMU_ DISABLE_ BYPASS_ BY_DEFAULT
proposed (LP: #1845820)
- [Config] Disable CONFIG_
* Revert ESE DASD discard support (LP: #1846219)
- SAUCE: Revert "s390/dasd: Add discard support for ESE volumes"
* Miscellaneous Ubuntu changes
- update dkms package versions
linux (5.3.0-16.17) eoan; urgency=medium
* eoan/linux: 5.3.0-16.17 -proposed tracker (LP: #1846204)
* zfs fails to build on s390x with debug symbols enabled (LP: #1846143)
- SAUCE: s390: Mark atomic const ops always inline
linux (5.3.0-15.16) eoan; urgency=medium
* eoan/linux: 5.3.0-15.16 -proposed tracker (LP: #1845987)
* Drop i386 build for 19.10 (LP: #1845714)
- [Packaging] Remove x32 arch references from control files
- [Debian] final-checks -- Get arch list from debian/control
* ZFS kernel modules lack debug symbols (LP: #1840704)
- [Debian] Fix conditional for setting zfs debug package path
* Use pyhon3-sphinx instead of python-sphinx for building html docs
(LP: #1845808)
- [Packaging] Update sphinx build dependencies to python3 packages
* Kernel panic with 19.10 beta image (LP: #1845454) final_log_ size after successful event log parsing
- efi/tpm: Don't access event->count when it isn't mapped.
- efi/tpm: don't traverse an event log with no events
- efi/tpm: only set efi_tpm_
linux (5.3.0-14.15) eoan; urgency=medium
* eoan/linux: 5.3.0-14.15 -proposed tracker (LP: #1845728)
* Drop i386 build for 19.10 (LP: #1845714)
- [Debian] Remove support for producing i386 kernels
- [Debian] Don't use CROSS_COMPILE for i386 configs
* udevadm trigger will fail when trying to add /sys/devices/vio/
(LP: #1845572)
- SAUCE: powerpc/vio: drop bus_type from parent device
* Trying to online dasd drive results in invalid input/output from the kernel
on z/VM (LP: #1845323)
- SAUCE: s390/dasd: Fix error handling during online processing
* intel-lpss driver conflicts with write-combining MTRR region (LP: #1845584)
- SAUCE: mfd: intel-lpss: add quirk for Dell XPS 13 7390 2-in-1
* Support Hi1620 zip hw accelerator (LP: #1845355)
- [Config] Enable HiSilicon QM/ZIP as module...