From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::22b; helo=mail-wr0-x22b.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com [IPv6:2a00:1450:400c:c0c::22b]) (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 6876F203525EE for ; Thu, 26 Oct 2017 08:09:53 -0700 (PDT) Received: by mail-wr0-x22b.google.com with SMTP id 15so3515711wrb.5 for ; Thu, 26 Oct 2017 08:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eZwln2kGoQeqbcgAKUmalhTFiESmW40uATsBB3n/L4k=; b=c2kBZBf8i/KR/ixFv0u+Bho/FfCNpMa7jWt4y7G4hKLt40zwzm5o6nCek2LWJr4cIq C4sabPs2MqBnV8eDmrz/rxxafJwsHhuMw/7shgF/lr5sQry9VxXrUt4Z9a1OqdyVSynb Cf39GN+RE7FKRmFUEos+8Lyc1m8RkgXnyeDOk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eZwln2kGoQeqbcgAKUmalhTFiESmW40uATsBB3n/L4k=; b=tS5xUW5LxkR7WUsiVVjwRne3Yuugv9PBYh0JNMvwoothCoTlEaEhgr00Ad6n78UCjX mXQmPkYAss9yRKPZMZFt6l9bqwUnFWFSVJY1lq5r/OOOWitIiAHkoC8/UxGeo9UdzLDB ArxyVN4FX35x/xs7POlsQ+FkJ43T3KK38qINdCUEVaid67QfGMgLsHsuQNhSp+VVhIPD oeddrYXzqvt77m4dEE4MHZuCFmzOk2z34+OpjCbSnPIl1bXht45+o83OBD6uxUxyRbfx /lOjF6eV0CL/2+olj8kNIKeVD+jFXMRKpDAS1R0HKpBQrcYgIWxiMigmLjyuEr5AzvCF niFw== X-Gm-Message-State: AMCzsaU1lboz5xFM1/L3BgJjdYAmVPt/9Cbo9NZFab7NhjxiyC1/oBWs 2aq8zTMXZNZ1N19PTgvLbh+stA== X-Google-Smtp-Source: ABhQp+T0nnXd5y1HdSPypSBWR690g5V3QOCLCn8YTN5R3f6rx9pX4NpZgtD6djWmHI3LjqZtDVaQlA== X-Received: by 10.223.161.20 with SMTP id o20mr5889144wro.276.1509030818137; Thu, 26 Oct 2017 08:13:38 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id b190sm1712510wma.41.2017.10.26.08.13.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 08:13:37 -0700 (PDT) Date: Thu, 26 Oct 2017 16:13:35 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, daniel.thompson@linaro.org, masami.hiramatsu@linaro.org Message-ID: <20171026151335.csi6u4vqif2hj3or@bivouac.eciton.net> References: <20171025175947.22798-1-ard.biesheuvel@linaro.org> <20171025175947.22798-8-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20171025175947.22798-8-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 07/23] Silicon/SynQuacer: implement EFI_CPU_IO2_PROTOCOL 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, 26 Oct 2017 15:09:53 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 25, 2017 at 06:59:31PM +0100, Ard Biesheuvel wrote: > The SynQuacer SOC has two separate PCIe RCs, which means there is > no single value for the translation offset between I/O port accesses > and MMIO accesses. So add a special implementation of EFI_CPU_IO2_PROTOCOL > that takes the two disjoint I/O windows into account. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm