Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp777013pxp; Fri, 11 Mar 2022 14:52:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnlIBUz8ONb4MJdloR9UbaPkC0shX49+s/hCFCWCPHi0drJ2gmYQPkKfHP/pNd+Ofhb+cN X-Received: by 2002:aa7:9253:0:b0:4e1:53d4:c2c6 with SMTP id 19-20020aa79253000000b004e153d4c2c6mr12374772pfp.62.1647039152563; Fri, 11 Mar 2022 14:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647039152; cv=none; d=google.com; s=arc-20160816; b=LIQJXGxee6eMFX8XWOQtx74JEoPlGJ5rC5+R/qwc3EisR2tj6PzC2OVgZso9TAVpa6 A9a+DnGsg29VOmTRMGRwMH9JeX5GV7yIbw1Jwzr5Am2Mlrm9WvJ6D9lwKHTP23+Vj3BS mtI81u80pzfEgcUmdydDISBsHC8eTnF8EHB8ZyNuO/VCjH0pvOpRL3XTkeWk8GkSv/PN mkOuTpkhd1/JCA1vn1ZU38DYzzJ24og3b6ODMSql3ojZtetl12Ssj27opbZWGnFltI6k ejKqXE+Tz5Fp4Fg4ihC3cRyf+bg2zQgON8cmYQ3YB87F1H3lhhRjqH4PjbD6sDWSAyag dbGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:reply-to:dkim-signature; bh=/WQ/0mOujKZ36BCdIZx9sI/vMxrt+4LV8z0YUs+nqw8=; b=Vp0H7eXHyoaPbNV8oZ7N+1GM62HSAKURA83bx7e1tE4VNaGbuIE1pozW1R3WObSOSi L/DMlQleSVMmjdcVrG2pWyL7r8I9a2SFgphNJ6zA88iG3JuvoKUTd+wqZlnRkH1H2/zN W+yheB0D8u+XECDAKW/+ynFYhAerC6EqJRAweCPmRnr+F4ia8EBhep9hHAHK4gLdRj9v Q+aZaIIhtuHX6Qkom8/dUxuzE2TkabrvCLWy0nSK8ClZUHmVYuYshjG/8X8BMgzwqauu q6U34B9ok9F+l/gEv/a1CKrRyBCfxzyUmY0egBWAk1lxFiuxDAvR0CFEzAcjnYhu9hL1 B0zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=N4cvXe8E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r12-20020a63b10c000000b003653639f3afsi9127133pgf.649.2022.03.11.14.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:52:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=N4cvXe8E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 05A4884EC9; Fri, 11 Mar 2022 13:50:24 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347767AbiCKF7l (ORCPT + 99 others); Fri, 11 Mar 2022 00:59:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346716AbiCKFyT (ORCPT ); Fri, 11 Mar 2022 00:54:19 -0500 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D8F2F3284 for ; Thu, 10 Mar 2022 21:53:15 -0800 (PST) Received: by mail-pf1-x44a.google.com with SMTP id a23-20020aa794b7000000b004f6a3ac7a87so4583209pfl.23 for ; Thu, 10 Mar 2022 21:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=reply-to:date:in-reply-to:message-id:mime-version:references :subject:from:to:cc; bh=/WQ/0mOujKZ36BCdIZx9sI/vMxrt+4LV8z0YUs+nqw8=; b=N4cvXe8EbhS/+75CxW7kF1EHZ7Xr9VdS5zvE3jK2zHzelPN0omdZjQEfjWpOAMn2vx kkJpwDvZ8HbJFScDb4r1BlBGh0Dc/nHsoYvvDLhZRMNlzfrS4pO2tpM/RZS0fAFis/lM yhK5u/znRjTvBMXIddmA6hxdEtEqRNh7GORTpkSAuehB4KYSPj8DWVMwChc4IIZhmhm7 N/RS6Z7qO8+MVTLbmcq6R47fziCcP3tNcOZuCJY2njA+ABQFW14TpZa7tttMNANxntmt a49+qosrbjtsnP6vw7pC1v9i8ao8T7PiSFIcylouJVUcOM0aT34+D2MiukD5Mn8ENdf3 f/fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:reply-to:date:in-reply-to:message-id :mime-version:references:subject:from:to:cc; bh=/WQ/0mOujKZ36BCdIZx9sI/vMxrt+4LV8z0YUs+nqw8=; b=R9m4IFepXuayvT5I9wlMPdQVtUqxPTo9mliiVqtfGz03E0YpsJArd9ZZnau6HcghRf vT+nfF7EEoCVwHbdaQiF4Qo8QcyU4UEnw7h0DH4JqIRsVgSoyuTFwchiVB9cruUKCHlV 32Stc5UpPZSqWZKfJGLhi9anwv70ic1FxJ9RKkvw9S1the1cNFRWa4Xp+b5aHiyWXioU gd3Zik1+LndSoQyVMbZP7IJnaUm6CTWO2scp8B5o3aXxGJFngZ+vdf1qXHr6FfPxxKxE wORq4B/8G3KCUp57XWkwUk/kOqTnF6vi5E7pndpOlYekZbnRHjakk/7ApBjxXpkulPDj upEQ== X-Gm-Message-State: AOAM532kmHm6pEsTTIO6Gp+B0yJRC6j5McbCMIsdlZWxD7wwoLZSuKHo xSOJA6wrlRocm1BFqiNYyGW6gVH6cxBZ5tzL22EYSH2lo+6Rn1/ofxmF0mXzs6YZEfxv2ZDjaLN 86lwrfshrSHKJafa5XIRvlV6skZ4Q0NnR9xaELE5MQhKXrIf8u2xCrcz/kppg5l1dRH5xjQ== X-Received: from seanjc.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:3e5]) (user=seanjc job=sendgmr) by 2002:a17:90b:1e10:b0:1bf:6c78:54a9 with SMTP id pg16-20020a17090b1e1000b001bf6c7854a9mr461050pjb.1.1646977994704; Thu, 10 Mar 2022 21:53:14 -0800 (PST) Reply-To: Sean Christopherson Date: Fri, 11 Mar 2022 05:50:27 +0000 In-Reply-To: <20220311055056.57265-1-seanjc@google.com> Message-Id: <20220311055056.57265-77-seanjc@google.com> Mime-Version: 1.0 References: <20220311055056.57265-1-seanjc@google.com> X-Mailer: git-send-email 2.35.1.723.g4982287a31-goog Subject: [RFC PATCH 076/105] KVM: selftests: Make arm64's guest_get_vcpuid() declaration arm64-only From: Sean Christopherson To: linux-kernel@vger.kernel.org Cc: Sean Christopherson Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no 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 Signed-off-by: Sean Christopherson --- tools/testing/selftests/kvm/include/aarch64/processor.h | 2 ++ tools/testing/selftests/kvm/include/kvm_util_base.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/kvm/include/aarch64/processor.h b/tools/testing/selftests/kvm/include/aarch64/processor.h index 8f9f46979a00..9a430980100e 100644 --- a/tools/testing/selftests/kvm/include/aarch64/processor.h +++ b/tools/testing/selftests/kvm/include/aarch64/processor.h @@ -185,4 +185,6 @@ static inline void local_irq_disable(void) asm volatile("msr daifset, #3" : : : "memory"); } +uint32_t guest_get_vcpuid(void); + #endif /* SELFTEST_KVM_PROCESSOR_H */ diff --git a/tools/testing/selftests/kvm/include/kvm_util_base.h b/tools/testing/selftests/kvm/include/kvm_util_base.h index c64e99b9b6b3..e1e25ec09158 100644 --- a/tools/testing/selftests/kvm/include/kvm_util_base.h +++ b/tools/testing/selftests/kvm/include/kvm_util_base.h @@ -694,6 +694,4 @@ void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid); int vm_get_stats_fd(struct kvm_vm *vm); -uint32_t guest_get_vcpuid(void); - #endif /* SELFTEST_KVM_UTIL_BASE_H */ -- 2.35.1.723.g4982287a31-goog