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