From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD453C10F00 for ; Fri, 6 Mar 2020 09:33:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8695E2084E for ; Fri, 6 Mar 2020 09:33:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726124AbgCFJd0 (ORCPT ); Fri, 6 Mar 2020 04:33:26 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:11190 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726070AbgCFJd0 (ORCPT ); Fri, 6 Mar 2020 04:33:26 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id BD4911C0AA932FE648A1; Fri, 6 Mar 2020 17:33:22 +0800 (CST) Received: from [127.0.0.1] (10.177.223.23) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Fri, 6 Mar 2020 17:33:12 +0800 Subject: Re: [PATCH 00/10] PCI/ATS: Device-tree support and other improvements To: Jean-Philippe Brucker , , , , , , , , , , , , CC: , , , , , , , , , , Linuxarm References: <20200213165049.508908-1-jean-philippe@linaro.org> From: Hanjun Guo Message-ID: Date: Fri, 6 Mar 2020 17:32:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20200213165049.508908-1-jean-philippe@linaro.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.223.23] X-CFilter-Loop: Reflected Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On 2020/2/14 0:50, Jean-Philippe Brucker wrote: > Enable ATS on device-tree based systems, and factor the common ATS > enablement checks into pci_enable_ats(). > > ATS support in PCIe endpoints is discovered through the ATS capability, > but there is no common method for discovering whether the host bridge > supports ATS. Each vendor provides their own ACPI method: > * DMAR (Intel) reports ATS support per domain or per root port. > * IVRS (AMD) reports negative ATS support for a range of devices. > * IORT (ARM) reports ATS support for a root complex. Tested this patch set against 5.6-rc2 on a Kunpeng920 ARM server, I just confirmed that this patch set didn't break anything in my box with ACPI booting, PCI devices work as expected, FWIW, Tested-by: Hanjun Guo Thanks Hanjun