Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp24466pxb; Thu, 2 Sep 2021 18:14:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUUaYikHe7F+Rd0HwC61ZxZWL9lBiZ/U7AXuwrfnDYeCMowuOtrLFGKjzSwqA8npHjv2r5 X-Received: by 2002:a17:906:1956:: with SMTP id b22mr1216836eje.104.1630631644557; Thu, 02 Sep 2021 18:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630631644; cv=none; d=google.com; s=arc-20160816; b=M6z5K61ELWyzevLCYM4a/Xiq4TSMbg1lwIf2+RGSk7cgr1l/K7w/LA8ZyCe5OxQaFD QxTENf7ea6/+jtP2GVUCDToT9P9XSYxo5AQY0XRchyKT74Odiz0pbO2s4v76/3UGL1MJ /Hr5Y3qiE+TSJmGX0IXmqvswSGLWguR4hlcnNoHQXIJBaBoLCv9xyY6Kl4rSvcvDqwXD 4vdREEn4SN1v35kPE+mx+pGoiNhTfB5wKSKW8rI61s2Mbv/HRHeXWLllre31WA+eIvfn F7BXek1OrP41G31wsjOGKGXDJ84/JEPOvLccIQi0EmNwg/ewKilb3xiqqrI17OuWxi7f vt8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hreAElmr17ZL4OZVVbHmIMZ79i4fbz6kVkns1rTJnHc=; b=mKg2lSpN6L/vxKjx1HxrXCrIJV+HsYYxCvs9GL9EZhgp66EkFc8NBuWQVIeO3xHEXf ziileUOC9TCfqp5f30jRiKy9s61xQAQSOcesNq0Gx0I85mH2h/nUpZjE/c5Nnm8XNjv2 RySQZZ1nhkoX3m8ciUm/iuhQrMTAyNh19OU0J9R5ZooaHGNA0VIOaZT9wu+ZiWNESMh8 VpEIFcrJiqnW9jOMAC7vioIkEdWqRY3flTQHeEv2uB4ISB8i/fYZ+cnC8vOqPVDKQ4ET 5L59LyRaCjeflL8as2O2IAMduPzfg4cY34j8FRhFWYNXa+9ql44vtqyE6r7gTU8GPEsM 94ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HCYGedbi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si4191200edv.394.2021.09.02.18.13.41; Thu, 02 Sep 2021 18:14:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HCYGedbi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345795AbhIBUWC (ORCPT + 99 others); Thu, 2 Sep 2021 16:22:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232042AbhIBUV5 (ORCPT ); Thu, 2 Sep 2021 16:21:57 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14A51C061757 for ; Thu, 2 Sep 2021 13:20:57 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id y6so5865653lje.2 for ; Thu, 02 Sep 2021 13:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hreAElmr17ZL4OZVVbHmIMZ79i4fbz6kVkns1rTJnHc=; b=HCYGedbiW5sxO0PtzzBBe+DYAD81uoV3SwQYKClx0kwNbPRA5ElojhCrT3jnR4uhRd HLxyprxHi7xQasx3DFgNlTj/yg1d0j46tzGDI1S8+hIdpRX9R1nPqC6KPQ5zirF2eLrV WDmNqiVxfeaWTlBG45m02oSkp/x9Yu4g+rjx1xUpK1aFOMOU+I3ajhe5cEWguOx0iCHh kR/QtkZR4ZQBYPsR2sA6DjayNC4N6XiTfe9La6Wm0Kty9kskkGxLF3OHRbvTyhVxtEWe 2lKIWZNF4S+geRas9yuWGFUU1fQPftnpoScaFM9gHMr2ZkBjj551yoTkTj+7+Hdr7gsE zz/w== 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:cc; bh=hreAElmr17ZL4OZVVbHmIMZ79i4fbz6kVkns1rTJnHc=; b=Q3XML5GS85WhbRTAwlRs+B3Gf5HmxQ1dlSg3ce2OlPq0i81ZdWzXLNE0GhD+M5DzJf khfsr0kgy7M28NuxSJc4kl7Tdyd81ZhGJV6N6hvdvvIvEvx4UEpfmVK7GJ5CgSASATGs rkoB+vCqI8fhiB6MFmOg4o3e452o1SCmsCG82zuVsBrYRVdawladgoMSFuPbpZXHeVQx 0OEgfk6i01a8mOLjVxqe6AR1lb0dDoLas4TsBwoC6rWtpYrPvvrxevBeNO5f4QumkQ2Z gWimMDgEFJpSYY2P6yLBLabqy9B+hf8yl6Zqo+XFFRDwNPYszqOWTtG82rdRQuxWhK7/ Fmug== X-Gm-Message-State: AOAM533nHDyxKs7dNXJq9ZSajYQeNHqur8Wl27DnBrf1PsfHuZHyZsOy A8Nyweqxh76qorQmzbsrsMJ5OuZSGW14syrzPXCe/g== X-Received: by 2002:a05:651c:33b:: with SMTP id b27mr65586ljp.314.1630614055208; Thu, 02 Sep 2021 13:20:55 -0700 (PDT) MIME-Version: 1.0 References: <20210901211412.4171835-1-rananta@google.com> <20210901211412.4171835-6-rananta@google.com> In-Reply-To: <20210901211412.4171835-6-rananta@google.com> From: Oliver Upton Date: Thu, 2 Sep 2021 13:20:31 -0700 Message-ID: Subject: Re: [PATCH v3 05/12] KVM: arm64: selftests: Add basic support to generate delays To: Raghavendra Rao Ananta Cc: Paolo Bonzini , Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Will Deacon , Peter Shier , Ricardo Koller , Reiji Watanabe , Jing Zhang , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 1, 2021 at 2:14 PM Raghavendra Rao Ananta wrote: > > Add udelay() support to generate a delay in the guest. > > The routines are derived and simplified from kernel's > arch/arm64/lib/delay.c. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/include/aarch64/delay.h | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 tools/testing/selftests/kvm/include/aarch64/delay.h > Reviewed-by: Oliver Upton