Displaying 7 results from an estimated 7 matches for "pci_xen_swiotlb_init".
2023 May 18
0
[PATCH 1/4] x86: move a check out of pci_xen_swiotlb_init
Move the exact checks when to initialize the Xen swiotlb code out
of pci_xen_swiotlb_init and into the caller so that is uses readable
positive checks, rather than negative ones that will get even more
confusing with another addition.
Signed-off-by: Christoph Hellwig <hch at lst.de>
---
arch/x86/kernel/pci-dma.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --...
2023 May 18
4
unexport swiotlb_active
Hi all,
this little series removes the last swiotlb API exposed to modules.
Diffstat:
arch/x86/include/asm/xen/swiotlb-xen.h | 6 ------
arch/x86/kernel/pci-dma.c | 28 ++++------------------------
drivers/gpu/drm/nouveau/nouveau_ttm.c | 10 +++-------
drivers/pci/xen-pcifront.c | 6 ------
kernel/dma/swiotlb.c | 1 -
5 files changed, 7
2023 Jun 12
1
[PATCH 2/4] x86: always initialize xen-swiotlb when xen-pcifront is enabling
...; If you want I can send a diff to be folded into your patch on Monday.
Attached is a patch for adding a new flag xen_pv_pci_possible. You can
either add the patch to your series or merge it into your patch 2.
You need to modify your patch like this:
@@ -111,7 +90,10 @@ static inline void __init pci_xen_swiotlb_init(void)
void __init pci_iommu_alloc(void)
{
if (xen_pv_domain()) {
- if (xen_initial_domain() || x86_swiotlb_enable)
+ if (xen_initial_domain() ||
+ (IS_ENABLED(CONFIG_XEN_PCIDEV_FRONTEND) &&
+ xen_pv_pci_possible) ||
+ x86_swiotlb_enable)
pci_xen_swiotlb_init();...
2023 Jun 09
2
[PATCH 2/4] x86: always initialize xen-swiotlb when xen-pcifront is enabling
On 07.06.23 15:12, Christoph Hellwig wrote:
> On Mon, May 22, 2023 at 10:37:09AM +0200, Juergen Gross wrote:
>> In normal cases PCI passthrough in PV guests requires to start the guest
>> with e820_host=1. So it should be rather easy to limit allocating the
>> 64MB in PV guests to the cases where the memory map has non-RAM regions
>> especially in the first 1MB of the
2020 Jun 24
2
[PATCH] xen: introduce xen_vring_use_dma
...ex 6b56d0d45d15..bb5ce02b4e20 100644
--- a/arch/x86/include/asm/xen/swiotlb-xen.h
+++ b/arch/x86/include/asm/xen/swiotlb-xen.h
@@ -3,12 +3,10 @@
#define _ASM_X86_SWIOTLB_XEN_H
#ifdef CONFIG_SWIOTLB_XEN
-extern int xen_swiotlb;
extern int __init pci_xen_swiotlb_detect(void);
extern void __init pci_xen_swiotlb_init(void);
extern int pci_xen_swiotlb_init_late(void);
#else
-#define xen_swiotlb (0)
static inline int __init pci_xen_swiotlb_detect(void) { return 0; }
static inline void __init pci_xen_swiotlb_init(void) { }
static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
diff --git a/arch/...
2010 Dec 16
19
Hypervisor hangs on startup
Hi!
We have a problem that the dom0 very often does not boot and hangs in
the hypervisor - see screenshot. The last message is:
(XEN) Dom0 has maximum 16 VCPUs
(afterwards xen should overwrite the memory)
We are using the xen kernel from kernel.org git.
Kernel is 2.6.32.24-xen with Xen 4.0.1
Hardware is HP DL380.
Is this a known problem? Any hints what could be the problem and how we
can
2010 Dec 16
19
Hypervisor hangs on startup
Hi!
We have a problem that the dom0 very often does not boot and hangs in
the hypervisor - see screenshot. The last message is:
(XEN) Dom0 has maximum 16 VCPUs
(afterwards xen should overwrite the memory)
We are using the xen kernel from kernel.org git.
Kernel is 2.6.32.24-xen with Xen 4.0.1
Hardware is HP DL380.
Is this a known problem? Any hints what could be the problem and how we
can