Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1844850pxb; Fri, 20 Aug 2021 15:53:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBwBvi1zkXikR8CQDt837O8bqmOBPch8sMKbXz7X6CQJS6QdmQV6jvGcAPzBdQUwUxxzoB X-Received: by 2002:a5d:9906:: with SMTP id x6mr17911574iol.23.1629499982758; Fri, 20 Aug 2021 15:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629499982; cv=none; d=google.com; s=arc-20160816; b=sGPazAtKJ0rYWXiQ0GWwZLNxow/pw3gNEkLI7yP7WQ3BZD8cx2aiBVdS3U8ooyBe7W mXBuj94mxmw2W4zShynwHlwsJPNchFyWNgAkxTwkV6iI5XEPKL8rGocJJDk/beEPzwaU mAqRjErufphrBmGvHYT6/BvMIR3ZGOjA9ZnM6Ahqd2GCURdzk8mB8hCklQa1G2oTNsF3 jQ8VLMkv5V3g9j8pRaKXML4BRT4soPLnTcCt9Mw7Auuyc2UWO9YMmbEp84T04wzmrRCv w26rdPBkT38LMVrYHfrNSSDr/KEvtVdNXO9qxH5/qqoMJ1elr+AvlNgrnTr9MZuQ/iOJ Znlw== 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=Ut0lClAqKM9RGqTS5MESEM+F5WoPZRTQUckNTBRjTyg=; b=eFqlQNeWld1B+WmSReu0m7Ob4ztHh/GWld6xTfWMpvjJy9sCmzsQRaIgZ2uoIWNSqt R5dBWZBrwc3eVgYagCcp69o29vtk7NxKV2S2fOYRuhvxuwvMqATfAHfYGuNRcQ9+OA5s lU1PmEZ8mLANBVCOGHk/sfkoIfJx+dqn1dL18gP4WlW/+uKM2SA2nVW22WEiFXacc/qt SHJknG5xRin7w8yaVD+M4JTy+6KuSF91OXNcplkImZJELAgDGsVRa8/lRTg/ahGTQ5L4 1CtFoA2fWLlhf0wwuHy/hn5FUaNB8FKREyrsH4/y4KAC0Vc0dfCt5swxfz/Sx960ltxV YlCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="TA/KEkzC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y28si7020301iot.48.2021.08.20.15.52.51; Fri, 20 Aug 2021 15:53:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="TA/KEkzC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241000AbhHTWvU (ORCPT + 99 others); Fri, 20 Aug 2021 18:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240888AbhHTWvQ (ORCPT ); Fri, 20 Aug 2021 18:51:16 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57271C0617A8 for ; Fri, 20 Aug 2021 15:50:36 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id v130-20020a25c5880000b0290593c8c353ffso11096209ybe.7 for ; Fri, 20 Aug 2021 15:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=reply-to:date:in-reply-to:message-id:mime-version:references :subject:from:to:cc; bh=Ut0lClAqKM9RGqTS5MESEM+F5WoPZRTQUckNTBRjTyg=; b=TA/KEkzCm9eGIgSQhw9KNiaLFa6mERWpjzl8Sm2LP0D8MHshBELhR9PNTUHRE29ifz mo90lRoRaNLAOUKwpDqprlo0/pMwtc5l0/AtaGDQuwQPp72yFVvsNL3ynlMO5kSBRj5m LzAltW2EylkOxsEkvhRVhVSBOVOdYc11dmbjDqZ/XhKiygxbSFOOyUayIR4kGClbFLgR /kFKufJdXalO6BD5koMO2tBk/9JBu0VO4U4stsueIYQrrElmsEUFhO7RIz6hEZLybaDq KKumExIW2OSfE2RbrTkormhrvk3570q+R6kLizKIzC3ltGy9bDIK5NfDidM6k/fKRiu/ zAPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:date:in-reply-to:message-id :mime-version:references:subject:from:to:cc; bh=Ut0lClAqKM9RGqTS5MESEM+F5WoPZRTQUckNTBRjTyg=; b=s841h0ya/HJLhQQdz4S4IMA7XiR+7kPP6Nen8lujFZFYsPophZCUkmL5nFuyH+KuXc GKmQ7slDy3BrguAgqDVBYf95oRRni2sswvIw5ruZhug2sciSGuMNYnQ/rc2TF+0jyfqC zgv2PP5FU2JWjmFMWCqZqAKWECxT+RUPO7lwI4gF/6dgzo70RNg+zSsEB0EPVGfOKzUf D0YzfbKC7eF7G/Z6HQ/GKqcORTJphQXl+m6XAwidP+XrqGM0FLyksPq0C+xVGTFsBx6w Zx9Mx1ePqW7+R+FK8epKPzK7OAdUyHnLdqyFiJ3X4a4ZodRJWoJ4a5UmNan8OR7Ptrj7 QfuQ== X-Gm-Message-State: AOAM533UnmH2W+cDHRHRshL/rtfXcAs5wtRubwbHXBZh8LuvBimnJ65Z IqvTuibHn/4jaGNG+pPKJVTlOsYzV4A= X-Received: from seanjc798194.pdx.corp.google.com ([2620:15c:90:200:f11d:a281:af9b:5de6]) (user=seanjc job=sendgmr) by 2002:a25:acc4:: with SMTP id x4mr8790476ybd.376.1629499835531; Fri, 20 Aug 2021 15:50:35 -0700 (PDT) Reply-To: Sean Christopherson Date: Fri, 20 Aug 2021 15:50:02 -0700 In-Reply-To: <20210820225002.310652-1-seanjc@google.com> Message-Id: <20210820225002.310652-6-seanjc@google.com> Mime-Version: 1.0 References: <20210820225002.310652-1-seanjc@google.com> X-Mailer: git-send-email 2.33.0.rc2.250.ged5fa647cd-goog Subject: [PATCH v2 5/5] KVM: selftests: Remove __NR_userfaultfd syscall fallback From: Sean Christopherson To: Russell King , Catalin Marinas , Will Deacon , Guo Ren , Thomas Bogendoerfer , Michael Ellerman , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Steven Rostedt , Ingo Molnar , Oleg Nesterov , Thomas Gleixner , Peter Zijlstra , Andy Lutomirski , Mathieu Desnoyers , "Paul E. McKenney" , Boqun Feng , Paolo Bonzini , Shuah Khan Cc: Benjamin Herrenschmidt , Paul Mackerras , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, Peter Foley , Shakeel Butt , Sean Christopherson , Ben Gardon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Revert the __NR_userfaultfd syscall fallback added for KVM selftests now that x86's unistd_{32,63}.h overrides are under uapi/ and thus not in KVM sefltests' search path, i.e. now that KVM gets x86 syscall numbers from the installed kernel headers. No functional change intended. Cc: Ben Gardon Signed-off-by: Sean Christopherson --- tools/arch/x86/include/uapi/asm/unistd_64.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/arch/x86/include/uapi/asm/unistd_64.h b/tools/arch/x86/include/uapi/asm/unistd_64.h index 4205ed4158bf..cb52a3a8b8fc 100644 --- a/tools/arch/x86/include/uapi/asm/unistd_64.h +++ b/tools/arch/x86/include/uapi/asm/unistd_64.h @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __NR_userfaultfd -#define __NR_userfaultfd 282 -#endif #ifndef __NR_perf_event_open # define __NR_perf_event_open 298 #endif -- 2.33.0.rc2.250.ged5fa647cd-goog