From mboxrd@z Thu Jan 1 00:00:00 1970 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 E2159C04A95 for ; Sat, 22 Oct 2022 11:48:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbiJVLsC (ORCPT ); Sat, 22 Oct 2022 07:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbiJVLsB (ORCPT ); Sat, 22 Oct 2022 07:48:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C97BC20FB08; Sat, 22 Oct 2022 04:48:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 681D860CA4; Sat, 22 Oct 2022 11:48:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7092C433D6; Sat, 22 Oct 2022 11:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666439279; bh=F8vLamkFKUkDE6hzNiWGep/GAnOlaAUTN50kuZLdtuo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Dk+0blKAj8+P0g100P0vGInHTG93eNzYvt5nKxbj7mPGtEQBO7fmJNLE8ogpQJvPF mC0WyuOwqIrJT8TJXPe/kIRO4nFMq47V7v83wz7PZSVFsx89olcvR/zRU7LBOD8ySv 6iL8JDhEWfxiUGTwH5Gc5IcDIEBWTmW/q6GPBAsWRatgN9OYMt0DjAiPcdIm2fvc8/ rXEhozWW7FxmMNEnGNfsseNkwAAJGVimqvFZVUJT3YJtmlaA7M4sYeqgZOXuy1hkWJ L5rBb6YlUqzm5KLGmXDmuM8UeScyeMC8vJgi1ZQ6djJyoeBMrKeLAKTabjEn/iB1kz XGTbViv9+MgrA== Received: from sofa.misterjones.org ([185.219.108.64] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1omCyr-000loG-GT; Sat, 22 Oct 2022 12:47:57 +0100 Date: Sat, 22 Oct 2022 12:47:15 +0100 Message-ID: <87bkq4gjwc.wl-maz@kernel.org> From: Marc Zyngier To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH] tools: include: sync include/api/linux/kvm.h In-Reply-To: <20221022114423.1741799-1-pbonzini@redhat.com> References: <20221022114423.1741799-1-pbonzini@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Sat, 22 Oct 2022 12:44:23 +0100, Paolo Bonzini wrote: > > 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 > Huh, I wonder how I missed that one, as the test were compiling here. Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.