On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
ide_init2() initializes a IDEBus, and set its output IRQ.
To emphasize this, rename it as ide_bus_init_output_irq().
Mechanical change using:
$ sed -i -e 's/ide_init2/ide_bus_init_output_irq/g' \
$(git grep -l ide_init2)
Signed-off-by
On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
idebus_active_if() operates on a IDEBus; rename it as
ide_bus_active_if() to emphasize its first argument
is a IDEBus.
Mechanical change using:
$ sed -i -e 's/idebus_active_if/ide_bus_active_if/g' \
$(git grep -l idebus_active_if)
Sig
Kevin Wolf writes:
> Am 14.02.2023 um 08:40 hat Markus Armbruster geschrieben:
>> I read this on Friday, and decided to let it sit until after the
>> weekend. Well, it's now Tuesday, and to be frank, it's still as
>> offensively flippant as it was on Friday. It shows either ignorance of
>> or c
On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/ioport.c | 10 --
1 file changed, 10 deletions(-)
Reviewed-by: Richard Henderson
r~
On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
From: Bernhard Beschow
The function is only used inside ide/pci.c, so doesn't need to be exported.
Signed-off-by: Bernhard Beschow
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/pci.c | 6 ++
include/hw/ide/pci.h | 6 --
2 fi
On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/piix.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
Reviewed-by: Richard Henderson
r~
On Wed, Feb 15, 2023 at 7:33 PM Philippe Mathieu-Daudé
wrote:
>
> Hi Marcin,
>
> On 15/2/23 09:47, Marcin Nowakowski wrote:
> > Some older cores use CP0.Config7.WII bit to indicate that a disabled
> > interrupt should wake up a sleeping CPU.
> > Enable this bit by default for M14Kc, which supports
On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
-rc = pci_piix_init_ports(d);
-if (rc) {
-error_setg_errno(errp, -rc, "Failed to realize %s",
- object_get_typename(OBJECT(dev)));
+if (!pci_piix_init_ports(d, errp)) {
+return;
}
The if is
On 2/15/23 01:27, Philippe Mathieu-Daudé wrote:
@@ -165,8 +162,10 @@ static void pci_piix_ide_realize(PCIDevice *dev, Error
**errp)
vmstate_register(VMSTATE_IF(dev), 0, &vmstate_ide_pci, d);
-if (!pci_piix_init_ports(d, errp)) {
-return;
+for (unsigned i = 0; i < 2;
We only use it for test-io-channel-command at the moment.
Unfortunately bringing socat into CI exposes an existing bug in the
test-io-channel-command unit test. For now disable the test with the
preprocessor until someone can diagnose it on Mac hardware.
Signed-off-by: Alex Bennée
Cc: Philippe Ma
It is buggy and keeps failing.
Suggested-by: Peter Maydell
Signed-off-by: Alex Bennée
---
tests/avocado/replay_kernel.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py
index 00a26e4a0c..f13456e1ec 100644
--- a/tests/avocado/re
The base job template is responsible for controlling how we kick off
testing on our various branches. Rename and extend the
custom_runner_template so we can take advantage of all that control.
Signed-off-by: Alex Bennée
---
.gitlab-ci.d/custom-runners.yml | 3 ++-
.gitlab-c
We also truncate the echoing of the test log if we fail. Ideally we
would want the build aretefact to be available to gitlab but so far
how to do this eludes me.
Signed-off-by: Alex Bennée
Cc: Daniel P. Berrangé
---
.gitlab-ci.d/cirrus/build.yml | 4 ++--
1 file changed, 2 insertions(+), 2 dele
From: Thomas Huth
There's no need to run a full-blown bash just to create a directory.
And we can skip the "cd build" each time by doing it once at the
beginning.
Additionally, let's exclude some targets (that we already compile-test
with MinGW in the gitlab jobs) from the build, since the build
The TuxRun project (www.tuxrun.org) uses QEMU to run tests on a wide
variety of kernel configurations on wide range of our emulated
platforms. They publish a known good set of images at:
https://storage.tuxboot.com/
to help with bisecting regressions in either the kernel, firmware or
QEMU itsel
Here is the current status of my testing next. I've had to jump a few
hoops on MacOS as adding socat discovered a unit test failure. This
also includes tuxrun_baselines which is a collection of quick test
images that exercise a wide range of platforms.
The following patches need review:
tests: en
The two TCG tests for GICv2 and GICv3 are very heavy weight distros
that take a long time to boot up, especially for an --enable-debug
build. The total code coverage they give is:
Overall coverage rate:
lines..: 11.2% (59584 of 530123 lines)
functions..: 15.0% (7436 of 49443 function
We do run tests on some cross builds. Provide a template to ensure we
export the testlog to the build artefacts and report the test results
via the junit.
Signed-off-by: Alex Bennée
Reported-by: Peter Maydell
---
v2
- properly format extends
---
.gitlab-ci.d/crossbuild-template.yml | 11
When we re-factored we dropped the unlink() step which turns out to be
required for rmdir to do its thing. If we had been checking the return
value we would have noticed so lets do that with this fix.
Fixes: 68406d1085 (tests/unit: cleanups for test-io-channel-command)
Signed-off-by: Alex Bennée
From: Bastian Koppelmann
since binutils is pretty old, it fails our CI repeatedly during the
compilation of tricore-binutils. We created a precompiled version using
the debian docker image and download it instead of building it ourself.
We also updated the package to include a newer version of b
A significant portion of our CI logs are just enumerating each
successfully built object file. The current widespread versions of
ninja don't have a quiet option so we use NINJA_STATUS to add a fixed
string to the ninja output which we then filter with grep. If there
are any errors in the output we
The 22.04 LTS release has been out for almost a year now so its time
to update all the remaining images to the current LTS. We can also
drop some hacks we need for older clang TSAN support.
Signed-off-by: Alex Bennée
---
docs/devel/testing.rst| 4 ++--
.gitlab-ci.d/build
On 15/2/23 20:19, Marcin Nowakowski wrote:
On Wed, Feb 15, 2023 at 7:33 PM Philippe Mathieu-Daudé
wrote:
Hi Marcin,
On 15/2/23 09:47, Marcin Nowakowski wrote:
Some older cores use CP0.Config7.WII bit to indicate that a disabled
interrupt should wake up a sleeping CPU.
Enable this bit by defa
Hi Mostafa,
On Sun, Feb 05, 2023 at 09:44:07AM +, Mostafa Saleh wrote:
> Allow TLB to be tagged with VMID.
>
> If stage-1 is only supported, VMID is set to -1 and ignored from STE
> and CMD_TLBI_NH* cmds.
>
> Signed-off-by: Mostafa Saleh
> ---
> hw/arm/smmu-common.c | 24 ++
On Tue, Feb 14, 2023 at 06:18:23PM +0100, Cédric Le Goater wrote:
> Currently, when a block backend is attached to a m25p80 device and the
> associated file size does not match the flash model, QEMU complains
> with the error message "failed to read the initial flash content".
> This is confusing f
On 15/2/23 20:25, Alex Bennée wrote:
We only use it for test-io-channel-command at the moment.
Unfortunately bringing socat into CI exposes an existing bug in the
test-io-channel-command unit test. For now disable the test with the
preprocessor until someone can diagnose it on Mac hardware.
Sign
On Wed, Feb 15, 2023 at 07:02:29PM +0100, Juan Quintela wrote:
> We used to flush all channels at the end of each RAM section
> sent. That is not needed, so preparing to only flush after a full
> iteration through all the RAM.
>
> Default value of the property is false. But we return "true" in
>
On Wed, Feb 15, 2023 at 06:43:06PM +, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert"
>
> We deprecated the C virtiofsd in commit 34deee7b6a1418f3d62a
> in v7.0 in favour of the Rust implementation at
>
> https://gitlab.com/virtio-fs/virtiofsd
>
> since then, the Ru
Peter Maydell writes:
> On Tue, 14 Feb 2023 at 23:43, Stefano Stabellini
> wrote:
>>
>> The following changes since commit 6a50f64ca01d0a7b97f14f069762bfd88160f31e:
>>
>> Merge tag 'pull-request-2023-02-14' of https://gitlab.com/thuth/qemu into
>> staging (2023-02-14 14:46:10 +)
>>
>> ar
/migration-20230215-pull-request
for you to fetch changes up to 24beea4efe6e6b65fd6248ede936cd3278b2bf8a:
migration: Rename res_{postcopy,precopy}_only (2023-02-15 20:04:30 +0100)
Migration Pull request
This pull request contai
From: Philippe Mathieu-Daudé
Finish the conversion from commit fe80c0241d
("migration: using trace_ to replace DPRINTF").
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Juan Quintela
Signed-off-by: Juan Quintela
---
migration/block.c | 12 +---
migration/trace-events | 1 +
On Wed, Feb 15, 2023 at 07:02:31PM +0100, Juan Quintela wrote:
> We need to add a new flag to mean to flush at that point.
> Notice that we still flush at the end of setup and at the end of
> complete stages.
>
> Signed-off-by: Juan Quintela
Acked-by: Peter Xu
One nitpick below.
>
> ---
>
>
So remove last assignation of res_compatible.
Reviewed-by: Vladimir Sementsov-Ogievskiy
Signed-off-by: Juan Quintela
---
migration/ram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/ram.c b/migration/ram.c
index 521912385d..ecf697a58d 100644
--- a/migration/ram.
Once that res_compatible is removed, they don't make sense anymore.
We remove the _only preffix. And to make things clearer we rename
them to must_precopy and can_postcopy.
Reviewed-by: Vladimir Sementsov-Ogievskiy
Signed-off-by: Juan Quintela
---
include/migration/register.h | 27 ++
From: Avihai Horon
Add new function qemu_file_get_to_fd() that allows reading data from
QEMUFile and writing it straight into a given fd.
This will be used later in VFIO migration code.
Signed-off-by: Avihai Horon
Reviewed-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Cédric Le Goater
Review
On Wed, Feb 15, 2023 at 07:02:30PM +0100, Juan Quintela wrote:
> We only need to do that on the ram_save_iterate() call on sending and
> on destination when we get a RAM_SAVE_FLAG_EOS.
>
> In setup() and complete() we need to synch in both new and old cases,
> so don't add a check there.
>
> Sign
Nothing assigns to it after previous commit.
Reviewed-by: Vladimir Sementsov-Ogievskiy
Signed-off-by: Juan Quintela
---
include/migration/register.h | 7 ++-
migration/savevm.h | 2 --
hw/s390x/s390-stattrib.c | 1 -
hw/vfio/migration.c| 3 +--
migration/
On Fri, Feb 10, 2023 at 2:45 PM Eric Blake wrote:
>
> On Thu, Feb 09, 2023 at 10:40:30AM -0500, John Snow wrote:
> > At the moment, we look for just "python3" and "python", which is good
> > enough almost all of the time. But ... if you are on a platform that
> > uses an older Python by default an
Peter Xu wrote:
> On Wed, Feb 15, 2023 at 07:02:29PM +0100, Juan Quintela wrote:
>> We used to flush all channels at the end of each RAM section
>> sent. That is not needed, so preparing to only flush after a full
>> iteration through all the RAM.
>>
>> Default value of the property is false. B
On Wed, 15 Feb 2023 19:04:33 +0100
Juan Quintela wrote:
> Avihai Horon wrote:
> > On 15/02/2023 14:43, Juan Quintela wrote:
> >> External email: Use caution opening links or attachments
> >>
> >>
> >> Avihai Horon wrote:
> >>> Currently, if IOMMU of a VFIO container doesn't support dirty pa
On 2/14/23 22:47, Marcin Nowakowski wrote:
@@ -4860,6 +4860,7 @@ static void gen_compute_branch(DisasContext *ctx,
uint32_t opc,
target_ulong btgt = -1;
int blink = 0;
int bcond_compute = 0;
+int jal_mask = 0;
Better to limit the scope of the variable to the block below.
ping
[add Stefan]
--
Best regards,
Vladimir
On Fri, Feb 10, 2023 at 5:38 AM Daniel P. Berrangé wrote:
>
> On Thu, Feb 09, 2023 at 10:40:32AM -0500, John Snow wrote:
> > This is just a proof-of-concept patch, as these files are lcitool
> > generated. The real fix will involve updating the lcitool configuration
> > and updating these files th
On Fri, Feb 10, 2023 at 5:30 AM Paolo Bonzini wrote:
>
> On 2/10/23 00:32, John Snow wrote:
> >> It's possible to teach lcitool to use pip instead to install
> >> docutils, sphinx and sphinx-rtd-theme
> >
> > I will say that once upon a time, Peter Maydell expressed a
> > preference to use the ver
On Tue, Feb 14, 2023 at 03:28:58PM +0100, Cédric Le Goater wrote:
> Hello,
>
> Adding Peter since he contributed the fuji machine,
>
> On 2/14/23 10:06, ~ssinprem wrote:
> > From: Sittisak Sinprem
> >
> > Device 24C64 the size is 64 kilobits
> > Device 24C02 the size is 2 kilobits
>
> Could yo
On Tue, Feb 14, 2023 at 03:29:33PM +0100, Cédric Le Goater wrote:
> On 2/10/23 07:20, ~ssinprem wrote:
> > From: Sittisak Sinprem
>
>
>
> You will need to add a Signed-off-by tag
>
> Thanks,
>
> C.
Oh, yeah this is a pretty good change: I mean, at first I had no idea what's
going on here, so
On Tue, Feb 14, 2023 at 7:31 PM LIU Zhiwei wrote:
>
>
> On 2023/2/9 14:23, Deepak Gupta wrote:
> > `zisslpcfi` extension adds two new CSRs. CSR_SSP and CSR_LPLR.
> > - CSR_SSP: This CSR holds shadow stack pointer for current privilege mode
> > CSR_SSP is accessible in all modes. Each m
On Wed, Feb 15, 2023 at 01:14:35PM -0700, Alex Williamson wrote:
> We'll need to consider whether we want to keep "dumb" dirty tracking,
> or even any form of dirty tracking in the type1 uAPI, under an
> experimental opt-in. Thanks,
I was expecting we'd delete the kernel code for type 1 dirty tr
On 15/2/23 20:25, Alex Bennée wrote:
When we re-factored we dropped the unlink() step which turns out to be
required for rmdir to do its thing. If we had been checking the return
value we would have noticed so lets do that with this fix.
Fixes: 68406d1085 (tests/unit: cleanups for test-io-channe
On Tue, Feb 14, 2023 at 6:52 PM LIU Zhiwei wrote:
>
>
> On 2023/2/9 14:23, Deepak Gupta wrote:
> > Introducing riscv `zisslpcfi` extension to riscv target. `zisslpcfi`
> > extension provides hardware assistance to riscv hart to enable control
> > flow integrity (CFI) for software.
> >
> > `zisslpc
On 15/2/23 20:25, Alex Bennée wrote:
It is buggy and keeps failing.
Suggested-by: Peter Maydell
Signed-off-by: Alex Bennée
---
tests/avocado/replay_kernel.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py
index 00a26e4a0c.
On 15/2/23 20:25, Alex Bennée wrote:
From: Bastian Koppelmann
since binutils is pretty old, it fails our CI repeatedly during the
compilation of tricore-binutils. We created a precompiled version using
the debian docker image and download it instead of building it ourself.
We also updated the
On 15/2/23 21:21, Richard Henderson wrote:
On 2/14/23 22:47, Marcin Nowakowski wrote:
@@ -4860,6 +4860,7 @@ static void gen_compute_branch(DisasContext
*ctx, uint32_t opc,
target_ulong btgt = -1;
int blink = 0;
int bcond_compute = 0;
+ int jal_mask = 0;
Better to limit th
On 15.02.23 16:07, Markus Armbruster wrote:
Kevin Wolf writes:
Am 13.01.2023 um 08:30 hat Markus Armbruster geschrieben:
Drive-by comment...
Kevin Wolf writes:
This series addresses the problem described in these bug reports:
https://gitlab.com/qemu-project/qemu/-/issues/1330
https://bugz
On 15/2/23 12:26, Philippe Mathieu-Daudé wrote:
From: John Snow
I have not been able to give these devices the love they need for a
while now. Update the maintainers file to reflect the truth of the
matter.
Signed-off-by: John Snow
Message-Id: <20230206182544.77-1-js...@redhat.com>
Signed
On 2/15/23 09:25, Alex Bennée wrote:
When we re-factored we dropped the unlink() step which turns out to be
required for rmdir to do its thing. If we had been checking the return
value we would have noticed so lets do that with this fix.
Fixes: 68406d1085 (tests/unit: cleanups for test-io-channe
On Wed, 15 Feb 2023 20:23:12 +0200
Avihai Horon wrote:
> On 15/02/2023 15:01, Juan Quintela wrote:
> > External email: Use caution opening links or attachments
> >
> >
> > Avihai Horon wrote:
> >> Implement the basic mandatory part of VFIO migration protocol v2.
> >> This includes all function
On 2/15/23 09:25, Alex Bennée wrote:
It is buggy and keeps failing.
Suggested-by: Peter Maydell
Signed-off-by: Alex Bennée
---
tests/avocado/replay_kernel.py | 1 +
1 file changed, 1 insertion(+)
Acked-by: Richard Henderson
r~
On 2/15/23 09:25, Alex Bennée wrote:
The 22.04 LTS release has been out for almost a year now so its time
to update all the remaining images to the current LTS. We can also
drop some hacks we need for older clang TSAN support.
Signed-off-by: Alex Bennée
---
docs/devel/testing.rst
On 10/2/23 17:34, Bernhard Beschow wrote:
Am 9. Februar 2023 09:04:49 UTC schrieb Bernhard Beschow :
On Wed, Feb 8, 2023 at 1:08 AM Philippe Mathieu-Daudé
wrote:
TYPE_PIIX3_IDE is a PCI function inheriting from QOM
TYPE_PCI_DEVICE. To be able to call the ISA specific
ide_init_ioport_isa(), we
Hi,
This is the v5 of the patch series sent by Christoph Muellner one year
ago [1]. Aside from a code rebase on top of Alistair's
riscv-to-apply.next I also tried to implement the suggestions given in
the reviews.
Patch 1 is unchanged, aside from trivial changes due to code rebasing.
Patch 2 from
From: Christoph Muellner
Zicbom is the Cache-Block Management extension defined in the already
ratified RISC-V Base Cache Management Operation (CBO) ISA extension [1].
The extension contains three instructions: cbo.clean, cbo.flush and
cbo.inval. All of them must be implemented in the same group
From: Christoph Muellner
The RISC-V base cache management operation (CBO) ISA extension has been
ratified. It defines three extensions: Cache-Block Management, Cache-Block
Prefetch and Cache-Block Zero. More information about the spec can be
found at [1].
Let's start by implementing the Cache-Bl
From: Christoph Muellner
The existing probe_access* functions do not allow to specify the
access size and a non-faulting behavior at the same time.
This is resolved by adding a generalization of probe_access_flags()
that takes an additional size parameter.
The semantics is basically the same as
On 2/15/23 10:47, Philippe Mathieu-Daudé wrote:
+ @skip("nios2 emulation is buggy under record/replay")
It will be hard to notice the flakyness got improved. What about:
@skipUnless(os.getenv('AVOCADO_RUN_FLAKY_TESTS'), 'Flaky test')
def test_nios2_10m50(self):
"""
From: Christoph Muellner
The cmo.prefetch instructions are nops for QEMU (no emulation of the
memory hierarchy, no illegal instructions, no permission faults, no
traps).
Add a comment noting where they would be decoded in case cbo.prefetch
instructions become relevant in the future.
Co-develope
On 14.02.23 19:28, Markus Armbruster wrote:
Daniel P. Berrangé writes:
On Tue, Feb 14, 2023 at 12:57:28PM +0100, Markus Armbruster wrote:
Daniel P. Berrangé writes:
On Tue, Feb 14, 2023 at 09:54:22AM +0100, Markus Armbruster wrote:
Daniel P. Berrangé writes:
On Mon, Feb 13, 2023 at 05:
On Wed, 15 Feb 2023 16:38:10 -0400
Jason Gunthorpe wrote:
> On Wed, Feb 15, 2023 at 01:14:35PM -0700, Alex Williamson wrote:
>
> > We'll need to consider whether we want to keep "dumb" dirty tracking,
> > or even any form of dirty tracking in the type1 uAPI, under an
> > experimental opt-in. Th
On Wed, 15 Feb 2023, Bernhard Beschow wrote:
Am 15. Februar 2023 11:27:09 UTC schrieb "Philippe Mathieu-Daudé"
:
From: Bernhard Beschow
The function is only used inside ide/pci.c, so doesn't need to be exported.
Signed-off-by: Bernhard Beschow
Signed-off-by: Philippe Mathieu-Daudé
---
hw/i
On Wed, 15 Feb 2023, Fabiano Rosas wrote:
> Peter Maydell writes:
>
> > On Tue, 14 Feb 2023 at 23:43, Stefano Stabellini
> > wrote:
> >>
> >> The following changes since commit
> >> 6a50f64ca01d0a7b97f14f069762bfd88160f31e:
> >>
> >> Merge tag 'pull-request-2023-02-14' of https://gitlab.com/
ping)
--
Best regards,
Vladimir
On 2/15/23 10:59, Daniel Henrique Barboza wrote:
+mem = probe_access(env, address, cbozlen, MMU_DATA_STORE,
+ cpu_mmu_index(env, false), ra);
+
+/* Zero the block */
+memset(mem, 0, cbozlen);
Will crash if address does not resolve to ram.
According to page 16,
On Wed, Feb 15, 2023, 5:53 AM Fiona Ebner wrote:
> Am 14.02.23 um 19:21 schrieb John Snow:
> > On Thu, Feb 2, 2023 at 7:08 AM Fiona Ebner wrote:
> >>
> >> Hi,
> >> over the years we've got 1-2 dozen reports[0] about suddenly
> >> missing/corrupted MBR/partition tables. The issue seems to be very
On Tue, 7 Jun 2022 at 16:33, Vladimir Sementsov-Ogievskiy
wrote:
>
> Add a variable with QEMU_FULL_VERSION definition. Then the content of
> the variable is easily searchable:
>
>strings /path/to/core | grep QEMU_FULL_VERSION
>
> 'volatile' keyword is used to avoid removing the variable by com
Hi Marc-André,
[very old patch...]
On 22/10/16 11:52, Marc-André Lureau wrote:
In most cases, front ends do not care about the side effect of
CharBackend, so we can simply skip the checks and call the qemu_chr_fe
functions even without associated CharDriver.
Signed-off-by: Marc-André Lureau
-
On 2/15/23 10:59, Daniel Henrique Barboza wrote:
From: Christoph Muellner
Zicbom is the Cache-Block Management extension defined in the already
ratified RISC-V Base Cache Management Operation (CBO) ISA extension [1].
The extension contains three instructions: cbo.clean, cbo.flush and
cbo.inval
On 2/15/23 10:59, Daniel Henrique Barboza wrote:
From: Christoph Muellner
The cmo.prefetch instructions are nops for QEMU (no emulation of the
memory hierarchy, no illegal instructions, no permission faults, no
traps).
Add a comment noting where they would be decoded in case cbo.prefetch
instru
On 2/15/23 12:13, Richard Henderson wrote:
ret = probe_access_flags(env, address, MMU_DATA_LOAD, mmu_idx, true,
&phost, ra);
if (ret != TLB_INVALID_MASK) {
/* Success: readable */
return;
}
...
At which point the new probe_acccess_range_flags is not needed.
O
In virtqueue_{split,packed}_get_avail_bytes() descriptors are read
in a loop via MemoryRegionCache regions and calls to
vring_{split,packed}_desc_read() - these take a region cache and the
index of the descriptor to be read.
For direct descriptors we use a cache provided by the caller, whose
size
On Tue, Feb 14, 2023 at 10:11 PM LIU Zhiwei
wrote:
>
>
> On 2023/2/9 14:24, Deepak Gupta wrote:
> > zisslpcfi's forward cfi if enabled on a hart, enables tracking of
> > indirect branches. CPU/hart internally keeps a state `elp` short
> > for expecting landing pad instruction. This state goes into
On Tue, Feb 14, 2023 at 9:47 PM LIU Zhiwei wrote:
>
>
> On 2023/2/9 14:23, Deepak Gupta wrote:
> > CSR_SSP and CSR_LPLR are new CSR additions to cpu/hart. This patch allows
> > access to these CSRs. A predicate routine handles access to these CSR as
> > per specification.
> >
> > This patch also i
On Tue, Feb 14, 2023 at 10:26 PM LIU Zhiwei
wrote:
>
>
> On 2023/2/9 14:23, Deepak Gupta wrote:
> > Implementation for forward cfi and backward cfi needs helper function
> > to determine if currently fcfi and bcfi are enabled. Enable depends on
> > privilege mode and settings in sstatus/menvcfg/he
On Tue, Feb 14, 2023 at 10:24 PM LIU Zhiwei
wrote:
>
> I don't find the modification for read_mstatus.
Doesn't need any modification in read_mstatus.
It just returns whatever is in the mstatus.
>
> Zhiwei
>
> On 2023/2/15 13:47, LIU Zhiwei wrote:
> >
> > On 2023/2/9 14:23, Deepak Gupta wrote:
>
Hi Eric,
On Tue, Jan 31, 2023 at 09:53:01PM +0100, Eric Auger wrote:
> diff --git a/include/sysemu/iommufd.h b/include/sysemu/iommufd.h
> new file mode 100644
> index 00..06a866d1bd
> --- /dev/null
> +++ b/include/sysemu/iommufd.h
> @@ -0,0 +1,47 @@
> +#ifndef SYSEMU_IOMMUFD_H
> +#define
`On Wed, Feb 15, 2023 at 12:43 AM LIU Zhiwei
wrote:
>
>
> On 2023/2/9 14:24, Deepak Gupta wrote:
> > zisslpcfi protects returns(back cfi) using shadow stack. If compiled with
> > enabled compiler, function prologs will have `sspush ra` instruction to
> > push return address on shadow stack and fun
On Wed, Feb 15, 2023 at 12:55 AM LIU Zhiwei
wrote:
>
>
> On 2023/2/9 14:24, Deepak Gupta wrote:
> > zisslpcfi protects forward control flow (if enabled) by enforcing all
> > indirect call and jmp must land on a landing pad instruction `lpcll`
> > short for landing pad and check lower label value.
On 2/15/23 13:33, Deepak Gupta wrote:
On Tue, Feb 14, 2023 at 9:47 PM LIU Zhiwei wrote:
And MSTATUS_UBCFIEN field change don't need flush tlb.
TCG code-gen would be different depending on whether ubcfi is enabled or not.
As an example a TB might have code generated when bcfi was enabled.
But
Am 15. Februar 2023 11:27:06 UTC schrieb "Philippe Mathieu-Daudé"
:
>ide_init2() initializes a IDEBus, and set its output IRQ.
s/a IDEBus/an IDEBus/, see e.g.
https://owl.purdue.edu/owl/general_writing/grammar/articles_a_versus_an.html .
>To emphasize this, rename it as ide_bus_init_output_i
Am 15. Februar 2023 21:09:10 UTC schrieb BALATON Zoltan :
>On Wed, 15 Feb 2023, Bernhard Beschow wrote:
>> Am 15. Februar 2023 11:27:09 UTC schrieb "Philippe Mathieu-Daudé"
>> :
>>> From: Bernhard Beschow
>>>
>>> The function is only used inside ide/pci.c, so doesn't need to be exported.
>>>
On Thu, Feb 16, 2023 at 2:58 AM Daniel Henrique Barboza
wrote:
>
> At this moment, and apparently since ever, we have no way of enabling
> RISCV_FEATURE_MISA. This means that all the code from write_misa(), all
> the nuts and bolts that handles how to properly write this CSR, has
> always been a n
Am 16. Februar 2023 00:18:47 UTC schrieb Bernhard Beschow :
>
>
>Am 15. Februar 2023 21:09:10 UTC schrieb BALATON Zoltan :
>>On Wed, 15 Feb 2023, Bernhard Beschow wrote:
>>> Am 15. Februar 2023 11:27:09 UTC schrieb "Philippe Mathieu-Daudé"
>>> :
From: Bernhard Beschow
The funct
Vladimir Sementsov-Ogievskiy writes:
[...]
> So, if no objections, I plan to resend with old "optional id & qom_path"
> designation for devices. We still can do a deprecation in future.
Yes, please.
By default, the backing shmem file for a restrictedmem fd is created
on shmem's kernel space mount.
With this patch, an optional tmpfs mount can be specified, which will
be used as the mountpoint for backing the shmem file associated with a
restrictedmem fd.
This change is modeled after how sys_o
Hello,
This patchset builds upon the memfd_restricted() system call that has
been discussed in the ‘KVM: mm: fd-based approach for supporting KVM’
patch series, at
https://lore.kernel.org/lkml/20221202061347.1070246-1-chao.p.p...@linux.intel.com/T/#m7e944d7892afdd1d62a03a287bd488c56e377b0c
The tr
For memfd_restricted() calls without a userspace mount, the backing
file should be the shmem mount in the kernel, and the size of backing
pages should be as defined by system-wide shmem configuration.
If a userspace mount is provided, the size of backing pages should be
as defined in the mount.
S
Daniel P. Berrangé writes:
> On Tue, Feb 14, 2023 at 09:35:44AM +0100, Thomas Huth wrote:
>> On 14/02/2023 08.40, Markus Armbruster wrote:
>> > Daniel P. Berrangé writes:
>> >
>> > [...]
>> >
>> > > We don't have to drop python 3.6. It is a choice because
>> > > of a desire to be able to use s
在2023年2月15日二月 下午8:50,Philippe Mathieu-Daudé写道:
> On 15/2/23 21:21, Richard Henderson wrote:
>> On 2/14/23 22:47, Marcin Nowakowski wrote:
>>> @@ -4860,6 +4860,7 @@ static void gen_compute_branch(DisasContext
>>> *ctx, uint32_t opc,
>>> target_ulong btgt = -1;
>>> int blink = 0;
>>>
On 2023/2/16 02:57, Daniel Henrique Barboza wrote:
At this moment, and apparently since ever, we have no way of enabling
RISCV_FEATURE_MISA. This means that all the code from write_misa(), all
the nuts and bolts that handles how to properly write this CSR, has
always been a no-op as well becaus
On Wed, Feb 15, 2023 at 4:02 PM Richard Henderson
wrote:
>
> On 2/15/23 13:33, Deepak Gupta wrote:
> > On Tue, Feb 14, 2023 at 9:47 PM LIU Zhiwei
> > wrote:
> >> And MSTATUS_UBCFIEN field change don't need flush tlb.
> >>
> >
> > TCG code-gen would be different depending on whether ubcfi is enab
On 2023/2/16 4:47, Deepak Gupta wrote:
On Tue, Feb 14, 2023 at 6:52 PM LIU Zhiwei wrote:
On 2023/2/9 14:23, Deepak Gupta wrote:
Introducing riscv `zisslpcfi` extension to riscv target. `zisslpcfi`
extension provides hardware assistance to riscv hart to enable control
flow integrity (CFI) fo
301 - 400 of 598 matches
Mail list logo