Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1668884rwo; Wed, 2 Aug 2023 19:25:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlH86w2awNIGinilpI94jzudGKDZchqE663rlN1j4boKQrqSmSewS+e2uBiRW9OdLANSm+Jh X-Received: by 2002:a17:906:3046:b0:994:580c:5049 with SMTP id d6-20020a170906304600b00994580c5049mr5963159ejd.5.1691029543602; Wed, 02 Aug 2023 19:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691029543; cv=none; d=google.com; s=arc-20160816; b=bK4GRVPiIxDhWGWnoxfvKFZh4rQkWwdaFo6dTP5Y+owHm4v4qES5dbFfCoLed74Izv QjWLBrMMlfxvcUGdhLj8lhHZMCAO0//z2BONV2F8BLz7mZzbofKyCAxK88aDXZujtVTs g3srST/E5rG2K0OHe7/4QFRzSVsAuI4aCuX4eWfu1D8TR+pP+8QBBVrieJ9sD4WHYLJ7 dcnC2Bn3Q4I709HOtvwc2fnzpboeBxq5z2v6qFa85ig1RGS/q1FvpbRo9kxtYBquGbOd dnBV4QhloQ5eFDtd223xsLmD+gSBjPC5P27xIhpR1by2FhQPlBWR7jKoXFsZl65LmXgj wrLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CoZdJRRCD7DIg3T8Q7QTkRnDEpeEEskUwca7pJG+IxI=; fh=clsWTUhWuyimXTIZKsjHAHS0Rk3ihShjuVXyRema7L4=; b=GmDoB1feGq9UsY/l73kIDe7uYqKq7dRgnLRU2kLtCHBLrf4CgvYCXqZ4vKinBqw8wU xURjYlH3dhVPd/pqDSz0XracvCzrru2QC/rbDYr1s9uxBlxA0M4xGG9QJAWEiKqyoMJV uETK4GUQv9iLFePuDWCnQ3FNrLqpMeRyIHX4lSEZOXcE5YccY4AcW3eYPGWLVrGGxkP+ 0oBOUjwvMtc9h7WzfbcEXeeZkap5Sh1720VFfmrlmD480yfkfmN/Sm0Q7YKVXzjegmt6 cDFkShGGC7evcU5DuFHYewwt1JtfKi9uSWLpjXP6HOKp1679qLYqmV/bwlmuMkcp4BME ltQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="BV2XGnI/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020a17090607cf00b0098d373fa9d9si10918294ejc.149.2023.08.02.19.25.18; Wed, 02 Aug 2023 19:25:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="BV2XGnI/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232237AbjHCA04 (ORCPT + 99 others); Wed, 2 Aug 2023 20:26:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbjHCA0y (ORCPT ); Wed, 2 Aug 2023 20:26:54 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7491A2D4C; Wed, 2 Aug 2023 17:26:52 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b9d07a8d84so5685311fa.3; Wed, 02 Aug 2023 17:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691022410; x=1691627210; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CoZdJRRCD7DIg3T8Q7QTkRnDEpeEEskUwca7pJG+IxI=; b=BV2XGnI/qFy1jP2RZrxxy5PawxaXrBSIao/gy4MzJBqpa4EbCFUEpNLyYig7VDdtj9 v+k1mvb1C7xOquCCMI6G1VL2Aay0byu28r9oephZTneSQYDz5ce+mhkGeFK8/elA09OC +PuzYQBmeVSBl4B7Ax0khlHfW4Xm+y1N+SCl4YtsjzG1cn8NzrahMD0ilWBze8j05C6a F7jlgJZXO0K5FQsAl2kQXMmOBMS2ItO9LD3B8Iv32RmhV0c/CybF3iW7WKlR13haTlBE e+6pJFPOeCl5dS/Ho3NvMbHoJhk9WgG1jdovtQiigPstzckWOtNglqw7zT9XtCDKHT/2 OloQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691022410; x=1691627210; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CoZdJRRCD7DIg3T8Q7QTkRnDEpeEEskUwca7pJG+IxI=; b=bh8pGURTyrksFMU/u8cUgx+pG3UzqFW1Swdk5DnDV5LY9HnIzzodmkvY0om2a2VYd0 YMbKTUGbJMOzsiA83tWwd20kj+nqaeN6wq+SvV4aEqIpboU+uq+3QcRUgZmXeqcTBo2y Ye4j69j4+xgqmEDc9eAA05XMw2LaZC2PoqrV/uW7l1EhgOaSzDN8fsf/f8pTYlhRf8gh 6DGR+g/IHS88ASG5axkm+tdwzZQiXygXSMdZMPYriXn8nHIBB7GyaLYrq950trLYubSK 7OIP7PPiiKWctE7PT7J8pUomo+B1XWFhNaUF3slNrlv/P5Qeukvv0sZ2q7Ja0EkyRotD l7Iw== X-Gm-Message-State: ABy/qLbjoqhHvTuXSACI+q86W702SvWatIWto9EM+Kou5BUtIKRmPpB9 ayYm7xUpMKkDZwe1rmf0uvTSzELnbPqTjlAmuvQ= X-Received: by 2002:a2e:380a:0:b0:2b9:601d:2ce with SMTP id f10-20020a2e380a000000b002b9601d02cemr6671331lja.35.1691022410379; Wed, 02 Aug 2023 17:26:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Haibo Xu Date: Thu, 3 Aug 2023 08:26:39 +0800 Message-ID: Subject: Re: [PATCH 0/4] RISCV: Add kvm Sstc timer selftest To: Sean Christopherson Cc: Haibo Xu , ajones@ventanamicro.com, Paul Walmsley , Palmer Dabbelt , Albert Ou , Paolo Bonzini , Shuah Khan , Anup Patel , Atish Patra , Vipin Sharma , Colton Lewis , Marc Zyngier , Andrew Jones , Vishal Annapurve , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, kvm-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 3, 2023 at 6:16=E2=80=AFAM Sean Christopherson wrote: > > On Thu, Jul 27, 2023, Haibo Xu wrote: > > The sstc_timer selftest is used to validate Sstc timer functionality > > in a guest, which sets up periodic timer interrupts and check the > > basic interrupt status upon its receipt. > > > > This KVM selftest was ported from aarch64 arch_timer and tested > > with Linux v6.5-rc3 on a Qemu riscv64 virt machine. > > > > Haibo Xu (4): > > tools: riscv: Add header file csr.h > > KVM: riscv: selftests: Add exception handling support > > KVM: riscv: selftests: Add guest helper to get vcpu id > > KVM: riscv: selftests: Add sstc_timer test > > FYI, patch 4 will conflict with the in-flight guest printf changes[*], as= will > reworking the existing arch_timer test. My plan is to create an immutabl= e tag > later this week (waiting to make sure nothing explodes). I highly recomm= end basing > v2 on top of that. > > [*] https://lore.kernel.org/all/20230729003643.1053367-1-seanjc@google.co= m Sure, thanks for the info!