Message ID | 1436286603-15192-11-git-send-email-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDJONKHTZ4PRB27556WAKGQEDLDWWMQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D80B2229FC for <linaro@patches.linaro.org>; Tue, 7 Jul 2015 16:31:39 +0000 (UTC) Received: by wgbbj7 with SMTP id bj7sf63196530wgb.2 for <linaro@patches.linaro.org>; Tue, 07 Jul 2015 09:31:39 -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=ux6YKMKW2apGWf6dlhT22OoptBurPJFYmxS5wfV9v6g=; b=iEiJUQDY8YC6vVGhmoGo9qGL9DmLxRFf/aMDgNfz7CPwhIHcNnu+QwbKKkZoqSWhvn Je9+S8wdBWnwaqaa5EEporv95LPYq3RdVRsK4QtkXF/ZepOk9sIKKwJ0DqM+MpOQSoab CDs9cewT6Lh3yTl/wMlWRxJa4uEleHoDiKq73W/odhu+23SlAYgIpkWOI2DGF5hY5IUh pvUxclAnhjQ0lYrcYp+Gsg6gl+/Nk0N238XlvFa/cUlGUxuAydqakr9X/eDMe9vttzZk bqMmTgxPPV2U70hHf8RZIVS78ezenRrUX5y1nJiIlkob7euMFHt03gFnKmHStOWC0ln5 bkjg== X-Gm-Message-State: ALoCoQmL5XRZUpBUodQqwP3CvOGNdVecy9KxQEy6g47N+9dLZA0SWf8LwDDul2Y8dJO02PBE8Hi2 X-Received: by 10.112.255.66 with SMTP id ao2mr2472412lbd.15.1436286699180; Tue, 07 Jul 2015 09:31:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.136 with SMTP id dc8ls207963lad.101.gmail; Tue, 07 Jul 2015 09:31:38 -0700 (PDT) X-Received: by 10.152.10.72 with SMTP id g8mr4724356lab.97.1436286698931; Tue, 07 Jul 2015 09:31:38 -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 h3si18506082lbj.145.2015.07.07.09.31.38 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 09:31:38 -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 lagx9 with SMTP id x9so202681599lag.1 for <patchwork-forward@linaro.org>; Tue, 07 Jul 2015 09:31:38 -0700 (PDT) X-Received: by 10.112.126.101 with SMTP id mx5mr4886563lbb.35.1436286698785; Tue, 07 Jul 2015 09:31:38 -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 hn6csp2504858lbb; Tue, 7 Jul 2015 09:31:37 -0700 (PDT) X-Received: by 10.70.38.170 with SMTP id h10mr10573561pdk.20.1436286696980; Tue, 07 Jul 2015 09:31:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id va8si35452125pac.211.2015.07.07.09.31.33; Tue, 07 Jul 2015 09:31:36 -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 S1758119AbbGGQbU (ORCPT <rfc822;matthew.hart@linaro.org> + 29 others); Tue, 7 Jul 2015 12:31:20 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:35815 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932346AbbGGQa1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Jul 2015 12:30:27 -0400 Received: by wiga1 with SMTP id a1so261854617wig.0 for <linux-kernel@vger.kernel.org>; Tue, 07 Jul 2015 09:30:26 -0700 (PDT) X-Received: by 10.194.220.100 with SMTP id pv4mr10652745wjc.71.1436286625944; Tue, 07 Jul 2015 09:30:25 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by mx.google.com with ESMTPSA id fb3sm53290320wib.21.2015.07.07.09.30.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 09:30:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A80C73E066A; Tue, 7 Jul 2015 17:30:23 +0100 (BST) 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 v8 10/11] KVM: arm64: enable KVM_CAP_SET_GUEST_DEBUG Date: Tue, 7 Jul 2015 17:30:02 +0100 Message-Id: <1436286603-15192-11-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.4.5 In-Reply-To: <1436286603-15192-1-git-send-email-alex.bennee@linaro.org> References: <1436286603-15192-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.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 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 8620926..b4af618 100644 --- a/arch/arm64/kvm/reset.c +++ b/arch/arm64/kvm/reset.c @@ -77,6 +77,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; }