On 2019-03-06 1:44 p.m., Serge Semin wrote: > Alas the test driver is not going to work with IDT NTB hardware, > since it uses Spad only, which aren't supported by IDT devices. IDT NTB > PCIe functions provide message registers to communicate with peers. See > ntb_perf driver code for reference of portable driver design. > > In order to make the test driver portable the following alterations > are needed: > 1) Add NTB Message register API usage together with Scratchpad+Doorbell. > 2) When NTB MSI library is updated with functions like > ntb_msi_peer_setup_mws()/ntb_msi_peer_clear_mws() they are needed to be > utilized in the test driver as well to set a translation address on the > peer side. Per, the discussion on the previous email, we can update this later once we actually have sensible infrastructure for it. The mess in ntb_perf is not something I want to replicate and we don't have any interest in creating a large amount of infrastructure to support hardware we don't care about. Logan _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
- [PATCH v2 11/12] NTB: Add ntb_msi_test support to ntb_test Logan Gunthorpe
- [PATCH v2 04/12] iommu/vt-d: Allow interrupts from the ent... Logan Gunthorpe
- [PATCH v2 12/12] NTB: Add MSI interrupt support to ntb_tra... Logan Gunthorpe
- [PATCH v2 08/12] NTB: Rename ntb.c to support multiple sou... Logan Gunthorpe
- [PATCH v2 03/12] iommu/vt-d: Add helper to set an IRTE to ... Logan Gunthorpe
- [PATCH v2 01/12] iommu/vt-d: Implement dma_[un]map_resourc... Logan Gunthorpe
- Re: [PATCH v2 01/12] iommu/vt-d: Implement dma_[un]ma... Logan Gunthorpe
- [PATCH v2 05/12] PCI/MSI: Support allocating virtual MSI i... Logan Gunthorpe
- [PATCH v2 10/12] NTB: Introduce NTB MSI Test Client Logan Gunthorpe
- Re: [PATCH v2 10/12] NTB: Introduce NTB MSI Test Clie... Serge Semin
- Re: [PATCH v2 10/12] NTB: Introduce NTB MSI Test ... Logan Gunthorpe
- [PATCH v2 06/12] PCI/switchtec: Add module parameter to re... Logan Gunthorpe
- [PATCH v2 09/12] NTB: Introduce MSI library Logan Gunthorpe
- Re: [PATCH v2 09/12] NTB: Introduce MSI library Serge Semin
- Re: [PATCH v2 09/12] NTB: Introduce MSI library Logan Gunthorpe
- Re: [PATCH v2 09/12] NTB: Introduce MSI libra... Serge Semin
- Re: [PATCH v2 00/12] Support using MSI interrupts in ntb_t... Joerg Roedel
- Re: [PATCH v2 00/12] Support using MSI interrupts in ... Logan Gunthorpe