Split pci_vfio_map_resource for primary and secondary processes.
Save all relevant mapping data in primary process to allow
the secondary process to perform mappings.
Signed-off-by: Jonas Pfefferle
---
v2:
* fix zero size and offset when trying to mmap non msix bar
v3:
* explicitly check ioport
On Sat, 13 Jan 2018 23:49:30 +0100
Thomas Monjalon wrote:
13/01/2018 13:15, Burakov, Anatoly:
On 11-Jan-18 11:45 PM, Thomas Monjalon wrote:
> 07/11/2017 10:50, Jonas Pfefferle1:
>>> Is there something urgent for 17.11?
>>> Or can it be refined in 18.02?
>>
>> Nothing urgent. We can refine th
On Mon, 15 Jan 2018 17:11:58 +0100
Thomas Monjalon wrote:
15/01/2018 13:22, Jonas Pfefferle:
On Sat, 13 Jan 2018 23:49:30 +0100
Thomas Monjalon wrote:
> 13/01/2018 13:15, Burakov, Anatoly:
>> On 11-Jan-18 11:45 PM, Thomas Monjalon wrote:
>> > 07/11/2017 10:50
On Tue, 16 Jan 2018 10:07:51 +
"Burakov, Anatoly" wrote:
On 15-Jan-18 12:22 PM, Jonas Pfefferle wrote:
On Sat, 13 Jan 2018 23:49:30 +0100
Thomas Monjalon wrote:
13/01/2018 13:15, Burakov, Anatoly:
On 11-Jan-18 11:45 PM, Thomas Monjalon wrote:
> 07/11/2017 10:50, Jon
On Tue, 16 Jan 2018 18:01:32 +0100
Maxime Coquelin wrote:
Hi Jonas,
On 01/16/2018 05:08 PM, Jonas Pfefferle wrote:
On Mon, 15 Jan 2018 17:11:58 +0100
Thomas Monjalon wrote:
15/01/2018 13:22, Jonas Pfefferle:
On Sat, 13 Jan 2018 23:49:30 +0100
Thomas Monjalon wrote:
> 13
On Wed, 17 Jan 2018 09:55:37 +0100
Maxime Coquelin wrote:
On 01/17/2018 09:48 AM, Jonas Pfefferle wrote:
On Tue, 16 Jan 2018 18:01:32 +0100
Maxime Coquelin wrote:
Hi Jonas,
On 01/16/2018 05:08 PM, Jonas Pfefferle wrote:
On Mon, 15 Jan 2018 17:11:58 +0100
Thomas Monjalon
Split pci_vfio_map_resource for primary and secondary processes.
Save all relevant mapping data in primary process to allow
the secondary process to perform mappings.
Signed-off-by: Jonas Pfefferle
---
v2:
* fix zero size and offset when trying to mmap non msix bar
lib/librte_eal/common
Check return value of device reset ioctl
Fixes: 33604c31354a ("vfio: refactor PCI BAR mapping")
Coverity issue: 195003
Signed-off-by: Jonas Pfefferle
---
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/librte_ea
Check return value of device reset ioctl
Fixes: 33604c31354a ("vfio: refactor PCI BAR mapping")
Coverity issue: 195003
Signed-off-by: Jonas Pfefferle
---
v2:
* fix whitespace/tab issue
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 6 +-
1 file changed, 5 insertions(+), 1 deletio
Print a warning if the --base-virtaddr hint is not respected
since this might lead to problems when mapping memory in
the secondary process.
Signed-off-by: Jonas Pfefferle
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 23 +--
1 file changed, 17 insertions(+), 6 deletions
Check and report errors on open/read in noiommu check.
Signed-off-by: Jonas Pfefferle
---
lib/librte_eal/linuxapp/eal/eal_vfio.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c
b/lib/librte_eal/linuxapp
Check and report errors on open/read in noiommu check.
Signed-off-by: Jonas Pfefferle
---
lib/librte_eal/linuxapp/eal/eal_vfio.c | 29 +
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c
b/lib/librte_eal/linuxapp
might need to use a different
virt-baseaddr. We now warn if the address hint is not respected
(fae209f) thus users can try different virtual address bases.
Fixes: 284ae3e9 ("eal/ppc: fix mmap for memory initialization")
Signed-off-by: Jonas Pfefferle
---
doc/guides/linux_gsg/sys_
PPC64 sPAPR iommu does not support iova as va.
Use pa mode instead.
Signed-off-by: Jonas Pfefferle
---
drivers/bus/pci/linux/pci.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c
index cdf8106..6a58c5f
This fixes the use of an never defined PPC64 define in
ret_pci_get_iommu_class.
Fixes: b48e0e2d9cb4 ("bus/pci: fix IOMMU class for sPAPR")
Signed-off-by: Jonas Pfefferle
---
drivers/bus/pci/linux/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus
:52 PM
To: Burakov, Anatoly
Cc: dev@dpdk.org; jianfeng@intel.com; Thomas Monjalon
Subject: Re: [dpdk-dev] [PATCH] mem: warn if address hint is not
respected
"Burakov, Anatoly" wrote on 11/07/2017
02:54:24
PM:
> From: "Burakov, Anatoly"
> To: Thomas Monjalon
> Cc:
7:00 +
"Xueming(Steven) Li" wrote:
So the idea of item 3 might sound and lead to seldom usage of
'--base-virtaddress'.
Reserve an address hole big enough before hugepage almost cost
nothing.
-----Original Message-
From: Jonas Pfefferle [mailto:peppe...@japf.ch]
Sent: Wedn
purpose
+ and will be removed.
+
* eal: several API and ABI changes are planned for ``rte_devargs``
in v18.02.
The format of device command line parameters will change. The bus
will need
to be explicitly stated in the device declaration. The enum
``rte_devtype``
--
2.7.4
Acked-by: Jonas
the device declaration. The enum
``rte_devtype``
--
2.7.4
Acked-by: Jonas Pfefferle
DMA window size needs to be big enough to span all memory segment's
physical addresses. We do not need multiple levels of IOMMU tables
as we already span ~70TB of physical memory with 16MB hugepages.
Signed-off-by: Jonas Pfefferle
---
lib/librte_eal/linuxapp/eal/eal_vfio.c
DMA window size needs to be big enough to span all memory segment's
physical addresses. We do not need multiple levels of IOMMU tables
as we already span ~70TB of physical memory with 16MB hugepages.
Signed-off-by: Jonas Pfefferle
---
v2:
* roundup to next power 2 function without loop.
DMA window size needs to be big enough to span all memory segment's
physical addresses. We do not need multiple levels of IOMMU tables
as we already span ~70TB of physical memory with 16MB hugepages.
Signed-off-by: Jonas Pfefferle
---
v2:
* roundup to next power 2 function without loop
DMA window size needs to be big enough to span all memory segment's
physical addresses. We do not need multiple levels of IOMMU tables
as we already span ~70TB of physical memory with 16MB hugepages.
Signed-off-by: Jonas Pfefferle
---
v2:
* roundup to next power 2 function without loop
Split pci_vfio_map_resource for primary and secondary processes.
Save all relevant mapping data in primary process to allow
the secondary process to perform mappings.
Signed-off-by: Jonas Pfefferle
---
lib/librte_eal/common/include/rte_pci.h| 7 +
lib/librte_eal/linuxapp/eal
24 matches
Mail list logo