Re: [PATCH v4] PCI: Relabel JHL6540 on Lenovo X1 Carbon 7,8

From: Mario Limonciello
Date: Thu May 02 2024 - 05:55:12 EST


On 5/1/2024 23:38, Mika Westerberg wrote:
Hi,

On Wed, May 01, 2024 at 06:23:28PM -0400, Esther Shimanovich wrote:
I don’t have this device available at my office. I just saw that
StarTech sells a universal laptop docking station with chipset-id
Intel - Alpine Ridge DSL6540. Then I looked up the device, and found
it here: https://linux-hardware.org/?id=pci:8086-1577-8086-0000

Therefore, I concluded that the DSL6540 has an NHI component.

Okay understood. Yes Alpine Ridge can be both host and device router. In
device configuration such as the above it does not expose NHI. If it is
host as in the above list you shared then it includes one.

There are different PCI IDs for AR for host vs device though, right?
But I guess that could technically be spoofed.
Is there a fixed PCI ID for the RP used to tunnel for host AR?
If so you could special case that anything connected to that PCI ID for RP used to tunnel isn't trusted.