Skip to contentSkip to conversation

xen/arm: gicv2: Export GICv2m register frames to domain0 by device tree

PATCH Superseded Wei Chen 2 participants 5 messages Apr 25, 2016 – Apr 28, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Wei Chen

author
#0 lore raw

PATCH v2 1/1 xen/arm: gicv2: Export GICv2m register frames to domain0 by device tree

This patch adds v2m extension support in GIC-v2 driver. The GICv2 driver detects the MSI frames from device tree and creates corresponding device tree nodes in Domain0's DTB. It also provides one hw_ops callback to map v2m MMIO regions to domain0 and route v2m SPIs to domain0.

With this GICv2m extension support, the domain0 kernel can do GICv2m frame setup and initialization.

This patch is based on the GICv2m patch of Suravee Suthikulpanit:
[PATCH 2/2] xen/arm: gicv2: Adding support for GICv2m in Dom0
http://lists.xen.org/archives/html/xen-devel/2015-04/msg02613.html

---
v2: Address comments from Julien
1. Pull non-DT code in a separate function.
2. Fix one variable type error.
3. Fix indentation issues.
4. Revise some code comments.

xen/arch/arm/domain_build.c | 5 +

 xen/arch/arm/gic-v2.c       | 287 ++++++++++++++++++++++++++++++++++++++++++++
 xen/arch/arm/gic.c          |   9 ++
 xen/include/asm-arm/gic.h   |   3 +
 4 files changed, 304 insertions(+)
xen/arch/arm/domain_build.c +5 -0
index 00dc07a..2e4c295 100644
@@ -2177,6 +2177,11 @@ int construct_dom0(struct domain *d)
     if ( rc < 0 )
         return rc;
 
+    /* Map extra GIC MMIO, irqs and other hw stuffs to dom0. */
+    rc = gic_map_hwdom_extra_mappings(d);
+    if ( rc < 0 )
+        return rc;
+
     rc = platform_specific_mapping(d);
     if ( rc < 0 )
         return rc;
xen/arch/arm/gic-v2.c +287 -0

329 lines not on this page · raw message

xen/arch/arm/gic.c +9 -0
index 2bfe4de..12bb0ab 100644
@@ -230,6 +230,15 @@ int gic_irq_xlate(const u32 *intspec, unsigned int intsize,
     return 0;
 }
 
+/* Map extra GIC MMIO, irqs and other hw stuffs to the hardware domain. */
+int gic_map_hwdom_extra_mappings(struct domain *d)
+{
+    if ( gic_hw_ops->map_hwdom_extra_mappings )
+        return gic_hw_ops->map_hwdom_extra_mappings(d);
+
+    return 0;
+}
+
 static void __init gic_dt_preinit(void)
 {
     int rc;
xen/include/asm-arm/gic.h +3 -0
index cd97bb2..836f1ad 100644
@@ -360,6 +360,8 @@ struct gic_hw_operations {
                               const struct dt_device_node *gic, void *fdt);
     /* Create MADT table for the hardware domain */
     int (*make_hwdom_madt)(const struct domain *d, u32 offset);
+    /* Map extra GIC MMIO, irqs and other hw stuffs to the hardware domain. */
+    int (*map_hwdom_extra_mappings)(struct domain *d);
     /* Deny access to GIC regions */
     int (*iomem_deny_access)(const struct domain *d);
 };
@@ -369,6 +371,7 @@ int gic_make_hwdom_dt_node(const struct domain *d,
                            const struct dt_device_node *gic,
                            void *fdt);
 int gic_make_hwdom_madt(const struct domain *d, u32 offset);
+int gic_map_hwdom_extra_mappings(struct domain *d);
 int gic_iomem_deny_access(const struct domain *d);
 
 #endif /* __ASSEMBLY__ */
Signature · 7 lines
2.5.0


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#1 lore raw

Hello Wei,

Quoted 3 lines · Wei Chen

This patch adds v2m extension support in GIC-v2 driver. The GICv2 driver detects the MSI frames from device tree and creates corresponding device tree nodes in Domain0's DTB. It also provides one hw_ops callback to map

