Bjorn Helgaas 118b9dfdc1 PCI/PTM: Separate configuration and enable
PTM configuration and enabling were previously mixed together:
pci_ptm_init() collected granularity info and enabled PTM for Root Ports
and Switch Upstream Ports; pci_enable_ptm() did the same for Endpoints.

Move everything related to the PTM Capability register to pci_ptm_init()
for all devices, and everything related to the PTM Control register to
pci_enable_ptm().

Link: https://lore.kernel.org/r/20220909202505.314195-4-helgaas@kernel.org
Tested-by: Rajvi Jingar <rajvi.jingar@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2022-09-12 15:29:32 -05:00
..
2021-06-16 17:20:40 -05:00
2022-03-07 12:06:10 -07:00
2020-07-29 14:25:18 -05:00
2022-08-10 11:07:26 -07:00
2022-05-31 09:56:54 -07:00
2022-05-31 09:56:54 -07:00
2022-08-10 11:07:26 -07:00
2021-02-10 16:46:29 -06:00
2022-03-22 17:16:21 -05:00
2021-09-28 13:43:17 -05:00
2020-08-05 18:23:14 -05:00