From nobody Sun Feb 8 06:49:53 2026 Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 970511A01C6 for ; Tue, 27 Jan 2026 00:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.196 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769473372; cv=none; b=IzMHNZ6wv7B5EeWoMeHQBt+DKkS1u7LpEucm6PGnEvx5pGpGlsKFifv3Yq6vIznruNC1ls52rV+LOW7cg1INnU2poQ1ppgPAcwtl86i3JC3wTmLWSYi46DqQAh8f94QexkOEd0mtHjaFMS00xm6Sw4JV6gb7+giSqQwmF0T40tU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769473372; c=relaxed/simple; bh=Aqmmw/ujtV1agXkvxCKU3nG6cvs+wyfXaMmgogDqLeo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=FcfLQt2KMgyboWCaaxOJegOnlq+fR0oIyhjWmM6lhE9fAPtStOkBlSGsImbPyIU0iLjPCqWyUUtadRGHrloU372dACMBMQC500zvSile3eSQHFrMocYjQM3AisRyAV1F+DrAO4KBezgQsbSrGqLLJAD0CPzpf+YSG3oW1CZgg1w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UUHY6f+v; arc=none smtp.client-ip=209.85.160.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UUHY6f+v" Received: by mail-qt1-f196.google.com with SMTP id d75a77b69052e-502a26e8711so28134501cf.1 for ; Mon, 26 Jan 2026 16:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769473368; x=1770078168; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H7FSGPEylR/S8ORzUfzpVRMZ5OAAgnwAPOwAD4vCrfQ=; b=UUHY6f+voY9RJ2FPb3MqX0QHyxVfDXAMX63krD6bEWiFEGOrNuNprlwASMBorrnG9u vodl3QeeuKHy6+OiJq86UzsLjhWaiz+XJCvOiqANepGkukKhv2PGwZiv1TauUZ2e9SPQ g35VKOQPl+UvieZ8FcLvydwQuo75weDztt8K/eCR1MfT1gFQtkGS7LcGiza0G353+4nL l1pC7QxZcb61ecvnxAsWzBz5RXKVoZ1gUJKlbREHj88HjH2zGvHn86umSbIuLcXmGyfX eNxyDjbamlmDxTjAYF2FkePkrjH7x+KNHd8F85O99F420XpZ60J1ZZ//urilz5ZEnoqz 426w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769473368; x=1770078168; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=H7FSGPEylR/S8ORzUfzpVRMZ5OAAgnwAPOwAD4vCrfQ=; b=BXxWqYbNb/wvQhiPXFq66MTqrDnOsmz0FS7VtVpz7M7gcJst22D2etM7AEQj/e0Ifb ODbQjoWRJ7ebf+/fktK2LugyQFxUFYAz/mRT9VGG4Q6sTspG/OjbHEZi957Tgozjp6Gs SQ+AbHtp7Coy0MJ+Z/AAN5Dfda7xhTAX6pAYYO9Ov2wnMCKFUKqSs0hkRg3gzgI/sdtn C+GzilDJJhzMelQDklOOvYHm4ztWgF38bqoxUwmialE/RPYKfdabiqiiClzhOv8UFMFc GHZlPYimA8PK7RyX6EBghKfSdeDq7la8F3cXOhj+gIk6bn9yvedAGLH2UQE6acI7UzHJ 4Ntg== X-Forwarded-Encrypted: i=1; AJvYcCWvax53C+pAyhB+wfLPEnO6nTmiTW+gbWhmXTWrq+3TqhLluanpuJNqlTBILrb6eQFMOYFJUmrrELaSqCs=@vger.kernel.org X-Gm-Message-State: AOJu0YzHvRaZuQfsPVfms3SZlEiNGTG6MjrC+Xd66GMzObEopgCiNpvO oUcexB3HWNhcgefK7dMnS4X3bNqihKYRklmwJBC8MWDtDvBk+ZNt8HJ5 X-Gm-Gg: AZuq6aIvQjlRzcgLWanzrsbUGTdEgyiR25XRkcw6ESnim5l/rskbfscZUQ/tTEvZiYZ nCKskIjeX7yvGFFX5slgIUvpRJ9t1kdEKAvm6qT4cvPGV473LeutnOftjJ1j2x7zu7B3XZF5QN/ VNkgfw3eR+C59xp++yUsdHdA9Hz/E466096rGzSisB3vv7lnn4GzMErKcCq7EgJ5jG0HhdYsZWB hXDSzk5qMoWuOA2toD5JE0FE/5DvzbVJDmE3ZPcCqWN/iqeyIRJvxmr1APoimDbF7r+rNL5hwV7 xMkDpL7xCBhtalX9V3BkhqeJFo+tF+8PqhW7FiKl1QAYtQyXtWZhnSin1kmSUUfFfO71315xDk1 szhDjDeHtEiyWhuStHu3hCHaJFrW8u/T5W0WJ4vE0iGx+Emn+jqiIDJJE/gdmUHFRF/2XJ8I= X-Received: by 2002:ac8:5a84:0:b0:4ee:2200:409e with SMTP id d75a77b69052e-50314ba3cd1mr76172451cf.4.1769473368536; Mon, 26 Jan 2026 16:22:48 -0800 (PST) Received: from r730.. ([46.110.19.170]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8c6e3853da0sm1155496285a.37.2026.01.26.16.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jan 2026 16:22:48 -0800 (PST) From: Henry Zhang X-Google-Original-From: Henry Zhang To: "Michael S . Tsirkin" , Jason Wang Cc: Xuan Zhuo , =?UTF-8?q?Eugenio=20P=C3=A9rez?= , virtualization@lists.linux.dev, linux-kernel@vger.kernel.org, Henry Zhang Subject: [PATCH] virtio: document map and vmap fields in struct virtio_device Date: Mon, 26 Jan 2026 19:21:22 -0500 Message-Id: <20260127002122.1356964-1-zeri@umich.edu> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" These fields were added in commit bee8c7c24b73 ("virtio: introduce map ops in virtio core") but the kernel-doc comments weren't updated. Signed-off-by: Henry Zhang --- include/linux/virtio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 63bb05ece8c5..b8e791f7b687 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -157,11 +157,13 @@ struct virtio_admin_cmd { * @id: the device type identification (used to match it with a driver). * @config: the configuration ops for this device. * @vringh_config: configuration ops for host vrings. + * @map: memory mapping operations, or NULL to use DMA API. * @vqs: the list of virtqueues for this device. * @features: the 64 lower features supported by both driver and device. * @features_array: the full features space supported by both driver and * device. * @priv: private pointer for the driver's use. + * @vmap: context for @map operations. * @debugfs_dir: debugfs directory entry. * @debugfs_filter_features: features to be filtered set by debugfs. */ --=20 2.34.1