~vicamo/+git/ubuntu-kernel:bug-1968525/PCI-vmd-Enable-PCIe-ASPM-and-LTR/unstable

Last commit made on 2022-04-13
Get this branch:
git clone -b bug-1968525/PCI-vmd-Enable-PCIe-ASPM-and-LTR/unstable 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-1968525/PCI-vmd-Enable-PCIe-ASPM-and-LTR/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

9f30d4c... by You-Sheng Yang

Bug 1968525: PCI: vmd: Enable PCIe ASPM and LTR

90971e5... by David Box

UBUNTU: SAUCE: PCI: vmd: Configure PCIe ASPM and LTR

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

PCIe ports reserved for VMD use are not visible to BIOS and therefore not
configured to enable PCIE ASPM. Additionally, PCIE LTR values may be left
unset since BIOS will set a default maximum LTR value on endpoints to
ensure that they don't block SoC power management. Lack of this programming
results in high power consumption on laptops as reported in bugzilla [1].
For currently affected products, use pci_enable_default_link_state to set
the allowed link states for devices on the root ports. Also set the LTR
value to the maximum value needed for the SoC. Per the VMD hardware team
future products using VMD will enable BIOS configuration of these
capabilities. This solution is a workaround for current products that
mainly targets laptops. Support is not provided if a switch used nor for
hotplug.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=213717

Signed-off-by: Michael Bottini <email address hidden>
Signed-off-by: David E. Box <email address hidden>
(cherry picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

629a56c... by David Box

UBUNTU: SAUCE: PCI: vmd: Add vmd_device_data

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

Add vmd_device_data to allow adding additional info for driver data. Also
refactor the PCI ID list to use PCI_VDEVICE.

Signed-off-by: David E. Box <email address hidden>
(cherry picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

a1314a5... by Michael Bottini <email address hidden>

UBUNTU: SAUCE: PCI/ASPM: Add pci_enable_default_link_state()

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

Add pci_enable_default_link_state() to allow devices to change the default
BIOS configured states. Clears the BIOS default settings then sets the new
states and reconfigures the link under the semaphore. Also add
PCIE_LINK_STATE_ALL macro for convenience for callers that want to enable
all link states.

Signed-off-by: Michael Bottini <email address hidden>
Signed-off-by: David E. Box <email address hidden>
(cherry picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang (vicamo) <email address hidden>

5252f7d... by Andrea Righi

UBUNTU: Ubuntu-unstable-5.17.0-6.6

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

b889751... by Andrea Righi

UBUNTU: link-to-tracker: update tracking bug

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

2f498e7... by Andrea Righi

UBUNTU: rebase to v5.17

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

1f2f11e... by Andrea Righi

UBUNTU: Start new release

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

dfc4119... by Dimitri John Ledkov

UBUNTU: [Packaging] switch dependency from crda to wireless-regdb

BugLink: https://bugs.launchpad.net/bugs/1958918
Signed-off-by: Dimitri John Ledkov <email address hidden>

664575c... by Andrea Righi

UBUNTU: [Config] disable CONFIG_SYSFB_SIMPLEFB on amd64

CONFIG_SYSFB_SIMPLEFB was confirmed to break the fb on several x86-64
kits, disable it for now.

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