From patchwork Sat Nov 19 08:56:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 13049657 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 518E7C433FE for ; Sat, 19 Nov 2022 08:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233651AbiKSI5q (ORCPT ); Sat, 19 Nov 2022 03:57:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232651AbiKSI5k (ORCPT ); Sat, 19 Nov 2022 03:57:40 -0500 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 68D0E9CF4E for ; Sat, 19 Nov 2022 00:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668848204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dTnMAWMcXOaxFIQpcfG6YUPgYRs3mGJmNnh2pJlkTaQ=; b=UHqgSfWYgXt0U/3I4CYydlCLHA2FE7ysirZGwCVv5r7+GFuhlEe4RbZiYo38MnUIxBi6UH djIVKZ6AUNbHQ2swQnx9qqjK7zHVv9/aOPMYAYWdMzoXBjqF55Ol6G9ngpVajax2LkKG7p 3idMQUT3YrSqBAWslwBYa+uCIKQRutk= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-583-JjexKDE4OjSKbdNN6Kc6yQ-1; Sat, 19 Nov 2022 03:56:42 -0500 X-MC-Unique: JjexKDE4OjSKbdNN6Kc6yQ-1 Received: by mail-wm1-f70.google.com with SMTP id p14-20020a05600c204e00b003cf4cce4da5so1744809wmg.0 for ; Sat, 19 Nov 2022 00:56:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dTnMAWMcXOaxFIQpcfG6YUPgYRs3mGJmNnh2pJlkTaQ=; b=CuCfCqPKFUhU2lfn5rGvLCZXp8LhvaZ7rl8jkQMncwG280q8F5AT8poJEw1N9Z79vK 96ecRT/KPvhyLk/dtfP+PflT3ny/jwK6xP4pvmELt1tOXh6+KdbN8Y4m7gsRBWkSnYqb +unlFhoev0zNm/poAZQN5y0WQAHnH8OGAqEDplDs5387yMqjom44bRoz4/IhFLOtt1yL /5YY7m0SUob1QHDv3n1Wo59tw4ezkpgbS7bD8wGg8ati3JmcooXNsdy2z6atfYTmQgZi 7NPC9jBZag1Y04L5c1Xy/pu/tVJ/P4t/aBnrUvRZfho5OiqGsW6DuAMhw4LZV7l6idn5 Yhbw== X-Gm-Message-State: ANoB5pmGJRE+u86Gd2UxcIN9WAALHSN77qtttmBn6Wxor496yT+AMBDK nQlJKKZC5JRtt/k06oWH7Q+nJIo2BI6xvWHnYtap2sCIT6p4EYOmVfSwwKq/UlHv4VCvFKlL+Zc ncGi1GrdD18DY X-Received: by 2002:a05:6000:1148:b0:236:71cd:1a71 with SMTP id d8-20020a056000114800b0023671cd1a71mr6301108wrx.712.1668848201868; Sat, 19 Nov 2022 00:56:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4iKlUjoSLuaU2OKOfUuMzVhcXhG2yCg6tTKCVerM+oZOqj7tj2WHCkqX1bb1HYERiD2HMfAA== X-Received: by 2002:a05:6000:1148:b0:236:71cd:1a71 with SMTP id d8-20020a056000114800b0023671cd1a71mr6301094wrx.712.1668848201599; Sat, 19 Nov 2022 00:56:41 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id fc10-20020a05600c524a00b003cf9bf5208esm12708160wmb.19.2022.11.19.00.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 00:56:41 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Sergio Lopez Pascual , Javier Martinez Canillas , Jonathan Corbet , Paolo Bonzini , kvm@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 2/2] KVM: Add missing arch for KVM_CREATE_DEVICE and KVM_{SET,GET}_DEVICE_ATTR Date: Sat, 19 Nov 2022 09:56:32 +0100 Message-Id: <20221119085632.1018994-2-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221119085632.1018994-1-javierm@redhat.com> References: <20221119085632.1018994-1-javierm@redhat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The ioctls are missing an architecture property that is present in others. Suggested-by: Sergio Lopez Pascual Signed-off-by: Javier Martinez Canillas --- Documentation/virt/kvm/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index c17bac32d25c..0a99858d6d03 100644 --- a/Documentation/virt/kvm/api.rst +++ b/Documentation/virt/kvm/api.rst @@ -3293,6 +3293,7 @@ valid entries found. ---------------------- :Capability: KVM_CAP_DEVICE_CTRL +:Architectures: all :Type: vm ioctl :Parameters: struct kvm_create_device (in/out) :Returns: 0 on success, -1 on error @@ -3333,6 +3334,7 @@ number. :Capability: KVM_CAP_DEVICE_CTRL, KVM_CAP_VM_ATTRIBUTES for vm device, KVM_CAP_VCPU_ATTRIBUTES for vcpu device KVM_CAP_SYS_ATTRIBUTES for system (/dev/kvm) device (no set) +:Architectures: x86, arm64, s390 :Type: device ioctl, vm ioctl, vcpu ioctl :Parameters: struct kvm_device_attr :Returns: 0 on success, -1 on error