Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7506187rwb; Tue, 15 Nov 2022 13:25:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf5sn5W4x+erKFivUkxUORSkFwgNRWAOfPGJakN8LD2cE5cLjVtFN7s7he0lcmjnYwcRi80d X-Received: by 2002:a05:6402:380c:b0:467:481e:9e2 with SMTP id es12-20020a056402380c00b00467481e09e2mr16874076edb.352.1668547513283; Tue, 15 Nov 2022 13:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668547513; cv=none; d=google.com; s=arc-20160816; b=zpAYhufc9GDT2bXyggZlJvXKTLVT8vjW2Ppdff7uYYBnqUG6HJGhTWvK/LOIc9hJfE 41RMdGb1nWVGrlfjClBFl2SjH9yUEvBXO2aSg5YYPUu3U8gm0qk35Iz8vgIHXI12Famf lklVeov8x4Qci9nrZaKI9eXbdRDJhTZX+v5KCbwu4yOkJg1AHZeEywKN8Kt8LIVB7POw Jz5VNnrhpG4cQvWzyMViIYHMHWR0YsMnx8MpeEihhZbkF9byTP39S8bWtRBOPuZnMYbL 028itN1Gayq9zQbslMyRoAVNPMEmgtZZEDws+AwDnsY09HqINmE1sLb1ITJ/nRUc1PKA Iaaw== 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=oe1c7i8iQlKmhCbzQLnmtoa4F3nkS3hG3cn5OwmGmYc=; b=wQ8LjbwxATqOTuzV45ja33gaxdnqE6F9yUyAXFD6uWTQhj8gdWrre0kegBZjxuxx5c xejuKYuPWlKJQm7ZKFGZJrLJFT93fHMNfR92mpbbNXJ3OYqHV0alyBbnXnSNh+yA35D9 Pca2bLyDSOtzNsH6rUhnO8sAsbjFffZC/VDBEaY0XAr/PbjOkMropq3DG8IVUGZlYi3Z 6uR3MpvETRrCHTFh5aanZLtBPbtTf2XMoXE2fLqwWFwIi3oAixmC7hKU+uHZC/so2L6w 2fsAbawOHbFf9nvPs29BBeX2Rgt0cAd2Gz/RoQlKcFQB+96Oefe4GdQwJIB1HRTnpu5E XYBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jHcXSSxY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be10-20020a1709070a4a00b00780e022dfb8si6520939ejc.494.2022.11.15.13.24.48; Tue, 15 Nov 2022 13:25:13 -0800 (PST) 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=@google.com header.s=20210112 header.b=jHcXSSxY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238611AbiKOVDB (ORCPT + 91 others); Tue, 15 Nov 2022 16:03:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiKOVC7 (ORCPT ); Tue, 15 Nov 2022 16:02:59 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D14240BC for ; Tue, 15 Nov 2022 13:02:58 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id d20so19191625ljc.12 for ; Tue, 15 Nov 2022 13:02:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oe1c7i8iQlKmhCbzQLnmtoa4F3nkS3hG3cn5OwmGmYc=; b=jHcXSSxYAsVbBz4HlCYZuOlIpBaoMOvkA9BxPFmpHRjn6/yhCFnvBVbBFMlx3yC7oY SojTvgG0RxshUbM7ZGiH+8Mm/gHrwYbYPTRXVgHlmOwzzPzFgO5c+/CkXZIUCpKRfGFV eVWWu4ryIIrVw6ybBey13WjSCnM+rC/t2ja6OQLVypba33QV3gdAEzHXmMwfN6cGxeRb HSSSd5rN0n6UeAygkOZUc2hm5fJC6SbWjyd0vy1YzEbV5oeVqiKdMiBEJYBItMF73TXw tQWqxDK+C9v7uR68PNrdN0a/eAmxPiQq/ugFIGkStJ31cQ5OxI58I9kNX9CNvnNjXjAf hVww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=oe1c7i8iQlKmhCbzQLnmtoa4F3nkS3hG3cn5OwmGmYc=; b=BsRVM86E54ZGxvYpL+wbhPIU2OsHhK9bEcQ+acV0qNtaqFmBYsuY80FXqdHutftPY4 fo+Up5g7SMURHR9mpaOfqqn92GpeFvKNBCPZA/6/mCScqNLvidpqem5GlpaKRh4m0cWa BFwncNDV/Nt1uI6TdTpXMhf6+knXFZft4tK/rDFFL32Gk9pkOnl2hlZiD23Se+XuFYWG jSTi7VpLvVk9N+b+9rxAoipZ7J8+H/3txtRv/p54kwBkbf2vZ8WBNbyIY1Nwbdx0dMSx JRM93mEfhmZ969diQpoj2ItsHg/3G5neQpn46ebKxyMDKaWPskQSygVMUiB2HIchVkEo b0PA== X-Gm-Message-State: ANoB5pmgwiMxXOa7ghNVrgeSeNWb/O7Mz4BPaMJ6fId+Bf315vmvtiqL 1IkjTNApL7raLEpQYrhaCgjdLEt2iyLu+1VZr6HS8g== X-Received: by 2002:a05:651c:3c4:b0:277:10b2:47e5 with SMTP id f4-20020a05651c03c400b0027710b247e5mr6367989ljp.502.1668546176254; Tue, 15 Nov 2022 13:02:56 -0800 (PST) MIME-Version: 1.0 References: <20221013121319.994170-1-vannapurve@google.com> <20221013121319.994170-3-vannapurve@google.com> <20221013140056.a6nw7fouxp6yuqx2@kamzik> In-Reply-To: <20221013140056.a6nw7fouxp6yuqx2@kamzik> From: Peter Gonda Date: Tue, 15 Nov 2022 14:02:44 -0700 Message-ID: Subject: Re: [V3 PATCH 2/4] KVM: selftests: Add arch specific initialization To: Andrew Jones Cc: Vishal Annapurve , x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, pbonzini@redhat.com, shuah@kernel.org, bgardon@google.com, seanjc@google.com, oupton@google.com, peterx@redhat.com, vkuznets@redhat.com, dmatlack@google.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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, Oct 13, 2022 at 8:03 AM Andrew Jones wrote: > > On Thu, Oct 13, 2022 at 12:13:17PM +0000, Vishal Annapurve wrote: > > Introduce arch specific API: kvm_selftest_arch_init to allow each arch to > > handle initialization before running any selftest logic. > > > > Suggested-by: Sean Christopherson > > Signed-off-by: Vishal Annapurve > > --- > > .../selftests/kvm/include/kvm_util_base.h | 5 +++++ > > .../selftests/kvm/lib/aarch64/processor.c | 18 +++++++++--------- > > tools/testing/selftests/kvm/lib/kvm_util.c | 6 ++++++ > > 3 files changed, 20 insertions(+), 9 deletions(-) > > > > Reviewed-by: Andrew Jones Reviewed-by: Peter Gonda