This adds support for Dynamic DMA Windows (DDW) option defined by
the SPAPR specification which allows to have additional DMA window(s)
The "ddw" property is enabled by default on a PHB but for compatibility
the pseries-2.5 machine (TODO: update version) and older disable it.
This also creates a
LoPAPR dictates that during system reset all DMA windows must be removed
and the default DMA32 window must be created so does the patch.
At the moment there is just one window supported so no change in
behaviour is expected.
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: David
On Wed, 06/01 10:18, Paolo Bonzini wrote:
>
>
> On 01/06/2016 06:25, Fam Zheng wrote:
> > +# Use a global constant ccache directory to speed up repetitive builds
> > +DOCKER_CCACHE_DIR := /var/tmp/qemu-docker-ccache
>
> Same here, use $HOME/.cache/qemu-docker-ccache instead. Do you need a
>
This will be later used by the "ibm,reset-pe-dma-window" RTAS handler
which resets the DMA configuration to the defaults.
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: David Gibson
---
hw/ppc/spapr_pci.c | 10 --
Currently TCE tables are created once at start and their sizes never
change. We are going to change that by introducing a Dynamic DMA windows
support where DMA configuration may change during the guest execution.
This changes spapr_tce_new_table() to create an empty zero-size IOMMU
memory region
The sPAPR TCE tables manage 2 copies when VFIO is using an IOMMU -
a guest view of the table and a hardware TCE table. If there is no VFIO
presense in the address space, then just the guest view is used, if
this is the case, it is allocated in the KVM. However since there is no
support yet for
New VFIO_SPAPR_TCE_v2_IOMMU type supports dynamic DMA window management.
This adds ability to VFIO common code to dynamically allocate/remove
DMA windows in the host kernel when new VFIO container is added/removed.
This adds VFIO_IOMMU_SPAPR_TCE_CREATE ioctl to vfio_listener_region_add
and adds
There are going to be multiple IOMMUs per a container. This moves
the single host IOMMU parameter set to a list of VFIOHostDMAWindow.
This should cause no behavioral change and will be used later by
the SPAPR TCE IOMMU v2 which will also add a vfio_host_win_del() helper.
Signed-off-by: Alexey
Cao jin writes:
>>From uint32 to enum OnOffAuto, and give it a shorter name.
>
> cc: Paolo Bonzini
> cc: Michael S. Tsirkin
> cc: Markus Armbruster
> cc: Marcel Apfelbaum
>
> Signed-off-by:
On Wed, 25 May 2016 01:28:17 +0530
Kirti Wankhede wrote:
> +
> +/*
> + * Pin a set of guest PFNs and return their associated host PFNs for API
> + * supported domain only.
> + * @vaddr [in]: array of guest PFNs
> + * @npage [in]: count of array elements
> + * @prot [in] :
On 05/31/16 19:45, Eric Blake wrote:
> On 05/31/2016 11:01 AM, Laszlo Ersek wrote:
>
Grepping git's Documentation/RelNotes/ directory, I find:
- in "1.6.6.txt": the introduction of --dirty
- in "1.7.6.4.txt": an apparently important bugfix for --dirty
Version 1.7.6.4 of
On 01/06/2016 04:33, David Gibson wrote:
> On Tue, May 31, 2016 at 03:15:21PM +0200, Paolo Bonzini wrote:
>>
>>
>> On 31/05/2016 15:10, Greg Kurz wrote:
>>> +#if defined(TARGET_PPC64) || defined(TARGET_ARM)
>>> +#define LEGACY_VIRTIO_IS_BIENDIAN 1
>>> +#endif
>
> These will
On 06/01/16 06:41, Fam Zheng wrote:
> v2: Address Eric's comments:
> "echo -n" -> "printf".
> "-unclean" -> "-dirty".
>
> Makefile happened to be in my working set because of the docker test work, so
> I
> went ahead to try this nice feature last evening before going to bed. My
>
From: Dmitry Fleytman
This patch extends the TX/RX packet abstractions with features that will
be used by the e1000e device implementation.
Changes are:
1. Support iovec lists for RX buffers
2. Deeper RX packets parsing
3. Loopback option for TX
On 06/01/2016 04:09 PM, Markus Armbruster wrote:
Cao jin writes:
It has:
1. More newlines make the code block well separated.
2. Add more comments for msi_init.
3. Fix a indentation in vmxnet3.c.
4. ioh3420 & xio3130_downstream: put PCI Express capability init
>>> On 5/31/2016 at 12:10 AM, in message
, Stefano
Stabellini wrote:
> On Fri, 29 Apr 2016, Chunyan Liu wrote:
> > Since commit a1666142: acpi-build: make ROMs RAM blocks resizeable,
> > xen HVM direct
Cao jin writes:
>>From bit to enum OnOffAuto
>
> cc: Gerd Hoffmann
> cc: Michael S. Tsirkin
> cc: Markus Armbruster
> cc: Marcel Apfelbaum
>
> Signed-off-by: Cao jin
From: Dmitry Fleytman
This patch drops "vmx" prefix from packet abstractions names
to emphasize the fact they are generic and not tied to any
specific network device.
These abstractions will be reused by e1000e emulation implementation
introduced by following
Cao jin writes:
>>From uint32 to enum OnOffAuto.
>
> cc: Gerd Hoffmann
> cc: Michael S. Tsirkin
> cc: Markus Armbruster
> cc: Marcel Apfelbaum
>
> Signed-off-by: Cao jin
From: Dmitry Fleytman
Code that will be shared moved to a separate files.
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
hw/net/rtl8139.c | 5 -
include/net/eth.h | 8
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
hw/net/vmxnet3.c | 8
From: Dmitry Fleytman
These macros will be used by future commits introducing
e1000e device emulation and by vmxnet3 tracing code.
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
include/net/checksum.h | 45
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
hw/net/e1000_regs.h | 345
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
tests/Makefile | 3 +
tests/e1000e-test.c |
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
hw/pci/pcie.c | 10 ++
From: Dmitry Fleytman
Added support for PCIe CAP v1, while reusing some of the existing v2
infrastructure.
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael
From: Dmitry Fleytman
To make this device and network packets
abstractions ready for IOMMU.
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
include/hw/pci/pci_regs.h | 2 ++
1 file changed, 2
Hello All,
This is v8 of e1000e series.
For convenience, the same patches are available at:
https://github.com/daynix/qemu-e1000e/tree/e1000e-submit-v8
Series
Reviewed-by: Michael S. Tsirkin
Best regards,
Dmitry.
Changes since v7:
1. Fixed broken ETH macros reported by
From: Dmitry Fleytman
This function will be used by e1000e device code.
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
From: Dmitry Fleytman
Signed-off-by: Dmitry Fleytman
Signed-off-by: Leonid Bloch
Reviewed-by: Michael S. Tsirkin
---
hw/net/vmxnet3.c | 12 +---
1 file changed, 5
From: Dmitry Fleytman
Replace legacy cpu_to_le64w()/le64_to_cpup()
calls with stq_le_p()/ldq_le_p().
Motivation for this modification is that
follow up patches add utility function
pcie_dev_ser_num_init() for PCIe DSN
capability creation which uses
On 05/29/2016 04:11 PM, Wei Wang wrote:
Signed-off-by: Wei Wang
---
Details | 324
1 file changed, 324 insertions(+)
create mode 100644 Details
diff --git a/Details b/Details
new file mode 100644
On 01/06/2016 06:25, Fam Zheng wrote:
> +# Use a global constant ccache directory to speed up repetitive builds
> +DOCKER_CCACHE_DIR := /var/tmp/qemu-docker-ccache
Same here, use $HOME/.cache/qemu-docker-ccache instead. Do you need a
mkdir -p?
Paolo
On 01/06/2016 06:25, Fam Zheng wrote:
> +CUR_TIME := $(shell date +%Y-%m-%d-%H.%M.%S.)
> +# Makes the definition constant after the first expansion
> +DOCKER_SRC_COPY = $(eval DOCKER_SRC_COPY :=
> /tmp/docker-src.$(CUR_TIME))$(DOCKER_SRC_COPY)
> +
> +$(DOCKER_SRC_COPY):
> + @mkdir $@
>
Title "megasas: Fix" is no good, possibly an editing accident. Suggest
something like "megasas: Fix check for msi_init() failure"
Cao jin writes:
> msi_init returns non-zero value on both failure and success.
>
> cc: Hannes Reinecke
> cc: Paolo Bonzini
On 01/06/2016 04:29, Alexey Kardashevskiy wrote:
> On 27/05/16 17:54, Alexey Kardashevskiy wrote:
>> On 04/05/16 16:52, Alexey Kardashevskiy wrote:
>>> This allows dynamic allocation for migrating arrays.
>>>
>>> Already existing VMSTATE_VARRAY_UINT32 requires an array to be
>>> pre-allocated,
On 01/06/2016 03:52, Fam Zheng wrote:
> Similar to the "!drv || !drv->bdrv_aio_ioctl" case above, here it is
> okay to set co.ret and return. As pointed out by Paolo, a BH will be
> created as necessary by the caller (bdrv_co_maybe_schedule_bh).
> Besides, as pointed out by Kevin, "data" was
Cao jin writes:
> It has:
> 1. More newlines make the code block well separated.
> 2. Add more comments for msi_init.
> 3. Fix a indentation in vmxnet3.c.
> 4. ioh3420 & xio3130_downstream: put PCI Express capability init function
>together, make it more readable.
>
31.05.2016 21:33, Eric Blake wrote:
> Mixing '0' and 'bool' looks stupid.
Applied to -trivial, thanks!
/mjt
23.05.2016 12:43, Wei Jiangang wrote:
> s/info_migrate_capabilities/info migrate_capabilities
Applied to -trivial, thanks!
/mjt
30.05.2016 13:00, Alberto Garcia wrote:
> On Mon 30 May 2016 08:49:18 AM CEST, Changlong Xie wrote:
- Water leaks from the bucket at a rate of 100 IOPS.
- Water can be added to the bucket at a rate of 2000 IOPS.
- The size of the bucket is 2000 x 60 = 12
- - If
The previous commit e7c9136977cb99c6eb52c9139f7b8d8b5fa87db9
(hw/char: QOM'ify escc.c) cause qemu-system-ppc/ppc64
OpenBIOS to freeze on startup, this commit fix it.
Signed-off-by: xiaoqiang zhao
---
hw/char/escc.c | 12 +++-
1 file changed, 7 insertions(+), 5
Eric Blake writes:
> Commit 7f8f9ef1 introduced the ability to store a list of
> integers as a sorted list of ranges, but when merging ranges,
> it leaks one or more ranges. It was also using range_get_last()
> incorrectly within range_compare() (a range is a start/end pair,
On Wed, 06/01 15:08, Wei Jiangang wrote:
> Use a single error_printf to replace triple error_report.
>
> Signed-off-by: Wei Jiangang
> ---
> block/raw-posix.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/block/raw-posix.c
Use a single error_printf to replace triple error_report.
Signed-off-by: Wei Jiangang
---
block/raw-posix.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index a4f5a1b..141b01a 100644
---
在 2016年06月01日 15:04, Mark Cave-Ayland 写道:
On 01/06/16 04:06, xiaoqiang zhao wrote:
在 2016年6月1日,06:13,Mark Cave-Ayland 写道:
On 27/05/16 11:06, Paolo Bonzini wrote:
From: xiaoqiang zhao
* Drop the old SysBus init function and use
On 01/06/16 04:06, xiaoqiang zhao wrote:
>> 在 2016年6月1日,06:13,Mark Cave-Ayland 写道:
>>
>>> On 27/05/16 11:06, Paolo Bonzini wrote:
>>>
>>> From: xiaoqiang zhao
>>>
>>> * Drop the old SysBus init function and use instance_init
>>> * Call
On 01/06/16 03:15, David Gibson wrote:
> On Tue, May 31, 2016 at 11:28:49PM +0100, Mark Cave-Ayland wrote:
>> On 31/05/16 01:41, David Gibson wrote:
>>
>>> From: Benjamin Herrenschmidt
>>>
>>> Not that anything remotely recent supports tlbia but ...
>>>
>>>
ping again...
because got many feedback " was undeliverable."
On 05/24/2016 12:04 PM, Cao jin wrote:
v6 changelog:
1. make "assert ENOSPC" the 1st one in the series, and remove ENOSPC line
of comments of msi_init(). also fix to other minor comments.
2. Because semantics
> On 1 Jun 2016, at 07:25 AM, Jason Wang wrote:
>
>
>
> On 2016年05月31日 15:20, Dmitry Fleytman wrote:
>> From: Dmitry Fleytman
>>
>> This patch extends the TX/RX packet abstractions with features that will
>> be used by the e1000e
On Di, 2016-05-31 at 22:49 +0100, Peter Maydell wrote:
> On 31 May 2016 at 21:56, Cole Robinson wrote:
> > $ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl
> > Segmentation fault (core dumped)
> >
> > 0 0x559631af in sdl_display_init (ds=,
> > full_screen=0,
On Di, 2016-05-31 at 16:56 -0400, Cole Robinson wrote:
> $ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl
> Segmentation fault (core dumped)
>
> 0 0x559631af in sdl_display_init (ds=, full_screen=0,
> no_frame=) at ui/sdl2.c:822
> 1 0x556c8a9a in main (argc=, argv=,
>
Limits the rate kbd events from the vnc server are forwarded to the
guest, so input devices which are typically low-bandwidth can keep
up even on bulky input.
v2: update documentation too.
v3: spell fixes.
Signed-off-by: Gerd Hoffmann
---
qemu-options.hx | 8
[I accidentally sent this just to Eric, resending to list...]
Eric Blake writes:
> Commit 7f8f9ef1 introduced the ability to store a list of
> integers as a sorted list of ranges, but when merging ranges,
> it leaks one or more ranges. It was also using range_get_last()
>
201 - 257 of 257 matches
Mail list logo