From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLanD-00034i-8A for qemu-devel@nongnu.org; Wed, 23 May 2018 16:55:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLanC-00083V-HV for qemu-devel@nongnu.org; Wed, 23 May 2018 16:55:31 -0400 References: <1527091418-11874-1-git-send-email-eric.auger@redhat.com> <22c4e504-a7b4-e6dd-b2cc-618d306b6f0c@redhat.com> From: Auger Eric Message-ID: <09062993-dfbf-70b3-587e-72a5b9a049e8@redhat.com> Date: Wed, 23 May 2018 22:55:21 +0200 MIME-Version: 1.0 In-Reply-To: <22c4e504-a7b4-e6dd-b2cc-618d306b6f0c@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 0/2] ARM virt: Support up to 256 PCIe buses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , eric.auger.pro@gmail.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org Cc: wei@redhat.com, drjones@redhat.com, ard.biesheuvel@linaro.org, zhaoshenglong@huawei.com Hi, On 05/23/2018 10:52 PM, Laszlo Ersek wrote: > On 05/23/18 22:40, Auger Eric wrote: >> On 05/23/2018 07:45 PM, Laszlo Ersek wrote: > >>> Regarding the second patch, I do believe we need "more sophistication" >>> there. For example, I guess it could be possible to distinguish "-cpu >>> cortex-a15" from "-cpu cortex-a57" somehow, and stick with the low/small >>> ECAM in the former case. (The 32-bit firmware already runs on cortex-a15 >>> only, and not on cortex-a57, according to my testing.) >> >> So we should detect we are in ACPI boot + aarch32 mode to force legacy >> ECAM region, right? > > Agree about the aarch32 subcondition. > > However, "ACPI vs. DT" is not the right "other" subcondition here; > instead we should (minimally) check "firmware vs. no firmware". See the > "firmware_loaded" boolean field. OK > > I also suggest waiting for feedback from others! :) sure ;-) Eric > > Thanks, > Laszlo >