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