在 2021/6/2 上午11:47, Cindy Lu 写道:
During the test, We found this function will continue running
while the peer is deleted, this will cause the crash. so add
check for this. this only exist in machines type microvm
Any idea why it only happens on microvm?
reproduce step :
load the VM with
在 2021/6/2 上午11:47, Cindy Lu 写道:
Add support for configure interrupt, use kvm_irqfd_assign and set the
gsi to kernel. When the configure notifier was eventfd_signal by host
kernel, this will finally inject an msix interrupt to guest
Signed-off-by: Cindy Lu
---
hw/virtio/virtio-pci.c | 63 ++
在 2021/6/2 上午11:47, Cindy Lu 写道:
inorder
s/inorder/In order/
to support configure interrupt, we need to decouple
virtqueue from vector use and vector release function
this patch introduce vector_release_one and vector_use_one
to support one vector.
Signed-off-by: Cindy Lu
I think we
在 2021/6/2 上午11:47, Cindy Lu 写道:
Add configure interrupt support for virtio-mmio bus. This
interrupt will working while backend is vhost-vdpa
Signed-off-by: Cindy Lu
---
hw/virtio/virtio-mmio.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/hw/virtio/virtio
在 2021/6/2 上午11:47, Cindy Lu 写道:
Add configure notifier support in vhost and virtio driver
When backend support VIRTIO_NET_F_STATUS,
So config interrupt is the basic facility of the virtio device. We need
to make the code not specific to this feature.
But we can leave the specific device
在 2021/6/2 上午11:47, Cindy Lu 写道:
Add new call back function in vhost-vdpa, this call back function only
supported in vhost-vdpa backend
Signed-off-by: Cindy Lu
---
hw/virtio/trace-events | 2 ++
hw/virtio/vhost-vdpa.c | 7 +++
2 files changed, 9 insertions(+)
diff --git a/hw/virtio/t
在 2021/6/2 上午11:47, Cindy Lu 写道:
To support configure interrupt, we need to
add a new call back function for config interrupt.
Signed-off-by: Cindy Lu
Acked-by: Jason Wang
---
include/hw/virtio/vhost-backend.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/hw/virtio/
在 2021/6/2 上午11:47, Cindy Lu 写道:
To support config interrupt.we need to decouple virtqueue number
s/we/ We/
from virtio_queue_set_guest_notifier_fd_handler,
Signed-off-by: Cindy Lu
---
hw/s390x/virtio-ccw.c | 6 +++---
hw/virtio/virtio-mmio.c| 4 ++--
hw/virtio/virtio-pci
在 2021/6/2 上午11:47, Cindy Lu 写道:
Decouple virtqueue from interrupt setting process to support config interrupt
Now the code for interrupt/vector are coupling
with the vq number, this patch will decouple the vritqueue
numbers from these functions.
Signed-off-by: Cindy Lu
---
hw/virtio/virtio
On 03/06/2021 02.11, John Snow wrote:
Based on Peter Krempa's libvirt template, feature.md.
CC: Peter Krempa
Signed-off-by: John Snow
Reviewed-by: Stefan Hajnoczi
---
.gitlab/issue_templates/feature_request.md | 32 ++
1 file changed, 32 insertions(+)
create mode 1006
On 03/06/2021 02.11, John Snow wrote:
Based loosely on libvirt's template, written by Peter Krempa.
CC: Peter Krempa
Signed-off-by: John Snow
---
.gitlab/issue_templates/bug.md | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 .gitlab/issue_templ
Only program a BAR as a 64-bit MEM BAR if it really is a 64-bit MEM BAR.
Fixes an issue with the CMD646 IDE controller under NetBSD.
Improve some debug/info messages.
Signed-off-by: Jason Thorpe
---
pci.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/pci.c b/pci.c
i
Move PCI_DEVFN(), PCI_BUS(), PCI_SLOT(), and PCI_FUNC() to pci.h.
Signed-off-by: Jason Thorpe
---
pci.c | 4
pci.h | 5 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/pci.c b/pci.c
index 87a101c..ba05adb 100644
--- a/pci.c
+++ b/pci.c
@@ -31,10 +31,6 @@
#include "pci_
Initialize the hwrpb.hwrpb.cpuid field with the primary CPU ID, not
the processor type, as per the architecture specification. Some
operating systems check and assert this.
Improve a couple of comments.
Signed-off-by: Jason Thorpe
---
init.c | 29 ++---
1 file changed,
Provide a Console Terminal Block in the HWRPB so that operating systems
that depend on it can correctly initialize the console device. In addition
to defining and filling out the structures, there are a couple of other
key changes:
- Redefine the a2 register passed by Qemu at start-up to also inc
Use system-specific information to program the interrupt line register
with the interrupt mappings, which is what the SRM console does on real
hardware; some operating systems (e.g. NetBSD) use this information
rather than having interrupt mappings tables for every possible system
variation.
Signe
Included here are a set of patches that fix issues in qemu-palcode needed
to run NetBSD/alpha under Qemu. Some fix garden-variety bugs, some fix
deviations from the architecture specification or behavior of the SRM
console on real Alpha hardware.
Two of the changes (patch 6 and patch 7) also requ
Changes to make secondary CPU start-up work on NetBSD, which depends
on some specific behavior in the architecture specification:
- Change the internal swppal() function to take the new VPTPTR and
Procedure Value as explicit arguments. Adapt do_start() to the
new the new swppal() signature.
In the unaligned access exception vector, actually pass the return PC
in the exception frame. This is required in order for unaligned access
fixup handlers in the operating system to work.
Signed-off-by: Jason Thorpe
---
pal.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
Don't include system headers. Instead, provide standalone definitions
and declarations of types needed and functions used by the PALcode that
are compatible with the standard Alpha / GCC ABI.
Signed-off-by: Jason Thorpe
---
init.c | 2 --
memcpy.c | 2 +-
memset.c | 2 +-
printf.c | 4 +--
在 2021/6/3 上午1:51, Eugenio Perez Martin 写道:
On Wed, Jun 2, 2021 at 11:52 AM Jason Wang wrote:
在 2021/5/20 上午12:28, Eugenio Pérez 写道:
Use translations added in IOVAReverseMaps in SVQ if the vhost device
does not support the mapping of the full qemu's virtual address space.
In other cases, Sh
在 2021/6/3 上午1:18, Eugenio Perez Martin 写道:
On Wed, Jun 2, 2021 at 11:51 AM Jason Wang wrote:
在 2021/5/20 上午12:28, Eugenio Pérez 写道:
Initial version of shadow virtqueue that actually forward buffers. The
exposed addresses are the qemu's virtual address, so devices with IOMMU
that does not a
在 2021/6/1 下午3:17, Eugenio Perez Martin 写道:
On Thu, May 27, 2021 at 6:51 AM Jason Wang wrote:
在 2021/5/27 上午1:49, Eugenio Perez Martin 写道:
On Wed, May 26, 2021 at 3:14 AM Jason Wang wrote:
在 2021/5/20 上午12:28, Eugenio Pérez 写道:
For simplicity, If a device does not support this operation
On Wed, Jun 02, 2021 at 09:51:03AM -0300, Luis Pires wrote:
> Commit 6086c75 (target/ppc: Replace POWERPC_EXCP_BRANCH with
> DISAS_NORETURN) broke the generation of exceptions when
> CPU_SINGLE_STEP or CPU_BRANCH_STEP were set, due to nip always being
> reset to the address of the current instructi
在 2021/6/1 下午3:13, Eugenio Perez Martin 写道:
On Wed, May 26, 2021 at 3:10 AM Jason Wang wrote:
在 2021/5/26 上午9:06, Jason Wang 写道:
在 2021/5/20 上午12:28, Eugenio Pérez 写道:
So the guest can stop and start net device. It implements the RFC
https://lists.oasis-open.org/archives/virtio-comment/202
Hi Drew,
On 6/2/21 9:36 PM, Andrew Jones wrote:
On Wed, Jun 02, 2021 at 11:09:32AM +1000, Gavin Shan wrote:
On 6/1/21 5:50 PM, Andrew Jones wrote:
On Tue, Jun 01, 2021 at 03:30:04PM +0800, Gavin Shan wrote:
We possibly populate empty nodes where memory isn't included and might
be hot added at
On 03/06/2021 01.51, Philippe Mathieu-Daudé wrote:
> Since 00f2cfbbec6 ("glib: bump min required glib library version to
> 2.48") we can use g_auto/g_autoptr to have the compiler automatically
> free an allocated variable when it goes out of scope,
Glad to know this feature.
However per its code
By leaving the script absent for a commit, git-blame travels to the new
file instead of staying on the shim.
Signed-off-by: John Snow
Reviewed-by: Philippe Mathieu-Daudé
---
scripts/qmp/qom-fuse | 11 +++
1 file changed, 11 insertions(+)
create mode 100755 scripts/qmp/qom-fuse
diff --
- Use FuseOSError to signal ENOENT instead of returning it
- Wrap qom-get in str(), as we don't always know its type
- The empty return should be b'', not ''.
Signed-off-by: John Snow
Reviewed-by: Philippe Mathieu-Daudé
---
scripts/qmp/qom-fuse | 6 +++---
1 file changed, 3 insertions(+), 3 del
The 'fuse' command will be unavailable if 'fusepy' is not installed. It
will simply not load and subsequently be unavailable as a subcommand.
Signed-off-by: John Snow
---
python/qemu/qmp/qom.py | 14 --
python/setup.cfg | 1 +
2 files changed, 13 insertions(+), 2 deletions(-)
the qom_list method provides a type-safe object that's easier to type
check, so switch to using it.
Signed-off-by: John Snow
---
scripts/qmp/qom-fuse | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse
index 1676fb78
Move qom-fuse over to the python package now that it passes the
linter. Update the import paradigms so that it continues to pass in the
context of the Python package.
Signed-off-by: John Snow
---
scripts/qmp/qom-fuse => python/qemu/qmp/qom_fuse.py | 12 ++--
1 file changed, 2 insertions(
The methods inherited from fuse don't need docstrings; that's up to
fusepy to handle.
Signed-off-by: John Snow
---
scripts/qmp/qom-fuse | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse
index 805e99c8ecd..1fb300
flake8 still has one warning because of the sys.path hack, but that will
be going away by the end of this patch series.
Signed-off-by: John Snow
---
scripts/qmp/qom-fuse | 81 +++-
1 file changed, 43 insertions(+), 38 deletions(-)
diff --git a/scripts/qmp
In preparation for moving qom-fuse over to the python package, we need
some new dependencies to support it.
Add an optional 'fusepy' dependency that users of the package can opt
into with e.g. "pip install qemu[fuse]" which installs the requirements
necessary to obtain the additional functionality
fd and fh are fine: we often use these for "file descriptor" or "file
handle" accordingly. It is rarely the case that you need to enforce a
more semantically meaningful name beyond "This is the file we are using
right now."
While we're here: add comments for all of the non-standard pylint
names. (
Hint: you can use symlinks to create qom_fuse.py in python/qemu/qmp/ and
point to scripts/qom-fuse to apply the standard linting rules to this
script.
Signed-off-by: John Snow
Reviewed-by: Philippe Mathieu-Daudé
---
scripts/qmp/qom-fuse | 12 +---
1 file changed, 9 insertions(+), 3 dele
Because fusepy does not have type hints, add some targeted warning
suppressions.
Namely, we need to allow subclassing something of an unknown type (in
qom_fuse.py), and we need to allow missing imports (recorded against
fuse itself) because mypy will be unable to import fusepy (even when
installed
Inspired by qom-set, qom-get, qom-tree and qom-list; combine all four of
those scripts into a single script.
A later addition of qom-fuse as an 'extension' necessitates that some
common features are split out and shared between them.
Signed-off-by: John Snow
---
python/qemu/qmp/qom.py|
Redirect to the new qom scripts. These forwarders can be deleted
eventually when there has been more time for the dust on the Python
packaging to settle and people understand how to find these commands.
Note: You can run these by setting $PYTHONPATH in your shell and then
running "python3 -m qemu.
Closes: https://gitlab.com/qemu-project/qemu/-/issues/202
GitLab: https://gitlab.com/jsnow/qemu/-/commits/python-package-qom
CI: https://gitlab.com/jsnow/qemu/-/pipelines/313932818
Hello!
--
This series applies the usual linting cleanups to modernize the qom
tools and then integrates them int
Move qom-fuse onto the QOMCommand base established in
python/qemu/qmp/qom_common.py. The interface doesn't change
incompatibly, "qom-fuse mountpoint" still works as an invocation, and
QMP_SOCKET is still used as the environment variable.
Signed-off-by: John Snow
---
scripts/qmp/qom-fuse | 59 +++
Add the 'qom', 'qom-set', 'qom-get', 'qom-list', and 'qom-tree' scripts
to the qemu.qmp package. When you install this package, these scripts
will become available on your command line.
(e.g. when inside of a venv, `cd python && pip install .` will add
'qom', 'qom-set', etc to your $PATH.)
Signed
This takes the place of qmp-shell's __get_address function. It also
allows other utilities to share the same parser and syntax for
specifying QMP locations.
Signed-off-by: John Snow
---
python/qemu/qmp/__init__.py | 26 ++
scripts/qmp/qmp-shell | 21 ++--
- Catch specific exceptions from QMP
- Reraise errors with explicit context
- method parameters should match parent's names
Signed-off-by: John Snow
Reviewed-by: Philippe Mathieu-Daudé
---
scripts/qmp/qom-fuse | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/
In porting the qom tools, qmp-shell, etc; it becomes evident that this
type is wrong.
This is an integer, not a string. We didn't catch this before because
none of QEMUMonitorProtocol's *users* happen to be checked, and the
internal logic of this class is otherwise self-consistent. Additionally,
m
In a previous commit, I added tox to the development requirements of the
Python library. I never bothered to add them to the Pipfile, because
they aren't needed there. Here, I sync it anyway in its own commit so
that when we add new packages later that the diffstats will not
confusingly appear to p
Add "Bug" and "Feature Request" templates to the Gitlab interface to
help improve the quality of newly reported issues.
To see what this looks like, I've temporarily allowed my Gitlab fork to
diverge with these files merged. See my fork's "new issue" page to see
it in action: https://gitlab.com/j
Based on Peter Krempa's libvirt template, feature.md.
CC: Peter Krempa
Signed-off-by: John Snow
Reviewed-by: Stefan Hajnoczi
---
.gitlab/issue_templates/feature_request.md | 32 ++
1 file changed, 32 insertions(+)
create mode 100644 .gitlab/issue_templates/feature_request.
Based loosely on libvirt's template, written by Peter Krempa.
CC: Peter Krempa
Signed-off-by: John Snow
---
.gitlab/issue_templates/bug.md | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 .gitlab/issue_templates/bug.md
diff --git a/.gitlab/issue_tem
On 6/2/21 9:10 AM, Vladimir Sementsov-Ogievskiy wrote:
We often call qmp() with unpacking dict, like qmp('foo', **{...}).
mypy don't really like it, it thinks that passed unpacked dict is a
positional argument and complains that it type should be bool (because
second argument of qmp() is conv_key
On 6/2/21 9:10 AM, Vladimir Sementsov-Ogievskiy wrote:
- use shorter construction
- don't create new dict if not needed
- drop extra unpacking key-val arguments
- drop extra default values
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Max Reitz
Sorry, I shuffled around the
On 6/2/21 4:22 PM, Philippe Mathieu-Daudé wrote:
On 6/2/21 11:33 PM, Nolan wrote:
On 5/31/21 4:23 AM, Philippe Mathieu-Daudé wrote:
Hi Nolan,
Thanks for your patch!
There is something odd with your email address, which apparently
became source...@sigbus.net instead of no...@sigbus.net.
Ugh,
On 5/26/21 1:04 PM, Philippe Mathieu-Daudé wrote:
Introduce the 'query-accels' QMP command which returns a list
of built-in accelerator names.
> - Accelerator is a QAPI enum of all existing accelerators,
- AcceleratorInfo is a QAPI structure providing accelerator
specific information. Curren
On 6/2/21 10:46 PM, Eduardo Habkost wrote:
> On Wed, Jun 02, 2021 at 08:17:28PM +0200, Philippe Mathieu-Daudé wrote:
>> Hi Valeriy,
>>
>> (Sorry for not looking earlier than v8)
>>
>> On 5/31/21 2:38 PM, Valeriy Vdovin wrote:
>>> Introducing new qapi method 'query-kvm-cpuid'. This method can be use
On 5/20/21 3:52 AM, Emanuele Giuseppe Esposito wrote:
Alsp add a new _qmp_timer field to the QEMUMachine class.
Let's change the default socket timeout to None, so that if
a subclass needs to add a timer, it can be done by modifying
this private field.
At the same time, restore the timer to be
On 6/2/21 11:33 PM, Nolan wrote:
> On 5/31/21 4:23 AM, Philippe Mathieu-Daudé wrote:
>> Hi Nolan,
>>
>> Thanks for your patch!
>>
>> There is something odd with your email address, which apparently
>> became source...@sigbus.net instead of no...@sigbus.net.
>
> Ugh, oops. I was trying out sourcehu
From: Nolan Leake
This is just enough to make reboot and poweroff work. Works for
linux, u-boot, and the arm trusted firmware. Not tested, but should
work for plan9, and bare-metal/hobby OSes, since they seem to generally
do what linux does for reset.
The watchdog timer functionality is not yet
On 5/25/21 8:06 AM, Richard Henderson wrote:
+which = parts_minmax(&pa, &pb, s, flags, &float32_params);
+if (unlikely(which < 0)) {
+/* Some sort of nan, need to repack default and silenced nans. */
+return float32_round_pack_canonical(&pa, s);
+}
+return which ?
On 6/2/21 1:36 PM, Alex Bennée wrote:
Richard Henderson writes:
Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
return a tri-state value to indicate nan vs unchanged operand.
Introduce ftype_minmax functions as a common optimization point.
Fold bfloat16 expansions into the s
On 6/2/21 12:58 PM, Bruno Piazera Larsen wrote:
For the use from ppc_cpu_get_phys_page_debug, you'd pass in
cpu_mmu_index(env, false).
ppc_cpu_get_phys_page_debug has 2 calls to ppc_xlate, one using the data MMU,
the other using the instruction MMU. I'm guessing I should pass both, right?
Ye
On 5/31/21 4:23 AM, Philippe Mathieu-Daudé wrote:
Hi Nolan,
Thanks for your patch!
There is something odd with your email address, which apparently
became source...@sigbus.net instead of no...@sigbus.net.
Ugh, oops. I was trying out sourcehut for this, and reflexively gave
them a marker emai
On Thu, Apr 08, 2021 at 05:08:27PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> We now have bs-independent connection API, which consists of four
> functions:
>
> nbd_client_connection_new()
> nbd_client_connection_unref()
> nbd_co_establish_connection()
> nbd_co_establish_connection_cance
On Fri, Apr 16, 2021 at 11:08:51AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> ---
> block/nbd.c | 43 ++-
> 1 file changed, 26 insertions(+), 17 deletions(-)
Commit message said what, but not why. Presumably
On Fri, Apr 16, 2021 at 11:08:50AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> This is the last step of creating bs-independent nbd connection
> interface. With next commit we can finally move it to separate file.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> Reviewed-by: Roman Kagan
> ---
On Fri, Apr 16, 2021 at 11:08:49AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> We are going to move connection code to own file and want clear names
> and APIs.
We are going to move the connection code to its own file, and want
clear names and APIs first.
>
> The structure is shared between use
On Fri, Apr 16, 2021 at 11:08:48AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> nbd_co_establish_connection_cancel() actually needs only pointer to
> NBDConnectThread. So, make it clean.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> Reviewed-by: Roman Kagan
> ---
> block/nbd.c | 16 +++-
On Wed, Jun 02, 2021 at 03:51:02PM -0500, Eric Blake wrote:
> On Mon, May 31, 2021 at 03:38:06PM +0300, Valeriy Vdovin wrote:
[...]
> > +##
> > +# @CpuidEntry:
> > +#
> > +# A single entry of a CPUID response.
> > +#
> > +# One entry holds full set of information (leaf) returned to the guest in
>
"Lucas Mateus Castro (alqotel)" writes:
> The function ppc_tlb_invalid_all is not compiled anymore in a TCG-less
> environment, and the call to that function has been disabled in this
> situation.
>
> Signed-off-by: Lucas Mateus Castro (alqotel)
> ---
> Is there a better way than to deal with th
On Mon, May 31, 2021 at 03:38:06PM +0300, Valeriy Vdovin wrote:
> Introducing new qapi method 'query-kvm-cpuid'. This method can be used to
> get virtualized cpu model info generated by QEMU during VM initialization in
> the form of cpuid representation.
>
>
> Use example:
> qmp_request: {
> "e
On Wed, Jun 02, 2021 at 12:48:18PM +0200, Philippe Mathieu-Daudé wrote:
> This patch was supposed to go via Eduardo's tree but he
> missed it, can it go via qemu-trivial instead?
My apologies, again. I'm still behind on my qemu-devel backlog,
and this was still buried in my inbox.
>
> On 2/19/2
On Wed, Jun 02, 2021 at 08:17:28PM +0200, Philippe Mathieu-Daudé wrote:
> Hi Valeriy,
>
> (Sorry for not looking earlier than v8)
>
> On 5/31/21 2:38 PM, Valeriy Vdovin wrote:
> > Introducing new qapi method 'query-kvm-cpuid'. This method can be used to
> > get virtualized cpu model info generate
Richard Henderson writes:
> Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
> return a tri-state value to indicate nan vs unchanged operand.
> Introduce ftype_minmax functions as a common optimization point.
> Fold bfloat16 expansions into the same macro as the other types.
>
On 4/23/21 3:08 PM, Tom Lendacky wrote:
> From: Tom Lendacky
>
> Fix some spelling and grammar mistakes in the amd-memory-encryption.txt
> file. No new information added.
>
> Signed-off-by: Tom Lendacky
For the series:
Reviewed-by: Connor Kuehl
On 02/06/2021 16:26, Richard Henderson wrote:
On 6/2/21 12:18 PM, Bruno Larsen (billionai) wrote:
Based-on: <20210518201146.794854-1-richard.hender...@linaro.org>
This commit attempts to implement a first draft of a solution to the
first bug mentioned by Richard Henderson in this e-mail
https:
Just a quick ping on this series...
Thanks,
Tom
On 4/23/21 3:08 PM, Tom Lendacky wrote:
> From: Tom Lendacky
>
> Fix some spelling and grammar mistakes in the amd-memory-encryption.txt
> file. No new information added.
>
> Signed-off-by: Tom Lendacky
> ---
> docs/amd-memory-encryption.txt |
Moved helpers from target/ppc/mmu-hash64.c to target/ppc/mmu_helpers.c
and removed #ifdef CONFIG_TCG and #include exec/helper-proto.h from
mmu-hash64.c
Signed-off-by: Lucas Mateus Castro (alqotel)
---
I had to turn slb_lookup in a non static function as it had calls from
the code that was moved t
Moved functions in mmu_helper.c that should be compiled in build to
mmu_common.c, moved declaration of functions that both files use to
cpu.h and moved struct declarations and inline functions needed by
both to target/ppc/internal.h. Updated meson.build to compile the
new file.
Signed-off-by: Luca
Moved ppc_store_sdr1 to mmu_common.c as it was originally in
mmu_helper.c.
Signed-off-by: Lucas Mateus Castro (alqotel)
---
Talking to billionai he commented that ppc_store_sdr1 was at first in
mmu_helper.c and was moved as part of the patches to enable the
disable-tcg option, now it's being move
The function ppc_tlb_invalid_all is not compiled anymore in a TCG-less
environment, and the call to that function has been disabled in this
situation.
Signed-off-by: Lucas Mateus Castro (alqotel)
---
Is there a better way than to deal with the
ppc_tlb_invalidate_all call than ifdef? I couldn't th
This patch series aims to clean up some of the code in mmu-hash64.c and
mmu_helper.c, including removing the includes inside ifdef of those
files.
Helpers are in mmu_helper.c now and code that is needed in a !TCG build
are in mmu-hash64.c and mmu_common.c.
Comments are welcome, thanks,
Lucas Mate
On 6/2/21 12:18 PM, Bruno Larsen (billionai) wrote:
Based-on: <20210518201146.794854-1-richard.hender...@linaro.org>
This commit attempts to implement a first draft of a solution to the
first bug mentioned by Richard Henderson in this e-mail
https://lists.nongnu.org/archive/html/qemu-devel/2021-
Based-on: <20210518201146.794854-1-richard.hender...@linaro.org>
This commit attempts to implement a first draft of a solution to the
first bug mentioned by Richard Henderson in this e-mail
https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg06247.html
The second bug was not touched, which
Hello Zhiwei and Alistair,
I went for a middle-ground solution. I divided the patch into two: one
fixes the vs interrupt forwarding to the hypervisor, the other removes
the unnecessary force exception stuff. I just submitted the patch
series. I hope it's ok with you.
José
On Fri, 28 May 2021 at
On Fri, Apr 16, 2021 at 11:08:47AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> We are going to split connection code to separate file. Now we are
to a separate
> ready to give nbd_co_establish_connection() clean and bs-independent
> interface.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy
>
VS interrupts (2, 6, 10) were not correctly forwarded to hs-mode when
not delegated in hideleg (which was not being taken into account). This
was mainly because hs level sie was not always considered enabled when
it should. The spec states that "Interrupts for higher-privilege modes,
y>x, are alway
There is no need to "force an hs exception" as the current privilege
level, the state of the global ie and of the delegation registers should
be enough to route the interrupt to the appropriate privilege level in
riscv_cpu_do_interrupt. The is true for both asynchronous and
synchronous exceptions,
This patch series fixes the forwarding of VS-level execptions to HS-mode and
removes unecessary code previously used for the routing of exceptions to
HS-mode.
Jose Martins (2):
target/riscv: fix VS interrupts forwarding to HS
target/riscv: remove force HS exception
target/riscv/cpu.h
On Wed, 2 Jun 2021 at 20:02, Richard Henderson
wrote:
> On 6/1/21 8:21 AM, Peter Maydell wrote:
> >>> 2) Is it OK to specify the option to set the HPC extension of A64FX as
> >>> follows,
> >>> for example?
> >>>
> >>> -M virt -cpu max,a64fx-hpc-sec=on (*sector cache function) -M virt -cpu
> >>>
On Fri, Apr 16, 2021 at 11:08:45AM +0300, Vladimir Sementsov-Ogievskiy wrote:
Grammar suggestions:
> Instead of connect_bh, bh_ctx and wait_connect fields we can live with
> only one link to waiting coroutine, protected by mutex.
Instead of managing connect_bh, bh_ctx, and wait_connect fields, w
On 6/1/21 8:21 AM, Peter Maydell wrote:
I'm thinking of implementing A64FX HPC extension in qemu.
A64FX [1] is a CPU developed by Fujitsu that implements armv8+SVE.
[1]
https://github.com/fujitsu/A64FX/blob/master/doc/A64FX_Microarchitecture
_Manual_en_1.4.pdf
A64FX is a CPU developed for HPC (
On Wed, 2 Jun 2021 at 20:20, Vivek Goyal wrote:
>
> On Wed, May 12, 2021 at 02:55:42PM +0200, Max Reitz wrote:
> > Mount point directories represent two inodes: On one hand, they are a
> > normal directory on their parent filesystem. On the other, they are the
> > root node of the filesystem moun
On Wed, 2 Jun 2021 at 08:36, Thomas Huth wrote:
>
> Hi Peter!
>
> The following changes since commit 52848929b70dcf92a68aedcfd90207be81ba3274:
>
> Merge remote-tracking branch
> 'remotes/kraxel/tags/usb-20210528-pull-request' into staging (2021-05-30
> 20:10:30 +0100)
>
> are available in the
On Wed, May 12, 2021 at 02:55:42PM +0200, Max Reitz wrote:
> Mount point directories represent two inodes: On one hand, they are a
> normal directory on their parent filesystem. On the other, they are the
> root node of the filesystem mounted there. Thus, they have two inode
> IDs.
>
> Right now
Hi Valeriy,
(Sorry for not looking earlier than v8)
On 5/31/21 2:38 PM, Valeriy Vdovin wrote:
> Introducing new qapi method 'query-kvm-cpuid'. This method can be used to
> get virtualized cpu model info generated by QEMU during VM initialization in
> the form of cpuid representation.
>
> Diving
Included creation of ITS as part of virt platform GIC
initialization.This Emulated ITS model now co-exists with kvm
ITS and is enabled in absence of kvm irq kernel support in a
platform.
Signed-off-by: Shashi Mallela
---
hw/arm/virt.c | 27 +--
include/hw/arm/virt
On 6/1/21 5:01 PM, Richard Henderson wrote:
> We can share this code between 32-bit and 64-bit loads and stores.
>
> Signed-off-by: Richard Henderson
> ---
> tcg/tci.c | 183 +-
> 1 file changed, 71 insertions(+), 112 deletions(-)
Reviewed-by:
Included creation of ITS as part of SBSA platform GIC
initialization.
Signed-off-by: Shashi Mallela
---
hw/arm/sbsa-ref.c | 26 +++---
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index 43c19b4923..3d9c073636 100644
---
Implemented lpi processing at redistributor to get lpi config info
from lpi configuration table,determine priority,set pending state in
lpi pending table and forward the lpi to cpuif.Added logic to invoke
redistributor lpi processing with translated LPI which set/clear LPI
from ITS device as part o
Added properties to enable ITS feature and define qemu system
address space memory in gicv3 common,setup distributor and
redistributor registers to indicate LPI support.
Signed-off-by: Shashi Mallela
---
hw/intc/arm_gicv3_common.c | 12
hw/intc/arm_gicv3_dist.c |
1 - 100 of 305 matches
Mail list logo