From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web12.23804.1585471892905348080 for ; Sun, 29 Mar 2020 01:51:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=jvXQnIaT; spf=pass (domain: linaro.org, ip: 209.85.221.43, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wr1-f43.google.com with SMTP id p10so17195125wrt.6 for ; Sun, 29 Mar 2020 01:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=VQEdRf5Rb1MCskzLWf28JlWdG9wxx5iaAzYSjhvSsPs=; b=jvXQnIaTKu3WSrVaVG6b0NFDFFt5ME2lRdQJmSI3Jy/fwVkv2RfLMp5sS2WCPGRwMV 49CEUro1WuYoAavKLF33xH9rdLDNXi372Ot5POJJsoTSXHKDUI2Ur/I/Vcj6ELG791Oe wno6wl2Kjm42zZmccfrKM8wxHILSJhC9R/2Jeg3Ay1xP6CgEHZv1xHcnYrQt6Zw9Sa+z PHv88jYaQeLm361AzNxSwsypy8dH2hG+f356swU75J5sGlr9jKqE5xIRAggAu7XTQIYU Yc3WSoxncA0rV2iWVMUPlSUlgoAoLeCKqYWHBg64l7BAiMWrD+OnXBVXpSMx8n6Fvn5J BTHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=VQEdRf5Rb1MCskzLWf28JlWdG9wxx5iaAzYSjhvSsPs=; b=PK/X0rwpTvnvJVjXKrzEAE1YSqxFCdzkwRSmi2EsTveYkhNL8WqQRJVu6b2xMEIsO+ UwL/QXuRSXFr585BMkEhaB1hraQ1+aMT86PF+LQfeSDOi7mWmTi2TU4jkZrHIJ/VZ5v4 oEnzZriJGqx5vKmh61yyT3ADb0LXPoAdnKjkLW5n8y+TCnKMcklRvKSN4//3ugk3BgzZ dBbtlOk6UkwGi14OTVV9IgHIGXRhxpX2d6x8dL+RTsMrwMEnw/oaJUDKyw//OoLIG65N nUXnsrJzBTkr6aPJTR8PWn7hQ6SYK4uE+j2NPu+YJQEN4i05tb7ry1WEt06oor2IZQDb vErA== X-Gm-Message-State: ANhLgQ1pRVmW5UY2xcf6a9a+ilBHxQC5J2bCskSsHwTWT71DToCSQgq9 ug3LpJChXm3XcVBnz+IFfokqsw1VYeR7LTRS9IgLiMokTSo= X-Google-Smtp-Source: ADFU+vudXlZvGtdQIppmp4aS11VqeA5CgIw76w1esGitISTMKtjTUzp7Wn97BVzTABGQHd/YarZ3tOxFmG/kqW4a8T4= X-Received: by 2002:adf:e487:: with SMTP id i7mr8759561wrm.151.1585471890922; Sun, 29 Mar 2020 01:51:30 -0700 (PDT) MIME-Version: 1.0 References: <27599.1585432045972021395@groups.io> In-Reply-To: <27599.1585432045972021395@groups.io> From: "Ard Biesheuvel" Date: Sun, 29 Mar 2020 10:51:19 +0200 Message-ID: Subject: Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for OvmfPkg and EmulatorPkg To: edk2-devel-groups-io , Sean Brogan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 28 Mar 2020 at 22:47, Sean via Groups.Io wrote: > > Ard, > I agree. How would we do this with AARCH64? I don't believe azure devop= s pipelines has a native AARCH64 platform available. I briefly looked over= ArmVirtPkg but not sure where to start. OVMF readme only talks about ia32/= x64. I could also see a scenario for a self hosted agent that is aarch64 b= ut that would require learning that aspect of devops (on the list but not a= t the top yet). Anyway look forward to ideas and discussion. > OVMF and ArmVirtQemu are very similar, in this regard: they require a matching version of QEMU: qemu-system-x86_64 for OVMF, and qemu-system-aarch64 for ArmVirtQemu, and I would expect most distros that carry either to carry both. Note that this will not require a native host - QEMU will use emulation if KVM acceleration is not available. *If* a native host is available that supports KVM, running the smoke test with KVM acceleration would definitely be preferred, especially on AARCH64, for reasons I pointed out earlier in this thread: the QEMU emulator is less strict than bare metal, and so issues related to cache maintenance or unaligned accesses to device mappings will only be caught when using KVM. KVM is also significantly faster, although I wouldn't expect that to matter for a boot-to-shell smoke test. I also think that having the EmulatorPkg based smoke test is already a huge step up from the current situation. But for changes to ArmPkg and ArmPlatformPkg, we need something on top of that, given that EmulatorPkg does not cover those at all.