Message ID | 1538976679-1363-4-git-send-email-paulus@ozlabs.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 18E1C17E3 for <patchwork-kvm@patchwork.kernel.org>; Mon, 8 Oct 2018 05:31:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0881C28B87 for <patchwork-kvm@patchwork.kernel.org>; Mon, 8 Oct 2018 05:31:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF2C128BE4; Mon, 8 Oct 2018 05:31:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83B6228B8E for <patchwork-kvm@patchwork.kernel.org>; Mon, 8 Oct 2018 05:31:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbeJHMl0 (ORCPT <rfc822;patchwork-kvm@patchwork.kernel.org>); Mon, 8 Oct 2018 08:41:26 -0400 Received: from ozlabs.org ([203.11.71.1]:46549 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbeJHMlZ (ORCPT <rfc822;kvm@vger.kernel.org>); Mon, 8 Oct 2018 08:41:25 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42T89Y5Pkwz9sj3; Mon, 8 Oct 2018 16:31:29 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1538976689; bh=MVrjagpAlwh0kTcKfj5bpn3lKL2gakBXXZOfJY+zIlM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=emeMinMD5Dki0gnGtGhXyFuYKrQonGxQobHqdtPEC4/vqCqsV2cBJlUJtrEmO5GYc yysho+FZ2hDCSldMgYPLauEBl+1mOGaxraNGvVtFpLLlNm+S1z6IJB9lel5CWCQS8y UbXLFWptmMKqiOy+9HsEP/Rj+JZCCB/RdFKllM4yywYbE8X56qmVBs4NThzmY0QUmH t2erdgyGaDbFR5a3Aq58hN8bqHN/vxWvb6lvsEUNoDEnTBZUsW1cAfZT8gJlJ8WWGg xkMIW/LP+Zo+XSUv9izwNXtPX5SkVO2gyH34VQV42XGGQlIlgX/VSGD27msd9mGby4 zUKNYQvjwr98A== From: Paul Mackerras <paulus@ozlabs.org> To: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: David Gibson <david@gibson.dropbear.id.au>, linuxppc-dev@ozlabs.org Subject: [PATCH v5 03/33] KVM: PPC: Book3S HV: Remove left-over code in XICS-on-XIVE emulation Date: Mon, 8 Oct 2018 16:30:49 +1100 Message-Id: <1538976679-1363-4-git-send-email-paulus@ozlabs.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538976679-1363-1-git-send-email-paulus@ozlabs.org> References: <1538976679-1363-1-git-send-email-paulus@ozlabs.org> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
KVM: PPC: Book3S HV: Nested HV virtualization
|
expand
|
diff --git a/arch/powerpc/kvm/book3s_xive_template.c b/arch/powerpc/kvm/book3s_xive_template.c index 203ea65..033363d 100644 --- a/arch/powerpc/kvm/book3s_xive_template.c +++ b/arch/powerpc/kvm/book3s_xive_template.c @@ -280,14 +280,6 @@ X_STATIC unsigned long GLUE(X_PFX,h_xirr)(struct kvm_vcpu *vcpu) /* First collect pending bits from HW */ GLUE(X_PFX,ack_pending)(xc); - /* - * Cleanup the old-style bits if needed (they may have been - * set by pull or an escalation interrupts). - */ - if (test_bit(BOOK3S_IRQPRIO_EXTERNAL, &vcpu->arch.pending_exceptions)) - clear_bit(BOOK3S_IRQPRIO_EXTERNAL, - &vcpu->arch.pending_exceptions); - pr_devel(" new pending=0x%02x hw_cppr=%d cppr=%d\n", xc->pending, xc->hw_cppr, xc->cppr);