From patchwork Wed Feb 4 14:02:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Parth Dixit X-Patchwork-Id: 44358 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D12E4214FD for ; Wed, 4 Feb 2015 14:06:42 +0000 (UTC) Received: by mail-we0-f200.google.com with SMTP id m14sf1467385wev.3 for ; Wed, 04 Feb 2015 06:06:42 -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=2299g4+zug1DmKZ734r7M6x664ugglMHpNMjvG4ZkR4=; b=WR+OJrOeySHLFhh3rrBeHNLwEujp0OKeFumZJ5oPhXyD00MKOoiYTqbgrD1kbhF3QB 6tFqRAuiEo4QRJHH4ZS/DgVtRptIRoqYYzpFdvQsTHWR6yoljBsWtKni8DNTfxhzOL+j gWBDAqNNrBKiVXLWrB30ogmcH8bLIlQifJcsI2YRmRxDVnOGYY9YABexVUfURSL8ofS/ bUUunDqadWf+23z6aFjcXE/7zuywXGQ/KSrc0AbxzcsbtoMkqiPZUTgPBfthLzvjV3KW D/w/g1XLG8tZPbPkzuYsJheZ+2IK/iosDsIgmmgdsI0Es2VgXVx5WJizNeA1D1hzBA5S tvOg== X-Gm-Message-State: ALoCoQm24fnoq+2HjIHSuQigpvq7bGOCQ7h8tmkEUALEA7SLBoypEeZGEcVswtWbDS7nAYS++mWV X-Received: by 10.112.83.4 with SMTP id m4mr37229lby.19.1423058801973; Wed, 04 Feb 2015 06:06:41 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.141 with SMTP id o13ls33424lal.78.gmail; Wed, 04 Feb 2015 06:06:41 -0800 (PST) X-Received: by 10.152.29.129 with SMTP id k1mr18645034lah.10.1423058801769; Wed, 04 Feb 2015 06:06:41 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id v15si720135laz.8.2015.02.04.06.06.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 06:06:41 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id b6so1623392lbj.11 for ; Wed, 04 Feb 2015 06:06:41 -0800 (PST) X-Received: by 10.112.140.168 with SMTP id rh8mr3438580lbb.25.1423058801684; Wed, 04 Feb 2015 06:06:41 -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 h5csp507849lbj; Wed, 4 Feb 2015 06:06:40 -0800 (PST) X-Received: by 10.52.146.115 with SMTP id tb19mr16133654vdb.69.1423058798716; 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 uv1si705425vcb.89.2015.02.04.06.06.37 (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 1YJ0aF-0008Ej-TH; Wed, 04 Feb 2015 14:05:35 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ0aE-0008Ch-DZ for xen-devel@lists.xen.org; Wed, 04 Feb 2015 14:05:34 +0000 Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id 5F/0C-03736-D2722D45; Wed, 04 Feb 2015 14:05:33 +0000 X-Env-Sender: parth.dixit@linaro.org X-Msg-Ref: server-6.tower-206.messagelabs.com!1423058732!11116709!1 X-Originating-IP: [209.85.192.176] 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 2027 invoked from network); 4 Feb 2015 14:05:33 -0000 Received: from mail-pd0-f176.google.com (HELO mail-pd0-f176.google.com) (209.85.192.176) by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 4 Feb 2015 14:05:33 -0000 Received: by pdbfp1 with SMTP id fp1so881148pdb.4 for ; Wed, 04 Feb 2015 06:05:31 -0800 (PST) X-Received: by 10.70.135.165 with SMTP id pt5mr8968146pdb.101.1423058731652; Wed, 04 Feb 2015 06:05:31 -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.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 06:05:30 -0800 (PST) From: parth.dixit@linaro.org To: xen-devel@lists.xen.org Date: Wed, 4 Feb 2015 19:32:07 +0530 Message-Id: <1423058539-26403-24-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 23/35] arm: acpi add status override 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.217.180 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 Status override table is used to hide devices from DOM0 that are used by xen Signed-off-by: Parth Dixit --- xen/include/acpi/actbl2.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi/actbl2.h index 6aad200..38e35d6 100644 --- a/xen/include/acpi/actbl2.h +++ b/xen/include/acpi/actbl2.h @@ -79,6 +79,7 @@ #define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */ #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 */ #ifdef ACPI_UNDEFINED_TABLES /* @@ -895,6 +896,19 @@ struct acpi_table_uefi { }; /******************************************************************************* + * + * STAO - Status Override Table + * Version 1 + * + ******************************************************************************/ + +struct acpi_table_stao { + struct acpi_table_header header; /* Common ACPI table header */ + u8 uart; /* Indicates presence of SPCR table */ + u8 devpath[1]; /* Full namepath of uart device in ACPI namespace */ +}; + +/******************************************************************************* * * WAET - Windows ACPI Emulated devices Table * Version 1