Message ID | 1413633422-14907-2-git-send-email-marc.zyngier@arm.com |
---|---|
State | Accepted |
Commit | 37a34ac1d4775aafbc73b9db53c7daebbbc67e6a |
Headers | show
Return-Path: <patchwork-forward+bncBCPZR5X4TYBBB3FMRGRAKGQEX37O3CI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6DE48202DB for <linaro@patches.linaro.org>; Sat, 18 Oct 2014 12:00:46 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id 10sf1225319lbg.9 for <linaro@patches.linaro.org>; Sat, 18 Oct 2014 05:00:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=GbhrLHjUieE/UEy7TmPHoyfc8xhPa6j1uj/VgYY8hy0=; b=FhivyfBIagxqqDoI7WVjVQe7cwPq4eMEtwQ14uDs+dI02oAgAgDkFsdPmyv6BP9s4L 4D6cyM3fcVmN7jivXQyledJFyMKVlN2uSvochklDlsJnRSuIcuahATenVw2W2/e1El59 X6Eu2O8PGjgHUNXs3PdOs+jYw1CdEnLlZv5rRJtCCWa2du/+B8/guyo1l5ZoB63EHzy5 xDIB+MGJCHAsMPZVhA9gP/0d7f7jcKfLeQo3pwi1t8d0gTExxsVJOsyCSz6eJXp38fhk BAQJCc1e6dSIunLshhFVnRFdN7L/CO7YdWvxUuMIhFIt4bjE8kLUeGExoVSGkcbUi84H auSA== X-Gm-Message-State: ALoCoQkKPo7qVoHttMh6qZFeRrIo209l1VPw4Cajah0QYQFxVM60Qb8SYW8ur7AfmExSvW/YZoHW X-Received: by 10.194.19.67 with SMTP id c3mr2272418wje.0.1413633645261; Sat, 18 Oct 2014 05:00:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.229 with SMTP id h5ls340176lam.4.gmail; Sat, 18 Oct 2014 05:00:44 -0700 (PDT) X-Received: by 10.112.89.8 with SMTP id bk8mr15070370lbb.30.1413633644624; Sat, 18 Oct 2014 05:00:44 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id y9si6017743lbr.1.2014.10.18.05.00.44 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 Oct 2014 05:00:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so1887058lab.24 for <patchwork-forward@linaro.org>; Sat, 18 Oct 2014 05:00:44 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr3517347lab.40.1413633644547; Sat, 18 Oct 2014 05:00:44 -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.84.229 with SMTP id c5csp37788lbz; Sat, 18 Oct 2014 05:00:43 -0700 (PDT) X-Received: by 10.68.222.70 with SMTP id qk6mr14811021pbc.65.1413633639520; Sat, 18 Oct 2014 05:00:39 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id wn5si3367738pbc.94.2014.10.18.05.00.38 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Oct 2014 05:00:39 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XfSe3-0007aJ-4Y; Sat, 18 Oct 2014 11:58:03 +0000 Received: from inca-roads.misterjones.org ([213.251.177.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XfSdh-0007Rj-L5 for linux-arm-kernel@lists.infradead.org; Sat, 18 Oct 2014 11:57:43 +0000 Received: from [90.219.10.17] (helo=zomby-woof.wild-wind.fr.eu.org) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.80) (envelope-from <marc.zyngier@arm.com>) id 1XfSd9-0005Fz-EM; Sat, 18 Oct 2014 13:57:07 +0200 From: Marc Zyngier <marc.zyngier@arm.com> To: Gleb Natapov <gleb@kernel.org>, Paolo Bonzini <pbonzini@redhat.com> Subject: [PATCH 01/12] arm: kvm: fix CPU hotplug Date: Sat, 18 Oct 2014 12:56:51 +0100 Message-Id: <1413633422-14907-2-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1413633422-14907-1-git-send-email-marc.zyngier@arm.com> References: <1413633422-14907-1-git-send-email-marc.zyngier@arm.com> X-SA-Exim-Connect-IP: 90.219.10.17 X-SA-Exim-Rcpt-To: gleb@kernel.org, pbonzini@redhat.com, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, christoffer.dall@linaro.org, vladimir.murzin@arm.com X-SA-Exim-Mail-From: marc.zyngier@arm.com X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141018_045741_849494_F41BC8CA X-CRM114-Status: GOOD ( 13.04 ) X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) Cc: linux-arm-kernel@lists.infradead.org, Vladimir Murzin <vladimir.murzin@arm.com>, Christoffer Dall <christoffer.dall@linaro.org>, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> 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-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com 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.51 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 7796051..45e5f67 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -808,7 +808,8 @@ static int hyp_init_cpu_notify(struct notifier_block *self, switch (action) { case CPU_STARTING: case CPU_STARTING_FROZEN: - cpu_init_hyp_mode(NULL); + if (__hyp_get_vectors() == hyp_default_vectors) + cpu_init_hyp_mode(NULL); break; }