From patchwork Sat Oct 22 11:44:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 7867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1168642wrr; Sat, 22 Oct 2022 04:51:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4pH3UYd+4U7HwVxqjHqBDuoR4sYoEN9N7nWb0JT+0wvqQjlK59gF/9kh2r6VIwvhDRqSMn X-Received: by 2002:a17:90a:bd01:b0:205:fa9c:1cfc with SMTP id y1-20020a17090abd0100b00205fa9c1cfcmr64131569pjr.116.1666439460285; Sat, 22 Oct 2022 04:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666439460; cv=none; d=google.com; s=arc-20160816; b=adhq10WckjIQbGyfAxm0KZs00KlJzTIMSknbB3kfsRr2NVKMclh0ySLNKOkpCof/ic MTX2RYDP3ka0Qhh53Lopj4DCoxLFuRNDu/ROV1CSVe6PHENGMzCXCWGCUjM4w1CKTKV5 9xR9JjGxnhzqrIFthdQW8uqkmVUkOBr0HZtDSggzZDe4HTzjPdxJA5Y72ME8W0WeVuR2 MJuPWzkMddNUnw74zctwNMW/Cb0OunkZCUKhE9QrtBtHeOqiGfSUcGcvdZohZSAPsTxO mey2rS1ZFbOPgXTVJws/2Aglzb8pnj7N18hKRsn4pE+pR8RKswI4VRVurnmgGX9QdduV 1NYQ== 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=pg7GS82zW5V1BGQH4TziNSaRtYTOpGK9o3yXWehsYs0=; b=nXslScDVhX6TM1ijWHdPBPcY8TbCcUih+JipBNIOU5ty6s5We0PhploiOKWAp/z95P oebYJlEFTJI8l9CNOouux3BmMn3NyFwZlPHHOlH8tb85eOd/yzJMA4v8l+Lllc8OUDc6 eSauoYNL3iH0W3ewxhDSAVCvmGnZ489QdY+s0eWp+fKAjI9UTZz5sn+eJFwnmWstia4x qJerFEHZhp7BlwxcsLXTAtvCYblz9PuxZkLZVoHbS6x0azUn54lyunFwoWHFZh+E2Pes XJgSOEx58Ftqy+pay95K76BZOoS0QFwcvppSl0/wCBam4WouGA6MoLp9w7+JSAPo96s1 n8AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BQsaqw+C; 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 e70-20020a636949000000b00463dbc5cec8si29104261pgc.658.2022.10.22.04.50.47; Sat, 22 Oct 2022 04:51:00 -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=BQsaqw+C; 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 S229742AbiJVLok (ORCPT + 99 others); Sat, 22 Oct 2022 07:44:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbiJVLof (ORCPT ); Sat, 22 Oct 2022 07:44:35 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE908EE32 for ; Sat, 22 Oct 2022 04:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666439069; 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=pg7GS82zW5V1BGQH4TziNSaRtYTOpGK9o3yXWehsYs0=; b=BQsaqw+Cnpy6jMKpkQthUfsoMaieBgTg4zldo6mW6F6fQTuYBHC7f/txqY4nm4D65xr2S6 tRDCmFaXt9Q2woDye7Z+mRRWQp90XUrdmYwCPi4JXaoEV0RWACwSuudxTjvnZP2Gi4DWaf ZWcTbmGacgC+7dmDdVWdovH+3AsCdOI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-111-kFhBy-jnP8uPpc0OR7aN8w-1; Sat, 22 Oct 2022 07:44:24 -0400 X-MC-Unique: kFhBy-jnP8uPpc0OR7aN8w-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D79151C07550; Sat, 22 Oct 2022 11:44:23 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id B835D492B04; Sat, 22 Oct 2022 11:44:23 +0000 (UTC) From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Marc Zyngier Subject: [PATCH] tools: include: sync include/api/linux/kvm.h Date: Sat, 22 Oct 2022 07:44:23 -0400 Message-Id: <20221022114423.1741799-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-2.4 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 autolearn=ham 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?1747388407694304168?= X-GMAIL-MSGID: =?utf-8?q?1747388423253126582?= Provide a definition of KVM_CAP_DIRTY_LOG_RING_ACQ_REL. Fixes: 4b3402f1f4d9 ("KVM: selftests: dirty-log: Use KVM_CAP_DIRTY_LOG_RING_ACQ_REL if available") Cc: Marc Zyngier Signed-off-by: Paolo Bonzini --- tools/include/uapi/linux/kvm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h index eed0315a77a6..0d5d4419139a 100644 --- a/tools/include/uapi/linux/kvm.h +++ b/tools/include/uapi/linux/kvm.h @@ -1177,6 +1177,7 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_VM_DISABLE_NX_HUGE_PAGES 220 #define KVM_CAP_S390_ZPCI_OP 221 #define KVM_CAP_S390_CPU_TOPOLOGY 222 +#define KVM_CAP_DIRTY_LOG_RING_ACQ_REL 223 #ifdef KVM_CAP_IRQ_ROUTING