Message ID | 1458634776-18388-2-git-send-email-christoffer.dall@linaro.org |
---|---|
State | Accepted |
Commit | 898f949fb7bc1210b79f06a04d1956d106a32633 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1913180lbc; Tue, 22 Mar 2016 01:21:19 -0700 (PDT) X-Received: by 10.67.14.138 with SMTP id fg10mr52200935pad.145.1458634879388; Tue, 22 Mar 2016 01:21:19 -0700 (PDT) Return-Path: <linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id h74si14511982pfd.163.2016.03.22.01.21.19 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2016 01:21:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org 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 1aiHXb-0005WR-64; Tue, 22 Mar 2016 08:19:51 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aiHXP-0005S1-Qa for linux-arm-kernel@lists.infradead.org; Tue, 22 Mar 2016 08:19:40 +0000 Received: by mail-wm0-x234.google.com with SMTP id l68so151955797wml.1 for <linux-arm-kernel@lists.infradead.org>; Tue, 22 Mar 2016 01:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AoB/KvxxOpgpnCQqKJ7XQS+p4BRHCe28NOXJKvNoh78=; b=fNacgX/alrT4G+5EfkjxXrgTHneMu5rWLX0zwqjNqxLYH1o+xM6BE6LILB9ejgUZz2 i/rQcj3ngFvpOCocD/f6l9GFltZijZ6dUM9ijCu58Mn6vlohKpd32AMb1tmEksa1vvjF 65HD+bis42HByJDnMqD+p2XbklGK8Eoui8FZs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AoB/KvxxOpgpnCQqKJ7XQS+p4BRHCe28NOXJKvNoh78=; b=PcfBVj8qSy/XwCgDY3x+I37ELCGmPWvWVAebeADLh7OO++yx7B/tXrYNW/eriLf083 XduK6eMyeYmNNW+993kxuhAhDyOnWpaGM9zSDvPMKtXWZPge9WzmVxwssTzxXUBJKS5r Q8E/dKwonPqrdKO+Yte0+jgDL75UFb5ld1RCrvqZozvsEtIvgUr6s5Qi+xHzGnnDW9YC makNcbOUqFLPCnCbzQftSlw0fxMdEG4PCJv/WLtJUC1UYUK/wCH2HOw/ogDyms0b6Qoe lpU29RL4pQRhLJpgUdUvpIfc5t9EnuvheWpNtQBDOboHO0kFaiFA5i2pbvi6FAtTprKH 2nQg== X-Gm-Message-State: AD7BkJLjF2BIJI1kE0AJ8fNkY4TLHa4Fh5YFvPpLbp8zX4KXyBTXUa9nSJSqjXG67B2Wdncx X-Received: by 10.194.94.138 with SMTP id dc10mr39419918wjb.37.1458634758255; Tue, 22 Mar 2016 01:19:18 -0700 (PDT) Received: from localhost.localdomain ([94.18.191.146]) by smtp.gmail.com with ESMTPSA id 8sm16101691wmk.13.2016.03.22.01.19.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Mar 2016 01:19:17 -0700 (PDT) From: Christoffer Dall <christoffer.dall@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com> Subject: [PULL 1/3] KVM: arm/arm64: disable preemption when calling smp_call_function_many Date: Tue, 22 Mar 2016 09:19:34 +0100 Message-Id: <1458634776-18388-2-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.1.2.330.g565301e.dirty In-Reply-To: <1458634776-18388-1-git-send-email-christoffer.dall@linaro.org> References: <1458634776-18388-1-git-send-email-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160322_011940_007033_F4AE5807 X-CRM114-Status: GOOD ( 10.08 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:234 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kvm@vger.kernel.org, Eric Auger <eric.auger@linaro.org>, Marc Zyngier <marc.zyngier@arm.com>, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall <christoffer.dall@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org |
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 3e0fb66..6accd66 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -373,7 +373,9 @@ static void exit_vm_noop(void *info) void force_vm_exit(const cpumask_t *mask) { + preempt_disable(); smp_call_function_many(mask, exit_vm_noop, NULL, true); + preempt_enable(); } /**