Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp959994rwi; Thu, 13 Oct 2022 07:23:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5NXmaN7jjugkbv8IOhSWEGqzNzmPKZQtXI44te3Ijstjv/sHZ9yjsd9cr3VxXaJsUulUnY X-Received: by 2002:a17:907:2daa:b0:78d:4dca:43e with SMTP id gt42-20020a1709072daa00b0078d4dca043emr42742ejc.134.1665671026182; Thu, 13 Oct 2022 07:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665671026; cv=none; d=google.com; s=arc-20160816; b=oDceFBfjpKCuRZd+0vGf+kBsqMTh2lyZPOIi33RotWd0cHEngbCnwiIW9t39Q/gSLh 5Vbsefz5zKuIw/LxnP18ee5uFDUPA8sgXiuU85Mn51pRdeItKC4cKrf0MwkIFTGTDHGV N85okeFmQksgXVCpQ4GBrR4Z7UbMYgJ72e1rsL2kOGx8lnO2NxJwqMiby/JqDkDZa83O 4/lG2myqtNEKeZjcS4iqA07U1Z4vOHAUmJJRZWVGUKoFocVc1b9/XrRODKUISyk53FCi l9xCbtfhTbcTqvpeSNS2vRpA2ACE9sa4bCKy/Ru+hby4P4P5ZDIaUmc48r0j6RSLJGWu iyAg== 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:dkim-signature:date; bh=O111GOzeXT6/nF6FQ9N+CVN5GCvOehyfupR39VAXVFU=; b=sJexS1+AhpMZLxxWVpKkZHyBHp6p+AMACSqnIxVdCOuftMX93bXlrq2u/2k9J6nq5g DGpwMaevp6ZptF5YUOe/K4lpzLz8s9ddHcqz+MMvvfsHxlliPZpwt+LYfHBls/eLeuh8 FImD07Y+xGo5yiwr2PnCtiH2SBSc0/G5OCWd35Hc7/nNFb24PB3lkfMqjxy/a6GB+yzS wPE5vZ2ztn4jpKr084gDuiZN0VARtHlbNNjhzHFWgu8m8GRW/lYYXQ96eRFoEXzP56Y9 Lo2FVzGavt5mUY8vHq6PYDKq68pHjOd7hczW/V2lOek0vjo5ACgq0N3ZZR4AIDMp8hZ0 Oo1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TnxEBg2+; 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=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a05640211ca00b0045ca331c2ebsi5427427edw.232.2022.10.13.07.23.21; Thu, 13 Oct 2022 07:23:46 -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=@linux.dev header.s=key1 header.b=TnxEBg2+; 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=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbiJMODM (ORCPT + 99 others); Thu, 13 Oct 2022 10:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbiJMODH (ORCPT ); Thu, 13 Oct 2022 10:03:07 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3FF76B8E9; Thu, 13 Oct 2022 07:02:36 -0700 (PDT) Date: Thu, 13 Oct 2022 16:00:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1665669658; 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: in-reply-to:in-reply-to:references:references; bh=O111GOzeXT6/nF6FQ9N+CVN5GCvOehyfupR39VAXVFU=; b=TnxEBg2+FA1sGGlVy4l5wiJsIgq0l11ODMeIeh+IW3VLgbMOZXI05APl/yFEG3rdVbaWbE bmSxuEZS0aIc8Mi8UJv25Bx+JHLjyP5NH9zIbuH9zd+glTRiUwrljwVZDLyXomNY9fl4t7 1vCYxojorBHZ9nhKmQ3GPxhHSlK7R+c= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Andrew Jones To: Vishal Annapurve Cc: 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 Subject: Re: [V3 PATCH 2/4] KVM: selftests: Add arch specific initialization Message-ID: <20221013140056.a6nw7fouxp6yuqx2@kamzik> References: <20221013121319.994170-1-vannapurve@google.com> <20221013121319.994170-3-vannapurve@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221013121319.994170-3-vannapurve@google.com> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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, 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