thebeanogamer / rpms / qemu-kvm

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