From patchwork Wed Feb 4 14:02:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Parth Dixit X-Patchwork-Id: 44359 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 907272029F for ; Wed, 4 Feb 2015 14:06:45 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id b13sf1470598wgh.1 for ; Wed, 04 Feb 2015 06:06:44 -0800 (PST) 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:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=1Yruy57qrcx8SpMK912wFcY9nRSYwarP8gLYUJ44KEo=; b=T5WxnqouX4K7AP7zl4cEsnsqLZfYoBSRyy+m83gEQ3HR8e6xpMoRG38muEiohIXIpW J7RZcPpaqZvpKBpgUqeXGmcLWmaz0EbO1GkNPeBt4+Nf7cDFZahQu0mU7wjTm2PO9D15 OkeSrmf9SlJtppmVIwEKATqZ1RD624KPeD7rrsVa2M/IC/QpFkmDol8GxyyvKAMX47yu BUSlkIpvcpg49+c8l4GaJxtR+qi3jI55QFq5mR1CwnAvTdfjb4Cgau+WzvVnvw4ZHnlL T0eJFRe68FBhurE8kVOedsY3H77JyhrgwHq1vSDRhoa5xJ/of8Qa8d5eIq7Z5Bb5VN8/ Y2pg== X-Gm-Message-State: ALoCoQmHNu8rhSiAqTL1oAZzopU0gmAQdnkuM2Du8cty4nYi1r5HPrjhNFIhXLmYja07RynVF1lw X-Received: by 10.152.87.15 with SMTP id t15mr3888979laz.9.1423058804869; Wed, 04 Feb 2015 06:06:44 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.4 with SMTP id 4ls36610lay.65.gmail; Wed, 04 Feb 2015 06:06:44 -0800 (PST) X-Received: by 10.152.87.229 with SMTP id bb5mr30792324lab.92.1423058804663; Wed, 04 Feb 2015 06:06:44 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id o8si1382351laj.121.2015.02.04.06.06.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 06:06:44 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gd6so1716043lab.4 for ; Wed, 04 Feb 2015 06:06:44 -0800 (PST) X-Received: by 10.152.228.161 with SMTP id sj1mr9847824lac.74.1423058804566; Wed, 04 Feb 2015 06:06:44 -0800 (PST) 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.35.133 with SMTP id h5csp507879lbj; Wed, 4 Feb 2015 06:06:43 -0800 (PST) X-Received: by 10.221.44.193 with SMTP id uh1mr19308274vcb.54.1423058798800; Wed, 04 Feb 2015 06:06:38 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id br11si745628vdd.26.2015.02.04.06.06.33 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Feb 2015 06:06:38 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ0aM-0008MS-B2; Wed, 04 Feb 2015 14:05:42 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ0aK-0008KO-TA for xen-devel@lists.xen.org; Wed, 04 Feb 2015 14:05:40 +0000 Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id 25/F7-02601-43722D45; Wed, 04 Feb 2015 14:05:40 +0000 X-Env-Sender: parth.dixit@linaro.org X-Msg-Ref: server-4.tower-27.messagelabs.com!1423058738!12787478!1 X-Originating-IP: [209.85.220.51] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.13.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31453 invoked from network); 4 Feb 2015 14:05:39 -0000 Received: from mail-pa0-f51.google.com (HELO mail-pa0-f51.google.com) (209.85.220.51) by server-4.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 4 Feb 2015 14:05:39 -0000 Received: by mail-pa0-f51.google.com with SMTP id fb1so2909083pad.10 for ; Wed, 04 Feb 2015 06:05:37 -0800 (PST) X-Received: by 10.68.189.105 with SMTP id gh9mr14921364pbc.142.1423058737682; Wed, 04 Feb 2015 06:05:37 -0800 (PST) Received: from parthd-ubunutu.qualcomm.com ([202.46.23.62]) by mx.google.com with ESMTPSA id kg12sm2161881pbb.44.2015.02.04.06.05.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 06:05:36 -0800 (PST) From: parth.dixit@linaro.org To: xen-devel@lists.xen.org Date: Wed, 4 Feb 2015 19:32:08 +0530 Message-Id: <1423058539-26403-25-git-send-email-parth.dixit@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423058539-26403-1-git-send-email-parth.dixit@linaro.org> References: <1423058539-26403-1-git-send-email-parth.dixit@linaro.org> Cc: ian.campbell@citrix.com, julien.grall@linaro.org, tim@xen.org, stefano.stabellini@citrix.com, jbeulich@suse.com, Parth Dixit , christoffer.dall@linaro.org Subject: [Xen-devel] [PATCH RFC 24/35] arm : acpi add xen environment table X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: parth.dixit@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.45 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-Archive: From: Parth Dixit Xen environment table is ACPI table that is used to pass grant table and event channel interrupt information to dom0. Signed-off-by: Parth Dixit --- xen/include/acpi/actbl2.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi/actbl2.h index 38e35d6..129ce70 100644 --- a/xen/include/acpi/actbl2.h +++ b/xen/include/acpi/actbl2.h @@ -80,6 +80,7 @@ #define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */ #define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */ #define ACPI_SIG_STAO "STAO" /* Status Override Table */ +#define ACPI_SIG_XENV "XENV" /* Xen Environment Table */ #ifdef ACPI_UNDEFINED_TABLES /* @@ -910,6 +911,21 @@ struct acpi_table_stao { /******************************************************************************* * + * XENV - Xen Environment Table + * Version 1 + * + ******************************************************************************/ + +struct acpi_table_xenv { + struct acpi_table_header header; /* Common ACPI table header */ + u64 gnt_start; /* Starting address of Xen grant table region */ + u64 gnt_size; /* Size of Xen grant table region */ + u32 evt_intr; /* Xen event channel interrupt */ + u8 evt_intr_flag; /* Flags for event channel interrupt */ +}; + +/******************************************************************************* + * * WAET - Windows ACPI Emulated devices Table * Version 1 *