Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1965425rwb; Thu, 8 Dec 2022 18:11:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6W8b6tm9LoVBMFOJcxDZ9a1bIeRKQB/WlQKSoOShnK0f8xKyqMx1WyoPyqREtJ1xUuiJjQ X-Received: by 2002:a17:906:4899:b0:7c1:6fe:f4a2 with SMTP id v25-20020a170906489900b007c106fef4a2mr3095673ejq.45.1670551866721; Thu, 08 Dec 2022 18:11:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670551866; cv=none; d=google.com; s=arc-20160816; b=rwL2Yayic/eDovipfKYWlWBKbpoNVfD5mcegshGMDWicADdnECsRYG53qiZ+SwO0rf 1qrc+E4pY5C5MD+FvhOEYQtcLNSBCRzIM7P7/0KOBWWnXmpH8xzbW9fesZMzzc9nvYCU Cfn7HdhGdc6/e97e5rLMNnWeT2ZDNsnRs/lxWxvObSceRWx1r/ch+xrgWpujiXFlJZxv lJPwsLnYPfp7veyHTpLjCFuAH5xOomnBbWAbg3fyK7XlNd9Ep7OMQ8WBrOhnFfjSLEVU LGNZheJ6E7VwK6nl0gjLSWdv4wLqgT4INecJq7+rULDR6KwV9BUjnz2JrknV+RCqpReQ nOHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ISfI/YSG7Qif79sWhqZQ3Q+oWPgCT/GJolR284CKCpc=; b=nCVN8nruzODA+HGmM4DXh8oL+ZIA+b32qu+BpKSYjB0n4swY0TCzjyW5BoIj9uswnK 9NmDsohSbHym3/BuJPS6OOwhiBLMceV7io6nXh2ZAXdrNL3eVwzrL1uAK+GmC9OUHaMG lQAfj6E8754jIZ2xNH8H4noCqSMgiplM2C8e3D6gVMpX5toV4hVZApgSvNvpWoriX2gE 2/ynksm8Y7tfbshDPrOwGwDZh8dO/rWnw5ggoVRD/BBg5nHXl4YrV4a/b9aAzeF/ZBop ugzpIN0LBeH0/iz4zFFe7nhx/14cCRfg1a3m6r6vDgf2EADDPOh/lsVaQa1PjicyYxac leIw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 wy1-20020a170906fe0100b0078d878d8fb7si28697ejb.920.2022.12.08.18.10.48; Thu, 08 Dec 2022 18:11:06 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229942AbiLIBxc (ORCPT + 74 others); Thu, 8 Dec 2022 20:53:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbiLIBxa (ORCPT ); Thu, 8 Dec 2022 20:53:30 -0500 Received: from out-69.mta0.migadu.com (out-69.mta0.migadu.com [IPv6:2001:41d0:1004:224b::45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993679419A for ; Thu, 8 Dec 2022 17:53:29 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Oliver Upton , Paolo Bonzini , Shuah Khan , Sean Christopherson , Andrew Jones , Ricardo Koller Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, kvmarm@lists.linux.dev, Mark Brown , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/7] KVM: selftests: Fix build due to ucall_uninit() removal Date: Fri, 9 Dec 2022 01:53:00 +0000 Message-Id: <20221209015307.1781352-2-oliver.upton@linux.dev> In-Reply-To: <20221209015307.1781352-1-oliver.upton@linux.dev> References: <20221209015307.1781352-1-oliver.upton@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 From: Mark Brown Today's -next fails to build on arm64 due to: In file included from include/kvm_util.h:11, from aarch64/page_fault_test.c:15: include/ucall_common.h:36:47: note: expected ‘vm_paddr_t’ {aka ‘long unsigned int’} but argument is of type ‘void *’ 36 | void ucall_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa); | ~~~~~~~~~~~^~~~~~~~ aarch64/page_fault_test.c:725:2: warning: implicit declaration of function ‘ucall_uninit’; did you mean ‘ucall_init’? [-Wimplicit-function-declaration] 725 | ucall_uninit(vm); | ^~~~~~~~~~~~ | ucall_init which is caused by commit interacting poorly with commit 28a65567acb5 ("KVM: selftests: Drop now-unnecessary ucall_uninit()") As is done for other ucall_uninit() users remove the call in the newly added page_fault_test.c. Fixes: 28a65567acb5 ("KVM: selftests: Drop now-unnecessary ucall_uninit()") Fixes: 35c581015712 ("KVM: selftests: aarch64: Add aarch64/page_fault_test") Signed-off-by: Mark Brown Cc: Sean Christopherson Cc: Ricardo Koller Cc: Marc Zyngier Signed-off-by: Oliver Upton --- tools/testing/selftests/kvm/aarch64/page_fault_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/kvm/aarch64/page_fault_test.c b/tools/testing/selftests/kvm/aarch64/page_fault_test.c index 0cda70bef5d5..92d3a91153b6 100644 --- a/tools/testing/selftests/kvm/aarch64/page_fault_test.c +++ b/tools/testing/selftests/kvm/aarch64/page_fault_test.c @@ -722,7 +722,6 @@ static void run_test(enum vm_guest_mode mode, void *arg) vcpu_run_loop(vm, vcpu, test); - ucall_uninit(vm); kvm_vm_free(vm); free_uffd(test, pt_uffd, data_uffd); -- 2.39.0.rc1.256.g54fd8350bd-goog