Message ID | 1434716630-18260-12-git-send-email-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDJONKHTZ4PRBVVCSCWAKGQEOSFT3KY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0CEA022903 for <linaro@patches.linaro.org>; Fri, 19 Jun 2015 12:55:52 +0000 (UTC) Received: by lagh6 with SMTP id h6sf29202811lag.0 for <linaro@patches.linaro.org>; Fri, 19 Jun 2015 05:55:51 -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=xL9Wr4wO9z6MRFw97TPSySK0hXue5Qo3NEI36HkqIuo=; b=TtQfmK+qKgKTCRGYrTOUukuVJ18PnbaSZbtRBYFR55jg9YQfPcOnfTraTPYTdNEZ9T svxwI9fQjbpMxq1HKZvSRBMLbgbbRJyqvrqIXzMQFt8nF3NY1s8pCYQUlOSJFTY8wJCE 16vpcVdO7cJtL5gcr1L3ljQzS6wBEs/svMrpJQNCoq8w3354+EPXkGYGGG3p8HVgTRlk eKDxH4GzgAZOvNSLS+Ey+PONDGQLTe7CN7ik77wQMJ/fWFGEjHCNii3aY9prj+az+49/ hMBIdCAruZrq67LV+TNhpCmrf0VHWEFMMVfJ1kCsoI5vYF9BbgwNvM0ov3H12gRLWUv3 +K9Q== X-Gm-Message-State: ALoCoQkJVgTzji7gTDMzHZKxk9DLlev68KiaenLNa+KPd/Hki1OEG8TP5vVghWp3lJAtkq9/+aBQ X-Received: by 10.112.28.111 with SMTP id a15mr14906897lbh.21.1434718550976; Fri, 19 Jun 2015 05:55:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.163 with SMTP id t3ls621652lat.6.gmail; Fri, 19 Jun 2015 05:55:50 -0700 (PDT) X-Received: by 10.112.53.226 with SMTP id e2mr9062077lbp.124.1434718550671; Fri, 19 Jun 2015 05:55:50 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id x10si9098011lax.97.2015.06.19.05.55.50 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2015 05:55:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbti3 with SMTP id ti3so71540210lbb.1 for <patchwork-forward@linaro.org>; Fri, 19 Jun 2015 05:55:50 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr18148691lbc.32.1434718550583; Fri, 19 Jun 2015 05:55:50 -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 hn6csp572512lbb; Fri, 19 Jun 2015 05:55:49 -0700 (PDT) X-Received: by 10.68.108.65 with SMTP id hi1mr31244663pbb.129.1434718548869; Fri, 19 Jun 2015 05:55:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u16si16302804pbs.18.2015.06.19.05.55.47; Fri, 19 Jun 2015 05:55:48 -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 S1754161AbbFSMzn (ORCPT <rfc822;matthew.hart@linaro.org> + 30 others); Fri, 19 Jun 2015 08:55:43 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:59076 "EHLO socrates.bennee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353AbbFSMzf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 19 Jun 2015 08:55:35 -0400 Received: from localhost ([127.0.0.1] helo=zen.linaroharston) by socrates.bennee.com with esmtp (Exim 4.84) (envelope-from <alex.bennee@linaro.org>) id 1Z5vLr-00046o-JE; Fri, 19 Jun 2015 14:24:56 +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 v6 11/12] KVM: arm64: enable KVM_CAP_SET_GUEST_DEBUG Date: Fri, 19 Jun 2015 13:23:49 +0100 Message-Id: <1434716630-18260-12-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1434716630-18260-1-git-send-email-alex.bennee@linaro.org> References: <1434716630-18260-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.217.170 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; }