Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp321570pxb; Fri, 15 Jan 2021 04:17:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVHLnWhwn/R9TfaKUw3tfHhfiWhMh/gb8d5oiZ4ZllQb8sM7B/hvYsbpM2atV1kRUuA3Zh X-Received: by 2002:a17:906:4705:: with SMTP id y5mr8459266ejq.112.1610713036821; Fri, 15 Jan 2021 04:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610713036; cv=none; d=google.com; s=arc-20160816; b=l5l8p5DmTzUk+8A0gZzimQhYL579yAu/SpqtQ5hMrCp90QLvPgxl7dL7Tif4cYVtiF CjuscRxvQ7LiSevnK2j/IwPxTI5w3+XAPtr1rL/tZge1XSTpo0D+fG3Dv9iWBOtt6CN+ ro0RlbDPakQZmPcxvUDj3q8MBEszuzW/zVWmHqbyO/GrSrvnI+q8nbl/8vb7dnXnTpN5 ltTqGQboGoFCUr9ELwzW5Q0UOlsCJKXCIRUKXkzIe8TZD9yDcUVpmYmnSbvx7/mZh3TD NP0odllVFKI5YYpuEh5y7a/+1iM3u9tVujfp7gxjE/LKDTUav5UTd84U7xvn1QnMYGO7 Egsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=Yz/GrM83wqJVRltCxPBdSTMbJPFgMssC3Ze1E5yImCM=; b=uWOuiJBzVSecXCYKrIXteDZ4t+ThzuzysNRqdu4zp4gO3fpvKKHM8MywYVTpEbN2NM 4r5Wa8x0CMi3k/J8gQppMfpQmp52uANsg3sr93HY+6PLn6yEn4ddJBsGnoeN1rQvZk33 L2BJIlzYjDywM44aojCt7VmLjZWgrdNIRQEOe4Lw6soHATMR0obam5dMoeZERZmVlxR8 JVfbmcOXOvkCgWbWj+3x67l0VnLRTm5ZztPKiNB5eQcqVoRepfmIy/fcsjEtMw+VO92X 2gqxdIUKiRMGg+NXAFGmUa9xtntqjWWL0GXDmui3F82uGTZ8tUGJKcGAyW/VNCcb8bAh km7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si190462ejr.548.2021.01.15.04.16.52; Fri, 15 Jan 2021 04:17:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730837AbhAOMPe (ORCPT + 99 others); Fri, 15 Jan 2021 07:15:34 -0500 Received: from foss.arm.com ([217.140.110.172]:37714 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730506AbhAOMPa (ORCPT ); Fri, 15 Jan 2021 07:15:30 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 79D251474; Fri, 15 Jan 2021 04:14:37 -0800 (PST) Received: from usa.arm.com (a074945.blr.arm.com [10.162.16.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EDEF23F70D; Fri, 15 Jan 2021 04:14:32 -0800 (PST) From: Vivek Gautam To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, virtualization@lists.linux-foundation.org Cc: joro@8bytes.org, will.deacon@arm.com, mst@redhat.com, robin.murphy@arm.com, jean-philippe@linaro.org, eric.auger@redhat.com, alex.williamson@redhat.com, kevin.tian@intel.com, jacob.jun.pan@linux.intel.com, yi.l.liu@intel.com, lorenzo.pieralisi@arm.com, shameerali.kolothum.thodi@huawei.com, vivek.gautam@arm.com Subject: [PATCH RFC v1 09/15] iommu/virtio: Update table format probing header Date: Fri, 15 Jan 2021 17:43:36 +0530 Message-Id: <20210115121342.15093-10-vivek.gautam@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210115121342.15093-1-vivek.gautam@arm.com> References: <20210115121342.15093-1-vivek.gautam@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add info about asid_bits and additional flags to table format probing header. Signed-off-by: Vivek Gautam Cc: Joerg Roedel Cc: Will Deacon Cc: Michael S. Tsirkin Cc: Robin Murphy Cc: Jean-Philippe Brucker Cc: Eric Auger Cc: Alex Williamson Cc: Kevin Tian Cc: Jacob Pan Cc: Liu Yi L Cc: Lorenzo Pieralisi Cc: Shameerali Kolothum Thodi --- include/uapi/linux/virtio_iommu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/virtio_iommu.h b/include/uapi/linux/virtio_iommu.h index 43821e33e7af..8a0624bab4b2 100644 --- a/include/uapi/linux/virtio_iommu.h +++ b/include/uapi/linux/virtio_iommu.h @@ -169,7 +169,10 @@ struct virtio_iommu_probe_pasid_size { struct virtio_iommu_probe_table_format { struct virtio_iommu_probe_property head; __le16 format; - __u8 reserved[2]; + __le16 asid_bits; + + __le32 flags; + __u8 reserved[4]; }; struct virtio_iommu_req_probe { -- 2.17.1