Re: [OS-BUILD PATCH] redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64

2021-05-26 Thread Eric Auger (via Email Bridge)
From: Eric Auger on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1158#note_585769516

actually I don't see the PVPANIC config being used in the makefile. Maybe it
was kept just to avoid removing it?

obj-$(CONFIG_PVPANIC_MMIO)  += pvpanic.o pvpanic-mmio.o
obj-$(CONFIG_PVPANIC_PCI)   += pvpanic.o pvpanic-pci.o
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: [OS-BUILD PATCH] redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64

2021-05-26 Thread Eric Auger (via Email Bridge)
From: Eric Auger on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1158#note_585765138

As far as I understand, 6861d27cf590 ("misc/pvpanic: split-up generic and
platform dependent code") split the legacy tristate PVPANIC_CONFIG into 2
configs:
the bool PVPANIC and the tristate PVPANIC_MMIO. To get the same functionality
as before you need to set both. Then pvpanic-pci was added by db3a4f0abefd
("misc/pvpanic: add PCI driver") which brought the new PVPANIC_PCI config. To
use the ISA device I understand you need to set the MMIO config.

By the way I now guess I should set "m" instead of "y" for the MMIO and PCI.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: [OS-BUILD PATCH] redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64

2021-05-26 Thread Paolo Bonzini (via Email Bridge)
From: Paolo Bonzini on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1158#note_585753345

Where is CONFIG_PVPANIC_MMIO (not CONFIG_PVPANIC) used on x86?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[OS-BUILD PATCH] redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64

2021-05-26 Thread Eric Auger (via Email Bridge)
From: Eric Auger 

redhat/configs: Set PVPANIC_MMIO for x86 and PVPANIC_PCI for aarch64

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1961178
Upstream Status: RHEL only
Tested: on x86 with libvirt, on ARM with qemu as pvpanic-pci is not
yet integrated in libvirt

With the introduction of pvpanic-pci new configs were introduced
for the MMIO and PCI flavour. On x86, currently none is set so
the ISA device is not available (this is a regression). The MMIO
flavour must be used on x86_64.

On ARM, the PCI one must be set.

Signed-off-by: Eric Auger 

diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC
@@ -0,0 +1 @@
+CONFIG_PVPANIC=y
diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC_MMIO 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC_MMIO
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC_MMIO
@@ -0,0 +1 @@
+# CONFIG_PVPANIC_MMIO is not set
diff --git a/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC_PCI 
b/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC_PCI
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/arm/aarch64/CONFIG_PVPANIC_PCI
@@ -0,0 +1 @@
+CONFIG_PVPANIC_PCI=y
diff --git a/redhat/configs/ark/generic/x86/x86_64/CONFIG_PVPANIC_MMIO 
b/redhat/configs/ark/generic/x86/x86_64/CONFIG_PVPANIC_MMIO
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/x86/x86_64/CONFIG_PVPANIC_MMIO
@@ -0,0 +1 @@
+CONFIG_PVPANIC_MMIO=y
diff --git a/redhat/configs/ark/generic/x86/x86_64/CONFIG_PVPANIC_PCI 
b/redhat/configs/ark/generic/x86/x86_64/CONFIG_PVPANIC_PCI
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/x86/x86_64/CONFIG_PVPANIC_PCI
@@ -0,0 +1 @@
+# CONFIG_PVPANIC_PCI is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1158
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure