Message ID | 1435661350-8060-14-git-send-email-shannon.zhao@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCOL5N4BVYCBBGHJZGWAKGQEO4VONYQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C329F229DF for <linaro@patches.linaro.org>; Tue, 30 Jun 2015 10:51:04 +0000 (UTC) Received: by wiwz6 with SMTP id z6sf5233726wiw.0 for <linaro@patches.linaro.org>; Tue, 30 Jun 2015 03:51:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=3oVfp2Wui8AraagVkCow+rzCe4AHwxF7dDbtG6r/i2U=; b=UGXCRVeATguSDTGwyf0hGFmMZCwXMaLfwm+5RVRm9gKG+vs+I/ahJmqmThI/Of8Bfg Jbe8/Yy1As6IdcophxH28RyMXAfVI3888seDGcjVrBID6NNIwnuZXituGzyAfwS0xIRD o40QAposur9L0OMjTStTCv/D51NqQsoGQh5aO4fx7JVPC0ICirVpop6TY82pSoFt0Ahd QQuSTUDEaw82WNW4o8u34ylrSqJkajpVgpBKRsv4qm2/ohLZ+QT3K8veFtEkQvdoiXb8 dOemBMcl9hTECv65WAl+TsjYLEmOijNat+LwA1DSwk+oEZuFvZIu8gVd7fX8UITLhmi/ daGQ== X-Gm-Message-State: ALoCoQnvxum/XaKciH7RUW3oVQqO6LTQVD+akO5NGBozN0sb6ILhW+GRmTqUlD2cQrBoZyxumJkx X-Received: by 10.112.253.135 with SMTP id aa7mr2853611lbd.11.1435661464140; Tue, 30 Jun 2015 03:51:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.10 with SMTP id j10ls33601lae.6.gmail; Tue, 30 Jun 2015 03:51:03 -0700 (PDT) X-Received: by 10.112.118.137 with SMTP id km9mr19110960lbb.28.1435661463788; Tue, 30 Jun 2015 03:51:03 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id ms1si18210411lbb.53.2015.06.30.03.51.03 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 03:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lagh6 with SMTP id h6so8110413lag.2 for <patchwork-forward@linaro.org>; Tue, 30 Jun 2015 03:51:03 -0700 (PDT) X-Received: by 10.112.160.165 with SMTP id xl5mr18922469lbb.36.1435661463693; Tue, 30 Jun 2015 03:51:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2353067lbb; Tue, 30 Jun 2015 03:51:02 -0700 (PDT) X-Received: by 10.68.136.42 with SMTP id px10mr42712219pbb.19.1435661461883; Tue, 30 Jun 2015 03:51:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si66313267par.87.2015.06.30.03.51.01; Tue, 30 Jun 2015 03:51:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752369AbbF3KvA (ORCPT <rfc822;shannon.zhao@linaro.org> + 2 others); Tue, 30 Jun 2015 06:51:00 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:35660 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750846AbbF3Ku7 (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 30 Jun 2015 06:50:59 -0400 Received: by pactm7 with SMTP id tm7so3810769pac.2 for <stable@vger.kernel.org>; Tue, 30 Jun 2015 03:50:59 -0700 (PDT) X-Received: by 10.68.69.5 with SMTP id a5mr10683489pbu.56.1435661459390; Tue, 30 Jun 2015 03:50:59 -0700 (PDT) Received: from localhost ([120.136.36.232]) by mx.google.com with ESMTPSA id f15sm42855839pdk.45.2015.06.30.03.50.57 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 30 Jun 2015 03:50:58 -0700 (PDT) From: shannon.zhao@linaro.org To: stable@vger.kernel.org Cc: gregkh@linuxfoundation.org, christoffer.dall@linaro.org, shannon.zhao@linaro.org Subject: [PATCH for 3.14.y stable 13/22] arm/arm64: KVM: Don't clear the VCPU_POWER_OFF flag Date: Tue, 30 Jun 2015 18:49:01 +0800 Message-Id: <1435661350-8060-14-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1435661350-8060-1-git-send-email-shannon.zhao@linaro.org> References: <1435661350-8060-1-git-send-email-shannon.zhao@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: stable@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shannon.zhao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index fb9c291..4a7f538 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -678,7 +678,7 @@ static int kvm_arch_vcpu_ioctl_vcpu_init(struct kvm_vcpu *vcpu, /* * Handle the "start in power-off" case by marking the VCPU as paused. */ - if (__test_and_clear_bit(KVM_ARM_VCPU_POWER_OFF, vcpu->arch.features)) + if (test_bit(KVM_ARM_VCPU_POWER_OFF, vcpu->arch.features)) vcpu->arch.pause = true; return 0;