From patchwork Thu Apr 27 20:11:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Xu X-Patchwork-Id: 8735 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp511225vqo; Thu, 27 Apr 2023 13:23:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6CVv5EHE9eVG2dUsG8b7FsE58sIECYjnOia6+qRz7VZt6v4YshJ2PxEIg9aCCMrHZE9Enn X-Received: by 2002:a05:6a20:3d03:b0:ee:f25e:925f with SMTP id y3-20020a056a203d0300b000eef25e925fmr3381622pzi.53.1682626998812; Thu, 27 Apr 2023 13:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682626998; cv=none; d=google.com; s=arc-20160816; b=JopV1YAsNXlWDY6/LhjMnoR+5/Yc7bEkvbvj3lCpfmUM29vaBZLARO0FFzmlQLCwvI pPLL+myNNJ98T1wY8xxtNOXQZwrdXurz1DBLgI6o3kMPq4+7GuXQgocj9XVF0zXfdZNa ZQ7BiCBtMfCTX4pNOTWicQH3qH2CduiGuxUf2Ukc0T+PLWzjllviFR0WxBPRChaEDMpX KRsjgPP4dj/+Y1DqYZKhqt5MH0KF+0Vb6xjS5Zu2e5rrPmyj0gnCr7R5nqA9iThFp8tC XUcK4RHDHjkhBDgzXsZ/lU1AJoD9qTeT+WGZj3TQSosQlFhXtvijrLP31RbcHh8KSd4F YqoQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AhZUeHYpeOBAxV0IzIBwDv//tE17MPSk4ZjZmgXSJWI=; b=NMM1WhRG/hUS2jlx1Nwh5NFHxalEK0L/RdptZ11FLY2MXrs6rI2zE7DWSkAyUzQjRV /FsSbOPocQE+uNn8nQWgpqapOUMa4bg/NpY7YFbS0XpI72+2K8yGYbq/CLA4pn8E/OOa NUVMbZQkEhOrkv8PBo/p1N/xqnbAnS2MVDnfCi36JhCEdeOfya8gcwLXDEYPlriPPGKA G8zj5jon7zK+2aGH0oueabvesb9Tv+V40vY1TKugdMoDdaKyuL/1G1kpK50tGyEc7aQ6 0Z/IhCnjkTr9K6jjPZusdoiR3/k++vaEQYG880Kgh4a1nldYlDeGvXvUrgbvm1zCNxfk CtTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H0033ZNH; 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=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a631a46000000b005196bc25628si19194654pgm.579.2023.04.27.13.23.04; Thu, 27 Apr 2023 13:23:18 -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=@redhat.com header.s=mimecast20190719 header.b=H0033ZNH; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344177AbjD0UML (ORCPT + 99 others); Thu, 27 Apr 2023 16:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344150AbjD0UMF (ORCPT ); Thu, 27 Apr 2023 16:12:05 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27B343AB1 for ; Thu, 27 Apr 2023 13:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682626277; 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: content-transfer-encoding:content-transfer-encoding; bh=AhZUeHYpeOBAxV0IzIBwDv//tE17MPSk4ZjZmgXSJWI=; b=H0033ZNHD+GDaqWZVeb59pAKw4dl4F2sMvrSMvaechkQl4N2iMiQs4Lx2p8cBf9a8yFsC1 2mnuqbhxQB3yWYzhPdm10ADoj4BfTRDhm7Xv+4hU+J0kjXjfJMnDIWNRHkL9WCUTWJiriR oCxDgNqoFYKDhPNcA2L0u7aaqMXvDZ4= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-458-lQs8M8yMPkK3ZUqZJLcURw-1; Thu, 27 Apr 2023 16:11:16 -0400 X-MC-Unique: lQs8M8yMPkK3ZUqZJLcURw-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-3ed767b30easo19370041cf.1 for ; Thu, 27 Apr 2023 13:11:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682626275; x=1685218275; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AhZUeHYpeOBAxV0IzIBwDv//tE17MPSk4ZjZmgXSJWI=; b=DTWAga6wakGlHS4N8FH8dBogQqEeygvWgLS0DERZRY2z49yFQyEKjpi6258kxhlffW k1TtmHioXmcfC3rY6fVSbZLD/KZsmXIjCgSeDj1NyMb+EGC1d9cQOV3GXeg59LczykmT 1VnigrUZUOoqeMoAHXZUx5sxQ6dD9d5wY+6FAjV6RU7YhvegkVilVD/eSkJi1TdvhqnW tp9zLN5yZqnnaPax0AWsSS/64oOzICaH/QGClVHQ6SFzSz+MNKFXoXzY/0cLsI25fFHB MFSPejtVX8CqSKvEbK1oQZeakenotewN3OyB8arL58M+JFVqrmnh/kK1iGnGzS+8j1a4 p/bw== X-Gm-Message-State: AC+VfDxnhKfS4oU1Ba1x0svSMDaJer1HAkGdFV7TasZq5AyJb9sjmu5a rfJtqcq4nAWZdyQO9CMzgqESU19XTDX7JbpXJ5TMYnYZ4UgIXXPWfo1hm/um6RBdyEO8ZSvR4P1 eeoAvwMh4P7dQdK0v2+l9XUkxyAeGSXX08H9Bhwek7oZptHDKavJKWtp+4ChQ0VZRlKo+pT7uoV Ipld+DqQ== X-Received: by 2002:a05:622a:11d3:b0:3ea:ef5:5b8c with SMTP id n19-20020a05622a11d300b003ea0ef55b8cmr5145336qtk.3.1682626274778; Thu, 27 Apr 2023 13:11:14 -0700 (PDT) X-Received: by 2002:a05:622a:11d3:b0:3ea:ef5:5b8c with SMTP id n19-20020a05622a11d300b003ea0ef55b8cmr5145287qtk.3.1682626274390; Thu, 27 Apr 2023 13:11:14 -0700 (PDT) Received: from x1n.redhat.com (bras-base-aurron9127w-grc-40-70-52-229-124.dsl.bell.ca. [70.52.229.124]) by smtp.gmail.com with ESMTPSA id d19-20020a05620a241300b0074fb065bde4sm3444283qkn.18.2023.04.27.13.11.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 13:11:13 -0700 (PDT) From: Peter Xu To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Sean Christopherson , Paolo Bonzini , James Houghton , peterx@redhat.com, Anish Moorthy Subject: [PATCH 0/2] selftests/kvm: Fixes for demand paging test Date: Thu, 27 Apr 2023 16:11:10 -0400 Message-Id: <20230427201112.2164776-1-peterx@redhat.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764362288001873469?= X-GMAIL-MSGID: =?utf-8?q?1764362288001873469?= Two trivial fixes per subject, please see each patch, thanks. Peter Xu (2): selftests/kvm: Setup vcpu_alias only for minor mode test selftests/kvm: Allow dump per-vcpu info for uffd threads .../testing/selftests/kvm/demand_paging_test.c | 17 +++++++++-------- .../selftests/kvm/lib/userfaultfd_util.c | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-)