From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web09.8143.1630427153864552586 for ; Tue, 31 Aug 2021 09:25:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OofRcDXp; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630427153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HCSLgDuoJx/f3h3wRYXN55aaJ7LICzSpVaA9d0UnezM=; b=OofRcDXpfyTnsNmLssd7NKY0JtWCXDrsUeI8XKxVHjNIlPrX/tnpIRlj3ZxvZYUYnweYpM eC8TMznbJJTfmUIy6Q+9mN1o51URxP1+lnrCm80nlbohlC/rbDslfb4CxZ4rX/WWhsU8Q2 mHaPJ4Jq6Atks4xEh5alEqhFscUcmM0= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-OMffNhjcP-W54lKsnCCuvw-1; Tue, 31 Aug 2021 12:25:51 -0400 X-MC-Unique: OMffNhjcP-W54lKsnCCuvw-1 Received: by mail-wm1-f71.google.com with SMTP id j135-20020a1c238d000000b002e87aa95b5aso1487489wmj.4 for ; Tue, 31 Aug 2021 09:25:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HCSLgDuoJx/f3h3wRYXN55aaJ7LICzSpVaA9d0UnezM=; b=hT41dY9Zo7CNvQx8wJO663brQqb/IJr5VKe0DaGRMWnVLVFkWHP45w0YvC7AghRw0V lfCzMaUt9zLRz62WAdS/X7mvmydFbCm0Kl5AceEaDDxiwMHBiHHDc2vctnE8L1dsY5qS dwANS9wA8S6iVZ+iJGebtLvX2tv3/HwmZye+ffO9D80di5+t3K1YTBBQMkH/rw6vtFRv 4f8J0R3t3GJwcwE9xHjANtpseE1Yw4rFXtS/OMFfCD6K0Zh1dV0WOwMEzIKkbX787Te8 4Q0G1wg4w/lFsoLeRbO5IfVZvsEC0WECn6b/u1W+kmoRjc5hdkSnaS+5+qNhLB1k4MW+ F9sg== X-Gm-Message-State: AOAM5313m3QJC+tH43zUz3YFF0cYAgSdvwEanmvLJr4OdpQKN3EIe2FK aek+kUhSXOdwpYNbb1eLN0vErPGXCNDJUXawQ6qBTn0WehlfNzzRJx7GCj/3oAkEWR6tbfkxe6n 5YHZaHxgdrErLKw== X-Received: by 2002:adf:edcf:: with SMTP id v15mr32566681wro.61.1630427150730; Tue, 31 Aug 2021 09:25:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgwsSqfu7W/KAtGzGJ0Hhi53MbyuC4Oq+kPZ7qAGpklGYBIlq8Tde66+YPifGnsZoDkriqiA== X-Received: by 2002:adf:edcf:: with SMTP id v15mr32566661wro.61.1630427150563; Tue, 31 Aug 2021 09:25:50 -0700 (PDT) Return-Path: Received: from [192.168.1.36] (163.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.163]) by smtp.gmail.com with ESMTPSA id w9sm2816794wmc.19.2021.08.31.09.25.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Aug 2021 09:25:49 -0700 (PDT) Subject: Re: [edk2-devel] [PATCH 10/17] OvmfPkg/Microvm: use XenTimerDxe (lapic timer) To: devel@edk2.groups.io, kraxel@redhat.com Cc: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Anthony Perard , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Julien Grall , Stefan Berger References: <20210831095714.2834550-1-kraxel@redhat.com> <20210831095714.2834550-11-kraxel@redhat.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Message-ID: <01ca1249-1484-3664-f8b7-0e579ab6d4cf@redhat.com> Date: Tue, 31 Aug 2021 18:25:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210831095714.2834550-11-kraxel@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 8/31/21 11:57 AM, Gerd Hoffmann wrote: > Microvm has no acpi timer, so go use XenTimerDxe > which uses the local apic instead. > > FIXME: timer frequency is wrong. Xen seems to expect a 10MHz timer. Maybe use as constant to make a generic LocalAPICTimer driver used by both Xen and microVM (with different clock rates)? > Signed-off-by: Gerd Hoffmann > --- > OvmfPkg/Microvm/MicrovmX64.dsc | 3 +-- > OvmfPkg/Microvm/MicrovmX64.fdf | 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-)