yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-spapr-Remove-stale-comment-about-power-saving-LPCR-b.patch

6e7d01
From b46fdf56b1a7938468565838bdadf260870e4f9b Mon Sep 17 00:00:00 2001
6e7d01
From: Laurent Vivier <lvivier@redhat.com>
6e7d01
Date: Wed, 9 Jun 2021 10:05:00 -0400
6e7d01
Subject: [PATCH 3/4] spapr: Remove stale comment about power-saving LPCR bits
6e7d01
MIME-Version: 1.0
6e7d01
Content-Type: text/plain; charset=UTF-8
6e7d01
Content-Transfer-Encoding: 8bit
6e7d01
6e7d01
RH-Author: Laurent Vivier <lvivier@redhat.com>
6e7d01
Message-id: <20210609100501.427096-2-lvivier@redhat.com>
6e7d01
Patchwork-id: 101682
6e7d01
O-Subject: [RHEL-8.5.0 qemu-kvm PATCH 1/2] spapr: Remove stale comment about power-saving LPCR bits
6e7d01
Bugzilla: 1969768
6e7d01
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
6e7d01
RH-Acked-by: David Gibson <dgibson@redhat.com>
6e7d01
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
6e7d01
6e7d01
From: Nicholas Piggin <npiggin@gmail.com>
6e7d01
6e7d01
Commit 47a9b551547 ("spapr: Clean up handling of LPCR power-saving exit
6e7d01
bits") moved this logic but did not remove the comment from the
6e7d01
previous location.
6e7d01
6e7d01
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
6e7d01
Message-Id: <20210526091626.3388262-2-npiggin@gmail.com>
6e7d01
Reviewed-by: Cédric Le Goater <clg@kaod.org>
6e7d01
Reviewed-by: Greg Kurz <groug@kaod.org>
6e7d01
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
6e7d01
(cherry picked from commit 7be3bf6c8429969f97728bb712d9a99997835607)
6e7d01
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
6e7d01
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
6e7d01
---
6e7d01
 hw/ppc/spapr_rtas.c | 1 -
6e7d01
 1 file changed, 1 deletion(-)
6e7d01
6e7d01
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
6e7d01
index 8d8d8cdfcb..295eac986e 100644
6e7d01
--- a/hw/ppc/spapr_rtas.c
6e7d01
+++ b/hw/ppc/spapr_rtas.c
6e7d01
@@ -163,7 +163,6 @@ static void rtas_start_cpu(PowerPCCPU *callcpu, SpaprMachineState *spapr,
6e7d01
 
6e7d01
     env->msr = (1ULL << MSR_SF) | (1ULL << MSR_ME);
6e7d01
 
6e7d01
-    /* Enable Power-saving mode Exit Cause exceptions for the new CPU */
6e7d01
     lpcr = env->spr[SPR_LPCR];
6e7d01
     if (!pcc->interrupts_big_endian(callcpu)) {
6e7d01
         lpcr |= LPCR_ILE;
6e7d01
-- 
6e7d01
2.27.0
6e7d01