From patchwork Wed Aug 9 10:53:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 109715 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp717793obb; Wed, 9 Aug 2017 04:06:12 -0700 (PDT) X-Received: by 10.84.168.5 with SMTP id e5mr8726152plb.468.1502276651149; Wed, 09 Aug 2017 04:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502276651; cv=none; d=google.com; s=arc-20160816; b=CU/q6GHSvBlJ40hMqPuWsqP4cEBwIwd7jXx9nDIQQA2VwfJPPtbFMLNHuEuM68WcOG cuF5d4chuw1RvJyvvLolXOE0Jxn8vJQHAA+lgf6L/ZwvD1/P1nHH2ooOcQC8K5WIeY9M hU7I5vHeeDVUv5uDIMBgvjhNYqZxNeg4wnIb45anKQdcHg59+Nwj6oXsmC0QqSN/aZY1 r9PBthvoXwFvG33W6GdVKlWd6ZZnMjiPf502tKJKf+jxAcrFh1FgiEThLzj4jFtG+VGH gtNgqZh6Iq5fBJ4MT58VaHkCAJyUyaEfOQbsJfQKE6X5M9xD+yYZkBPTg77NhjYG8u96 zA5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=81VsI0596NvIzlOTQAhx419IJAJDyIODep+lRR9sPeg=; b=YVIqUm/Rvd5DgRc8bnv4GzNHoQnyk+Q9s1MBgiIDdkvsJPW+f1fcQEE50F1afyGpzX dAFcZ53Zx9JIakGq0v7vKvGo8G8Ndq6lK0Ljpz4etHsu6ZOU9Io4AFlM79cu60yU/SiK 4TTqXar6IXoKBLsqM4tgACSi6d5La2xnPUTHP687OiLaJQdsnxNj2qczKlMETjitJXj+ D5TCwJppXw6Yb1W1gPejyg+ZiWiY3C6zxwxq8mjj/afZjXrZUrldg+1h+9jWnD8VzNhW UBsd61dNBSjjKO5xH147hflhYI+gCo4KC74XNtNXxGDFfe4vL26W2rPehtbrIdXZzJgB pX2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x69si2401191pfj.283.2017.08.09.04.04.10; Wed, 09 Aug 2017 04:04:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752110AbdHILEJ (ORCPT + 7 others); Wed, 9 Aug 2017 07:04:09 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3482 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbdHILEJ (ORCPT ); Wed, 9 Aug 2017 07:04:09 -0400 Received: from 172.30.72.59 (EHLO DGGEMS411-HUB.china.huawei.com) ([172.30.72.59]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DEU08683; Wed, 09 Aug 2017 19:00:42 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.301.0; Wed, 9 Aug 2017 19:00:32 +0800 From: Hanjun Guo To: Lorenzo Pieralisi CC: , , , Sinan Kaya , "Rafael J. Wysocki" , Marc Zyngier , Hanjun Guo Subject: [RFC PATCH 1/4] ACPICA: Add SMMUv3 device ID mapping index support Date: Wed, 9 Aug 2017 18:53:34 +0800 Message-ID: <1502276017-63108-2-git-send-email-guohanjun@huawei.com> X-Mailer: git-send-email 1.7.12.4 In-Reply-To: <1502276017-63108-1-git-send-email-guohanjun@huawei.com> References: <1502276017-63108-1-git-send-email-guohanjun@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.598AEB5B.010F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 78caa4aea100313578d176e34dcdefca Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Hanjun Guo 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(+) -- 1.7.12.4 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index d568948..e9a9842 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -809,6 +809,7 @@ struct acpi_iort_smmu_v3 { u8 pxm; u8 reserved1; u16 reserved2; + u32 id_mapping_index; }; /* Values for Model field above */