On 22/10/22 16:12, Volker Rümelin wrote:
Commit 8f9abdf586 ("chardev: src buffer const for write functions")
changed the type of the second parameter of qemu_chr_be_write()
from uint8_t * to const uint8_t *. Remove the now useless type
casts from qemu_chr_be_write() function calls in ui/console.c
On 22/10/22 17:04, Bernhard Beschow wrote:
Signed-off-by: Bernhard Beschow
---
hw/isa/piix3.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
From: Guohuai Shi
Adapt synth fs driver for Windows in preparation to running qtest
9p testing on Windows.
Signed-off-by: Guohuai Shi
Signed-off-by: Bin Meng
---
hw/9pfs/9p-synth.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/9pfs/9p-synth.c b/hw/9pfs/9p-synth.c
From: Guohuai Shi
Windows does not provide the getuid() API. Let's create a local
one and return a fixed value 0 as the uid for testing.
Signed-off-by: Guohuai Shi
Signed-off-by: Xuzhou Cheng
Signed-off-by: Bin Meng
---
tests/qtest/virtio-9p-test.c | 7 +++
1 file changed, 7 insertions(
On 21/10/22 19:36, Matheus Tavares Bernardino wrote:
Signed-off-by: Matheus Tavares Bernardino
---
accel/tcg/tcg-accel-ops-rr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé
On Thu, 20 Oct 2022 at 10:15, Jason Wang wrote:
>
> On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote:
> >
> > Add support for vIOMMU. Register a memory listener to dma_as in
> > dev_start
> > - during region_add register a specific IOMMU notifier, and store all
> > notifiers in a list.
> > - durin
Separate S1 translation from the actual lookup.
Will enable lpae hardware updates.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
target/arm/ptw.c | 41 ++---
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/target/arm/ptw.c b/
On 22/10/22 17:04, Bernhard Beschow wrote:
The additional prefix aligns the function name with both other
piix3-internal functions as well as QEMU conventions. Furthermore, it
will help to distinguish the function from its PIIX4 counterpart once
merged.
Signed-off-by: Bernhard Beschow
---
hw/
The unconditional loop was used both to iterate over levels
and to control parsing of attributes. Use an explicit goto
in both cases.
While this appears less clean for iterating over levels, we
will need to jump back into the middle of this loop for
atomic updates, which is even uglier.
Reviewed
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
target/arm/internals.h | 2 ++
target/arm/helper.c| 8 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/target/arm/internals.h b/target/arm/internals.h
index 2b6889073d..16d7989604 100644
--- a/target/arm/i
Perform the atomic update for hardware management of the dirty bit.
Signed-off-by: Richard Henderson
---
v5: Move the DB update before attributes are extracted and merged.
---
target/arm/cpu64.c | 2 +-
target/arm/ptw.c | 16
2 files changed, 17 insertions(+), 1 deletion(-)
From: Guohuai Shi
When using 9p2000.L protocol, the errno should use the Linux errno.
Currently magic numbers with comments are used. Replace these with
macros for future expansion.
Signed-off-by: Guohuai Shi
Signed-off-by: Bin Meng
---
hw/9pfs/9p-linux-errno.h | 151
When guest base is zero, we should use addr_regl as base regiser instead of
the initial register TCG_REG_TMP0. Besides, we can remove the
unnecessary use of base register.
Signed-off-by: LIU Zhiwei
---
tcg/riscv/tcg-target.c.inc | 20
1 file changed, 8 insertions(+), 12 dele
On Fri, Oct 21, 2022 at 4:56 PM Eugenio Perez Martin
wrote:
>
> On Fri, Oct 21, 2022 at 4:57 AM Jason Wang wrote:
> >
> > On Thu, Oct 20, 2022 at 2:34 PM Eugenio Perez Martin
> > wrote:
> > >
> > > On Thu, Oct 20, 2022 at 6:23 AM Jason Wang wrote:
> > > >
> > > > On Wed, Oct 19, 2022 at 8:52 PM
From: Guohuai Shi
Some definitions currently used by the 9pfs codes are only available
on POSIX platforms. Let's add our own ones in preparation to adding
9pfs support for Windows.
Signed-off-by: Guohuai Shi
Signed-off-by: Bin Meng
---
fsdev/file-op-9p.h | 33
We had only been reporting the stage2 page size. This causes
problems if stage1 is using a larger page size (16k, 2M, etc),
but stage2 is using a smaller page size, because cputlb does
not set large_page_{addr,mask} properly.
Fix by using the max of the two page sizes.
Reported-by: Marc Zyngier
xxxat() APIs are only available on POSIX platforms. For future
extension to Windows, let's replace the direct call to xxxat()
APIs with a wrapper.
Signed-off-by: Bin Meng
---
hw/9pfs/9p-util.h | 15 +++
hw/9pfs/9p-local.c | 32
2 files changed, 27 i
After the improvement to high memory region address assignment is
applied, the memory layout can be changed, introducing possible
migration breakage. For example, VIRT_HIGH_PCIE_MMIO memory region
is disabled or enabled when the optimization is applied or not, with
the following configuration. The
Reduce the amount of typing required for this check.
Reviewed-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/arm/internals.h | 5 +
target/arm/helper.c| 14 +-
target/arm/ptw.c | 14 ++
3 files changed, 16
This renames variable 'size' to 'region_size' in virt_set_high_memmap().
Its counterpart ('region_base') will be introduced in next patch.
No functional change intended.
Signed-off-by: Gavin Shan
Reviewed-by: Eric Auger
Reviewed-by: Cornelia Huck
Tested-by: Zhenyu Zhang
---
hw/arm/virt.c | 1
On 22/10/22 17:04, Bernhard Beschow wrote:
PIIX3 initializes the PIRQx route control registers to the default
values as described in the 82371AB PCI-TO-ISA/IDE XCELERATOR (PIIX4)
April 1997 manual. PIIX4, however, initializes the routes according to
the Malta™ User’s Manual, ch 6.6, which are IRQ
This introduces variable 'region_base' for the base address of the
specific high memory region. It's the preparatory work to optimize
high memory region address assignment.
No functional change intended.
Signed-off-by: Gavin Shan
Reviewed-by: Eric Auger
Reviewed-by: Cornelia Huck
Tested-by: Zh
Richard Henderson writes:
> Reduce the amount of typing required for this check.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
--
Alex Bennée
Always overriding fi->type was incorrect, as we would not properly
propagate the fault type from S1_ptw_translate, or arm_ldq_ptw.
Simplify things by providing a new label for a translation fault.
For other faults, store into fi directly.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderso
On Mon, 24 Oct 2022 at 09:51, Jason Wang wrote:
>
> On Sun, Oct 23, 2022 at 10:46 PM Cindy Lu wrote:
> >
> > On Thu, 20 Oct 2022 at 10:15, Jason Wang wrote:
> > >
> > > On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote:
> > > >
> > > > Add support for vIOMMU. Register a memory listener to dma_as i
Perform the atomic update for hardware management of the access flag.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
v4: Raise permission fault if pte read-only and atomic update reqd.
Split out dirty bit portion.
Prepare for a single update for AF + DB.
v5: Fix s1ns typ
From: Guohuai Shi
Some of Windows error numbers have different value from Linux ones.
For example, ENOTEMPTY is defined to 39 in Linux, but is defined to
41 in Windows. So deleting a directory from a Linux guest on top
of QEMU from a Windows host complains:
# rmdir tmp
rmdir: 'tmp': Unknown
Windows does not have .
Signed-off-by: Bin Meng
---
include/qemu/xattr.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/qemu/xattr.h b/include/qemu/xattr.h
index f1d0f7be74..b08a934acc 100644
--- a/include/qemu/xattr.h
+++ b/include/qemu/xattr.h
@@ -25,7 +25,9 @@
This fault type is to be used with FEAT_HAFDBS when
the guest enables hw updates, but places the tables
in memory where atomic updates are unsupported.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
target/arm/internals.h | 4
1 file changed, 4 insertions(+)
diff --git a/
Replace some gotos with some nested if statements.
Signed-off-by: Richard Henderson
---
target/arm/ptw.c | 34 --
1 file changed, 16 insertions(+), 18 deletions(-)
diff --git a/target/arm/ptw.c b/target/arm/ptw.c
index 8004ca86df..282828992e 100644
--- a/target/a
On Mon, Oct 17, 2022 at 3:59 PM Wilfred Mallawa
wrote:
>
> From: Wilfred Mallawa
>
> Adds a helper macro that implements the register `w1c`
> functionality.
>
> Ex:
> uint32_t data = FIELD32_1CLEAR(val, REG, FIELD);
>
> If ANY bits of the specified `FIELD` is set
> then the respective field is
On 22/10/22 17:05, Bernhard Beschow wrote:
There is no need for having different names here. Having the same name
further allows code to be shared between PIIX3 and PIIX4.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-b
Both GP and DBM are in the upper attribute block.
Extend the computation of attrs to include them,
then simplify the setting of guarded.
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
target/arm/ptw.c | 6 ++
1 file changed, 2 insertions
The MMFR1 field may indicate support for hardware update of
access flag alone, or access flag and dirty bit.
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
target/arm/cpu.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index
On 22/10/22 17:04, Bernhard Beschow wrote:
Signed-off-by: Bernhard Beschow
---
hw/isa/piix3.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
Volker Rümelin writes:
> Commit 8f9abdf586 ("chardev: src buffer const for write functions")
> changed the type of the second parameter of qemu_chr_be_write()
> from uint8_t * to const uint8_t *. Remove the now useless type
> casts from qemu_chr_be_write() function calls in ui/console.c and
> ui/
From: Guohuai Shi
On Windows 'struct dirent' does not have current directory offset.
We have to save current directory offset and update offset when
reading directory.
Signed-off-by: Guohuai Shi
Signed-off-by: Bin Meng
---
hw/9pfs/9p.c| 16
hw/9pfs/codir.c | 15 +
The additional prefix aligns the function name with both other
piix3-internal functions as well as QEMU conventions. Furthermore, it
will help to distinguish the function from its PIIX4 counterpart once
merged.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix3.c | 4 ++--
1 file changed, 2 insert
These are not used anywhere in the source tree. Drop them.
Signed-off-by: Bin Meng
---
hw/9pfs/9p-util.h | 11 ---
1 file changed, 11 deletions(-)
diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h
index c3526144c9..ccfc8b1cb3 100644
--- a/hw/9pfs/9p-util.h
+++ b/hw/9pfs/9p-util.h
@@ -
Changes for v6:
* Fix rebase error wrt xn bit extract.
Changes for v5:
* Rebase, including 12 patches.
* Add regime_is_stage2, which I should have done ages ago.
* Reorg attribute extraction/merging vs descriptor modifications.
Patches lacking review:
02-target-arm-Add-ptw_idx-to-S1Tran
On Sat, Oct 22, 2022 at 8:41 AM Richard Henderson
wrote:
>
> On Sat, 22 Oct 2022, 08:33 Laurent Vivier, wrote:
>>
>> Le 17/10/2022 à 22:29, Jason A. Donenfeld a écrit :
>>
>>
>> Notes:
>> - don't send your patch as a reply to a previous version
>> - add an history:
>>
>> v4: replace (void *)(((u
On 22/10/22 17:04, Bernhard Beschow wrote:
Both implementations are the same and will be shared upon merging.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix4.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
From: Guohuai Shi
At present there is no Windows support for 9p file system.
This commit adds initial Windows support for 9p file system.
'local' file system backend driver is supported on Windows,
including open, read, write, close, rename, remove, etc.
All security models are supported. The ma
This introduces virt_get_high_memmap_enabled() helper, which returns
the pointer to vms->highmem_{redists, ecam, mmio}. The pointer will
be used in the subsequent patches.
No functional change intended.
Signed-off-by: Gavin Shan
Reviewed-by: Eric Auger
Reviewed-by: Cornelia Huck
Tested-by: Zhe
On 22/10/22 17:04, Bernhard Beschow wrote:
This commit marks the finalization of the PIIX3 preparations
to be merged with PIIX4. In particular, PIIXState is prepared
to be reused in piix4.c.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix3.c| 58 +--
On Mon, Oct 17, 2022 at 3:52 PM Wilfred Mallawa
wrote:
>
> From: Wilfred Mallawa
>
> This patch series implements a `FIELDx_1CLEAR()` macro and implements it
> in the `hw/ssi/ibex_spi.c` model.
>
> *** Changelog ***
> Since v2:
> - change the macro arguments name to ma
Am 18. Oktober 2022 21:01:39 UTC schrieb Bernhard Beschow :
>Cover letter:
>
>~
>
>
>
>This series adds support for -pflash and direct SD card access to the
>
>PPC e500 boards. The idea is to increase compatibility with "real" firmware
>
>images where only the bare minimum of drivers is
Le 23/09/2022 à 14:00, Markus Armbruster a écrit :
Signed-off-by: Markus Armbruster
---
bsd-user/elfload.c | 2 +-
contrib/plugins/cache.c | 8
contrib/vhost-user-blk/vhost-user-blk.c | 2 +-
hw/core/qdev-clock.c| 2 +-
hw/h
Having a common base class allows for substituting PIIX3 with PIIX4
and vice versa. Moreover, it makes PIIX4 implement the
acpi-dev-aml-interface.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix.c | 53 +++
1 file changed, 24 insertions(+), 29 dele
There are three high memory regions, which are VIRT_HIGH_REDIST2,
VIRT_HIGH_PCIE_ECAM and VIRT_HIGH_PCIE_MMIO. Their base addresses
are floating on highest RAM address. However, they can be disabled
in several cases.
(1) One specific high memory region is disabled by developer by
toggling vms-
Rename macro name to more transparent one and refactor
it to expression.
Signed-off-by: Nikita Ivanov
---
chardev/char-fd.c | 2 +-
chardev/char-pipe.c| 8 +---
include/qemu/osdep.h | 8 +++-
net/tap-bsd.c | 6 +++---
net/tap-linux.c| 2 +-
net/tap-solaris.c
Leave the upper and lower attributes in the place they originate
from in the descriptor. Shifting them around is confusing, since
one cannot read the bit numbers out of the manual. Also, new
attributes have been added which would alter the shifts.
Reviewed-by: Peter Maydell
Signed-off-by: Richa
On Fri, Oct 21, 2022 at 5:05 PM Eugenio Perez Martin
wrote:
>
> On Fri, Oct 21, 2022 at 5:02 AM Jason Wang wrote:
> >
> > On Thu, Oct 20, 2022 at 3:01 PM Eugenio Perez Martin
> > wrote:
> > >
> > > On Thu, Oct 20, 2022 at 6:35 AM Jason Wang wrote:
> > > >
> > > > On Wed, Oct 19, 2022 at 8:52 PM
From: Guohuai Shi
We don't plan to support 'proxy' file system driver for 9pfs on
Windows. Disable it for Windows build.
Signed-off-by: Guohuai Shi
Signed-off-by: Bin Meng
---
fsdev/qemu-fsdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fsdev/qemu-fsdev.c b/fsdev/qemu-fsdev.c
ind
Hoist the computation of the mmu_idx for the ptw up to
get_phys_addr_with_struct and get_phys_addr_twostage.
This removes the duplicate check for stage2 disabled
from the middle of the walk, performing it only once.
Signed-off-by: Richard Henderson
---
target/arm/ptw.c | 71 +
Introduce an opaque type to represent a file in the 9pfs. This is
file descriptor on POSIX systems. In the upcoming patches, we can
extend it to support Windows.
With this new opaque type, it significantly reduces the number of
deviated code paths when adding Windows support.
Signed-off-by: Bin M
On 22/10/22 17:04, Bernhard Beschow wrote:
While at it, move the assignments closer to where they are used.
Signed-off-by: Bernhard Beschow
---
hw/mips/malta.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
At present there is no Windows support for 9p file system.
This series adds initial Windows support for 9p file system.
'local' file system backend driver is supported on Windows,
including open, read, write, close, rename, remove, etc.
All security models are supported. The mapped (mapped-xattr)
From: Guohuai Shi
Windows POSIX API and MinGW library do not provide the NO_FOLLOW
flag, and do not allow opening a directory by POSIX open(). This
causes all xxx_at() functions cannot work directly. However, we
can provide Windows handle based functions to emulate xxx_at()
functions (e.g.: opena
This introduces virt_set_high_memmap() helper. The logic of high
memory region address assignment is moved to the helper. The intention
is to make the subsequent optimization for high memory region address
assignment easier.
No functional change intended.
Signed-off-by: Gavin Shan
Reviewed-by: E
Hi team,
I am an outreachy applicant and I would like to know how I can make my
first contribution and what the contribution should be.
Best Regards,
Wilberforce
From: Guohuai Shi
Enable virtfs configuration option for Windows host.
Signed-off-by: Guohuai Shi
Signed-off-by: Bin Meng
---
meson.build | 10 +-
fsdev/meson.build | 1 +
hw/9pfs/meson.build | 8 +---
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/m
On Windows P9_FILE_ID points to a file handle.
Signed-off-by: Bin Meng
---
hw/9pfs/9p-file-id.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/hw/9pfs/9p-file-id.h b/hw/9pfs/9p-file-id.h
index 60cbfbf4dd..00903048e6 100644
--- a/hw/9pfs/9p-file-id.h
+++ b/hw/9pfs/
At the moment, TFR() macro has a vague name and is not used
where it possibly could be. In order to make it more transparent
and useful, it was decided to refactor it to make it closer to
the similar one in glibc: TEMP_FAILURE_RETRY(). Now, macro
evaluates into an expression and is named RETRY_ON_E
There are three high memory regions, which are VIRT_HIGH_REDIST2,
VIRT_HIGH_PCIE_ECAM and VIRT_HIGH_PCIE_MMIO. Their base addresses
are floating on highest RAM address. However, they can be disabled
in several cases.
(1) One specific high memory region is likely to be disabled by
code by toggl
On Tue, 2022-10-18 at 16:41 +0800, Sam Li wrote:
> Dmitry Fomichev 于2022年10月17日周一 08:57写道:
> >
> > On Sun, 2022-10-16 at 22:51 +0800, Sam Li wrote:
> > > We have added new block layer APIs of zoned block devices.
> > > Test it with:
> > > Create a null_blk device, run each zone operation on it an
On Wed, Oct 12, 2022 at 4:01 PM LIU Zhiwei wrote:
>
> Only the pmp index that be checked by pmp_hart_has_privs can be used
> by pmp_get_tlb_size to avoid an error pmp index.
>
> Before modification, we may use an error pmp index. For example,
> we check address 0x4fc, and the size 0x4 in pmp_hart_
On Sun, Oct 23, 2022 at 10:46 PM Cindy Lu wrote:
>
> On Thu, 20 Oct 2022 at 10:15, Jason Wang wrote:
> >
> > On Wed, Oct 19, 2022 at 2:39 PM Cindy Lu wrote:
> > >
> > > Add support for vIOMMU. Register a memory listener to dma_as in
> > > dev_start
> > > - during region_add register a specific I
On Sat, Oct 22, 2022 at 22:15 Michael S. Tsirkin wrote:
> On Fri, Oct 21, 2022 at 09:47:04PM +0530, Ani Sinha wrote:
> >
> >
> > On Fri, Oct 21, 2022 at 21:36 Alex Bennée
> wrote:
> >
> >
> > Ani Sinha writes:
> >
> >
> > >
> > > We have added a mirror of biosbits to the QEMU
On 10/21/22 21:09, BALATON Zoltan wrote:
On Fri, 21 Oct 2022, Daniel Henrique Barboza wrote:
diff --git a/hw/ppc/ppc4xx_sdram.c b/hw/ppc/ppc4xx_sdram.c
new file mode 100644
index 00..b49a7ed60a
--- /dev/null
+++ b/hw/ppc/ppc4xx_sdram.c
@@ -0,0 +1,348 @@
+/*
+ * DDR2 SDRAM controller:
Rather than poking directly into RAM, add the bootinfo block as a proper
ROM, so that it's restored when rebooting the system. This way, if the
guest corrupts any of the bootinfo items, but then tries to reboot,
it'll still be restored back to normal as expected.
Then, since the RNG seed needs to
Suggested-by: Mark Cave-Ayland
Signed-off-by: Bernhard Beschow
---
hw/i386/pc_piix.c | 3 ++-
hw/ide/piix.c | 5 +++--
hw/isa/piix4.c| 3 ++-
include/hw/ide/piix.h | 7 +++
4 files changed, 14 insertions(+), 4 deletions(-)
create mode 100644 include/hw/ide/piix.h
diff -
On 10/24/22 01:36, tobias.roeh...@rwth-aachen.de wrote:
From: Tobias Röhmel
Typo "implement" in subject.
@@ -8038,6 +8035,11 @@ void register_cp_regs_for_features(ARMCPU *cpu)
.accessfn = access_aa64_tid1,
.type = ARM_CP_CONST, .resetvalue = cpu->revidr },
On Mon, Oct 17, 2022 at 3:55 PM Wilfred Mallawa
wrote:
>
> From: Wilfred Mallawa
>
> use the `FIELD32_1CLEAR` macro to implement register
> `rw1c` functionality to `ibex_spi`.
>
> This change was tested by running the `SPI_HOST` from TockOS.
>
> Signed-off-by: Wilfred Mallawa
Reviewed-by: Alist
More closely follow the default linker script for nios2.
This magically fixes a problem resolving .got relocs from
the toolchain's libgcc.a.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1258
Signed-off-by: Richard Henderson
---
tests/tcg/nios2/10m50-ghrd.ld | 14 +-
1 file
Le 17/10/2022 à 15:20, Bin Meng a écrit :
From: Bin Meng
When tmpfs is NULL, a build warning is seen with GCC 9.3.0.
It's strange that GCC 11.2.0 on Ubuntu 22.04 does not catch this,
neither did the QEMU CI.
While we are here, improve the error message as well.
Reported-by: Shengjiang Wu
Fix
Use the newly introduced i8259 proxy "isa-pic" which allows for wiring
up devices in the southbridge where the virtualization technology used
(KVM, TCG, Xen) is not yet known.
Signed-off-by: Bernhard Beschow
---
hw/i386/pc_piix.c | 15 +--
hw/isa/Kconfig|
Typo "calculation" in subject.
On 22/10/22 08:12, Qi Hu wrote:
In sequence:
---
lock negl -0x14(%rbp)
pushf
pop%rax
---
%rax will obtain the wrong value becasue the "lock neg" caculates the
wrong eflags. The "s->T0" is updated by the wrong value.
You can use this to do some test:
---
#incl
In the ACPI specification [1], the 'unarmed' bit is set when a device
cannot accept a persistent write. This means that when a memdev is
read-only, the 'unarmed' flag must be turned on. The logic is correct,
just changing the error message.
[1] ACPI NFIT NVDIMM Region Mapping Structure "NVDIMM Sta
On Wed, Oct 12, 2022 at 4:01 PM LIU Zhiwei wrote:
>
> Only the pmp index that be checked by pmp_hart_has_privs can be used
> by pmp_get_tlb_size to avoid an error pmp index.
>
> Before modification, we may use an error pmp index. For example,
> we check address 0x4fc, and the size 0x4 in pmp_hart_
These 3 high memory regions are usually enabled by default, but
they may be not used. For example, VIRT_HIGH_GIC_REDIST2 isn't
needed by GICv2. This leads to waste in the PA space.
Add properties to allow users selectively disable them if needed:
"highmem-redists", "highmem-ecam", "highmem-mmio".
On Sat, Oct 22, 2022 at 22:11 Michael S. Tsirkin wrote:
> On Fri, Oct 21, 2022 at 05:12:07PM +0530, Ani Sinha wrote:
> >
> >
> > On Fri, Oct 21, 2022 at 13:50 Michael S. Tsirkin wrote:
> >
> > On Fri, Oct 21, 2022 at 05:10:43AM +0530, Ani Sinha wrote:
> > >
> > >
> > > On Fri, Oc
The next patches will need to take advantage of it.
Signed-off-by: Bernhard Beschow
Reviewed-by: Peter Maydell
---
hw/i386/pc_piix.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 7a55b9ca8e..5caef9bfc9 100644
--- a/hw/i386/pc_p
On Sat, Oct 22, 2022 at 22:05 Michael S. Tsirkin wrote:
> On Sat, Oct 22, 2022 at 06:28:32AM +0530, Ani Sinha wrote:
> >
> >
> > On Fri, Oct 21, 2022 at 21:32 Alex Bennée
> wrote:
> >
> >
> > Ani Sinha writes:
> >
> > > On Fri, 21 Oct, 2022, 5:52 pm Ani Sinha, wrote:
> > >
> >
On Fri, Oct 21, 2022 at 4:15 PM Michael S. Tsirkin wrote:
>
> On Fri, Oct 21, 2022 at 09:45:14AM +0200, Eugenio Perez Martin wrote:
> > On Fri, Oct 21, 2022 at 5:40 AM Jason Wang wrote:
> > >
> > > On Thu, Oct 20, 2022 at 11:53 PM Eugenio Pérez
> > > wrote:
> > > >
> > > > Actually use the new
Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,
Daniel
On 10/21/22 11:21, Matheus Ferst wrote:
This version fixes the problems found by Daniel with e500 tests and
rebases on ppc-next.
Based-on: https://gitlab.com/danielhb/qemu/-/tree/ppc-next
Matheus Ferst (3):
target/ppc: intro
There is a defined RETRY_ON_EINTR() macro in qemu/osdep.h
which handles the same while loop.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/415
Signed-off-by: Nikita Ivanov
---
block/file-posix.c| 37 -
chardev/char-pty.c| 4 +---
hw/
Le 20/10/2022 à 14:12, Markus Armbruster a écrit :
Could this go via qemu-trivial now?
Yes, sorry for the delay.
I think there is a problem with PATCH 3.
Thanks,
Laurent
Now that PIIX4 also uses the "isa-pic" proxy, both implementations
can share the same struct.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix4.c | 61 --
1 file changed, 19 insertions(+), 42 deletions(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.
Both implementations are the same and will be shared upon merging.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix4.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index a7d52c5294..2f5b6fc934 100644
--- a/hw/isa/piix4.c
+++ b/hw
Aligns the code with PIIX3 such that PIIXState can be used in PIIX4,
too.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix4.c | 28 ++--
hw/mips/malta.c | 11 +--
2 files changed, 19 insertions(+), 20 deletions(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
inde
This aligns PIIX4 with PIIX3.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix4.c | 44
hw/mips/malta.c | 6 --
2 files changed, 36 insertions(+), 14 deletions(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index a7389ff193..fc698c23be 100644
-
From: Tobias Röhmel
RVBAR shadows RVBAR_ELx where x is the highest exception
level if the highest EL is not EL3. This patch also allows
ARMv8 CPUs to change the reset address with
the rvbar property.
Signed-off-by: Tobias Röhmel
---
target/arm/cpu.c| 6 +-
target/arm/helper.c | 23 +++
On Fri, Oct 21, 2022 at 09:47:04PM +0530, Ani Sinha wrote:
>
>
> On Fri, Oct 21, 2022 at 21:36 Alex Bennée wrote:
>
>
> Ani Sinha writes:
>
>
> >
> > We have added a mirror of biosbits to the QEMU project so there is no
> > reason why we can't track changes and modific
When guest_base != 0, we were not coordinating the usage of
TCG_REG_TMP0 as base properly, leading to a previous zero-extend
of the input address being discarded.
Shuffle the alignment check to the front, because that does not
depend on the zero-extend, and it keeps the register usage clear.
Set b
Fixes the "extra-semi" clang-tidy check.
Signed-off-by: Bernhard Beschow
Reviewed-by: Peter Maydell
Reviewed-by: Philippe Mathieu-Daudé
---
hw/isa/piix3.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/isa/piix3.c b/hw/isa/piix3.c
index 44a9998752..04895ce2e5 1006
Signed-off-by: Bernhard Beschow
---
hw/isa/piix3.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/isa/piix3.c b/hw/isa/piix3.c
index 8dbf22eaab..5214a75891 100644
--- a/hw/isa/piix3.c
+++ b/hw/isa/piix3.c
@@ -156,7 +156,7 @@ static void piix3_write_config_xen(PCIDevice
On 22/10/22 17:04, Bernhard Beschow wrote:
Ammends commit 988fb613215993dd0ce642b89ca8182c479d39dd.
Signed-off-by: Bernhard Beschow
---
hw/isa/piix3.c | 1 -
1 file changed, 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé
Le 28/09/2022 à 11:03, dinglimin a écrit :
Jump statements, such as return and continue let you
change the default flow of program execution,
but jump statements that direct the control flow to
the original direction are just a waste of keystrokes.
Signed-off-by: dinglimin
---
scripts/vmstate
On 21/10/22 17:51, Alex Bennée wrote:
We used to rely on QEMU_CFLAGS to expose the debug flags but now this
is synthesised by meson and only available to the main build. Add our
own flags if we detect the build has been enabled with
CONFIG_DEBUG_TCG (which is the default for --enable-debug anyway
1 - 100 of 164 matches
Mail list logo