From patchwork Tue Mar 31 15:07:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 46587 Return-Path: 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 526E4216E5 for ; Tue, 31 Mar 2015 15:11:21 +0000 (UTC) Received: by wgua4 with SMTP id a4sf4182738wgu.2 for ; Tue, 31 Mar 2015 08:11:20 -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=tkR+Eh10G2/zNDlLw3YYoQlH6213Tf0fNqdRvajQf3E=; b=OKn/A6sGNmN94HGT+663hfeuvQ8kJQs9rplYgGrMAPYXvbHDlOhmLO4Dfjz/iAD83H yQ97NubNecrMuMLy5Bq2xRyqjDTXAQ/P/DlOuuLAzLzQ5ZJpinvZJjq8ZD87hROSefhz DgC9NvtKhvc0cwQhyodJBErnguJrjng4rdXTOXwNBwJK8BnN9kWwJWq0hVJS5HzMj+YS /lCUs+iFWKV7w1lmLubLrOYvHhi1aFS+KMXK8KoAe20NpbNc5H91UxJClqdO5GY0Fssz /Y83UgB/QUJspMQodIUl6F+1vGSkzlEEHChgYHb+Lle4mayf71ChuN/fp7Edy8sInE4H IiKQ== X-Gm-Message-State: ALoCoQm3V+yVnptXM9SYUYgLAYQcjduV4rka5A7edV2bFT/O/SC2h1VvkrjqkQSvR8UvzcRnoteW X-Received: by 10.112.67.74 with SMTP id l10mr1305078lbt.23.1427814680537; Tue, 31 Mar 2015 08:11:20 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.227 with SMTP id b3ls589865lak.58.gmail; Tue, 31 Mar 2015 08:11:20 -0700 (PDT) X-Received: by 10.112.162.167 with SMTP id yb7mr30591729lbb.76.1427814680321; Tue, 31 Mar 2015 08:11:20 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id g7si9374465lbd.52.2015.03.31.08.11.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 08:11:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labe2 with SMTP id e2so15085746lab.3 for ; Tue, 31 Mar 2015 08:11:19 -0700 (PDT) X-Received: by 10.112.10.197 with SMTP id k5mr3893382lbb.86.1427814679864; Tue, 31 Mar 2015 08:11:19 -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.57.201 with SMTP id k9csp46117lbq; Tue, 31 Mar 2015 08:11:19 -0700 (PDT) X-Received: by 10.69.12.65 with SMTP id eo1mr2351232pbd.152.1427814677942; Tue, 31 Mar 2015 08:11:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ac10si19804452pac.147.2015.03.31.08.10.50; Tue, 31 Mar 2015 08:11:17 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754573AbbCaPI5 (ORCPT + 27 others); Tue, 31 Mar 2015 11:08:57 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:48102 "EHLO socrates.bennee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754538AbbCaPIx (ORCPT ); Tue, 31 Mar 2015 11:08:53 -0400 Received: from localhost ([127.0.0.1] helo=zen.linaroharston) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1YcysN-0005gI-6r; Tue, 31 Mar 2015 18:18:51 +0200 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= 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?= , Gleb Natapov , linux-api@vger.kernel.org (open list:ABI/API), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 01/10] KVM: add commentary for kvm_debug_exit_arch struct Date: Tue, 31 Mar 2015 16:07:59 +0100 Message-Id: <1427814488-28467-2-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.3.4 In-Reply-To: <1427814488-28467-1-git-send-email-alex.bennee@linaro.org> References: <1427814488-28467-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 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: 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.41 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: , List-Help: , List-Archive: List-Unsubscribe: , Bring into line with the commentary for the other structures and their KVM_EXIT_* cases. Signed-off-by: Alex Bennée --- v2 - add comments for other exit types diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 8055706..5eedf84 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -226,6 +226,7 @@ struct kvm_run { __u32 count; __u64 data_offset; /* relative to kvm_run start */ } io; + /* KVM_EXIT_DEBUG */ struct { struct kvm_debug_exit_arch arch; } debug; @@ -274,6 +275,7 @@ struct kvm_run { __u32 data; __u8 is_write; } dcr; + /* KVM_EXIT_INTERNAL_ERROR */ struct { __u32 suberror; /* Available with KVM_CAP_INTERNAL_ERROR_DATA: */ @@ -284,6 +286,7 @@ struct kvm_run { struct { __u64 gprs[32]; } osi; + /* KVM_EXIT_PAPR_HCALL */ struct { __u64 nr; __u64 ret;