From patchwork Fri Nov 10 07:47:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 118508 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp1888528edl; Thu, 9 Nov 2017 23:47:30 -0800 (PST) X-Google-Smtp-Source: ABhQp+RbFVNmXz1kigE5TaVBhuOYkolORd8arZZkS8KMmFJXe3pn3uNKlmW+/ajLI4l5UPYWnHgD X-Received: by 10.159.218.144 with SMTP id w16mr3263383plp.443.1510300050204; Thu, 09 Nov 2017 23:47:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510300050; cv=none; d=google.com; s=arc-20160816; b=WQqSUDtGMASqYg3CF7r5ywCPXYPiO2MNbt5ep3f08mzqZH3n2D4W7i+a+wyv4w3Oek dDhE+97GR4kMhUVZBUfCfb8xL66no4wVUqJ01+4ivU00yPow2SJXTgu2E9I36A21uPr0 OMCjVBRMOJxLeKEN8+RPx9tRqlKjqlOTJSg02SaLcyS76SLJTt3zJGCcBVUVELaWlMQa bdDekEv2lNBOAQcBz7RJVOXfqT1ZcNTyrjwDmuApWTQOWDRQL0PZwUdIMBXC6x3C42wc sPI6pCbOYRrbY+IqxR/RZr/kmsXBECE4FvD/d/rzu9PqSaPp7bDgnvUc/7uOVrNrmEHD 2jSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=65tNLP6F5Ph35CoVPn3eD9aVMtplNNUgwauLmM4l+DI=; b=fKYM9fpnBmvJEkXjzY9bkkcuWjfyLeB09SCGgNbDFus050/TVYb2xmo8gRFfz/O2Kk n9FWJwDygMp9w3y5ppy7xBNu2T+oyTcEXH7t8iE0uV8yiFoabmgJoQO63cuNI40cym8o pbX0D3ro7907T64fPgnFgDG8zJUQZ6Iop5OlL5R3+79osWKkWhUDvDQeXCX09M3jyG4w nWdzcGUwk/WtkyrgM9y//8zVQ0zWd2fPDCY4kGj5K4FuF2bT65++o6DAcAi+20WHB1bj ym5/dkj17Mf+xw0TJB7vVZ4w5St2gv7s1C7Rtii0FzDRhmQ/mwUvV40+eDlYS0Ns46Km 0kRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jL0RRb5R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g127si7952672pgc.553.2017.11.09.23.47.29; Thu, 09 Nov 2017 23:47:30 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jL0RRb5R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398AbdKJHr3 (ORCPT + 26 others); Fri, 10 Nov 2017 02:47:29 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:37833 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbdKJHr1 (ORCPT ); Fri, 10 Nov 2017 02:47:27 -0500 Received: by mail-wm0-f67.google.com with SMTP id b14so819600wme.2 for ; Thu, 09 Nov 2017 23:47:26 -0800 (PST) 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=65tNLP6F5Ph35CoVPn3eD9aVMtplNNUgwauLmM4l+DI=; b=jL0RRb5RrZBvflu8i0p1lzQ4s2oMW2UQG88udi3S3KeEBssHYc4Vk6gQG7wbcuwSw0 MVM8Zs3w2YU40wceXF2/6VVqdtv3OIgL84z33bvXxpFkx3MPpCCSPfhRmJkHRA9pqKdW 31j31J3rr1JOWlWCIvl+Vb2rdO+iPhglo1RRo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=65tNLP6F5Ph35CoVPn3eD9aVMtplNNUgwauLmM4l+DI=; b=I302rhYatIZ5PjgcbvU9x9vE/EOTADI3mKLVFREH8N+cvDf1L0pe/hBN+4VsjvcBk+ iftNiU/9VlJwYL8L0sElWzVzbygOTDR76NOm+i6kzx9IKgw1M9ToEnuSK/y5D7NiW31J 2NNVCwjDFN8ZjpZBAvPIaJ1uwOCa7JyvGDDjWYkwzsPXeqNLc+FtX2KnbA8L2SLcXe6r rJcuId+9MXXNJ9mHcsLC/IICmeGu/z8B9ANgEYnPRJJ/jyXSH4EZT81a/fKkBf+PKY17 GXkrKyIo8JWo4x17AJmb02IuMhB8kvSr8AgBsZZyLZlBKH+BPu8wZzYrvj/AuqyKCjfY XHHg== X-Gm-Message-State: AJaThX7j8xR6DTMLsp1RRZGBgaXENptcLexdzyWTzre2NU9skvSstIlI eoYyFlokLUsr1G17Ob7lI30wxw== X-Received: by 10.28.62.67 with SMTP id l64mr390903wma.6.1510300045860; Thu, 09 Nov 2017 23:47:25 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i4sm17556283wra.40.2017.11.09.23.47.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2017 23:47:24 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 8021E3E00A0; Fri, 10 Nov 2017 07:47:24 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: julien.thierry@arm.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, marc.zyngier@arm.com Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Russell King , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] fixup! kvm: arm debug: introduce helper for single-step Date: Fri, 10 Nov 2017 07:47:17 +0000 Message-Id: <20171110074717.30134-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171109170021.2984-2-alex.bennee@linaro.org> References: <20171109170021.2984-2-alex.bennee@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --- arch/arm/include/asm/kvm_host.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.14.2 diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h index a2e881d6108e..26a1ea6c6542 100644 --- a/arch/arm/include/asm/kvm_host.h +++ b/arch/arm/include/asm/kvm_host.h @@ -286,7 +286,10 @@ static inline void kvm_arm_setup_debug(struct kvm_vcpu *vcpu) {} static inline void kvm_arm_clear_debug(struct kvm_vcpu *vcpu) {} static inline void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu) {} static inline bool kvm_arm_handle_step_debug(struct kvm_vcpu *vcpu, - struct kvm_run *run) {} + struct kvm_run *run) +{ + return false; +} int kvm_arm_vcpu_arch_set_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr);