diff options
| author | 2022-09-09 15:24:59 -0500 | |
|---|---|---|
| committer | 2022-09-12 15:29:32 -0500 | |
| commit | 118b9dfdc18b68abf736a71330e3ad1f5af7e47e (patch) | |
| tree | 0f5116254dcbce977690ab9ff51bb912cd105e2c /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | PCI/PTM: Add pci_upstream_ptm() helper (diff) | |
| download | linux-dev-118b9dfdc18b68abf736a71330e3ad1f5af7e47e.tar.xz linux-dev-118b9dfdc18b68abf736a71330e3ad1f5af7e47e.zip | |
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>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
