thebeanogamer / rpms / qemu-kvm

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