From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7188033154287927296 X-Received: by 2002:a81:7442:0:b0:525:eade:96ec with SMTP id p63-20020a817442000000b00525eade96ecmr784195ywc.385.1675861417547; Wed, 08 Feb 2023 05:03:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:420c:0:b0:878:9082:1160 with SMTP id p12-20020a25420c000000b0087890821160ls7059076yba.10.-pod-prod-gmail; Wed, 08 Feb 2023 05:03:36 -0800 (PST) X-Google-Smtp-Source: AK7set82qsCPDjQx1MyxRlVPUIIBP0Z5UNFkto6DU4XnxP5+kcoCpWOwnYOyTnenToCpB5Kdod2H X-Received: by 2002:a25:5d02:0:b0:868:afdf:f46e with SMTP id r2-20020a255d02000000b00868afdff46emr4040089ybb.14.1675861416683; Wed, 08 Feb 2023 05:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675861416; cv=none; d=google.com; s=arc-20160816; b=UCqrkVGK6W49/idafQv0EuukR+rm78a1jBtUexbDGOaKm11x8n2XFfobEdqRcZ0Q/j Br+mk3xeVmuVQjr7fEbXSt07klTh63BbT4/3DHrvevUxbnAQDYNsD5r42Q2XuyOY7DjZ dTZLq33GynUWDSsHUxGrlgqdpSVjcqM7yiLThCyxvPgtukp1HB/AjIp8hF2rWUaMaGqi gS/6yWyjFcMKBowiDrjWpmwq2nv3lo563cY6dZadaODEB+GE5wHQxJs0fmLnRnXBBeiG AhmnjnIlePGdjt9qFrhpi/rM0VfE/ztdk9aV6iggN3pC8cBeNYtlM1KURVw4GHMFk8Qg /hQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=I0NbAKn+Ti1lP64EUe6lG1k2bpYjHWLBx8DoLJAFoq8=; b=SsVs0G5+k95HOzwtujm7D1zW1z/M6AUdxHCKfY/CIqCsyuauk+FUKmvUicswikA0NN xB8rwBdIom6TaI7BLHkDZYlhaO6lpF6TrpWn0sI3kcjwmmW+tndRNCI4RULeSlaJA0Sh NHw2Ed1Mo4koRB6d+3W2TI6OZOT43HyiKLTduf1EVJ0nNIAUdA19fSags8rFQU9EgNRr EPbUxmT3JDDoPho9dnInVdi0hUOXD8FGTa8ndbpVTsce9ok3oIz1LaWJXC2SrNQIhhgK KIElp+0Yqw+WwB4n4UHULdOD5mopZIlkLYq4jz2fx3zfwFHf25PyooHB48ySSOGyt141 Crmw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 140-20020a250292000000b007ddb8337f72si1696748ybc.1.2023.02.08.05.03.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Feb 2023 05:03:36 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from home.localnet (44-208-124-178-static.mgts.by [178.124.208.44] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 318D3Y15014803 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 8 Feb 2023 14:03:34 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: Re: [PATCH 06/11] meta-isar: Fix PCI bus initialization in qemuarm machine Date: Wed, 08 Feb 2023 16:03:31 +0300 Message-ID: <2169877.hkbZ0PkbqX@home> In-Reply-To: <20230113071942.22506-7-ubely@ilbers.de> References: <20230113071942.22506-1-ubely@ilbers.de> <20230113071942.22506-7-ubely@ilbers.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 7+HKSGYJJ6h0 In the email from Friday, 13 January 2023 10:19:37 +03 user Uladzimir Bely wrote: > With `QEMU_MACHINE ?= "virt"` qemuarm machine fails to initialize > PCI bus with the following error in dmesg: > > pci-host-generic 4010000000.pcie: can't claim ECAM area \ > [mem 0x10000000-0x1fffffff]: address conflict with \ > pcie@10000000 [mem 0x10000000-0x3efeffff] > pci-host-generic: probe of 4010000000.pcie failed with error -16 > > Adding ',highmem=off' makes PCI work and this allows to make ethernet > interface in VM working. > > Signed-off-by: Uladzimir Bely > --- > meta-isar/conf/machine/qemuarm.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-isar/conf/machine/qemuarm.conf > b/meta-isar/conf/machine/qemuarm.conf index 06d4b34d..6426a4a7 100644 > --- a/meta-isar/conf/machine/qemuarm.conf > +++ b/meta-isar/conf/machine/qemuarm.conf > @@ -10,7 +10,7 @@ IMAGE_FSTYPES ?= "ext4" > QEMU_ROOTFS_DEV ?= "vda" > > QEMU_ARCH ?= "arm" > -QEMU_MACHINE ?= "virt" > +QEMU_MACHINE ?= "virt,highmem=off" > QEMU_CPU ?= "cortex-a15" > # TODO: start_vm doesn't support multiline vars > QEMU_DISK_ARGS ?= "-drive file=##ROOTFS_IMAGE##,if=none,format=raw,id=hd0 > -device virtio-blk-device,drive=hd0" Applied to next (picked from "[PATCH 00/11] Support running custom commands in VM" as hotfix).