Message ID | 1431700035-23479-12-git-send-email-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDJONKHTZ4PRBKUQ3CVAKGQE6IM3JRI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B803D21411 for <linaro@patches.linaro.org>; Fri, 15 May 2015 14:52:27 +0000 (UTC) Received: by wizk4 with SMTP id k4sf35664593wiz.2 for <linaro@patches.linaro.org>; Fri, 15 May 2015 07:52:27 -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:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=0tFOdTu4Wt26lFRYihWthUyVYXVbOs5D15/9cAvPSis=; b=e5doUlU36PyDTuKsKD7zuniIT2yQhtcGhc5Pyo8HYONCnBSbHiyNg4sUxLEBpiohkc 4oRwht79OyXyevbtC3CFibst5ZuiED7G2GKR49k3hOtwmbL6mWu+LTXCx6g4QFXj7TLB eM8mNqP3ZmTPaCaPvMCfkKvAZP+wdilhYd2pdVJe/sTwCNjZGoG5lzDDp5SchvgnWsZ2 OApqzAgLSKhXMjYwUe4W+5n8C8EcqeWthh+0wmqx3nDoY3cZ7jpmeCAfbyQ50gat3djl T39CHGWks0zCEQjF0DarQ5U6eW+S4YyLjHcsSrueW6Ziv0q+G0KVluy19Ewtp6gnqJPc Lvlg== X-Gm-Message-State: ALoCoQk9VyBHznFgbqKKgiAGuR7G7uIT1XUaRQhnPnMM0Vx+9ijtlLJuqAXntJcfEevl3Wv0FyIL X-Received: by 10.112.42.236 with SMTP id r12mr7361686lbl.2.1431701546994; Fri, 15 May 2015 07:52:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.101 with SMTP id r5ls490091lar.78.gmail; Fri, 15 May 2015 07:52:26 -0700 (PDT) X-Received: by 10.112.157.100 with SMTP id wl4mr7513797lbb.20.1431701546819; Fri, 15 May 2015 07:52:26 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id i6si1207501lbj.60.2015.05.15.07.52.26 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 07:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by laat2 with SMTP id t2so123005034laa.1 for <patchwork-forward@linaro.org>; Fri, 15 May 2015 07:52:26 -0700 (PDT) X-Received: by 10.152.27.98 with SMTP id s2mr7644376lag.106.1431701546720; Fri, 15 May 2015 07:52:26 -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 hn6csp2091766lbb; Fri, 15 May 2015 07:52:25 -0700 (PDT) X-Received: by 10.66.236.167 with SMTP id uv7mr18719796pac.58.1431701544919; Fri, 15 May 2015 07:52:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cq2si2931782pbb.67.2015.05.15.07.52.03; Fri, 15 May 2015 07:52:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1946035AbbEOOv6 (ORCPT <rfc822;tyler.baker@linaro.org> + 28 others); Fri, 15 May 2015 10:51:58 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:36291 "EHLO socrates.bennee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753874AbbEOOv4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 May 2015 10:51:56 -0400 Received: from localhost ([127.0.0.1] helo=zen.linaroharston) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from <alex.bennee@linaro.org>) id 1YtHqW-0000D4-LI; Fri, 15 May 2015 17:48:20 +0200 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= <alex.bennee@linaro.org> To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, marc.zyngier@arm.com, peter.maydell@linaro.org, agraf@suse.de, drjones@redhat.com, pbonzini@redhat.com, zhichao.huang@linaro.org Cc: jan.kiszka@siemens.com, dahi@linux.vnet.ibm.com, r65777@freescale.com, bp@suse.de, =?UTF-8?q?Alex=20Benn=C3=A9e?= <alex.bennee@linaro.org>, Gleb Natapov <gleb@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org (open list) Subject: [PATCH v4 11/12] KVM: arm64: enable KVM_CAP_SET_GUEST_DEBUG Date: Fri, 15 May 2015 15:27:14 +0100 Message-Id: <1431700035-23479-12-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1431700035-23479-1-git-send-email-alex.bennee@linaro.org> References: <1431700035-23479-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: alex.bennee@linaro.org X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alex.bennee@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.50 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/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c index 21d5a62..88e5331 100644 --- a/arch/arm64/kvm/reset.c +++ b/arch/arm64/kvm/reset.c @@ -76,6 +76,9 @@ int kvm_arch_dev_ioctl_check_extension(long ext) case KVM_CAP_GUEST_DEBUG_HW_WPS: r = get_num_wrps(); break; + case KVM_CAP_SET_GUEST_DEBUG: + r = 1; + break; default: r = 0; }