NIT: s/Domain0/dom0/

Quoted 1 line

v2m MMIO regions to domain0 and route v2m SPIs to domain0.

Ditto.

Quoted 2 lines

With this GICv2m extension support, the domain0 kernel can do GICv2m

Ditto

Quoted 7 lines

frame setup and initialization.

This patch is based on the GICv2m patch of Suravee Suthikulpanit:
[PATCH 2/2] xen/arm: gicv2: Adding support for GICv2m in Dom0
http://lists.xen.org/archives/html/xen-devel/2015-04/msg02613.html

[...]

Quoted 10 lines
xen/arch/arm/gic-v2.c +10 -0
+static int gicv2_map_hwdown_extra_mappings(struct domain *d)
+{
+    const struct v2m_data *v2m_data;
+
+    /* For the moment, we'll assign all v2m frames to the hardware domain. */
+    list_for_each_entry( v2m_data, &gicv2m_info, entry )
+    {
+        int ret;
+        u32 spi;
+

xen/arch/arm/gic-v2.c static void gicv2_irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_m · line 609

Quoted 10 lines
xen/arch/arm/gic-v2.c +10 -0
+        printk("GICv2: Mapping v2m frame to d%d: addr=0x%lx size=0x%lx spi_base=%u num_spis=%u\n",
+               d->domain_id, v2m_data->addr, v2m_data->size,
+               v2m_data->spi_start, v2m_data->nr_spis);
+
+        ret = map_mmio_regions(d, paddr_to_pfn(v2m_data->addr),
+                            DIV_ROUND_UP(v2m_data->size, PAGE_SIZE),
+                            paddr_to_pfn(v2m_data->addr));
+        if ( ret )
+        {
+            printk(XENLOG_ERR "GICv2: Map v2m frame to s%d failed.\n",

s/s%d/d%d/

Quoted 4 lines
xen/arch/arm/gic-v2.c +4 -0
+                   d->domain_id);
+            return ret;
+        }
+

xen/arch/arm/gic-v2.c static void gicv2_irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_m · line 623

Quoted 10 lines
xen/arch/arm/gic-v2.c +10 -0
+        /*
+         * Map all SPIs that are allocated to MSIs for the frame to the
+         * domain.
+         */
+        for ( spi = v2m_data->spi_start;
+              spi < (v2m_data->spi_start + v2m_data->nr_spis); spi++ )
+        {
+            /*
+             * MSIs are always edge-triggered. Configure the associated SPIs
+             * to be edge-rising.

How did you find that SPIs should be configured edge-rising?

Quoted 31 lines
xen/arch/arm/gic-v2.c +31 -0
+             */
+            ret = irq_set_spi_type(spi, IRQ_TYPE_EDGE_RISING);
+            if ( ret )
+            {
+                printk(XENLOG_ERR
+                       "GICv2: Failed to set v2m MSI SPI[%d] type.\n", spi);
+                return ret;
+            }
+
+            /* Route a SPI that is allocated to MSI to the domain. */
+            ret = route_irq_to_guest(d, spi, spi, "v2m");
+            if ( ret )
+            {
+                printk(XENLOG_ERR
+                       "GICv2: Failed to route v2m MSI SPI[%d] to Dom%d.\n",
+                        spi, d->domain_id);
+                return ret;
+            }
+
+            /* Reserve a SPI that is allocated to MSI for the domain. */
+            if ( !vgic_reserve_virq(d, spi) )
+            {
+                printk(XENLOG_ERR
+                       "GICv2: Failed to reserve v2m MSI SPI[%d] for Dom%d.\n",
+                        spi, d->domain_id);
+                return -EINVAL;
+            }
+        }
+    }
+
+    return 0;

xen/arch/arm/gic-v2.c static void gicv2_irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_m · line 664

Quoted 10 lines
xen/arch/arm/gic-v2.c +10 -0
+}
+
+/*
+ * Set up gic v2m DT sub-node.
+ * Please refer to the binding document:
+ * https://www.kernel.org/doc/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
+ */
+static int gicv2m_make_dt_node(const struct domain *d,
+                            const struct dt_device_node *gic,
+                            void *fdt)

