From patchwork Wed Sep 27 01:20:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 9972899 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 80BA160375 for ; Wed, 27 Sep 2017 01:22:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C1222892A for ; Wed, 27 Sep 2017 01:22:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6109629039; Wed, 27 Sep 2017 01:22:58 +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 05D5F2903B for ; Wed, 27 Sep 2017 01:22:57 +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=cLAIYyH0qg07c5VoVJ4sjyzikvo+ErKpZExCJi048Us=; b=igbX0j7SP+mr3lrDjqgayXhIsK T7fFmHmWddAqG6Q5PE31NnlKr5XiiDg73sOGlD6QE/ZyPI26vDH8ldnWMQsKN+zK4SumkFkbBwRlz HpZCiVe7Mk7QnYGmUIlJ67hR/ycZpyeCJVw5+hpJf8Hez00LhU5+fYaudR0jUTMVOOqAvQR1CkQRF Bu/pJxLnBen/58d0XdPDBEA1sb2hqL9YbgLBUnDwdn1DBIIJ4PF2qlPNsNO4mPAVf65bvosonvjjb OLOIgyMg0BrK5iQ+9hODTTC6xDwiiD4etF0SXAaUqrFYTqI0++QsofSwe9yl/zdfWFx88gGWXfWTi vir3HYvQ==; 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 1dx13C-0003UU-SH; Wed, 27 Sep 2017 01:22:10 +0000 Received: from mail-pg0-x233.google.com ([2607:f8b0:400e:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dx11z-0002GO-Bw for linux-arm-kernel@lists.infradead.org; Wed, 27 Sep 2017 01:20:57 +0000 Received: by mail-pg0-x233.google.com with SMTP id j16so6876446pga.1 for ; Tue, 26 Sep 2017 18:20:34 -0700 (PDT) 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=6Lw+wPNxCo2LYlcvpZDpBBxR52E5JorFAAsAocdL7NY=; b=iw1aqmHE710PCzzDsuNFAt+FU2IGbbB1Iz/sHGY/TIWZKb1XCHbXDx3CZpw6u2O/hq tklWTTyT3bAQACKQ8xVDnyhwvilTg1C+LKhTpeb4xVPP7bizfbd3+W39Wu5TX2P8l66g ZZdcUorbydXG5TAgJz4+Y+70Mn7Q30ix/XdPQ= 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=6Lw+wPNxCo2LYlcvpZDpBBxR52E5JorFAAsAocdL7NY=; b=qi8gVa20T4rAdDEPWLctPcMjYrXaN0epYch5srHd+rLHVmk4O3lsfeC9od0M3t58vq Y1NoYsCt/eKfAsVXCKemDOvc5MwRCAxSDGOSUvf99wAJZ/jU3BU/lhOgkWN8wJaBsZaH P3Ec7vopdbhal8dK/7kSKyHqJdAA5W24WBLNpKRuCoAdAcMPn4QF7n9wIJLE47GnphMo UhjJUjC5k0bJThF+wzar3onwEGhzUebyKqAvkZhUSan2u1Mjeor0g86jau7eA3NGOWnB cJ7x4jiuX/XxRuZL+z9jG0ZECMiM0q33swnSYeRauygeYWykZfhcocruGLyCfAR162LF 6Xhw== X-Gm-Message-State: AHPjjUigONI+W9eRK2NjbLBEW4SoX7a77wbCY84AaJo5RuoOFdWlF8Ka 4DDYn9NXIOyzdd8uGqyFO5MaCw== X-Google-Smtp-Source: AOwi7QB/mFAvjhN0NdwdMJJTC1YD5SPpjWF5/YBs7wn/rgNQyD1uf1wVX5VZDoy/rHi1Ea4qcDCo4g== X-Received: by 10.99.66.196 with SMTP id p187mr12858454pga.0.1506475234552; Tue, 26 Sep 2017 18:20:34 -0700 (PDT) Received: from localhost ([70.35.39.2]) by smtp.googlemail.com with ESMTPSA id 64sm17300192pge.44.2017.09.26.18.20.33 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 26 Sep 2017 18:20:34 -0700 (PDT) From: Hanjun Guo To: Lorenzo Pieralisi , Robin Murphy Subject: [PATCH 1/4] ACPICA: Add SMMUv3 device ID mapping index support Date: Wed, 27 Sep 2017 09:20:12 +0800 Message-Id: <1506475215-2731-2-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506475215-2731-1-git-send-email-hanjun.guo@linaro.org> References: <1506475215-2731-1-git-send-email-hanjun.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170926_182055_446642_4A9A2D52 X-CRM114-Status: GOOD ( 10.03 ) 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: Marc Zyngier , "Rafael J. Wysocki" , linuxarm@huawei.com, linux-acpi@vger.kernel.org, Lv Zheng , linux-arm-kernel@lists.infradead.org, Hanjun Guo 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 SMMUv3 device ID mapping index is used for SMMUv3 MSIs, update the IORT to support that. Signed-off-by: Hanjun Guo --- include/acpi/actbl2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 686b6f8..d90277e 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -810,6 +810,7 @@ struct acpi_iort_smmu_v3 { u8 pxm; u8 reserved1; u16 reserved2; + u32 id_mapping_index; }; /* Values for Model field above */