]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
thunderbolt: Add support for Intel Ice Lake
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 25 Sep 2019 10:06:00 +0000 (13:06 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 27 Sep 2019 13:11:36 +0000 (08:11 -0500)
commit19dccc1ee12b49cf1d9a61a7f907d586d25f87ba
treed883febdd2982061945080693b9161cd937c888d
parentb3aa53f19487ec2cc95c04570eca4a0ebfd77c04
thunderbolt: Add support for Intel Ice Lake

BugLink: http://bugs.launchpad.net/bugs/1844680
The Thunderbolt controller is integrated into the Ice Lake CPU itself
and requires special flows to power it on and off using force power bit
in NHI VSEC registers. Runtime PM (RTD3) and Sx flows also differ from
the discrete solutions. Now the firmware notifies the driver whether
RTD3 entry or exit are possible. The driver is responsible of sending
Go2Sx command through link controller mailbox when system enters Sx
states (suspend-to-mem/disk). Rest of the ICM firwmare flows follow
Titan Ridge.

Signed-off-by: Raanan Avargil <raanan.avargil@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Tested-by: Mario Limonciello <mario.limonciello@dell.com>
(cherry picked from commit 3cdb9446a117d5d63af823bde6fe6babc312e77b)
Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/thunderbolt/Makefile
drivers/thunderbolt/icm.c
drivers/thunderbolt/nhi.c
drivers/thunderbolt/nhi.h
drivers/thunderbolt/nhi_ops.c [new file with mode: 0644]
drivers/thunderbolt/nhi_regs.h
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb_msgs.h
include/linux/thunderbolt.h