From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6797220958BE9 for ; Wed, 6 Sep 2017 02:31:33 -0700 (PDT) Received: by mail-it0-x236.google.com with SMTP id p6so8661740itb.1 for ; Wed, 06 Sep 2017 02:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AnJ52/jt6IQNDpgfGQFOupRiSgKVNCxUeGvuEb00YNs=; b=ZmJ7ZmY5ccZWFWVeg3YB6u7GLiY9gnLXnNILVeR/Z9q8HMvao11BM7MbzZOdvGrvvs LFAbpZeJ4ksj3+ei6l30Gp+b7l62znQrWgLIa/dB3O+z2t2QJoMKK5LOoC201hMgwYUM SqfuXwjGpvypYBZ7lh/tm2ssq69UPSzIG069PSCbdC831FqeVqIh2fR87xn88lpMf3YQ 6wsjebKkmESX11xNOn1slK9qLPZrgybP0Zs3f3RNq3TE674LaFajrYdyLUOeCI0vHJmi g1e2snPcc2u2ROnaBPKMB0H5d7VYF6QLz9UAzRdCj5I0VexHCxAXl5vRGyLCe9OK5N0a x6fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AnJ52/jt6IQNDpgfGQFOupRiSgKVNCxUeGvuEb00YNs=; b=fS6epfw2OuTN5q5Z+Dy1yIV2oyU2WTdcFfVk1gIyaCc2uci9UQz+8HJ3vGikmhULDc H/SlC33Y5UL4u6WhkIqQp53AwvHzE+QrvDsSxRGe+Ce9z1ju3Irbm9rdhlZstn75iAN/ HbyGmveBTdsgcw5nnmigLw+aarRIoSJ74bCrUWkUN7nKN3+7/6sVaziu08PErOg6bVNz GTx0sLlb6CtdbcqJEwHmuPdLVsH8PBqYa4ExzaAoFG8F87Jh6SsMdVNTgECFmtvXahp+ zJA22uJzvn0ymRYxwqcvBSPlFxLXW5duab0Y4pt/cfKLkd93e9puUG2dahZBkOWSPD1P rS0w== X-Gm-Message-State: AHPjjUi6Nr0NY1G1z+gGi1BsbAgd6bcsUprXa/Joa0yVuwcXK+2RCI68 i32IhKDM+B7C/ffbwP3wo+sH3vvgKlEnq98rUg== X-Google-Smtp-Source: ADKCNb6fEWPOxCWOXW4HhamKKzDXEhqk4fuk8ggeVHdiJH+jnzIPXbRlDUnJwzpsuvJUD4P3HmKksdN9nm8JxI4SHpY= X-Received: by 10.36.200.10 with SMTP id w10mr2412990itf.4.1504690462659; Wed, 06 Sep 2017 02:34:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.0.150 with HTTP; Wed, 6 Sep 2017 02:34:22 -0700 (PDT) In-Reply-To: References: <734D49CCEBEEF84792F5B80ED585239D5BA23CEF@SHSMSX104.ccr.corp.intel.com> From: Bartosz Szczepanek Date: Wed, 6 Sep 2017 11:34:22 +0200 Message-ID: To: Ard Biesheuvel Cc: "Ni, Ruiyu" , "edk2-devel@lists.01.org" Subject: Re: CPU/PCI addressing in PciIoGetAttributes 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: Wed, 06 Sep 2017 09:31:33 -0000 Content-Type: text/plain; charset="UTF-8" > The spec is quite clear: the address descriptor should *not* contain > the raw BAR value, but the CPU's translated view. So I think we should > fix the implementation to comply with that. To complicate it a little further, here's what ACPI specification says about QWORD Address Space Descriptor: > Address range minimum [...]. For bridges that translate addresses, this is the address space on > the secondary side of the bridge. I don't think "secondary" means CPU side here... perhaps it is something to be discussed in ASWG/USWG?