From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6E1FD21B03878 for ; Thu, 25 May 2017 11:56:05 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 25 May 2017 11:56:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,393,1491289200"; d="scan'208";a="266411126" Received: from jljusten-skl.jf.intel.com (HELO localhost) ([10.54.75.25]) by fmsmga004.fm.intel.com with ESMTP; 25 May 2017 11:56:04 -0700 MIME-Version: 1.0 To: Brijesh Singh , Laszlo Ersek Message-ID: <149573856411.17919.1913237471235271079@jljusten-skl.jf.intel.com> From: Jordan Justen In-Reply-To: Cc: "Ni, Ruiyu" , Thomas.Lendacky@amd.com, edk2-devel@lists.01.org, leo.duran@amd.com, Jiewen Yao References: <1495466592-21641-1-git-send-email-brijesh.singh@amd.com> <1495466592-21641-8-git-send-email-brijesh.singh@amd.com> User-Agent: alot/0.5.1 Date: Thu, 25 May 2017 11:56:04 -0700 Subject: Re: [PATCH v5 07/14] OvmfPkg:IoMmuDxe: Add IoMmuDxe driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2017 18:56:05 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 2017-05-25 10:58:45, Laszlo Ersek wrote: > = > If you add a patch to the series where you change the DEPEX of > PciHostBridgeDxe to > = > gEdkiiIoMmuProtocolGuid OR gEdkiiIoMmuAbsentProtocolGuid > = > then the maintainer (Ray or Jiewen I think) will likely reject that > patch, because afterwards, all platforms that include PciHostBridgeDxe > would suddenly have to produce gEdkiiIoMmuAbsentProtocolGuid, minimally. I haven't worked with it, but it does appear that feature PCD's can be used to conditionally add new depex values. $ git grep -e '|.*Pcd' -- '*.inf' I'm not sure if that feature works with depex 'OR'. Regarding IoMmuAbsent or IoMmuDetectionAttempted, they seem similar. -Jordan