[PULL 18/55] target/arm: Move v8m_security_lookup to ptw.c

2022-06-09 Thread Peter Maydell
From: Richard Henderson This function has one private helper, v8m_is_sau_exempt, so move that at the same time. Signed-off-by: Richard Henderson Message-id: 20220604040607.269301-12-richard.hender...@linaro.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target/arm/helper.c

Re: [PATCH] disas: Remove libvixl disassembler

2022-06-09 Thread Daniel P . Berrangé
On Thu, Jun 09, 2022 at 10:47:24AM +0200, Thomas Huth wrote: > On 08/06/2022 17.51, Paolo Bonzini wrote: > > On 6/3/22 19:35, Thomas Huth wrote: > > > On 03/06/2022 19.26, Claudio Fontana wrote: > > > > On 6/3/22 18:42, Thomas Huth wrote: > > > > > The disassembly via capstone should be superiour

Re: [PATCH] disas: Remove libvixl disassembler

2022-06-09 Thread Thomas Huth
On 08/06/2022 17.51, Paolo Bonzini wrote: On 6/3/22 19:35, Thomas Huth wrote: On 03/06/2022 19.26, Claudio Fontana wrote: On 6/3/22 18:42, Thomas Huth wrote: The disassembly via capstone should be superiour to our old vixl sources nowadays, so let's finally cut this old disassembler out of

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Gerd Hoffmann
Hi, > I find this too general; a PCI Express device is supposed to work > without IO resources. Graphics cards with legacy VGA compatibility are > the exception AIUI (see again Alex's blog about VGA arbitration), so we > should spell that out. Yes, it's an exception specifically for VGA ports.

Re: [PATCH v6 resend 0/4] add generic vDPA device support

2022-06-09 Thread Stefan Hajnoczi
On Sat, May 14, 2022 at 12:11:03PM +0800, Longpeng(Mike) wrote: > From: Longpeng > > Hi guys, > > With the generic vDPA device, QEMU won't need to touch the device > types any more, such like vfio. > > We can use the generic vDPA device as follow: > -device

[PATCH 1/1] i386/monitor: Fix page table walking issue for LA57 enabled guest

2022-06-09 Thread Yuan Yao
Don't skip next leve page table for pdpe/pde when the PG_PRESENT_MASK is set. This fixs the issue that no mapping information was collected from "info mem" for guest with LA57 enabled. Signed-off-by: Yuan Yao --- target/i386/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 2/3] target/mips: implement Octeon-specific BBIT instructions

2022-06-09 Thread Pavel Dovgalyuk
This patch introduces Octeon-specific decoder and implements check-bit-and-jump instructions. Signed-off-by: Pavel Dovgalyuk -- v2 changes: - Changed insn field description and simplified the jumps (suggested by Richard Henderson) --- target/mips/tcg/meson.build|2 ++

[PATCH v2 1/3] target/mips: introduce Cavium Octeon CPU model

2022-06-09 Thread Pavel Dovgalyuk
This patch adds Cavium Octeon vCPU for providing Octeon-specific instructions. Signed-off-by: Pavel Dovgalyuk -- v2 changes: - vCPU name changed to Octeon68XX (suggested by Richard Henderson) --- target/mips/cpu-defs.c.inc | 28 target/mips/mips-defs.h|1

[PATCH v2 0/3] Cavium Octeon MIPS extensions

2022-06-09 Thread Pavel Dovgalyuk
The following series includes emulation of the platform-specific MIPS extension for Cavium Octeon CPUS: - basic Octeon vCPU model - custom instruction decoder for Octeon - implementation of arithmetic and logic instructions v2 changes: - simplified instruction decoding and translation (suggested

[PATCH v2 3/3] target/mips: implement Octeon-specific arithmetic instructions

2022-06-09 Thread Pavel Dovgalyuk
This patch implements several Octeon-specific instructions: - BADDU - DMUL - EXTS/EXTS32 - CINS/CINS32 - POP/DPOP - SEQ/SEQI - SNE/SNEI Signed-off-by: Pavel Dovgalyuk -- v2 changes: - Using existing tcg instructions for exts, cins, pop (suggested by Richard Henderson) ---

Re: [PATCH v2 1/2] QIOChannelSocket: Reduce ifdefs to improve readability

2022-06-09 Thread Daniel P . Berrangé
On Wed, Jun 08, 2022 at 06:04:02PM -0300, Leonardo Bras wrote: > During implementation of MSG_ZEROCOPY feature, a lot of #ifdefs were > introduced, particularly at qio_channel_socket_writev(). > > Rewrite some of those changes so it's easier to read. >

Re: [RFC PATCH v8 14/21] vhost: Make possible to check for device exclusive vq group

2022-06-09 Thread Eugenio Perez Martin
On Thu, Jun 9, 2022 at 9:13 AM Jason Wang wrote: > > On Thu, Jun 9, 2022 at 3:22 AM Eugenio Perez Martin > wrote: > > > > On Wed, Jun 8, 2022 at 6:25 AM Jason Wang wrote: > > > > > > > > > 在 2022/5/20 03:12, Eugenio Pérez 写道: > > > > CVQ needs to be in its own group, not shared with any data

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Laszlo Ersek
On 06/09/22 09:45, Laszlo Ersek wrote: > +Alex > > On 06/09/22 04:00, Kevin Locke wrote: > *In theory*, scenario (b) applies to "bochs-display" and > "virtio-gpu-pci" when you plug them into a legacy PCI slot: > >> Plugging a PCI Express device into a PCI slot will hide the Extended >>

Re: [RFC][PATCH] docs: note exception for PCIe IO port access

2022-06-09 Thread Laszlo Ersek
+Alex On 06/09/22 04:00, Kevin Locke wrote: > ioport access is required for VESA BIOS Extensions (VBE). Since ioport > access is not forwarded over PCI(e) bridges, graphics adapters must be > attached directly to the Root Complex in order for the BIOS to provide > VBE modes. I'm very grateful

Re: [PATCH] microvm: turn off io reservations for pcie root ports

2022-06-09 Thread Gerd Hoffmann
On Wed, Jun 08, 2022 at 12:06:17PM -0400, Michael S. Tsirkin wrote: > On Fri, Jun 03, 2022 at 10:59:20AM +0200, Gerd Hoffmann wrote: > > The pcie host bridge has no io window on microvm, > > so io reservations will not work. > > > > Signed-off-by: Gerd Hoffmann > > I don't much like overriding

Re: [PATCH v4 08/53] semihosting: Split out guestfd.c

2022-06-09 Thread Alex Bennée
Richard Henderson writes: > In arm-compat-semi.c, we have more advanced treatment of > guest file descriptors than we do in other implementations. > Split out GuestFD and related functions to a new file so > that they can be shared. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard

Re: [RFC PATCH v8 14/21] vhost: Make possible to check for device exclusive vq group

2022-06-09 Thread Jason Wang
On Thu, Jun 9, 2022 at 3:22 AM Eugenio Perez Martin wrote: > > On Wed, Jun 8, 2022 at 6:25 AM Jason Wang wrote: > > > > > > 在 2022/5/20 03:12, Eugenio Pérez 写道: > > > CVQ needs to be in its own group, not shared with any data vq. Enable > > > the checking of it here, before introducing address

Re: [RFC PATCH v8 09/21] vhost: Add svq copy desc mode

2022-06-09 Thread Jason Wang
On Thu, Jun 9, 2022 at 3:03 AM Eugenio Perez Martin wrote: > > On Wed, Jun 8, 2022 at 6:14 AM Jason Wang wrote: > > > > > > 在 2022/5/20 03:12, Eugenio Pérez 写道: > > > Enable SVQ to not to forward the descriptor translating its address to > > > qemu's IOVA but copying to a region outside of the

Re: [PATCH] gitlab: compare CIRRUS_nn vars against 'null' not ""

2022-06-09 Thread Thomas Huth
On 08/06/2022 18.06, Daniel P. Berrangé wrote: The GitLab variable comparisons don't have shell like semantics where an unset variable compares equal to empty string. We need to explicitly test against 'null' to detect an unset variable. Signed-off-by: Daniel P. Berrangé ---

Re: [PATCH v2 2/2] hw: m25p80: add tests for write protect

2022-06-09 Thread Thomas Huth
On 09/06/2022 05.13, Iris Chen wrote: Signed-off-by: Iris Chen --- Include the tests in a separate patch. Using qtest_set_irq_in() as per review. tests/qtest/aspeed_smc-test.c | 60 +++ 1 file changed, 60 insertions(+) diff --git

<    1   2   3   4   5