Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99A21C636D3 for ; Mon, 6 Feb 2023 17:09:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbjBFRJY (ORCPT ); Mon, 6 Feb 2023 12:09:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbjBFRJW (ORCPT ); Mon, 6 Feb 2023 12:09:22 -0500 Received: from out-67.mta0.migadu.com (out-67.mta0.migadu.com [IPv6:2001:41d0:1004:224b::43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C7C425BAD for ; Mon, 6 Feb 2023 09:09:17 -0800 (PST) Date: Mon, 6 Feb 2023 17:09:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1675703355; 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=YBVaYLjdQ8/dQyRtJonhbtUyjbtJ5AvxiqChQWbzT+0=; b=auy0OdHHIMu0/N8C/mssCk1MzFsU6CIxsyUULv0kSodZ80VMOJbWjyOQ9s/to2fucQpkwg xrsqwOqEP1m/HjlGSEVccpQ2p0fUgD1gI1P3lC4Ccj9XDGGaOBVEgaQ2MlQcoG+iFDuIWS zf9zn42HB2IlKT/TW0nBhJ8R0wwmDxI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Mark Brown Cc: Paolo Bonzini , Shuah Khan , kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, seanjc@google.com, anup@brainfault.org Subject: Re: [PATCH] KVM: selftests: Enable USERFAULTFD Message-ID: References: <20230202-kvm-selftest-userfaultfd-v1-1-8186ac5a33a5@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230202-kvm-selftest-userfaultfd-v1-1-8186ac5a33a5@kernel.org> X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +cc x86, riscv as they're also affected. On Thu, Feb 02, 2023 at 09:01:36PM +0000, Mark Brown wrote: > The page_fault_test KVM selftest requires userfaultfd but the config > fragment for the KVM selftests does not enable it, meaning that those tests > are skipped in CI systems that rely on appropriate settings in the config > fragments except on S/390 which happens to have it in defconfig. Enable > the option in the config fragment so that the tests get run. Thanks for catching this. I believe we also need UFFD for demand_paging_test, which is used by all the KVM selftests arches. I plan on picking this up, but if anyone has objections please shout :) -- Thanks, Oliver > Signed-off-by: Mark Brown > --- > tools/testing/selftests/kvm/config | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/kvm/config b/tools/testing/selftests/kvm/config > index 63ed533f73d6..d011b38e259e 100644 > --- a/tools/testing/selftests/kvm/config > +++ b/tools/testing/selftests/kvm/config > @@ -1,3 +1,4 @@ > CONFIG_KVM=y > CONFIG_KVM_INTEL=y > CONFIG_KVM_AMD=y > +CONFIG_USERFAULTFD=y > > --- > base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 > change-id: 20230202-kvm-selftest-userfaultfd-ea85a8b5f873 > > Best regards, > -- > Mark Brown > -- Thanks, Oliver