Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1983046rdb; Wed, 31 Jan 2024 15:46:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6CiRqNxt2UhEECyzxiYR/2KfCLwUliFlB9l5Nt4O4IHSK9Kp9HvwQLmYi79cHIVptOSOx X-Received: by 2002:aa7:ccd1:0:b0:55f:19a4:e5f with SMTP id y17-20020aa7ccd1000000b0055f19a40e5fmr2139997edt.20.1706744812015; Wed, 31 Jan 2024 15:46:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706744812; cv=pass; d=google.com; s=arc-20160816; b=ZK1EwpsrGPXOY7FaTnSvO78spOud8MD3/ERhrbBy0XsKSbdQCkqpzCSxMV+ZYSTmXt 6cExGbPpvln+c0xTAfn0SSU/R2YMkX/ky/8O5lJZVIxyINr2eotUeJq4I1kd7cjRuBOy okV15vdTf105WGk1GJNCLuLOw5kTSW9xBCBK5sFhIQeVLv1RG2RTalrsDrfWMaoy+xPG o0XbqQvG5ZHxUxD7jhc0WafNMLxraNsxw5SLbyC2rR/wzrpVp03Tm56TPgaH6cxpyKzj 5W6wznaN8cKd2grvY2w3bjV104t4quYWQQlIFI2ghjBWcAnmvHncZPTjlrKlb5z67VIN CGCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=M6Nv0QDSdRGQB7DAkiGBWR53UACzKTdMG5hTEw+ea88=; fh=o+mdTBNnJy3kIc6wgW+718V1hZENFxZIKdhji7M0uK4=; b=oxiOmLzK9GgNeZHcMTeXLL3HTvTY0RVRRaFTms+O8F3J3FYwwNyqtiDgJp79shpDMZ 1BM/NagxXSqz80V0pSviUhxgux0x1U9UQ4CS5FHq3ZGRU6Zl/SojdYOyIDamv+4C9HQ/ VKFMgHayn5dxgSPVYpuEZeKu3qjr7DkX+v9NUI+EduLZ7e9TbScBJzQsc06mvSNs8LIZ cy2fGnrdO4tcEBqWDzTYNS9YasX73oEV1tpRO/G6qjner/TNSAqV99hscSXyxMIGnIvH CC/V3yIy5ZNcuS8UuPrC1XXZrs4HmHZ9rEsZHxwg6BVBqCvx4wAcKV/MC1YtkpupeUT3 sTCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YCP1/srB"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-47379-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47379-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCX/kSpTWNoSnKq1hSIOIQqkQeuz5h8AnhAbau8lILbZxXSHI4KwPyEQn/daJpSDipGXAACIyDSufbKrmKtSEqwY8fdYlZug7YDvpgTJGw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n12-20020a056402434c00b0055eed572f54si4015953edc.287.2024.01.31.15.46.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 15:46:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47379-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YCP1/srB"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-47379-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47379-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7BC251F2DFF4 for ; Wed, 31 Jan 2024 23:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3007647F47; Wed, 31 Jan 2024 23:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YCP1/srB" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E5E63C46C for ; Wed, 31 Jan 2024 23:31:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706743864; cv=none; b=SvK5aPVfugjVwjYHPVU8eTmIgX/usXQMpBlBPYwD8bGxf3f8ZAEu0EApUxa0dxtD69IXS8ee2a0VrBhubofmYQko+7ss5OM3nCcKGv5aOgjmQKrkGAd0hW/YovnbeZGyhWs+8pp7YThFi376W2xBr4O4gPGdG9QBylLVNYQbWkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706743864; c=relaxed/simple; bh=a11DBiciXg2fo6+BDhs0EEQ+8s9DaH42cJVQm78o8l0=; h=From:To:Subject:Date:Message-Id:MIME-Version:Content-Type; b=CU8PdZP0MJFe2XHaW8x1X6lMkOxfSbs3ftrpITsk8DPEGRqE1cTfxT1WiWxftKnvXS//N9q5o6+Btyln0WosVieJoA8XciLgfx+OcUQvVxeTYNvnZjW+2TPZ8doX/le5kPqncBGlb0F4xAk5QvFu+rbGsRHIc3xEfSEboqrdUkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=YCP1/srB; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706743861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M6Nv0QDSdRGQB7DAkiGBWR53UACzKTdMG5hTEw+ea88=; b=YCP1/srBf3Zbdz1Gx1qtM1Cbswb7KH+L6d5Gl04ZPmU6iafky++NYczhj0ckrRDDG93Qax 5Cug2jcj74cMdQecHQr0RVSagMReGLr5T19cUrmQhOiNBFnznufQLq+75ZTS7n1aPvmyfy Wvcl4KnUv4qrUxz6iML14/ArZwH/1m8= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-621-aS_si6hSMOCZEc4lBAdv_w-1; Wed, 31 Jan 2024 18:30:56 -0500 X-MC-Unique: aS_si6hSMOCZEc4lBAdv_w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AFAB638149A2; Wed, 31 Jan 2024 23:30:56 +0000 (UTC) Received: from virtlab511.virt.lab.eng.bos.redhat.com (virtlab511.virt.lab.eng.bos.redhat.com [10.19.152.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 97B62C2590D; Wed, 31 Jan 2024 23:30:56 +0000 (UTC) From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [PATCH 0/8] KVM: cleanup linux/kvm.h Date: Wed, 31 Jan 2024 18:30:48 -0500 Message-Id: <20240131233056.10845-1-pbonzini@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 More cleanups of KVM's main header: * remove thoroughly obsolete APIs * move architecture-dependent stuff to uapi/asm/kvm.h * small cleanups to __KVM_HAVE_* symbols Paolo Paolo Bonzini (8): KVM: remove more traces of device assignment UAPI KVM: x86: move x86-specific structs to uapi/asm/kvm.h KVM: powerpc: move powerpc-specific structs to uapi/asm/kvm.h KVM: s390: move s390-specific structs to uapi/asm/kvm.h KVM: arm64: move ARM-specific defines to uapi/asm/kvm.h kvm: replace __KVM_HAVE_READONLY_MEM with Kconfig symbol KVM: define __KVM_HAVE_GUEST_DEBUG unconditionally KVM: remove unnecessary #ifdef arch/arm64/include/uapi/asm/kvm.h | 7 +- arch/arm64/kvm/Kconfig | 1 + arch/loongarch/include/uapi/asm/kvm.h | 2 - arch/loongarch/kvm/Kconfig | 1 + arch/mips/include/uapi/asm/kvm.h | 2 - arch/mips/kvm/Kconfig | 1 + arch/powerpc/include/uapi/asm/kvm.h | 45 +- arch/riscv/include/uapi/asm/kvm.h | 1 - arch/riscv/kvm/Kconfig | 1 + arch/s390/include/uapi/asm/kvm.h | 315 +++++++++++- arch/x86/include/uapi/asm/kvm.h | 264 +++++++++- arch/x86/kvm/Kconfig | 1 + include/uapi/linux/kvm.h | 692 +------------------------- virt/kvm/Kconfig | 3 + virt/kvm/kvm_main.c | 2 +- 15 files changed, 642 insertions(+), 696 deletions(-) -- 2.39.0