From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::235; helo=mail-pl0-x235.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x235.google.com (mail-pl0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) (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 2977B22497F3C for ; Mon, 16 Apr 2018 06:57:13 -0700 (PDT) Received: by mail-pl0-x235.google.com with SMTP id 61-v6so10087510plb.2 for ; Mon, 16 Apr 2018 06:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jaeK1hhRvJhxjhtVBARG/lbzY9A+4U08lmJ2OHtWEaQ=; b=bzcvz+GT5FkI2BNZQ5BJMLCjF1R4ib741AlXjmColOkWEZH8zAHuVP+xFix3VvjwT7 L3QxUNviGXSeb9IX4x+2ZFy3CuTJG1tJhRnLwRCc/uFyyQSTh8T8yvQfMNCmrBNi7xly Ppc7Re4nYWUGc/vxc9kbCWABaxt+vPvM1CzX4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jaeK1hhRvJhxjhtVBARG/lbzY9A+4U08lmJ2OHtWEaQ=; b=pm9PCmGdzh61a/ekLz68qZMXDpDsh2TkdVGIjObW5qsDC7IiIoNiOFWBq+5kyT9IyH DJWaqA4+qMRknyKo2U9F94j4vlJgyEP6Qmd4BaE+VGfQBJ8WzKCl/4seat6vj4tTS831 1G6gqlI7ScFwRAB9bB3pYQ/mI6FjRU2XT00VrE4yNKFoX/GBcOjJj8ERcDo3jUvmeFRW LRT/Cwkgb9xc4yBbVmAI9d7aZ966+0UIQf0A0uwfnD6Jv7FQl+Y6yR/WxamCXwjvIZP8 LaPtb3/mNqmpdS2T7/RanmixRy5Pv97OkU9bcDn4CnyUM3M86p+x3sqkoMdNZDQqApYV UEeQ== X-Gm-Message-State: ALQs6tAw9i8iOxRU45U+515n0YYh4KssbCmTnVqrMDNwpIrpMLD00dAD aNmPcXdmeZFSn17UqU6IsrlOnpCJ2Rw= X-Google-Smtp-Source: AIpwx4/qQ57a/F+FUxmzF2GXc0JgjS1J0LpWj2kscLiHIUOsjrkEFqVMh4DYWWM2tqzvFObBBeSUqw== X-Received: by 2002:a17:902:8a82:: with SMTP id p2-v6mr15512430plo.91.1523887033592; Mon, 16 Apr 2018 06:57:13 -0700 (PDT) Received: from SZX1000114654 ([45.56.152.120]) by smtp.gmail.com with ESMTPSA id d83sm33963014pfl.176.2018.04.16.06.57.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 06:57:12 -0700 (PDT) From: Guo Heyi X-Google-Original-From: Guo Heyi Date: Mon, 16 Apr 2018 21:57:09 +0800 To: Ard Biesheuvel Cc: Guo Heyi , Leif Lindholm , "edk2-devel@lists.01.org" , Michael D Kinney , Haojian Zhuang Message-ID: <20180416135709.GA122959@SZX1000114654> References: <1521594198-52523-1-git-send-email-heyi.guo@linaro.org> <20180328010531.GA69547@SZX1000114654> <20180329002050.GB97590@SZX1000114654> <20180331013747.GA106704@SZX1000114654> <20180413020553.GB119834@SZX1000114654> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [PATCH edk2-platforms 00/12] Hisilicon/D0x: Switch to generic PciHostBridge X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 13:57:14 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thanks, I will test mm command and let you know the result. Regards, Heyi On Fri, Apr 13, 2018 at 09:19:53AM +0200, Ard Biesheuvel wrote: > On 13 April 2018 at 04:05, Guo Heyi wrote: > > Hi Ard, > > > > Any comments? > > > > Apologies for the delay. I have been travelling and am behind on email. > > > Anyway we can modify the code if you insist on using an intermediate CPU IO > > address space. > > > > I have not made up my mind yet, to be honest. I agree there is a > certain elegance to merging both translations, but I am concerned that > existing EDK2 code may deal poorly with I/O addresses that require > more than 32 bits to express. > > Did you try the mm command in the shell for instance? As you know, I > recently removed an artificial address range limit there, but I wonder > if it uses 64-bit variables for I/O ports.