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: 10052509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 860B76032D for ; Fri, 10 Nov 2017 07:48:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75D522B0AB for ; Fri, 10 Nov 2017 07:48:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6908C2B27D; Fri, 10 Nov 2017 07:48:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E0B0D2B0AB for ; Fri, 10 Nov 2017 07:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=iiaOXATIZwR9FTglHPTtLVp/jKc+0lfFyMTLMS9NN2I=; b=IANiygN5uaHYlaSw/EpXIxEvDS faa5eEF/qdPJNQ4rnJY39o3L364TBhYXEoHvQSCYsvdbo4cKGbfd8QM+Jukj7I018zgETZK370xwu XdDal3/SICuvcWVhwmbOjVHy8A8gVLhCXkcpwxYCShhHLLnDfG2m34E27SC6HthKg6bndnrcSmh6A kx/RA9B54fm0MN9dRPSADbMQhK5GRKG7UeJYCHeav0FcMarA/63EHlRUWt08Km6lYJ/ZvxpoMTAf5 Jz0ZI5LQO6/CQLoA2Os9YGTVz1GykVt4D10uua6pz3taDb1hXYPyY5qgBzhBAbqITCmgDnSG/2VpS 7ISQ/KZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eD42b-00064P-3t; Fri, 10 Nov 2017 07:47:53 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eD42W-0005sL-I7 for linux-arm-kernel@lists.infradead.org; Fri, 10 Nov 2017 07:47:50 +0000 Received: by mail-wm0-x243.google.com with SMTP id b9so804490wmh.5 for ; Thu, 09 Nov 2017 23:47:27 -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=HE4rFzDv1N3iDBCwEKUVgjRouXdJoz2q1Z+foFgmNxs9/9+HsxTulp/p4rqRafLKqs nFvCdxopLDTlF6w1oqLkstfOW+erMtsc0cimd20Vdz7Abp4t7Q0b3kueiBjWXh3w77y8 k6ayCbZl8jOWlogCy2dExjbv09Dc08afMZi4ibRx7ZphlyRWtRzkn8EzDBXPbsfCxlM8 YuZglcNFJ3373k8bdC2ezOujgH+QCD+PoxCFf/9y7W5+/B24g+syDKglNGPiJUIwUTh2 MX33sslckPljyoFmT2wrxiq4zTI8yZZ14YNKOc4WYyhKtNEQFqTG9ksa7Pnvl46xhYDC YfBw== X-Gm-Message-State: AJaThX6RRrHy3Z7xwUxy4fbZxAaNIUUKuKCpDXsRZcRzy06qjffVFZEs I3JO5qCgfF10rcKnkO04mBGIyQ== X-Google-Smtp-Source: AGs4zMZkjCStpzcP6JfXrdDCQQhPb+r+vfJ1C3b8gSoggljNT/j+0ChI0iNLFHI3kYIKbWE7iY/yeQ== 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=20Benn=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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171109_234748_759036_1222DF4E X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Russell King , open list MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP --- arch/arm/include/asm/kvm_host.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);