The indentation is still wrong here.

The start of the second and third lines should be aligned to "const..." on the first line. I.e

foo(const
____const
____void

Where _ is the empty space.

[...]

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 846

Quoted 11 lines
xen/arch/arm/gic-v2.c +11 -0
+static void gicv2_add_v2m_frame_to_list(paddr_t addr, paddr_t size,
+                                        u32 spi_start, u32 nr_spis,
+                                        const struct dt_device_node *v2m)
+{
+    struct v2m_data *v2m_data;
+
+    v2m_data = xzalloc_bytes(sizeof(struct v2m_data));
+    if ( !v2m_data )
+        panic("GICv2: Cannot allocate memory for v2m frame");
+
+    /* Initialize a new entry to record new frame infomation. */

s/infomation/information/

Quoted 38 lines
xen/arch/arm/gic-v2.c +38 -0
+    INIT_LIST_HEAD(&v2m_data->entry);
+    v2m_data->addr = addr;
+    v2m_data->size = size;
+    v2m_data->spi_start = spi_start;
+    v2m_data->nr_spis = nr_spis;
+    v2m_data->dt_node = v2m;
+
+    printk("GICv2m extension register frame:\n"
+           "        gic_v2m_addr=%"PRIpaddr"\n"
+           "        gic_v2m_size=%"PRIpaddr"\n"
+           "        gic_v2m_spi_base=%u\n"
+           "        gic_v2m_num_spis=%u\n",
+           v2m_data->addr, v2m_data->size,
+           v2m_data->spi_start, v2m_data->nr_spis);
+
+    list_add_tail(&v2m_data->entry, &gicv2m_info);
+}
+
+static void gicv2_extension_dt_init(const struct dt_device_node *node)
+{
+    int res;
+    u32 spi_start, nr_spis;
+    paddr_t addr, size;
+    const struct dt_device_node *v2m = NULL;
+
+    /*
+     * Check whether this GIC implements the v2m extension. If so,
+     * add v2m register frames to gicv2m_info.
+     */
+    dt_for_each_child_node(node, v2m)
+    {
+        if ( !dt_device_is_compatible(v2m, "arm,gic-v2m-frame") )
+            continue;
+
+        /*
+         * Check whether DT uses msi-base-spi and msi-num-spis properties to
+         * override the hardware setting.
+         */

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 894

Quoted 10 lines
xen/arch/arm/gic-v2.c +10 -0
+        if ( !dt_property_read_u32(v2m, "arm,msi-base-spi", &spi_start) ||
+             !dt_property_read_u32(v2m, "arm,msi-num-spis", &nr_spis) )
+        {
+            u32 msi_typer;
+            void __iomem *base;
+
+            /*
+            * DT does not override the hardware setting, so we have to read
+            * base_spi and num_spis from hardware registers to reserve irqs.
+            */

The indentation of the comments if wrong.

It should be:

/*
* FOo
* Bar
*/

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 905

Quoted 11 lines
xen/arch/arm/gic-v2.c +11 -0
+            res = dt_device_get_address(v2m, 0, &addr, &size);
+            if ( res )
+                panic("GICv2: Cannot find a valid v2m frame address");
+
+            base = ioremap_nocache(addr, size);
+            if ( !base )
+                panic("GICv2: Cannot remap v2m register frame");
+
+            msi_typer = readl_relaxed(base + V2M_MSI_TYPER);
+            spi_start = V2M_MSI_TYPER_BASE_SPI(msi_typer);
+            nr_spis = V2M_MSI_TYPER_NUM_SPI(msi_typer);

The ACPI code will likely need to read those registers. So this could go in the new function you have added.

You could pass pointers to your function to know whether the values are overridden by the firmware.

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 914

Quoted 9 lines
xen/arch/arm/gic-v2.c +9 -0
+
+            iounmap(base);
+        }
+
+        /* Add this v2m frame information to list. */
+        gicv2_add_v2m_frame_to_list(addr, size, spi_start, nr_spis, v2m);
+    }
+}
+

Regards,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
author
#2 lore raw

Hi Julien,

Quoted 76 lines · Julien Grall

Hello Wei,

Quoted 4 lines · Wei Chen

This patch adds v2m extension support in GIC-v2 driver. The GICv2 driver detects the MSI frames from device tree and creates corresponding device tree nodes in Domain0's DTB. It also provides one hw_ops callback to map

NIT: s/Domain0/dom0/

Quoted 1 line

v2m MMIO regions to domain0 and route v2m SPIs to domain0.

Ditto.

Quoted 2 lines

With this GICv2m extension support, the domain0 kernel can do GICv2m

Ditto

Quoted 7 lines

frame setup and initialization.

This patch is based on the GICv2m patch of Suravee Suthikulpanit:
[PATCH 2/2] xen/arm: gicv2: Adding support for GICv2m in Dom0
http://lists.xen.org/archives/html/xen-devel/2015-04/msg02613.html

[...]

Quoted 13 lines
xen/arch/arm/gic-v2.c +5 -0
+static int gicv2_map_hwdown_extra_mappings(struct domain *d)
+{
+    const struct v2m_data *v2m_data;
+
+    /* For the moment, we'll assign all v2m frames to the hardware

domain. */

xen/arch/arm/gic-v2.c +6 -0
+    list_for_each_entry( v2m_data, &gicv2m_info, entry )
+    {
+        int ret;
+        u32 spi;
+
+        printk("GICv2: Mapping v2m frame to d%d: addr=0x%lx size=0x%lx

spi_base=%u num_spis=%u\n",

xen/arch/arm/gic-v2.c static void gicv2_irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_m · line 609

Quoted 9 lines
xen/arch/arm/gic-v2.c +9 -0
+               d->domain_id, v2m_data->addr, v2m_data->size,
+               v2m_data->spi_start, v2m_data->nr_spis);
+
+        ret = map_mmio_regions(d, paddr_to_pfn(v2m_data->addr),
+                            DIV_ROUND_UP(v2m_data->size, PAGE_SIZE),
+                            paddr_to_pfn(v2m_data->addr));
+        if ( ret )
+        {
+            printk(XENLOG_ERR "GICv2: Map v2m frame to s%d failed.\n",

s/s%d/d%d/

Quoted 13 lines
xen/arch/arm/gic-v2.c +13 -0
+                   d->domain_id);
+            return ret;
+        }
+
+        /*
+         * Map all SPIs that are allocated to MSIs for the frame to the
+         * domain.
+         */
+        for ( spi = v2m_data->spi_start;
+              spi < (v2m_data->spi_start + v2m_data->nr_spis); spi++ )
+        {
+            /*
+             * MSIs are always edge-triggered. Configure the associated
Quoted 2 lines

SPIs
+ * to be edge-rising.

Quoted 1 line

How did you find that SPIs should be configured edge-rising?

Before route_irq_to_guest, the SPI must be configured. I found Linux v2m driver set
the SPI type to edge-rising, so I set edge-rising as v2m SPI default type here too.

Quoted 54 lines
Quoted 44 lines
xen/arch/arm/gic-v2.c +6 -0
+             */
+            ret = irq_set_spi_type(spi, IRQ_TYPE_EDGE_RISING);
+            if ( ret )
+            {
+                printk(XENLOG_ERR
+                       "GICv2: Failed to set v2m MSI SPI[%d] type.\n",

spi);

xen/arch/arm/gic-v2.c +9 -0
+                return ret;
+            }
+
+            /* Route a SPI that is allocated to MSI to the domain. */
+            ret = route_irq_to_guest(d, spi, spi, "v2m");
+            if ( ret )
+            {
+                printk(XENLOG_ERR
+                       "GICv2: Failed to route v2m MSI SPI[%d] to

Dom%d.\n",

xen/arch/arm/gic-v2.c +9 -0
+                        spi, d->domain_id);
+                return ret;
+            }
+
+            /* Reserve a SPI that is allocated to MSI for the domain. */
+            if ( !vgic_reserve_virq(d, spi) )
+            {
+                printk(XENLOG_ERR
+                       "GICv2: Failed to reserve v2m MSI SPI[%d] for

Dom%d.\n",

xen/arch/arm/gic-v2.c +13 -0
+                        spi, d->domain_id);
+                return -EINVAL;
+            }
+        }
+    }
+
+    return 0;
+}
+
+/*
+ * Set up gic v2m DT sub-node.
+ * Please refer to the binding document:
+ *

https://www.kernel.org/doc/Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
+ */

xen/arch/arm/gic-v2.c static void gicv2_irq_set_affinity(struct irq_desc *desc, const cpumask_t *cpu_m · line 664

Quoted 3 lines
xen/arch/arm/gic-v2.c +3 -0
+static int gicv2m_make_dt_node(const struct domain *d,
+                            const struct dt_device_node *gic,
+                            void *fdt)

The indentation is still wrong here.

The start of the second and third lines should be aligned to "const..." on the first line. I.e

Quoted 8 lines

foo(const
____const
____void

Where _ is the empty space.

[...]

Thanks for your detailed example!

Quoted 95 lines

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 846

Quoted 11 lines
xen/arch/arm/gic-v2.c +11 -0
+static void gicv2_add_v2m_frame_to_list(paddr_t addr, paddr_t size,
+                                        u32 spi_start, u32 nr_spis,
+                                        const struct dt_device_node *v2m)
+{
+    struct v2m_data *v2m_data;
+
+    v2m_data = xzalloc_bytes(sizeof(struct v2m_data));
+    if ( !v2m_data )
+        panic("GICv2: Cannot allocate memory for v2m frame");
+
+    /* Initialize a new entry to record new frame infomation. */

s/infomation/information/

Quoted 48 lines
xen/arch/arm/gic-v2.c +36 -0
+    INIT_LIST_HEAD(&v2m_data->entry);
+    v2m_data->addr = addr;
+    v2m_data->size = size;
+    v2m_data->spi_start = spi_start;
+    v2m_data->nr_spis = nr_spis;
+    v2m_data->dt_node = v2m;
+
+    printk("GICv2m extension register frame:\n"
+           "        gic_v2m_addr=%"PRIpaddr"\n"
+           "        gic_v2m_size=%"PRIpaddr"\n"
+           "        gic_v2m_spi_base=%u\n"
+           "        gic_v2m_num_spis=%u\n",
+           v2m_data->addr, v2m_data->size,
+           v2m_data->spi_start, v2m_data->nr_spis);
+
+    list_add_tail(&v2m_data->entry, &gicv2m_info);
+}
+
+static void gicv2_extension_dt_init(const struct dt_device_node *node)
+{
+    int res;
+    u32 spi_start, nr_spis;
+    paddr_t addr, size;
+    const struct dt_device_node *v2m = NULL;
+
+    /*
+     * Check whether this GIC implements the v2m extension. If so,
+     * add v2m register frames to gicv2m_info.
+     */
+    dt_for_each_child_node(node, v2m)
+    {
+        if ( !dt_device_is_compatible(v2m, "arm,gic-v2m-frame") )
+            continue;
+
+        /*
+         * Check whether DT uses msi-base-spi and msi-num-spis properties

to

xen/arch/arm/gic-v2.c +3 -0
+         * override the hardware setting.
+         */
+        if ( !dt_property_read_u32(v2m, "arm,msi-base-spi", &spi_start)

||

xen/arch/arm/gic-v2.c +7 -0
+             !dt_property_read_u32(v2m, "arm,msi-num-spis", &nr_spis) )
+        {
+            u32 msi_typer;
+            void __iomem *base;
+
+            /*
+            * DT does not override the hardware setting, so we have to
Quoted 4 lines

read
+ * base_spi and num_spis from hardware registers to reserve
irqs.
+ */

The indentation of the comments if wrong.

It should be:

/*
* FOo
* Bar
*/

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 905

Quoted 11 lines
xen/arch/arm/gic-v2.c +11 -0
+            res = dt_device_get_address(v2m, 0, &addr, &size);
+            if ( res )
+                panic("GICv2: Cannot find a valid v2m frame address");
+
+            base = ioremap_nocache(addr, size);
+            if ( !base )
+                panic("GICv2: Cannot remap v2m register frame");
+
+            msi_typer = readl_relaxed(base + V2M_MSI_TYPER);
+            spi_start = V2M_MSI_TYPER_BASE_SPI(msi_typer);
+            nr_spis = V2M_MSI_TYPER_NUM_SPI(msi_typer);

The ACPI code will likely need to read those registers. So this could go in the new function you have added.

Quoted 3 lines

You could pass pointers to your function to know whether the values are overridden by the firmware.

I will refine the new function.

Quoted 13 lines

xen/arch/arm/gic-v2.c static bool_t gicv2_is_aliased(paddr_t cbase, paddr_t csize) · line 914

Quoted 9 lines
xen/arch/arm/gic-v2.c +9 -0
+
+            iounmap(base);
+        }
+
+        /* Add this v2m frame information to list. */
+        gicv2_add_v2m_frame_to_list(addr, size, spi_start, nr_spis, v2m);
+    }
+}
+

Regards,

Quoted 2 lines

--
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 1 line · Wei Chen

Hi Julien,

Hi Wei,

Quoted 19 lines · Julien Grall
Quoted 18 lines · Wei Chen
Quoted 15 lines
xen/arch/arm/gic-v2.c +13 -0
+                   d->domain_id);
+            return ret;
+        }
+
+        /*
+         * Map all SPIs that are allocated to MSIs for the frame to the
+         * domain.
+         */
+        for ( spi = v2m_data->spi_start;
+              spi < (v2m_data->spi_start + v2m_data->nr_spis); spi++ )
+        {
+            /*
+             * MSIs are always edge-triggered. Configure the associated

SPIs
+ * to be edge-rising.

Quoted 5 lines
Quoted 1 line

How did you find that SPIs should be configured edge-rising?

Before route_irq_to_guest, the SPI must be configured. I found Linux v2m driver set
the SPI type to edge-rising, so I set edge-rising as v2m SPI default type here too.

Well, Linux did it for a good reason (i.e based on a spec). We are trying in Xen to document piece of code which may not be straight-forward to deduce.

In this case, the IRQ is configured edge-rising because this is the only edge type supported by SPIs. I would expand the second sentence of the comment to explain that.

Regards,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
author
#4 lore raw

Hi Julien,

Quoted 39 lines · Julien Grall
Quoted 2 lines · Wei Chen

Hi Julien,

Hi Wei,

Quoted 22 lines · Julien Grall
Quoted 21 lines · Wei Chen
Quoted 16 lines
xen/arch/arm/gic-v2.c +13 -0
+                   d->domain_id);
+            return ret;
+        }
+
+        /*
+         * Map all SPIs that are allocated to MSIs for the frame to the
+         * domain.
+         */
+        for ( spi = v2m_data->spi_start;
+              spi < (v2m_data->spi_start + v2m_data->nr_spis); spi++ )
+        {
+            /*
+             * MSIs are always edge-triggered. Configure the associated

SPIs
+ * to be edge-rising.

Quoted 6 lines
Quoted 1 line

How did you find that SPIs should be configured edge-rising?

Before route_irq_to_guest, the SPI must be configured. I found Linux v2m driver set
the SPI type to edge-rising, so I set edge-rising as v2m SPI default type here too.

Quoted 7 lines

Well, Linux did it for a good reason (i.e based on a spec). We are trying in Xen to document piece of code which may not be straight-forward to deduce.

In this case, the IRQ is configured edge-rising because this is the only edge type supported by SPIs. I would expand the second sentence of the comment to explain that.

Thanks for your explanation. I have addressed your other comments in the v3 patch.
So I will add the reason of configuring SPIs to edge-rising to v4 patch.

Quoted 4 lines

Regards,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel