[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v6 7/8] hw/arm/sysbus-fdt: enable amd-xgbe dynamic
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v6 7/8] hw/arm/sysbus-fdt: enable amd-xgbe dynamic instantiation |
Date: |
Tue, 16 Feb 2016 18:34:24 +0000 |
On 1 February 2016 at 13:51, Eric Auger <address@hidden> wrote:
> This patch allows the instantiation of the vfio-amd-xgbe device
> from the QEMU command line (-device vfio-amd-xgbe,host="<device>").
>
> The guest is exposed with a device tree node that combines the description
> of both XGBE and PHY (representation supported from 4.2 onwards kernel):
> Documentation/devicetree/bindings/net/amd-xgbe.txt.
>
> There are 5 register regions, 6 interrupts including 4 optional
> edge-sensitive per-channel interrupts.
>
> Some property values are inherited from host device tree. Host device tree
> must feature a combined XGBE/PHY representation (>= 4.2 host kernel).
>
> 2 clock nodes (dma and ptp) also are created. It is checked those clocks
> are fixed on host side.
>
> AMD XGBE node creation function has a dependency on vfio Linux header and
> more generally node creation function for VFIO platform devices only make
> sense with CONFIG_LINUX so let's protect this code with #ifdef CONFIG_LINUX.
>
> Signed-off-by: Eric Auger <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- Re: [Qemu-arm] [Qemu-devel] [PATCH v6 2/8] device_tree: introduce load_device_tree_from_sysfs, (continued)
Re: [Qemu-arm] [PATCH v6 2/8] device_tree: introduce load_device_tree_from_sysfs, Peter Maydell, 2016/02/16
[Qemu-arm] [PATCH v6 1/8] hw/vfio/platform: amd-xgbe device, Eric Auger, 2016/02/01
[Qemu-arm] [PATCH v6 4/8] device_tree: qemu_fdt_getprop converted to use the error API, Eric Auger, 2016/02/01
[Qemu-arm] [PATCH v6 3/8] device_tree: introduce qemu_fdt_node_path, Eric Auger, 2016/02/01
[Qemu-arm] [PATCH v6 5/8] device_tree: qemu_fdt_getprop_cell converted to use the error API, Eric Auger, 2016/02/01
[Qemu-arm] [PATCH v6 6/8] hw/arm/sysbus-fdt: helpers for clock node generation, Eric Auger, 2016/02/01
[Qemu-arm] [PATCH v6 7/8] hw/arm/sysbus-fdt: enable amd-xgbe dynamic instantiation, Eric Auger, 2016/02/01
- Re: [Qemu-arm] [PATCH v6 7/8] hw/arm/sysbus-fdt: enable amd-xgbe dynamic instantiation,
Peter Maydell <=
[Qemu-arm] [PATCH v6 8/8] hw/arm/sysbus-fdt: remove qemu_fdt_setprop returned value check, Eric Auger, 2016/02/01
Re: [Qemu-arm] [PATCH v6 0/8] AMD XGBE KVM platform passthrough, Peter Maydell, 2016/02/16