Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp343295imm; Thu, 5 Jul 2018 01:00:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcfBDCgkTxvghuv96DokLF1+munLUF8fvVFolsgahYmfL0zGHn4z8JTFKhaFbzFLz2wwPzC X-Received: by 2002:a63:b256:: with SMTP id t22-v6mr4729970pgo.101.1530777637501; Thu, 05 Jul 2018 01:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530777637; cv=none; d=google.com; s=arc-20160816; b=FHwnDuLGVMgNn5TkPT54CVwM3SVtibqkLF7wb8fiwlQscKLFfDoQLU/HTvvrqPAjhC FjR7kxM9+4ajf7rEouoiA5F/Z2e7hrX5XI7HDhm/CTHGp69ml9xRTd0+UDmutI6oP5B1 pfeqBOQXhjKRMtWa7RsQ0wGzCZaIX+URkbMONLEAfP6BbWvEYXuNl+wlyYPX9ssvp7nP AZOP3RfjYE4Ix1/X4fyGoIMSRMOxvkV8qe+/a01XmiCXHNfTphdhRVs95/m0vfb8AfwU CijzhSU0CE5Sf2cYc/AUoIsmjVJv3/npotb9aZnq7o9dxNxkerohEZ8SThJ8dx9kV+dV A3mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=ZUk46EX8ka3/poIpvGghi6XJuz3EBC/fhWukvx73qw8=; b=yRVHTMp6f84zyYmsAJ/TRARtXoQ9kuMWxm+TypOC5y05svT26ibfixxcwywAQ3d8h0 uPrmljWiAf/fNExUgi3GEbMuWbJNY+y1VoGYipaxBmQUnOoSkPQHIwOALSpeo62H6Va9 9ur6Lw7VGwqhv/PZW6OItrKwOeCoqDBitQbeQcpfwno9e8C7zc5NFoPXT4inyFqdWrcB fn9CfO2UbuwgebcnPPo3M4qyhqzR6GRAu2S95glRuRLdAZN4PtBunAbGhdCAtIvX2zPd ptU7ToCrnCXemsaebpgslWPMnA3nXwdnffUHiG8oPGV3y50LV2qDIlJMkyk+NKUj4L12 Kadg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13-v6si5761285plb.463.2018.07.05.01.00.22; Thu, 05 Jul 2018 01:00:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753410AbeGEH64 (ORCPT + 99 others); Thu, 5 Jul 2018 03:58:56 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:50370 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753041AbeGEH6y (ORCPT ); Thu, 5 Jul 2018 03:58:54 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1A41687A84; Thu, 5 Jul 2018 07:58:54 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-118.ams2.redhat.com [10.36.116.118]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 41213111DD02; Thu, 5 Jul 2018 07:58:52 +0000 (UTC) Subject: Re: [kvmtool test PATCH 24/24] kvmtool: arm: Add support for creating VM with PA size To: Peter Maydell , Will Deacon References: <1530270944-11351-1-git-send-email-suzuki.poulose@arm.com> <1530270944-11351-25-git-send-email-suzuki.poulose@arm.com> <20180704142241.GG4828@arm.com> <8636wzysfl.wl-marc.zyngier@arm.com> <20180704155123.GO4828@arm.com> Cc: Christoffer Dall , kvm-devel , Marc Zyngier , Catalin Marinas , Punit Agrawal , lkml - Kernel Mailing List , QEMU Developers , kvmarm@lists.cs.columbia.edu, arm-mail-list From: Auger Eric Message-ID: Date: Thu, 5 Jul 2018 09:58:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 05 Jul 2018 07:58:54 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 05 Jul 2018 07:58:54 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'eric.auger@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 07/05/2018 09:51 AM, Peter Maydell wrote: > On 4 July 2018 at 16:51, Will Deacon wrote: >> On Wed, Jul 04, 2018 at 03:41:18PM +0100, Marc Zyngier wrote: >>> Not really. Let's say I want my IPA space split in two: memory covers >>> the low 47 bit, and I want MMIO spanning the top 47 bit. With your >>> scheme, you'd end-up with a 47bit IPA space, while you really want 48 >>> bits (MMIO space implemented by userspace isn't registered to the >>> kernel). >> >> That still sounds quite niche for a VM. Does QEMU do that? > > Not at 47 bits, but we have RAM up to the 256GB mark, and > MMIO above that (including a large PCI window), so the general > arrangement of having the top end of the IPA space not > necessarily be things we've told the kernel about definitely > exists. Is this document (2012) still a reference document? http://infocenter.arm.com/help/topic/com.arm.doc.den0001c/DEN0001C_principles_of_arm_memory_maps.pdf (especially Fig 5?) Peter, comments in QEMU hw/arm/virt.c suggested next RAM chunk should be added at 2TB. This doc suggests to put it at 8TB. I understand the PA memory map only is suggested but shouldn't we align? Thanks Eric > > thanks > -- PMM > _______________________________________________ > kvmarm mailing list > kvmarm@lists.cs.columbia.edu > https://lists.cs.columbia.edu/mailman/listinfo/kvmarm >