Introduce global kvm_arm_msi_use_devid flag and pass device IDs in
kvm_arch_fixup_msi_route(). Device IDs are required by the ITS.
Signed-off-by: Pavel Fedin
---
target-arm/kvm.c | 6 ++
target-arm/kvm_arm.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/target-arm/kvm.c b
This temporary patch adds kernel API definitions. Use proper header update
procedure after these features are released.
Signed-off-by: Pavel Fedin
---
linux-headers/asm-arm64/kvm.h | 1 +
linux-headers/linux/kvm.h | 9 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a
/msg430724.html
- [PATCH v3 0/7] KVM: arm/arm64: gsi routing support
http://www.spinics.net/lists/kvm/msg119567.html
v1 => v2:
- Added registers and reset method
- Added unmigratable flag
- Rebased on top of current master, use kvm_arch_fixup_msi_route() now
Pavel Fedin (5):
hw/intc: Implem
Hello! Is there any progress on this?
6/7 significantly improves startup performance, i'd like to have it accepted.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
> -Original Message-
> From: qemu-devel-bounces+p.fedin=samsung
If supported by the configuration, ITS will be added automatically.
This patch also renames v2m_phandle to msi_phandle because it's now used
by both MSI implementations.
Signed-off-by: Pavel Fedin
---
hw/arm/virt.c | 47 +--
1 file change
This patch relies on new kernel API which is not released yet.
Signed-off-by: Pavel Fedin
---
hw/intc/Makefile.objs | 1 +
hw/intc/arm_gicv3_its_common.c | 2 +-
hw/intc/arm_gicv3_its_kvm.c| 88 ++
3 files changed, 90 insertions(+), 1
This is the basic skeleton for both KVM and software-emulated ITS.
Signed-off-by: Pavel Fedin
---
hw/intc/Makefile.objs | 1 +
hw/intc/arm_gicv3_its_common.c | 154 +
include/hw/intc/arm_gicv3_its_common.h | 72 +++
target
n parent class. For software-emulated GICv3 post_load callback is simply
not used, so that would be safe.
But, i remember that you don't like just refactoring, so i decided to stop at
the point which you see. :)
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
-off-by: Pavel Fedin
---
v1 => v2:
Do not hack VMState, use migrate_add_blocker() instead
---
hw/intc/arm_gic_kvm.c| 22 +++---
include/hw/intc/arm_gic_common.h | 1 +
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/hw/intc/arm_gic_kvm.c b/hw/i
for
making it non-const. So, if you ACK the idea itself, i'll reimplement it and
post v2.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
I am now trying to add one more state, something like
MIGRATION_STATUS_FINISHING. It would mean that CPUs are stopped.
Can you explain me migration code a bit? Where is iteration loop, and where
are CPUs stopped? I am looking at migration.c but
cannot say that i understand some good portion of
ly tried to migrate a machine
with an ITS. My ITS was missing unmigratable flag.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
IDs, but hw/i386/kvm/pci-assign.c
also made passing PCI device pointer instead of NULL for consistency with
the rest of the code.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 9 +
hw/vfio/pci.c| 11 ++-
hw/virtio/virtio-pci.c | 5 +++--
include/sysemu
MemTxAttrs field.
v1 => v2:
- Improved commit messages, more explanations
- msi_device_id() function made architecture-specific
Pavel Fedin (3):
kvm: Make KVM_CAP_SIGNAL_MSI globally available
hw/pci: Introduce pci_requester_id()
kvm: Pass PCI device pointer to MSI routing functions
requester_id in order to better
reflect semantics of the field.
Signed-off-by: Pavel Fedin
Reviewed-by: Michael S. Tsirkin
Acked-by: Michael S. Tsirkin
---
hw/i386/kvm/pci-assign.c | 2 +-
hw/pci/msi.c | 2 +-
hw/pci/pcie_aer.c| 2 +-
include/exec/memattrs.h | 4
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
s, it doesn't matter. As i said before, these
patches do not depend on each other.
> Reviewed-by: Michael S. Tsirkin
> Acked-by: Michael S. Tsirkin
Thank you very much. I'll post v6 though, because of Cornelia's notice on 3/3.
Kind regards,
Pavel Fedin
Expert Engineer
S
-by: Pavel Fedin
---
hw/intc/arm_gic_common.c | 2 +-
hw/intc/arm_gic_kvm.c| 17 ++---
hw/intc/gic_internal.h | 2 ++
3 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/hw/intc/arm_gic_common.c b/hw/intc/arm_gic_common.c
index 2b08175..1af4590 100644
--- a/hw/intc
.flags & KVM_MSI_VALID_DEVID) {
kroute.u.msi.devid = pci_requester_id(dev);
}
--- cut ---
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
requester_id in order to better
reflect semantics of the field.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 2 +-
hw/pci/msi.c | 2 +-
hw/pci/pcie_aer.c| 2 +-
include/exec/memattrs.h | 4 ++--
include/hw/pci/pci.h | 5 +
5 files changed, 10 insertions
IDs, but hw/i386/kvm/pci-assign.c
also made passing PCI device pointer instead of NULL for consistency with
the rest of the code.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 9 +
hw/vfio/pci.c| 11 ++-
hw/virtio/virtio-pci.c | 5 +++--
include/sysemu
ations
- msi_device_id() function made architecture-specific
Pavel Fedin (3):
kvm: Make KVM_CAP_SIGNAL_MSI globally available
hw/pci: Introduce pci_requester_id()
kvm: Pass PCI device pointer to MSI routing functions
hw/i386/kvm/pci-assign.c | 11 ++-
hw/pci/msi.c | 2
n v1?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
gt; > + * Copyright (c) 2015 Samsung Electronics Co., Ltd.
> > + * Written by Pavel Fedin
> > + *
> > + * This work is licensed under the terms of the GNU GPL, version 2 or
> > later.
> > + * See the COPYING file in the top-level directory.
> > + *
> > + */
>
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
IDs, but hw/i386/kvm/pci-assign.c
also made passing PCI device pointer instead of NULL for consistency with
the rest of the code.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 9 +
hw/vfio/pci.c| 11 ++-
hw/virtio/virtio-pci.c | 5 +++--
include/sysemu
stub just returns 0.
MemTxAttrs.stream_id also renamed to requester_id in order to better
reflect semantics of the field.
Signed-off-by: Pavel Fedin
---
hw/pci/msi.c | 2 +-
include/exec/memattrs.h | 4 ++--
include/hw/pci/pci.h | 1 +
stubs/Makefile.objs | 1 +
stubs
v2 => v3:
- Use official "requester ID" denotion everywhere. Renamed getter function
and MemTxAttrs field.
v1 => v2:
- Improved commit messages, more explanations
- msi_device_id() function made architecture-specific
Pavel Fedin (3):
kvm: Make KVM_CAP_SIGNAL_MSI globally
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
function and
MemTxAttrs field.
v1 => v2:
- Improved commit messages, more explanations
- msi_device_id() function made architecture-specific
Pavel Fedin (3):
kvm: Make KVM_CAP_SIGNAL_MSI globally available
hw/pci: Introduce msi_requester_id()
kvm: Pass PCI device pointer to MSI routing functio
IDs, but hw/i386/kvm/pci-assign.c
also made passing PCI device pointer instead of NULL for consistency with
the rest of the code.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 9 +
hw/vfio/pci.c| 11 ++-
hw/virtio/virtio-pci.c | 5 +++--
include/sysemu
stub just returns 0.
MemTxAttrs.stream_id also renamed to requester_id in order to better
reflect semantics of the field.
Signed-off-by: Pavel Fedin
---
hw/pci/msi.c | 2 +-
include/exec/memattrs.h | 4 ++--
include/hw/pci/msi.h | 1 +
stubs/Makefile.objs | 1 +
stubs
ust rename stream_id to
requester_id yourself?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
ice * (or even DeviceState *) there?
"there" = where? In MemTxAttrs? Would it be good to have 64-bit pointer
instead of 16-bit ID there? It is passed by value, and
current version fits into register even on 32-bit host.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
ade architecture-specific
Pavel Fedin (3):
kvm: Make KVM_CAP_SIGNAL_MSI globally available
hw/pci: Introduce msi_device_id()
kvm: Pass PCI device pointer to MSI routing functions
hw/i386/kvm/pci-assign.c | 9 +
hw/pci/msi.c | 2 +-
hw/vfio/pci.c| 11 ++-
hw/i386/kvm/pci-assign.c also
passes PCI device pointer instead of NULL for consistency with the rest of
the code.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 9 +
hw/vfio/pci.c| 11 ++-
hw/virtio/virtio-pci.c | 5 +++--
include/sysemu/kvm.h | 5
0.
Signed-off-by: Pavel Fedin
---
hw/pci/msi.c | 2 +-
include/hw/pci/msi.h | 1 +
stubs/Makefile.objs | 1 +
stubs/msi.c | 16
target-arm/Makefile.objs | 1 +
target-arm/msi.c | 16
6 files changed, 36 insertions
y it introduces ObjectClass properties.
Tested-by: Pavel Fedin
> Probably the only controversial thing is the item Pavel points
> out about object_child_foreach iterators now being forbidden
> from modifying the object composition tree.
As i already wrote, current code does not modify the t
ay, what about GICv3 data format? Are you going to review this
part and do something with it? This would also advance Shlomo's work i think.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
) also uses
MPIDR format. Check out GICv3 live migration RFC v2 for one possible use case.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
d to target-XXX.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
sed because KVM API is not released yet. See my full
vITS patchset for information on how it will be used.
And yes, the patchset is a bit obsolete, so it doesn't have msi_device_id()
inline, there's copypasted calculation instead.
What exactly do you suggest to move to vfio?
Kind regards,
er. If this ever pops up
on any other arch, we'll be able to easily move it to
target-XXX.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
Hello!
> -Original Message-
> From: qemu-devel-bounces+p.fedin=samsung@nongnu.org [mailto:qemu-devel-
> bounces+p.fedin=samsung@nongnu.org] On Behalf Of Daniel P. Berrange
> Sent: Tuesday, October 13, 2015 3:38 PM
> To: qemu-devel@nongnu.org
> Cc: Pavel Fedin;
ect.
Thank you very much for your cooperation and explanations.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
We will need to get device IDs in KVM IRQ routing code too. This patch
introduces reusable convenient way to obtain it from the device pointer.
Signed-off-by: Pavel Fedin
---
hw/pci/msi.c | 2 +-
include/hw/pci/msi.h | 5 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git
unreleased kernel APIs.
Pavel Fedin (3):
kvm: Make KVM_CAP_SIGNAL_MSI globally available
hw/pci: Introduce msi_device_id()
kvm: Pass PCI device pointer to MSI routing functions
hw/i386/kvm/pci-assign.c | 9 +
hw/pci/msi.c | 2 +-
hw/vfio/pci.c| 11
In-kernel ITS emulation requires to supply device IDs. These IDs can be
retrieved from the device pointer using msi_device_id() function.
Signed-off-by: Pavel Fedin
---
hw/i386/kvm/pci-assign.c | 9 +
hw/vfio/pci.c| 11 ++-
hw/virtio/virtio-pci.c | 5
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
g to generate a lot of RAM that needs syncing.
Well, reducing downtime would be the next task. :) First i'd like to get it
working at all.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
software emulation of GICv3
with v2 backwards compatilibity mode.
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gicv3_common.c | 111 +-
hw/intc/gicv3_internal.h | 225 +
include/hw/intc/arm_gicv3_common.h | 76 -
3
This actually implements pre_save and post_load methods for in-kernel
vGICv3.
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gicv3_kvm.c | 463 +++-
1 file changed, 459 insertions(+), 4 deletions(-)
diff --git a/hw/intc/arm_gicv3_kvm.c b/hw/intc
Add state structure descriptors and actually enable live migration.
In order to describe fixed-size bitmaps, VMSTATE_BITMAP_STATIC() macro is
added.
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gicv3_common.c | 46 -
include/migration/vmstate.h | 9
Allows to override default affinity IDs on a per-machine basis, and read
assigned IDs. Will be used by vGICv3 live migration code.
Signed-off-by: Pavel Fedin
---
target-arm/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-arm/cpu.c b/target-arm/cpu.c
index 30739fc..3810709
This temporary patch adds kernel API definitions. Use proper header update
procedure after these features are released.
Signed-off-by: Pavel Fedin
---
linux-headers/asm-arm64/kvm.h | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/linux-headers/asm-arm64
kernel part.
v1 => v2:
- Use different kernel API, agreed upon by KVM developers
- Reworked state representation, do not duplicate SPI fields any more
- Added basic LPI support (PROPBASER and PENDBASER).
Pavel Fedin (5):
target-arm: Add mp-affinity property for ARM CPU class
hw/i
Or, well, we could put the question the other way: imagine that in pre_save i
tell my emulated
device to flush its cached state into RAM-based tables. In post_load i could
tell the device to
re-read data from RAM into its cache. So, what do i need in order to make these
tables in RAM to
migrate corr
ze()).
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
t versions of my GICv3 patches did use own #define,
but i was criticized for using GICV3_INTERNAL in my code and having
GIC_INTERNAL in kvm_arm_gic_set_irq(), which is shared by both KVM
implementations. So, i decided to use GIC_INTERNAL everywhere and inherited it
from v2.
Kind regards,
Pavel
is passed from outside,
and not file name, isn't it?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
g thoroughly, but IIRC he did the same change some
time ago, which got drowned in reviewers' mailbox. Just pick it up with his
authorship and make a peace finally :)
> > Acked-by: Pavel Fedin
>
> Do you want me to ack every commit? I guess it's enought as a overal
ve
your single-line-authorship conflict and get this awesome work in master. If i
have the authority, then...
Acked-by: Pavel Fedin
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
the same reason, we cannot also exchange data between host and VM.
Is it a flaw or do we just do something wrong?
Tested-by: Igor Skalkin
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
This allows to override default affinity IDs on a per-machine basis, and
possibility to retrieve IDs will be used by vGICv3 live migration code.
Signed-off-by: Pavel Fedin
---
Since this popped up several times on the mailing list, i decided to publish
this early.
---
target-arm/cpu.c | 1 +
1
Hello!
> -Original Message-
> From: Daniel P. Berrange [mailto:berra...@redhat.com]
> Sent: Thursday, October 08, 2015 5:09 PM
> To: qemu-devel@nongnu.org
> Cc: Andreas Färber; Pavel Fedin; Daniel P. Berrange
> Subject: [PATCH v3 4/5] qom: replace object property li
ion with my standalone patch, but i have checked
your series, it also doesn't touch SPAPR code.
Tested-by: Igor Skalkin
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
Hello!
> One of the major problems with the emulation code is that it tried
> to keep the old GICv2 emulation datastructures, macros, etc. Don't
> try to use it as a guide for how to arrange the data structures.
Ok. I will redo this after finishing kernel API respin.
Kind regard
ke GIC_TEST_xxx, and cpu mask is always (1 << ncpu). So, can we safely
replace mask with just CPU number in these macros? It would solve the problem.
Shlomo, your word?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
the series?"
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
, i'm not really familiar in hugetlb
details. I only know that managing huge pages is done via hugetlbfs.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
series. I have seen that "ivshmem can now use host memory backend", but how
to set it up? I checked documentation patch, did not find good explanation
there. But, well, programmers never read docs :)
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
to
happen? I see there's some strong authorship-related conflict around it.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
Hello!
> Nudge -- have you reported this as a kernel bug against the
> PCI generic driver yet?
Sorry, stopped tracking this topic after option upstreaming. Just sent out
patches, cc'ed to you.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
6219.html
http://www.spinics.net/lists/kvm/msg120483.html
http://www.spinics.net/lists/kvm-arm/msg16351.html
http://www.spinics.net/lists/kvm/msg121588.html
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
Knock-knock!
PM: I remember we had a talk that we should settle down on migration data
format. Isn't it right
time?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
> -Original Message-
> From: qemu-devel-bounces+p.fedin=samsung
//github.com/GNOME/glib/blob/master/glib/ghash.c#L212
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
-safe version. However, the code seems not to modify objects via
these functions.
Signed-off-by: Pavel Fedin
---
v1 => v2:
- Fixed stupid bug in object_unparent(), use correct object
---
include/qom/object.h | 4 +--
qmp.c| 8 +++--
qom/object.c
Hello!
> Shouldn't this help similarly with the problem that 94649d423e worked
> around? (Although that patch has standalone merits of course.)
Yes, and also 6c76b37742d4db8176af37b667b5420727e79e2c.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
hugetlbfs mountpoint.
Signed-off-by: Damien Millescamps
Signed-off-by: Pavel Fedin
---
2 years passed since the last review of this, and the original author never
came back. So i decided
to pick up this work because my project is interested in this feature. I am
keeping patch version
numberin
-safe version. However, the code seems not to modify objects via
these functions.
Signed-off-by: Pavel Fedin
---
include/qom/object.h | 4 +--
qmp.c| 8 +++--
qom/object.c | 98 +++-
vl.c | 4 ++-
4 files ch
er.
Since 'long' maps to something, i think that adding a specific code for it
would be too much anyway. May be add configure test for sizeof(long) ?
Pavel Fedin (4):
hw/intc/arm_gicv3_common: Add state information
kernel: Add definitions for GICv3 attributes
hw/intc/arm_gicv3_kvm: Im
Add state structure descriptors and actually enable live migration.
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gicv3_common.c | 64 +-
1 file changed, 63 insertions(+), 1 deletion(-)
diff --git a/hw/intc/arm_gicv3_common.c b/hw/intc
software emulation of GICv3
with v2 backwards compatilibity mode.
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gicv3_common.c | 135 +++-
hw/intc/gicv3_internal.h | 152 +
include/hw/intc/arm_gicv3_common.h | 76
This temporary patch adds kernel API definitions. Use proper header update
procedure after these features are released.
Signed-off-by: Pavel Fedin
---
linux-headers/asm-arm64/kvm.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/linux-headers/asm-arm64/kvm.h b
This actually implements pre_save and post_load methods for in-kernel
vGICv3.
Signed-off-by: Pavel Fedin
---
hw/intc/arm_gicv3_kvm.c | 391 +++-
1 file changed, 387 insertions(+), 4 deletions(-)
diff --git a/hw/intc/arm_gicv3_kvm.c b/hw/intc
during machine model creation. And this has nothing to do with
KVM. KVM code is executed after default MPIDR is assigned and overrides IDs
with whatever it gets from the kernel. All you can do with current kernels is
to patch device tree with new IDs.
Kind regards,
Pavel Fedin
Expert Enginee
Just a test, please ignore.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
not go to the list indeed... Don't understand why.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
it resets its MPIDR value to something that it wants it to be. IIRC
the hardcoded
assignment is 16 CPUs per cluster starting from 0:0.
I have some strange problem with delivering mails, my emails do not seem to
make it to the list.
Please reply me privately if you got this.
Kind regards,
Hello! I have some strange problems, my emails don't make it to the list.
Please ignore this, i am
self-testing.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
If supported by the configuration, ITS will be added automatically.
This patch also renames v2m_phandle to msi_phandle because it's now used
by both MSI implementations.
Signed-off-by: Pavel Fedin
---
hw/arm/virt.c | 47 +--
1 file change
This is the basic skeleton for both KVM and software-emulated ITS.
Currently it is mostly a placeholder, however in future it is going to
contain device state necessary for live migration
Signed-off-by: Pavel Fedin
---
hw/intc/Makefile.objs | 1 +
hw/intc
This patch relies on new kernel API which is not released yet.
Signed-off-by: Pavel Fedin
---
hw/intc/Makefile.objs | 1 +
hw/intc/arm_gicv3_its_kvm.c | 88 +
2 files changed, 89 insertions(+)
create mode 100644 hw/intc/arm_gicv3_its_kvm.c
Routing add/update functions now take additional PCIDevice pointer. Also,
in order to provide backwards compatibility with older kernels, a new
kvm_msi_flags global variable is provided, and machines, wishing to use
new MSI features, must set appropriates flags in it.
Signed-off-by: Pavel Fedin
/kvm/msg119567.html
Pavel Fedin (6):
kvm: Make KVM_CAP_SIGNAL_MSI globally available
hw/intc: Implement ITS base class
Add vGICv3 ITS definitions
kvm: Implement passing device ID to MSI routing functions
kvm_arm: Implement support for ITS emulation by KVM
arm/virt: Add ITS to the virt
This temporary patch adds kernel API definitions. Use proper header update
procedure after these features are released.
Signed-off-by: Pavel Fedin
---
linux-headers/asm-arm64/kvm.h | 1 +
linux-headers/linux/kvm.h | 9 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a
This capability is useful to determine whether we can use KVM ITS
emulation on ARM
Signed-off-by: Pavel Fedin
---
include/sysemu/kvm.h | 9 +
kvm-all.c| 10 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/sysemu/kvm.h b/include/sysemu
101 - 200 of 511 matches
Mail list logo