La 22.11.2022 15:40, Peter Maydell a scris:
On Mon, 21 Nov 2022 at 11:43, Peter Maydell wrote:
On Mon, 21 Nov 2022 at 11:24, Mihai Carabas wrote:
La 21.11.2022 13:02, Peter Maydell a scris:
On Sun, 20 Nov 2022 at 17:53, Mihai Carabas wrote:
La 18.11.2022 21:11, Peter Maydell a scris
La 21.11.2022 13:02, Peter Maydell a scris:
On Sun, 20 Nov 2022 at 17:53, Mihai Carabas wrote:
La 18.11.2022 21:11, Peter Maydell a scris:
On Fri, 18 Nov 2022 at 17:37, Mihai Carabas wrote:
Use the base_memmap to build the SMBIOS 19 table which provides the address
mapping for a Physical
La 18.11.2022 21:11, Peter Maydell a scris:
On Fri, 18 Nov 2022 at 17:37, Mihai Carabas wrote:
Use the base_memmap to build the SMBIOS 19 table which provides the address
mapping for a Physical Memory Array (from spec [1] chapter 7.20).
This was present on i386 from commit
[1]
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.5.0.pdf
Signed-off-by: Mihai Carabas
---
hw/arm/virt.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index cda9defe8f09..855b6982f363 100644
--- a/hw/arm/virt.c
++
La 29.01.2021 17:57, Peter Maydell a scris:
On Fri, 29 Jan 2021 at 11:00, Peter Maydell wrote:
From: Mihai Carabas
Add a test case for pvpanic-pci device. The scenario is the same as pvpanic
ISA device, but is using the PCI bus.
Signed-off-by: Mihai Carabas
Acked-by: Thomas Huth
Reviewed
La 27.01.2021 19:47, Peter Maydell a scris:
On Wed, 27 Jan 2021 at 15:46, Mihai Carabas wrote:
This patchset adds support for pvpanic pci device.
v3:
- patch 1: made pvpanic isa device available only for PC, compile pvpanic-test
only when isa device is present
- patch 2: fixed device id
Add PCI interface support for PVPANIC device. Create a new file pvpanic-pci.c
where the PCI specific routines reside and update the build system with the new
files and config structure.
Signed-off-by: Mihai Carabas
Reviewed-by: Gerd Hoffmann
Reviewed-by: Peter Maydell
Signed-off-by: Mihai
ion io -> mr.
- pvpanic_ioport_* in pvpanic_*.
Update the build system with the new files and config structure.
Signed-off-by: Mihai Carabas
Reviewed-by: Peter Maydell
---
hw/i386/Kconfig | 2 +-
hw/misc/Kconfig | 6 ++-
hw/misc/meson.build | 3 +-
hw/misc/pvpa
Add pvpanic PCI device support details in docs/specs/pvpanic.txt.
Signed-off-by: Mihai Carabas
Reviewed-by: Peter Maydell
---
docs/specs/pvpanic.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
index a90fbca
Add a test case for pvpanic-pci device. The scenario is the same as pvpanic
ISA device, but is using the PCI bus.
Signed-off-by: Mihai Carabas
Acked-by: Thomas Huth
Reviewed-by: Peter Maydell
Signed-off-by: Mihai Carabas
---
tests/qtest/meson.build| 1 +
tests/qtest/pvpanic-pci
needed for MS WHQL tests
v6:
- removed subsystem_vendor_id and subsystem_id as they are filed out by default
if empty
- do not compile pvpanic-pci-test for ppc64 as we our tests do not support that
platform
Mihai Carabas (4):
hw/misc/pvpanic: split-out generic and bus dependent code
hw/misc
La 20.01.2021 15:43, Gerd Hoffmann a scris:
Hi,
+pc->realize = pvpanic_pci_realizefn;
+pc->vendor_id = PCI_VENDOR_ID_REDHAT;
+pc->device_id = PCI_DEVICE_ID_REDHAT_PVPANIC;
Please fill out subsystem and subsystem vendor IDs as well:
pc->subsystem_vendor_id
pc->subsystem_id
Not
ion io -> mr.
- pvpanic_ioport_* in pvpanic_*.
Update the build system with the new files and config structure.
Signed-off-by: Mihai Carabas
Reviewed-by: Peter Maydell
---
hw/i386/Kconfig | 2 +-
hw/misc/Kconfig | 6 ++-
hw/misc/meson.build | 3 +-
hw/misc/pvpa
needed for MS WHQL tests
Mihai Carabas (4):
hw/misc/pvpanic: split-out generic and bus dependent code
hw/misc/pvpanic: add PCI interface support
pvpanic : update pvpanic spec document
tests/qtest: add a test case for pvpanic-pci
docs/specs/pci-ids.txt | 1 +
docs/specs/pvpanic.txt
Add PCI interface support for PVPANIC device. Create a new file pvpanic-pci.c
where the PCI specific routines reside and update the build system with the new
files and config structure.
Signed-off-by: Mihai Carabas
Reviewed-by: Gerd Hoffmann
Reviewed-by: Peter Maydell
---
docs/specs/pci
Add pvpanic PCI device support details in docs/specs/pvpanic.txt.
Signed-off-by: Mihai Carabas
Reviewed-by: Peter Maydell
---
docs/specs/pvpanic.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
index a90fbca
Add a test case for pvpanic-pci device. The scenario is the same as pvpanic
ISA device, but is using the PCI bus.
Signed-off-by: Mihai Carabas
Acked-by: Thomas Huth
Reviewed-by: Peter Maydell
---
tests/qtest/meson.build| 1 +
tests/qtest/pvpanic-pci-test.c | 94
+device_class_set_props(dc, pvpanic_pci_properties);
+
+pc->realize = pvpanic_pci_realizefn;
+pc->vendor_id = PCI_VENDOR_ID_REDHAT;
+pc->device_id = PCI_DEVICE_ID_REDHAT_PVPANIC;
Please fill out subsystem and subsystem vendor IDs as well:
pc->subsystem_vendor_id
ion io -> mr.
- pvpanic_ioport_* in pvpanic_*.
Update the build system with the new files and config structure.
Signed-off-by: Mihai Carabas
Reviewed-by: Peter Maydell
---
hw/i386/Kconfig | 2 +-
hw/misc/Kconfig | 6 ++-
hw/misc/meson.build | 3 +-
hw/misc/pvpa
Add a test case for pvpanic-pci device. The scenario is the same as pvpanic
ISA device, but is using the PCI bus.
Signed-off-by: Mihai Carabas
Acked-by: Thomas Huth
Reviewed-by: Peter Maydell
---
tests/qtest/meson.build| 1 +
tests/qtest/pvpanic-pci-test.c | 94
INTERFACE_PCIE_DEVICE
- patch 3: fixed documentation
- patch 4: add a qtest for pvpanic-pci
v4:
- added Rb/Ack on patches
- modify test case to include -action parameter that was recently added and also
to be on par with the pvpanic ISA device testing
Mihai Carabas (4):
hw/misc/pvpanic: split-out
Add pvpanic PCI device support details in docs/specs/pvpanic.txt.
Signed-off-by: Mihai Carabas
Reviewed-by: Peter Maydell
---
docs/specs/pvpanic.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
index a90fbca
Add PCI interface support for PVPANIC device. Create a new file pvpanic-pci.c
where the PCI specific routines reside and update the build system with the new
files and config structure.
Signed-off-by: Mihai Carabas
Reviewed-by: Gerd Hoffmann
Reviewed-by: Peter Maydell
---
docs/specs/pci
La 18.01.2021 12:32, Philippe Mathieu-Daudé a scris:
On 1/15/21 7:34 PM, Mihai Carabas wrote:
Add pvpanic PCI device support details in docs/specs/pvpanic.txt.
Signed-off-by: Mihai Carabas
---
docs/specs/pvpanic.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff
Add pvpanic PCI device support details in docs/specs/pvpanic.txt.
Signed-off-by: Mihai Carabas
---
docs/specs/pvpanic.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
index a90fbca..974aafd 100644
--- a/docs
ion io -> mr.
- pvpanic_ioport_* in pvpanic_*.
Update the build system with the new files and config structure.
Signed-off-by: Mihai Carabas
---
hw/i386/Kconfig | 2 +-
hw/misc/Kconfig | 6 ++-
hw/misc/meson.build | 3 +-
hw/misc/pvpanic-isa.c
Add PCI interface support for PVPANIC device. Create a new file pvpanic-pci.c
where the PCI specific routines reside and update the build system with the new
files and config structure.
Signed-off-by: Mihai Carabas
---
docs/specs/pci-ids.txt| 1 +
hw/misc/Kconfig | 6 +++
hw
Add a test case for pvpanic-pci device. The scenario is the same as pvpapnic
ISA device, but is using the PCI bus.
Signed-off-by: Mihai Carabas
---
tests/qtest/meson.build| 1 +
tests/qtest/pvpanic-pci-test.c | 62 ++
2 files changed, 63
, removed INTERFACE_PCIE_DEVICE
- patch 3: fixed documentation
- patch 4: add a qtest for pvpanic-pci
Mihai Carabas (4):
hw/misc/pvpanic: split-out generic and bus dependent code
hw/misc/pvpanic: add PCI interface support
pvpanic : update pvpanic spec document
tests/qtest: add a test case
> On 22 Dec 2020, at 17:30, Gerd Hoffmann wrote:
>
>
>>
>> diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
>> index 259f9c9..e9512ab 100644
>> --- a/include/hw/pci/pci.h
>> +++ b/include/hw/pci/pci.h
>> @@ -108,6 +108,7 @@ extern bool pci_available;
>> #define
ion io -> mr.
- pvpanic_ioport_* in pvpanic_*.
Update the build system with the new files and config structure.
Signed-off-by: Mihai Carabas
---
hw/i386/Kconfig | 1 -
hw/misc/Kconfig | 7 +++-
hw/misc/meson.build | 3 +-
hw/misc/pvpanic-isa.c
-system-aarch64 \
-machine virt,gic-version=3 -device pvpanic-pci
After that you need to run a Linux kernel as guest, but you have to also apply
the patches I have sent for adding pci support for the pvpanic driver [1].
[1] https://lkml.org/lkml/2020/10/29/645
Mihai Carabas (3):
hw/misc
Add PCI interface support for PVPANIC device. Create a new file pvpanic-pci.c
where the PCI specific routines reside and update the build system with the new
files and config structure.
Signed-off-by: Mihai Carabas
---
docs/specs/pci-ids.txt| 2 ++
hw/misc/Kconfig | 6
hw
Add pvpanic PCI device support details in docs/specs/pvpanic.txt.
Signed-off-by: Mihai Carabas
---
docs/specs/pvpanic.txt | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
index a90fbca..5ddc8df 100644
--- a/docs
La 14.12.2020 13:03, Peter Maydell a scris:
On Wed, 28 Oct 2020 at 14:17, Mihai Carabas wrote:
This patchset adds support for pvpanic pci device. The patchset was assembled
from chuncks from some old patches [1] from 2018 which were left unmerged and
some additions from me.
How to test
La 29.10.2020 14:30, Mihai Carabas a scris:
La 28.10.2020 15:32, Mihai Carabas a scris:
This patchset adds support for pvpanic pci device. The patchset was
assembled
from chuncks from some old patches [1] from 2018 which were left
unmerged and
some additions from me.
How to test this:
/usr
La 28.10.2020 15:32, Mihai Carabas a scris:
This patchset adds support for pvpanic pci device. The patchset was assembled
from chuncks from some old patches [1] from 2018 which were left unmerged and
some additions from me.
How to test this:
/usr/bin/qemu-system-aarch64 \
-machine virt
From: Peng Hao
Add mmio mode as a pci device support info in docs/specs/pvpanic.txt.
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
docs/specs/pvpanic.txt | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs
From: Peng Hao
Add pvpanic device in arm virt machine config file.
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
default-configs/devices/arm-softmmu.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/default-configs/devices/arm-softmmu.mak
b/default-configs/devices/arm
athieu-Daudé
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/misc/pvpanic.c | 28
include/hw/misc/pvpanic.h | 2 +-
2 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c
index 598d547..2e085f4 100
From: Peng Hao
Add pvpanic new type "TYPE_PVPANIC_PCI".
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/misc/pvpanic.c | 64 ---
include/hw/misc/pvpanic.h | 1 +
include/hw/pci/pci.h | 1 +
3 files changed, 62
From: Philippe Mathieu-Daudé
The 'pvpanic' ISA device can be use by any machine with an ISA bus.
Reviewed-by: Peter Maydell
Signed-off-by: Philippe Mathieu-Daudé
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/misc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion
that you need to run a Linux kernel as guest, but you have to also apply
the patches I will send for adding pci support for the pvpanic driver.
[1]
http://patchwork.ozlabs.org/project/qemu-devel/cover/1544095560-70807-1-git-send-email-peng.h...@zte.com.cn/
Mihai Carabas (1):
pvpanic: break
pvpanic is supported on ARM VIRT MACHINE as an PCI device, no need for an ISA
bus.
Signed-off-by: Mihai Carabas
---
hw/misc/Kconfig | 2 +-
hw/misc/pvpanic.c | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig
index 3185456..b650982 100644
On 10/22/2020 1:17 PM, Peter Maydell wrote:
On Thu, 22 Oct 2020 at 09:25, Mihai Carabas wrote:
The patchset was assembled from chuncks from some old patches from 2018 [1]
which were left unmerged and some additions from me. Surprisingly their Linux
kernel counterpart were merged (so
From: Peng Hao
Add mmio support info in docs/specs/pvpanic.txt.
Reviewed-by: Andrew Jones
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
docs/specs/pvpanic.txt | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/docs/specs/pvpanic.txt b/docs/specs
From: Peng Hao
Add pvpanic device in virt acpi table, so when kernel command line
uses acpi=force, kernel can get info from acpi table.
Reviewed-by: Andrew Jones
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/arm/virt-acpi-build.c | 17 +
1 file changed, 17
From: Peng Hao
Add pvpanic device in arm virt machine.
Signed-off-by: Peng Hao
Reviewed-by: Andrew Jones
Signed-off-by: Mihai Carabas
---
hw/arm/virt.c | 25 +
include/hw/arm/virt.h | 2 ++
2 files changed, 27 insertions(+)
diff --git a/hw/arm/virt.c b/hw
From: Peng Hao
Add the option to turn on/off the pvpanic-mmio device in virt machine.
Signed-off-by: Peng Hao
Reviewed-by: Andrew Jones
Signed-off-by: Mihai Carabas
---
hw/arm/virt.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
From: Peng Hao
Add new pvpanic type: "TYPE_PVPANIC_MMIO".
Reviewed-by: Peter Maydell
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/misc/pvpanic.c | 51 +++
include/hw/misc/pvpanic.h | 3 ++-
2 files changed, 49
pvpanic is supported on ARM VIRT MACHINE as an MMIO device, no need for an ISA
bus.
Signed-off-by: Mihai Carabas
---
hw/arm/Kconfig| 1 +
hw/misc/Kconfig | 2 +-
hw/misc/pvpanic.c | 4
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index
...@zte.com.cn/
Mihai Carabas (1):
pvpanic: break dependency on ISA_BUS
Peng Hao (5):
hw/misc/pvpanic: Add the MMIO interface
hw/arm/virt: Use the pvpanic device
hw/arm/virt: add pvpanic device in virt acpi table
hw/arm/virt: add configure interface for pvpanic-mmio
pvpanic : update pvpanic
From: Philippe Mathieu-Daudé
The 'pvpanic' ISA device can be use by any machine with an ISA bus.
Reviewed-by: Peter Maydell
Signed-off-by: Philippe Mathieu-Daudé
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/misc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion
athieu-Daudé
Signed-off-by: Peng Hao
Signed-off-by: Mihai Carabas
---
hw/misc/pvpanic.c | 28
include/hw/misc/pvpanic.h | 2 +-
2 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c
index 598d547..2e085f4 100
Hello,
Does anyone know if there is any progress with pvpanic patches that
brings in mmio support [1]? I see no activity since late 2018, but I do
see support added to the kernel (also asking myself how this was tested):
46f934c misc/pvpanic: add support to get pvpanic device info FDT
55 matches
Mail list logo