At least on macOS 12.7.2, vmnet doesn't pad Ethernet frames, such as the
host's ARP replies, to the minimum size (60 bytes before the frame check
sequence) defined in IEEE Std 802.3-2022, so guests' Ethernet device
drivers may drop them with "frame too short" errors.
This patch calls eth_pad_short
On 2024/08/09 0:25, Peter Xu wrote:
On Thu, Aug 08, 2024 at 10:47:28AM -0400, Michael S. Tsirkin wrote:
On Thu, Aug 08, 2024 at 10:15:36AM -0400, Peter Xu wrote:
On Thu, Aug 08, 2024 at 07:12:14AM -0400, Michael S. Tsirkin wrote:
This is too big of a hammer. People already use what you call "c
On 2024/08/09 21:50, Fabiano Rosas wrote:
Peter Xu writes:
On Thu, Aug 08, 2024 at 10:47:28AM -0400, Michael S. Tsirkin wrote:
On Thu, Aug 08, 2024 at 10:15:36AM -0400, Peter Xu wrote:
On Thu, Aug 08, 2024 at 07:12:14AM -0400, Michael S. Tsirkin wrote:
This is too big of a hammer. People al
I changed translate.c:4597 from return true; to return
advance_pc(dc); and it worked.
On 8/16/24 17:16, Richard Henderson
wrote:
On
8/17/24 09:48, Carl Hauser wrote:
netbsd panics in the kernel trap handler;
unfortunately it does not in
I changed target.c:4597 from return true; to return
advance_pc(dc); and it worked.
On 8/16/24 17:16, Richard Henderson
wrote:
On
8/17/24 09:48, Carl Hauser wrote:
netbsd panics in the kernel trap handler;
unfortunately it does not
On 8/16/24 23:17, Alex Bennée wrote:
The following changes since commit ecdfa31beb1f7616091bedba79dfdf9ee525ed9d:
Merge tag 'pull-request-2024-08-16' ofhttps://gitlab.com/thuth/qemu into
staging (2024-08-16 18:18:27 +1000)
are available in the Git repository at:
https://gitlab.com/stsqu
Hello,
I'd like to ping this patch in that the QEMU-PCILeech plugin is now merged
into the PCILeech repository:
https://github.com/ufrisk/LeechCore-plugins/pull/10
The Patchew link is:
https://patchew.org/QEMU/caaxnugbyhpx249duwgyxotgjkxwatrhjsq94lrvfmgp._5fgjx...@mail.gmail.com/
Kind Regards,
Ze
On Thu, Aug 01, 2024 at 12:43:24PM GMT, Daniel Henrique Barboza wrote:
> From: Tomasz Jeznach
>
> The RISC-V IOMMU specification is now ratified as-per the RISC-V
> international process. The latest frozen specifcation can be found at:
>
> https://github.com/riscv-non-isa/riscv-iommu/releases/do
From: Sebastian Ene
Add support for NXP's flexcomm spi. It supports FIFO access,
interrupts and master mode only. It does not support DMA.
The patch includes an automatically generated header which contains
the register layout and helpers.
The header can be regenerated with the svd-flexcomm-spi
Add master mode tests for flexcomm i2c.
Signed-off-by: Octavian Purdila
---
tests/unit/test-flexcomm-i2c.c | 210 +
tests/unit/meson.build | 10 ++
2 files changed, 220 insertions(+)
create mode 100644 tests/unit/test-flexcomm-i2c.c
diff --git a/tests/u
Add mcux-soc-svd subproject that contains SVD files that are going to
be used to generate C header with register layout definitions and
other helpers to create device models.
Guard the subproject by a configuration option since it is rarely
going to be used - whenever new headers will be generated
From: Sebastian Ene
Add master and loopback tests for flexcomm spi.
Signed-off-by: Sebastian Ene
[tavip: add master mode test]
Signed-off-by: Octavian Purdila
---
tests/unit/test-flexcomm-spi.c | 201 +
tests/unit/meson.build | 12 ++
2 files changed,
Add polling and irq unit tests for the flexcomm usart device model.
Signed-off-by: Octavian Purdila
---
tests/unit/test-flexcomm-usart.c | 320 +++
tests/unit/meson.build | 7 +
2 files changed, 327 insertions(+)
create mode 100644 tests/unit/test-flexcom
This is mostly a stub which completes SPI transactions as noops
by masking out the error interrupts and never clearing the IPCMDDONE
interrupt.
Although incomplete, this allows software that uses NXP's mcuxpresso
SDK to run the SDK board initialization functions.
It also supports AHB memory acces
Add test to exercise clocks set and clear, system PLL initialization,
audio PLL initialization, systick and ostimer clock source selection.
Signed-off-by: Octavian Purdila
---
tests/unit/test-rt500-clkctl.c | 263 +
tests/unit/meson.build | 7 +
2 files
The RT500 reset controller has two instances that have the same
register layout but with different fields for some registers.
The model only provides set and clear functionality for the various
reset lines which is common for both instances. Because of that only
one type is implemented for both co
Add basic support for the RT500 SoC. It supports enough peripherals to
run the NXP's microXpresso SDK hello world example.
The patch includes an automatically generated header which contains
peripheral base addreses and interrupt numbers.
The header can be regenerated with the svd-rt500 target wh
Add support for NXP's flexcomm usart. It supports interupts and FIFO
access but no DMA.
The patch includes an automatically generated header which contains
the register layout and helpers.
The header can be regenerated with the svd-flexcomm-usart target when
the build is configured with --enable-
Add utility macros for accessing register or register bit fields in
unit tests, e.g.:
REG32_WRITE(f->dev, FLEXCOMM, PSELID, persel);
g_assert(REG32_READ_FIELD(f->dev, FLEXCOMM, PSELID, PERSEL) == persel);
Also add support for accessing 32bit registers with memory transaction
state, e.g.:
/
Add flexcomm function selection unit tests.
Signed-off-by: Octavian Purdila
---
tests/unit/test-flexcomm.c | 212 +
tests/unit/meson.build | 8 +-
2 files changed, 219 insertions(+), 1 deletion(-)
create mode 100644 tests/unit/test-flexcomm.c
diff --gi
Add basic support for the RT595-EVK board, enough to be able to run
the NXP's microXpresso SDK hello world example.
Signed-off-by: Octavian Purdila
---
hw/arm/rt595-evk.c | 64 ++
hw/arm/Kconfig | 5
hw/arm/meson.build | 1 +
3 files changed
Add support for NXP's FLEXCOMM device model. It uses the NXP RT595 SVD
file to generate the register structure.
FLEXCOMM is a generic serial communication module which support
multiple functions: UART, SPI and I2C. These are configurable at runtime.
This patch adds the infrastructure to support a
Add a simple i2c peripheral to be used for testing I2C device
models. The peripheral has a fixed number of registers that can be
read and written.
Signed-off-by: Octavian Purdila
---
tests/unit/i2c_tester.h | 30 +++
tests/unit/i2c_tester.c | 108
From: Stefan Stanacar
The CMSIS System View Description format(CMSIS-SVD) is an XML based
description of Arm Cortex-M microcontrollers provided and maintained
by sillicon vendors. It includes details such as peripherals registers
(down to bitfields), peripheral register block addresses, reset
val
Add a simple SPI peripheral that echoes back received data. Useful for
testing SPI controllers.
Signed-off-by: Octavian Purdila
---
tests/unit/spi_tester.h | 32 +++
tests/unit/spi_tester.c | 57 +
2 files changed, 89 insertions(+)
cre
Add support for NXP's flexcomm i2c. It does not support slave mode or
DMA.
The patch includes an automatically generated header which contains
the register layout and helpers.
The header can be regenerated with the svd-flexcomm-i2c target when
the build is configured with --enable-mcux-soc-svd.
Add a simple FIFO unit test that test wrap around and push, pop and
peek for both fifo8 and fifo32.
Signed-off-by: Octavian Purdila
---
tests/unit/test-fifo.c | 97 ++
tests/unit/meson.build | 1 +
2 files changed, 98 insertions(+)
create mode 100644 tes
Add register access utility functions for device models, like checking
aligned access.
Signed-off-by: Octavian Purdila
---
include/hw/regs.h | 34 ++
1 file changed, 34 insertions(+)
create mode 100644 include/hw/regs.h
diff --git a/include/hw/regs.h b/include/h
Add fifo32_peek() that returns the first element from the queue
without popping it.
Signed-off-by: Octavian Purdila
---
include/qemu/fifo32.h | 28
1 file changed, 28 insertions(+)
diff --git a/include/qemu/fifo32.h b/include/qemu/fifo32.h
index 4e9fd1b5ef..77aab488
From: Valentin Ghita
Add a system bus mock and the necessary memory access functions to be
able to create unit tests for device models.
Signed-off-by: Valentin Ghita
[tavip: coding style fixes, add mocks for address_space_rw,
address_space_write, address_space_read_full]
Signed-off-by: Octavian
This patch set adds support for NXP's RT500 MCU [1] and the RT595
EVK[2]. More RT500 device models will be submitted in future patch sets.
The goal of this first patch set is to provide a minimal set that
allows running the NXP MCU SDK hello world example[4].
The patch set introduces a (python) t
tState *nc)
{
+if (!nc) {
+return 0;
+}
+
return nc->vnet_hdr_len;
}
---
base-commit: 31669121a01a14732f57c49400bc239cf9fd505f
change-id: 20240817-net-dc461895a295
Best regards,
--
Akihiko Odaki
32 matches
Mail list logo