Re: [PATCH v3 2/4] thunderbolt: Separate out common NHI bits

From: Mika Westerberg

Date: Fri May 15 2026 - 02:28:19 EST


Hi,

On Wed, May 13, 2026 at 06:23:33PM +0200, Konrad Dybcio wrote:
> .runtime_suspend = icl_nhi_suspend,
> .runtime_resume = icl_nhi_resume,
> .shutdown = icl_nhi_shutdown,
> + .pre_nvm_auth = nhi_pci_start_dma_port,
> + .post_nvm_auth = nhi_pci_complete_dma_port,
> + .request_ring_irq = nhi_pci_ring_request_msix,
> + .release_ring_irq = nhi_pci_ring_release_msix,
> + .is_present = nhi_pci_is_present,
> + .init_interrupts = nhi_pci_init_msi,

I think we can actually move all this ICL (Intel integrated prior Nova
Lake) stuff into pci.c now. This is only PCI and that way we do not need to
expose any these functions outside of pci.c.