From patchwork Fri Dec 2 10:50:07 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: 2531 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp762829wrr; Fri, 2 Dec 2022 02:55:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf5zpFw+kDaGIeI43OHlrw0YxezP4erHkmxl8RaXEkYHOLY3Tb0IlkvqEOpEl6jEnLveByIH X-Received: by 2002:a05:6a00:1310:b0:561:a494:b299 with SMTP id j16-20020a056a00131000b00561a494b299mr49955841pfu.34.1669978551568; Fri, 02 Dec 2022 02:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669978551; cv=none; d=google.com; s=arc-20160816; b=cS4S4Z9NTXsrQqvBepau5v+w1SG6J4q5R4Lus89+BILNawK/YwBnLRj7kdN23ecmki EB/nySF9QuXG3esx5rVTWZiWu0VWGOWpvl5zZfE5JD4ccdopvk78BazGexoGfEowNNU0 FwBsrLoAw44lG900WITjCumnfeLLsSyErsjEi7q77Q6H+sqAYDdvYJDR8SU90iw1tSeJ 1TZ/ue0FnmUwhVPtPU4tZvvtz+JAUrYQP+SvbUDAwxxTKTzOynIErvToXbjYk09qnelU F8tJuyq3K+ta1eqkMgCT5p+T4j+VbszAYujmj33I02SA/tUHa7pmZ/su7evJqVLxKIos 8OpQ== 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=Xns7M6Diybr7dzy3wYbJXBXTTPyGOV7tjq20IdAiq6U=; b=UwHtX7DULYNKPmmcs6Ig+o+gNmXEEh4Ya0JQ5WBL6fMScaGs4PHY7qL+/pc6B8R4/G mfkM9kNgIu6VxSg6Jesrc5ZFBapz2LF1mLgQ7vAcFElteVxHySkSd1NdiCa394xqAXr+ lYTqr0P803nrDvFH1cuqCxiR/8tIsMBq/Wr3czuEu8vxEYopLrxml3EgbJ4Cvq+yRHeF WCmSrf1YXlKhila9V8VIHZQSTZXfxjUgqzwhGgSHjnJCtRpGsg3E3XI3w5Lo/iJCbtX+ EEntbNBoPS+m+XM+xhTPdnWnlYqVFMil0IA748aETerqSqvdIzK8SYIiKk/GFW+ieVL3 v+NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KD3Liz2X; 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 w20-20020a634914000000b0047697539353si7325935pga.656.2022.12.02.02.55.38; Fri, 02 Dec 2022 02:55:51 -0800 (PST) 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=KD3Liz2X; 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 S233147AbiLBKvZ (ORCPT + 99 others); Fri, 2 Dec 2022 05:51:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232941AbiLBKvU (ORCPT ); Fri, 2 Dec 2022 05:51:20 -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 D68BACF7A7 for ; Fri, 2 Dec 2022 02:50:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669978227; 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; bh=Xns7M6Diybr7dzy3wYbJXBXTTPyGOV7tjq20IdAiq6U=; b=KD3Liz2XPWZoIyKj4VldyxhJYPWsqExDk5SEYd0WxxZ+FeBch5gbF8LDIlqK9AS/ppMLrL ev7uKMkGY8nPPqJadi7EuARcNJWhTsXQvF5tS/fam0x7QnpHDTK3Ox8Snlhhc/X0tGoWP9 T/yIADUKHQ4Go4rWkXf7QvpbYSIPoeg= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-349-Kut9GfHFOyyAwwCP6Q7FZg-1; Fri, 02 Dec 2022 05:50:25 -0500 X-MC-Unique: Kut9GfHFOyyAwwCP6Q7FZg-1 Received: by mail-wr1-f69.google.com with SMTP id e7-20020adf9bc7000000b00242121eebe2so969370wrc.3 for ; Fri, 02 Dec 2022 02:50:25 -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:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xns7M6Diybr7dzy3wYbJXBXTTPyGOV7tjq20IdAiq6U=; b=LdqE9fm0hfs+RfVPAYTwdx7V32CGUMH+xBl7WhBDyigKP6GZsTNAuaTqI83lBu3PEk bFTFxtp2tkbMWx+auJ5Rvjd/v2nRQqDD2XUUOhakuC/WIy4prkI4bwiPDnkr/wkfUZJm +MVPcbaNPR07ZIUZOcT8YK0pAiw4/uXEaYLnBF3k/RvLhE18OAj861fqsFXc8D2QQzzL 5SZYIzIRkdp+nX/Os+R4EbnkBPGAfFn51qR1BJcDhxmV6aF+TVGTXBkD4gCse+pf126b kY6VmM4ciB1JVJy9LYYqFO5lJHy1j9sKwEINu4SxXZhzEhlGZ7Rcnb8Q6mbXqPk3uU4P 2MvA== X-Gm-Message-State: ANoB5pltS6WX78raFT0qG0blOj9AcYasK5wyNuyDc0N6t6kZHpDLP680 OOe48VKGC/XKT2VUoiZIPpfi3UXJba+WnHxNtDX76EcQlN2edeIEOPCcV1gPV+6bsAD1Q/Pzt0Q v4PPjYyTBFMtB+P19HOgiWpiVUr3pbe1BeNGMNg2LZXtAhlwZ42XTU9WU4vqzXEyjuibk8RJnsU o= X-Received: by 2002:a05:6000:1707:b0:242:271f:d2c3 with SMTP id n7-20020a056000170700b00242271fd2c3mr8077383wrc.335.1669978224408; Fri, 02 Dec 2022 02:50:24 -0800 (PST) X-Received: by 2002:a05:6000:1707:b0:242:271f:d2c3 with SMTP id n7-20020a056000170700b00242271fd2c3mr8077349wrc.335.1669978224064; Fri, 02 Dec 2022 02:50:24 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id bg2-20020a05600c3c8200b003a3170a7af9sm9728818wmb.4.2022.12.02.02.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 02:50:23 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Paolo Bonzini , Sergio Lopez Pascual , Sean Christopherson , Javier Martinez Canillas , Arnaldo Carvalho de Melo , Borislav Petkov , Dan Williams , Dave Hansen , Fabiano Rosas , Guang Zeng , "Gustavo A. R. Silva" , "H. Peter Anvin" , Ingo Molnar , Jing Liu , Jonathan Corbet , Nicholas Piggin , Thomas Gleixner , Wei Wang , Yang Zhong , kvm@vger.kernel.org, linux-doc@vger.kernel.org, x86@kernel.org Subject: [PATCH v2 0/4] KVM: Delete all references to removed ioctls Date: Fri, 2 Dec 2022 11:50:07 +0100 Message-Id: <20221202105011.185147-1-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 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=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?1751099429502020690?= X-GMAIL-MSGID: =?utf-8?q?1751099429502020690?= Hello, This series contains patches that cleanups KVM headers and documentation, by removing left overs of ioctls that were already removed. This is a v2 that instead of marking these ioctls as "obsoleted", remove any mentions to them. This was suggested by Sean Christopherson in v1. Best regards, Javier Changes in v2: - Delete all references to removed ioctls instead of marking them as deprecated (Sean Christopherson). Javier Martinez Canillas (4): KVM: Delete all references to removed KVM_SET_MEMORY_REGION ioctl KVM: Delete all references to removed KVM_SET_MEMORY_ALIAS ioctl KVM: Reference to kvm_userspace_memory_region in doc and comments KVM: Add missing arch for KVM_CREATE_DEVICE and KVM_{SET,GET}_DEVICE_ATTR Documentation/virt/kvm/api.rst | 31 +++------------------------ arch/x86/include/uapi/asm/kvm.h | 8 ------- include/linux/kvm_host.h | 4 ++-- include/uapi/linux/kvm.h | 20 +++-------------- tools/arch/x86/include/uapi/asm/kvm.h | 8 ------- tools/include/uapi/linux/kvm.h | 20 +++-------------- 6 files changed, 11 insertions(+), 80 deletions(-)