search for: pci_epc_map_addr

Displaying 2 results from an estimated 2 matches for "pci_epc_map_addr".

Did you mean: pci_epc_unmap_addr
2023 Apr 27
1
[RFC PATCH v2 1/3] PCI: endpoint: introduce a helper to implement pci ep virtio function
...t; depend on each specific device, such as network, block, etc. s/impl ement/implement/ > +#include <linux/virtio_pci.h> > +#include <linux/virtio_config.h> > +#include <linux/kthread.h> Typically the header includes would be alphabetized if possible. > + vq_virt = pci_epc_map_addr(epf->epc, epf->func_no, epf->vfunc_no, > + vq_pci_addr, vq_phys, vq_size); > + if (IS_ERR(vq_virt)) { > + pr_err("Failed to map virtuqueue to local"); s/virtuqueue/virtqueue/ I know you probably don't have any way to use dev_err(), but this message really ne...
2023 Apr 27
4
[RFC PATCH v2 0/3] Introduce a PCIe endpoint virtio console
PCIe endpoint framework provides APIs to implement PCIe endpoint function. This framework allows defining various PCIe endpoint function behaviors in software. This patch extend the framework for virtio pci device. The virtio is defined to communicate guest on virtual machine and host side. Advantage of the virtio is the efficiency of data transfer and the conciseness of implementation device