From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AC8AB238C07; Mon, 4 Aug 2025 22:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754346351; cv=none; b=TXumgqjRCqs0zczvC+2c/5Nc68skvXW20BFZbNcpXuNi29gc7s4Hj8LkhPMjoh1HjXSYoYjIRtw8BqWkQDjFsS1iItcyINC7nI3MPqI83X8WzzIA5x52OdGfSVnBLpytwTPalQGgn2d34K5AehtQAPEWHGVSEJYbS1n9lp8GiG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754346351; c=relaxed/simple; bh=enMaGTMAABbWaOPEGi4GPcRf3wbgYEldr1JGJGzL5m0=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=d5lNCKU05+lwnX4Y7vOZfjYB0zN2cwh5uUv/+7gIt4lnNWM25KMTh1lx6kgDrHJ+KtBwDjr+rzLqGt+ZAfT3dLUWkxGIMiYWNM707KQE4i6mT+Z0L3aOBjyaGNmB3sAuUUU1cAYTv9HW6FwnTs5f0sJO8p2UldYUPrnByp5xQW8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Pp0Fu428; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Pp0Fu428" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12F3AC4CEE7; Mon, 4 Aug 2025 22:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1754346351; bh=enMaGTMAABbWaOPEGi4GPcRf3wbgYEldr1JGJGzL5m0=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Pp0Fu428NDuVpNiSRNjvByoTRFtmuOHLiyeTEej7y/QmQQD2UoHTtSOLyLJOOuOVD UhjlBwVcNfCms6iqzxm/r6qHjrqcBgjOiSPIQ9ZKBShVl5tbiFFqpuOzxcIfddWytx j3MUpoEwOy3o0Nirnyiroh427CdZfqchpCMINfF8Z7bF1Qb0GuYehdYb2CWK3Cbxzx G/B+cxa+EEFf7qgzDnV5QDb+kSFLkpT5Gw3Y5XlCOeXwBxrvggaPD2dLvMfRac3w9t 5faLPOdixH6tKJPhVGF/7SIDOZE96eNjrpLLm1a2wJuE/Pc9uUcB0rBowZYXmcoiAN R+jE28AaKdMaw== Date: Mon, 4 Aug 2025 17:25:49 -0500 From: Bjorn Helgaas To: "Aneesh Kumar K.V (Arm)" Cc: linux-coco@lists.linux.dev, kvmarm@lists.linux.dev, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, aik@amd.com, lukas@wunner.de, Samuel Ortiz , Xu Yilun , Jason Gunthorpe , Suzuki K Poulose , Steven Price , Catalin Marinas , Marc Zyngier , Will Deacon , Oliver Upton Subject: Re: [RFC PATCH v1 08/38] iommufd/tsm: Add tsm_op iommufd ioctls Message-ID: <20250804222549.GA3645807@bhelgaas> Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250728135216.48084-9-aneesh.kumar@kernel.org> On Mon, Jul 28, 2025 at 07:21:45PM +0530, Aneesh Kumar K.V (Arm) wrote: > Add operations bind and unbind used to bind a TDI to the secure guest. > +++ b/include/uapi/linux/iommufd.h > +#define IOMMU_VDEVICE_TSM_OP _IO(IOMMUFD_TYPE, IOMMUFD_CMD_VDEVICE_TSM_OP) > +#define IOMMU_VDEICE_TSM_BIND 0x1 > +#define IOMMU_VDEICE_TSM_UNBIND 0x2 s/VDEICE/VDEVICE/