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

a83cc2
From 63933b51e447d4acb08d3900ff64d150a3f2bdf8 Mon Sep 17 00:00:00 2001
a83cc2
From: Laurent Vivier <lvivier@redhat.com>
a83cc2
Date: Wed, 9 Jun 2021 05:58:34 -0400
a83cc2
Subject: [PATCH 08/21] spapr: Remove stale comment about power-saving LPCR
a83cc2
 bits
a83cc2
MIME-Version: 1.0
a83cc2
Content-Type: text/plain; charset=UTF-8
a83cc2
Content-Transfer-Encoding: 8bit
a83cc2
a83cc2
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
RH-MergeRequest: 8: Synchronize with RHEL-AV 8.5 release 19 to RHEL 9
a83cc2
RH-Commit: [7/8] 12872a0193d22915de5d71d8055094f9f15e63b0 (mrezanin/centos-src-qemu-kvm)
a83cc2
RH-Bugzilla: 1957194
a83cc2
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
a83cc2
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
a83cc2
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
a83cc2
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
a83cc2
a83cc2
From: Nicholas Piggin <npiggin@gmail.com>
a83cc2
a83cc2
Commit 47a9b551547 ("spapr: Clean up handling of LPCR power-saving exit
a83cc2
bits") moved this logic but did not remove the comment from the
a83cc2
previous location.
a83cc2
a83cc2
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
a83cc2
Message-Id: <20210526091626.3388262-2-npiggin@gmail.com>
a83cc2
Reviewed-by: CĂ©dric Le Goater <clg@kaod.org>
a83cc2
Reviewed-by: Greg Kurz <groug@kaod.org>
a83cc2
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
a83cc2
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
a83cc2
(cherry picked from commit 7be3bf6c8429969f97728bb712d9a99997835607)
a83cc2
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
a83cc2
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
---
a83cc2
 hw/ppc/spapr_rtas.c | 1 -
a83cc2
 1 file changed, 1 deletion(-)
a83cc2
a83cc2
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
a83cc2
index 8a79f9c628..91c71d1c94 100644
a83cc2
--- a/hw/ppc/spapr_rtas.c
a83cc2
+++ b/hw/ppc/spapr_rtas.c
a83cc2
@@ -164,7 +164,6 @@ static void rtas_start_cpu(PowerPCCPU *callcpu, SpaprMachineState *spapr,
a83cc2
 
a83cc2
     env->msr = (1ULL << MSR_SF) | (1ULL << MSR_ME);
a83cc2
 
a83cc2
-    /* Enable Power-saving mode Exit Cause exceptions for the new CPU */
a83cc2
     lpcr = env->spr[SPR_LPCR];
a83cc2
     if (!pcc->interrupts_big_endian(callcpu)) {
a83cc2
         lpcr |= LPCR_ILE;
a83cc2
-- 
a83cc2
2.27.0
a83cc2