|
|
ddf19c |
From 99b6ee4b7f63ea49e5b73f61bbf68f67252f27da Mon Sep 17 00:00:00 2001
|
|
|
ddf19c |
From: David Gibson <dgibson@redhat.com>
|
|
|
ddf19c |
Date: Tue, 21 Jan 2020 05:16:12 +0000
|
|
|
ddf19c |
Subject: [PATCH 02/15] xics: Don't deassert outputs
|
|
|
ddf19c |
MIME-Version: 1.0
|
|
|
ddf19c |
Content-Type: text/plain; charset=UTF-8
|
|
|
ddf19c |
Content-Transfer-Encoding: 8bit
|
|
|
ddf19c |
|
|
|
ddf19c |
RH-Author: David Gibson <dgibson@redhat.com>
|
|
|
ddf19c |
Message-id: <20200121051613.388295-3-dgibson@redhat.com>
|
|
|
ddf19c |
Patchwork-id: 93430
|
|
|
ddf19c |
O-Subject: [RHEL-AV-8.2 qemu-kvm PATCH 2/3] xics: Don't deassert outputs
|
|
|
ddf19c |
Bugzilla: 1776638
|
|
|
ddf19c |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
ddf19c |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
ddf19c |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
ddf19c |
|
|
|
ddf19c |
From: Greg Kurz <groug@kaod.org>
|
|
|
ddf19c |
|
|
|
ddf19c |
The correct way to do this is to deassert the input pins on the CPU side.
|
|
|
ddf19c |
This is the case since a previous change.
|
|
|
ddf19c |
|
|
|
ddf19c |
Signed-off-by: Greg Kurz <groug@kaod.org>
|
|
|
ddf19c |
Message-Id: <157548862298.3650476.1228720391270249433.stgit@bahia.lan>
|
|
|
ddf19c |
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
|
|
ddf19c |
(cherry picked from commit 4febcdd88f08422a66a1aa0dc55e1472abed3c4b)
|
|
|
ddf19c |
|
|
|
ddf19c |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1776638
|
|
|
ddf19c |
|
|
|
ddf19c |
Signed-off-by: David Gibson <dgibson@redhat.com>
|
|
|
ddf19c |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
ddf19c |
---
|
|
|
ddf19c |
hw/intc/xics.c | 3 ---
|
|
|
ddf19c |
1 file changed, 3 deletions(-)
|
|
|
ddf19c |
|
|
|
ddf19c |
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
|
|
|
ddf19c |
index e7ac9ba..72c5dca 100644
|
|
|
ddf19c |
--- a/hw/intc/xics.c
|
|
|
ddf19c |
+++ b/hw/intc/xics.c
|
|
|
ddf19c |
@@ -289,9 +289,6 @@ void icp_reset(ICPState *icp)
|
|
|
ddf19c |
icp->pending_priority = 0xff;
|
|
|
ddf19c |
icp->mfrr = 0xff;
|
|
|
ddf19c |
|
|
|
ddf19c |
- /* Make all outputs are deasserted */
|
|
|
ddf19c |
- qemu_set_irq(icp->output, 0);
|
|
|
ddf19c |
-
|
|
|
ddf19c |
if (kvm_irqchip_in_kernel()) {
|
|
|
ddf19c |
Error *local_err = NULL;
|
|
|
ddf19c |
|
|
|
ddf19c |
--
|
|
|
ddf19c |
1.8.3.1
|
|
|
ddf19c |
|