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=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 7514AC2D0DE for ; Wed, 1 Jan 2020 23:37:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4DBBB20722 for ; Wed, 1 Jan 2020 23:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727457AbgAAXhc (ORCPT ); Wed, 1 Jan 2020 18:37:32 -0500 Received: from mga03.intel.com ([134.134.136.65]:58396 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727393AbgAAXhc (ORCPT ); Wed, 1 Jan 2020 18:37:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jan 2020 15:37:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,384,1571727600"; d="scan'208";a="244468568" Received: from allen-box.sh.intel.com (HELO [10.239.159.136]) ([10.239.159.136]) by fmsmga004.fm.intel.com with ESMTP; 01 Jan 2020 15:37:29 -0800 Cc: baolu.lu@linux.intel.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Roland Dreier , Jim Yan Subject: Re: [PATCH 1/1] iommu/vt-d: Add a quirk flag for scope mismatched devices To: Joerg Roedel References: <20191224062240.4796-1-baolu.lu@linux.intel.com> From: Lu Baolu Message-ID: Date: Thu, 2 Jan 2020 07:36:22 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191224062240.4796-1-baolu.lu@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/24/19 2:22 PM, Lu Baolu wrote: > We expect devices with endpoint scope to have normal PCI headers, > and devices with bridge scope to have bridge PCI headers. However > Some PCI devices may be listed in the DMAR table with bridge scope, > even though they have a normal PCI header. Add a quirk flag for > those special devices. > > Cc: Roland Dreier > Cc: Jim Yan > Signed-off-by: Lu Baolu Queued for v5.6. Thanks, -baolu