Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1031456pxb; Wed, 1 Sep 2021 15:47:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9a2nMG30CnPbQfrXF7zBfPzV5ukFrHYQMLNic21pQV+gSc+ZgnpbyBxGzn/RxtyM6e5NK X-Received: by 2002:a17:906:8281:: with SMTP id h1mr231434ejx.352.1630536471876; Wed, 01 Sep 2021 15:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630536471; cv=none; d=google.com; s=arc-20160816; b=oHg4NYfmFG7oTPy0ehdurEyEGRCXrJlyHYYSadT28KuojfgeAs/pqa6IC28W7ukwgz oSvxHrncyGohLJtqGcsjoCbKXGNmSZ303T9JOXW7DHLOKzupWjHG6CYXdF6VmZg8lnlU aVFCqqYN1R3ocCFDZtQxrhcoW9jdTxUgEHVbX2cUxXx6xuSxQbytXpvqBnw8sPz83d20 7WzrzlukHZR7Rp8nUZVgjFsLVxXfOPMOLEZibdWxrKCbofMLlh874touS6VNo9xKqiVh 9SYlNRq3T+4pRry4oKTgI9q3AcK630hONWa49MfbHCli7s3QAvHi9I3Ky5/x9c4C98M/ jDZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uAcZD9SKFW1AVCpO9fy2xcE9RkcQWlr+7iJy1aKTS5k=; b=y0FgVc056oBQz76zQbEBtOyGIL5f9USejkbiGcvIQBDofVxcLX+/kGhsEWfgb5aNXh QfFfW4LSXXqa8DN5b0Ms6ma2rzDshb5dTa+T9GhnTy5LmCa7s01Mi/u9nShEsSTiyB3B ZluMVQdAeINYAn69BsXZRNWLC0nv9JR5cBXi8MKh8df2nIIKhQVr/7/TE0Icjdk2hG9f DHZYlRv26b48uYbkAHPA1QWbwPdeM3Y3NY2t1GI7CUi8tXa0VFFkmdauDCr8W0ThSeur GrbnN20L4ZyOxS3+5Qmy43BeLQ3OCzPneWgrzqUO6+RLNA59vlqFVajq9LwSBRkIGiYT gISg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=IqadqVyN; 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 p31si158430edb.495.2021.09.01.15.47.28; Wed, 01 Sep 2021 15:47:51 -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=IqadqVyN; 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 S232075AbhIAWFH (ORCPT + 99 others); Wed, 1 Sep 2021 18:05:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbhIAWFG (ORCPT ); Wed, 1 Sep 2021 18:05:06 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B156EC061757 for ; Wed, 1 Sep 2021 15:04:09 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id n24so1074849ion.10 for ; Wed, 01 Sep 2021 15:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uAcZD9SKFW1AVCpO9fy2xcE9RkcQWlr+7iJy1aKTS5k=; b=IqadqVyNMf/GZSVQLByPmoGST5Yoe6VHJSXDJKjBpMmn12ALTuYElYhDRaFxgUJUnh Ei97BB4BG2dhB0qxmaygwLY66TG2qW8NKDzECdYdgqAl8nmRSlDYtcr3TI42eifXXsRf MtTeSKtV9bxupkt2+vheAfn70IzWWR3OgdmgxiY6RCP+/kIpsMylxa88a9gECQKYBM12 QorJM/x/GLXBb/UWm+hzcrkGhoCM/gBGgmi1sB9G7jJUnEXBvG+5ngzDKj2d+aV7WZJS fgMm5+8NEGJTfXvzf0xCZHa9BSFI3GGL68GZkKT/EJ18Ym4XqeRflMw+VXgeQEZmaJFk VAoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uAcZD9SKFW1AVCpO9fy2xcE9RkcQWlr+7iJy1aKTS5k=; b=FzEPgJyUlf1QJGRoFKjFn1RtpWceo4XyRzl2aXkfWmcNJuRBJfBKuYaL0NlOxPy0Cf KchttEDehpdodPb9LiMMLnk9dt5VG9oS6hWjWnmH2RUAxsKlzg2Ad0yzv807gmsjHkeQ omS0zYvYNAMyXD7dXP4/ibgDikYSnRQfgkzwMi6hYj6ubpl4IGgL4CXNl6HUfVAuivRN 0oL8sUUF5r5u61LBSRT5udrUxYx9X40oZ0Cb0q+93CoaxhiK54VxO7jy8JyfhU44yV7I W9xjbg+iH6lmYXgzPrlFYMMAZj+gi6ownZUyTEQF8L4X4A+50zcQ2VOv/i7XRJpn9V7r qDvw== X-Gm-Message-State: AOAM533F2MbIhPcyB+Gb+a597ldoasm/QBdJdwBM3iYDESLsbRxSH4Cq XfdmyeEouAYHXM/0ViseZmUuvw== X-Received: by 2002:a5d:8d06:: with SMTP id p6mr20177ioj.7.1630533848737; Wed, 01 Sep 2021 15:04:08 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id g14sm418990ila.28.2021.09.01.15.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 15:04:08 -0700 (PDT) Date: Wed, 1 Sep 2021 22:04:04 +0000 From: Oliver Upton 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 Subject: Re: [PATCH v3 00/12] KVM: arm64: selftests: Introduce arch_timer selftest Message-ID: References: <20210901211412.4171835-1-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901211412.4171835-1-rananta@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 09:14:00PM +0000, Raghavendra Rao Ananta wrote: > Hello, > > The patch series adds a KVM selftest to validate the behavior of > ARM's generic timer (patch-11). The test programs the timer IRQs > periodically, and for each interrupt, it validates the behaviour > against the architecture specifications. The test further provides > a command-line interface to configure the number of vCPUs, the > period of the timer, and the number of iterations that the test > has to run for. > > Patch-12 adds an option to randomly migrate the vCPUs to different > physical CPUs across the system. The bug for the fix provided by > Marc with commit 3134cc8beb69d0d ("KVM: arm64: vgic: Resample HW > pending state on deactivation") was discovered using arch_timer > test with vCPU migrations. > > Since the test heavily depends on interrupts, patch-10 adds a host > library to setup ARM Generic Interrupt Controller v3 (GICv3). This > includes creating a vGIC device, setting up distributor and > redistributor attributes, and mapping the guest physical addresses. > Symmetrical to this, patch-9 adds a guest library to talk to the vGIC, > which includes initializing the controller, enabling/disabling the > interrupts, and so on. > > Furthermore, additional processor utilities such as accessing the MMIO > (via readl/writel), read/write to assembler unsupported registers, > basic delay generation, enable/disable local IRQs, and so on, are also > introduced that the test/GICv3 takes advantage of (patches 1 through 8). > > The patch series, specifically the library support, is derived from the > kvm-unit-tests and the kernel itself. > > Regards, > Raghavendra For later submissions, can you include a lore.kernel.org link to your older revisions of the series? NBD now, its easy to find in my inbox but just for future reference. -- Best, Oliver