Re: [PATCH] hw/misc: cast rpm to uint64_t

2024-12-26 Thread Patrick Leis
; to cast rpm to uint64_t. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Tigran Sogomonian > Reviewed-by: Patrick Leis > --- > hw/misc/npcm7xx_mft.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git

[PATCH v2] hw/pci-bridge: Create PLX Virtual Switch Device

2024-12-18 Thread Patrick Leis
them. It is used the same way the xio3130 switch is used + the PCI Signature information Signed-off-by: Nabih Estefan Signed-off-by: Patrick Leis --- v2: fix reset function assignment --- hw/pci-bridge/Kconfig | 5 + hw/pci-bridge/meson.build | 1 + hw/pci-bridge

[PATCH] hw/pci-bridge: Create PLX Virtual Switch Device

2024-12-18 Thread Patrick Leis
them. It is used the same way the xio3130 switch is used + the PCI Signature information Signed-off-by: Nabih Estefan Signed-off-by: Patrick Leis --- hw/pci-bridge/Kconfig | 5 + hw/pci-bridge/meson.build | 1 + hw/pci-bridge/plx_vswitch_downstream.c | 187

[PATCH] linux-user: Add missing mmap include

2024-10-28 Thread Patrick Leis
From: Peter Foley error: use of undeclared identifier 'MAP_FIXED_NOREPLACE' Signed-off-by: Patrick Leis Signed-off-by: Peter Foley --- linux-user/user-mmap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/user-mmap.h b/linux-user/user-mmap.h index b94bcdcf83..

[PATCH] hw/arm: enable at24c with aspeed

2024-10-28 Thread Patrick Leis
Enable AT24C with ASPEED in the KConfig because the boards build this device. Signed-off-by: Patrick Leis --- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index e7fd9338d1..1b25e73578 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig

Re: [PATCH v3] timer: Fix a race condition between timer's callback and destroying code

2024-08-14 Thread Patrick Leis
On Thu, Jun 27, 2024 at 10:55 AM Roman Kiryanov wrote: > Paolo, thank you for your comments. > > On Thu, Jun 27, 2024 at 10:16 AM Paolo Bonzini > wrote: > > I think the easiest options would be: > > > > 1) if possible, allocate the timer and the callbackState statically in > > the device. > > I

Re: standardizing i2c device ids

2024-06-27 Thread Patrick Leis
On Sat, Jun 22, 2024 at 1:43 AM Markus Armbruster wrote: > Patrick Leis writes: > > > Corey and Peter, > > > > My team builds lots of configurations for Qemu boards, and one pain point > > has been that the qom path for a device depends on the device insertion >

[PATCH] MAINTAINERS: Update my family name

2024-06-26 Thread Patrick Leis
Signed-off-by: Patrick Leis --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 19f67dc5d2..13255d4a3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2496,7 +2496,7 @@ F: hw/net/tulip.c F: hw/net/tulip.h pca954x -M: Patrick

Re: standardizing i2c device ids

2024-06-21 Thread Patrick Leis
On Thu, Jun 20, 2024 at 11:26 PM Philippe Mathieu-Daudé wrote: > Hi Patrick, > > On 21/6/24 00:03, Patrick Leis wrote: > > Corey and Peter, > > > > My team builds lots of configurations for Qemu boards, and one pain > > point has been that the qom path f

standardizing i2c device ids

2024-06-20 Thread Patrick Leis
Corey and Peter, My team builds lots of configurations for Qemu boards, and one pain point has been that the qom path for a device depends on the device insertion order, child[0], child[1] and the like. I noticed that the qdev paths for devices also exist by their device id property. By default,