mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
To: Jonathan Cameron <Jonathan.Cameron@huawei.com>
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 <sameo@rivosinc.com>,
	Xu Yilun <yilun.xu@linux.intel.com>,
	Jason Gunthorpe <jgg@ziepe.ca>,
	Suzuki K Poulose <Suzuki.Poulose@arm.com>,
	Steven Price <steven.price@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Marc Zyngier <maz@kernel.org>, Will Deacon <will@kernel.org>,
	Oliver Upton <oliver.upton@linux.dev>
Subject: Re: [RFC PATCH v1 14/38] coco: host: arm64: Device communication support
Date: Mon, 04 Aug 2025 09:47:16 +0530	[thread overview]
Message-ID: <yq5a5xf3afg3.fsf@kernel.org> (raw)
In-Reply-To: <20250730145248.000043be@huawei.com>

Jonathan Cameron <Jonathan.Cameron@huawei.com> writes:

> On Mon, 28 Jul 2025 19:21:51 +0530
> "Aneesh Kumar K.V (Arm)" <aneesh.kumar@kernel.org> wrote:
>
>> Add helpers for device communication from RMM
>> 
>> Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
>> ---
>>  arch/arm64/include/asm/rmi_cmds.h        |  11 ++
>>  arch/arm64/include/asm/rmi_smc.h         |  49 ++++++
>>  drivers/virt/coco/arm-cca-host/arm-cca.c |  45 ++++++
>>  drivers/virt/coco/arm-cca-host/rmm-da.c  | 198 +++++++++++++++++++++++
>>  drivers/virt/coco/arm-cca-host/rmm-da.h  |  41 +++++
>>  5 files changed, 344 insertions(+)
>> 
>
>>  #endif /* __ASM_RMI_CMDS_H */
>> diff --git a/arch/arm64/include/asm/rmi_smc.h b/arch/arm64/include/asm/rmi_smc.h
>> index a84ed61e5001..8bece465b670 100644
>> --- a/arch/arm64/include/asm/rmi_smc.h
>> +++ b/arch/arm64/include/asm/rmi_smc.h
>> @@ -47,6 +47,7 @@
>
>>  
>> +#define RMI_DEV_COMM_EXIT_CACHE_REQ	BIT(0)
>> +#define RMI_DEV_COMM_EXIT_CACHE_RSP	BIT(1)
>> +#define RMI_DEV_COMM_EXIT_SEND		BIT(2)
>> +#define RMI_DEV_COMM_EXIT_WAIT		BIT(3)
>> +#define RMI_DEV_COMM_EXIT_MULTI		BIT(4)
>> +
>> +#define RMI_DEV_COMM_NONE	0
>> +#define RMI_DEV_COMM_RESPONSE	1
>> +#define RMI_DEV_COMM_ERROR	2
>> +
>> +#define RMI_PROTOCOL_SPDM		0
>> +#define RMI_PROTOCOL_SECURE_SPDM	1
>> +
>> +#define RMI_DEV_VCA			0
>> +#define RMI_DEV_CERTIFICATE		1
>> +#define RMI_DEV_MEASUREMENTS		2
>> +#define RMI_DEV_INTERFACE_REPORT	3
>> +
>> +struct rmi_dev_comm_enter {
>> +	u64 status;
>> +	u64 req_addr;
>> +	u64 resp_addr;
>> +	u64 resp_len;
>> +};
>> +
>> +struct rmi_dev_comm_exit {
>> +	u64 flags;
>> +	u64 cache_req_offset;
>> +	u64 cache_req_len;
>> +	u64 cache_rsp_offset;
>> +	u64 cache_rsp_len;
>> +	u64 cache_obj_id;
>> +	u64 protocol;
>> +	u64 req_len;
>> +	u64 timeout;
> In latest spec called rsp_timeout.
> Not sure we care that much but if no strong reason otherwise, should
> aim to match the spec text. (Maybe this got renamed?)
>> +};
>
>> diff --git a/drivers/virt/coco/arm-cca-host/arm-cca.c b/drivers/virt/coco/arm-cca-host/arm-cca.c
>> index 84d97dd41191..294a6ef60d5f 100644
>> --- a/drivers/virt/coco/arm-cca-host/arm-cca.c
>> +++ b/drivers/virt/coco/arm-cca-host/arm-cca.c
>> @@ -85,6 +85,45 @@ static void cca_tsm_pci_remove(struct pci_tsm *tsm)
>>  	vfree(dsc_pf0);
>>  }
>>  
>> +static int init_dev_communication_buffers(struct cca_host_comm_data *comm_data)
>> +{
>> +	int ret = -ENOMEM;
>> +
>> +	comm_data->io_params = (struct rmi_dev_comm_data *)get_zeroed_page(GFP_KERNEL);
>
> Hmm. There isn't a DEFINE_FREE() yet for free_page().  Maybe time to add one.
> If we did then we'd use local variables until all allocations succeed then
> assign with no_free_ptr()
>
>
>> +	if (!comm_data->io_params)
>> +		goto err_out;
>> +
>> +	comm_data->resp_buff = (void *)__get_free_page(GFP_KERNEL);
>> +	if (!comm_data->resp_buff)
>> +		goto err_res_buff;
>> +
>> +	comm_data->req_buff = (void *)__get_free_page(GFP_KERNEL);
>> +	if (!comm_data->req_buff)
>> +		goto err_req_buff;
>> +
>> +
>> +	comm_data->io_params->enter.status = RMI_DEV_COMM_NONE;
>> +	comm_data->io_params->enter.resp_addr = virt_to_phys(comm_data->resp_buff);
>> +	comm_data->io_params->enter.req_addr  = virt_to_phys((void *)comm_data->req_buff);
> I think it's already a a void * and even if it were some other pointer type
> no cast would be necessary.
>
>> +	comm_data->io_params->enter.resp_len = 0;
>> +
>> +	return 0;
>> +
>> +err_req_buff:
>> +	free_page((unsigned long)comm_data->resp_buff);
>> +err_res_buff:
>> +	free_page((unsigned long)comm_data->io_params);
>> +err_out:
>> +	return ret;
>> +}
>> +
>
>> +
>>  /* per root port unique with multiple restrictions. For now global */
>>  static DECLARE_BITMAP(cca_stream_ids, MAX_STREAM_ID);
>>  
>> @@ -124,6 +163,7 @@ static int cca_tsm_connect(struct pci_dev *pdev)
>>  	rc = tsm_ide_stream_register(pdev, ide);
>>  	if (rc)
>>  		goto err_tsm;
>> +	init_dev_communication_buffers(&dsc_pf0->comm_data);
>>  	/*
>>  	 * Take a module reference so that we won't call unregister
>>  	 * without rme_unasign_device
>> @@ -133,6 +173,11 @@ static int cca_tsm_connect(struct pci_dev *pdev)
>>  		goto err_tsm;
>>  	}
>>  	rme_asign_device(pdev);
> 	rme_assign_device() - I obviously missed this earlier!
>
>> +	/*
>> +	 * Schedule a work to fetch device certificate and setup IDE
> Single line comment probably fine here.  Though it perhaps doesn't add
> much over the function name.
>> +	 */
>> +	schedule_rme_ide_setup(pdev);
>> +
>>  	/*
>>  	 * Once ide is setup enable the stream at endpoint
>>  	 * Root port will be done by RMM
>> diff --git a/drivers/virt/coco/arm-cca-host/rmm-da.c b/drivers/virt/coco/arm-cca-host/rmm-da.c
>> index 426e530ac182..d123940ce82e 100644
>> --- a/drivers/virt/coco/arm-cca-host/rmm-da.c
>> +++ b/drivers/virt/coco/arm-cca-host/rmm-da.c
>> @@ -148,3 +148,201 @@ int rme_asign_device(struct pci_dev *pci_dev)
>>  err_out:
>>  	return ret;
>>  }
>> +
>> +static int doe_send_req_resp(struct pci_tsm *tsm)
>> +{
>> +	u8 protocol;
>> +	int ret, data_obj_type;
>> +	struct cca_host_comm_data *comm_data;
>> +	struct rmi_dev_comm_exit *io_exit;
>> +
>> +	comm_data = to_cca_comm_data(tsm->pdev);
>> +
>> +	io_exit = &comm_data->io_params->exit;
>> +	protocol = io_exit->protocol;
>
> For all these I'd combine with the declarations.
>
>> +
>> +	pr_debug("doe_req size:%lld doe_io_type=%d\n", io_exit->req_len, (int)protocol);
>> +
>> +	if (protocol == RMI_PROTOCOL_SPDM)
>> +		data_obj_type = PCI_DOE_PROTO_CMA;
>> +	else if (protocol == RMI_PROTOCOL_SECURE_SPDM)
>> +		data_obj_type = PCI_DOE_PROTO_SSESSION;
>> +	else
>> +		return -EINVAL;
>> +
>> +	ret = pci_tsm_doe_transfer(tsm->dsm_dev, data_obj_type,
>> +				   comm_data->req_buff, io_exit->req_len,
>> +				   comm_data->resp_buff, PAGE_SIZE);
>> +	pr_debug("doe returned:%d\n", ret);
>> +	return ret;
>> +}
>> +
>> +/* Parallel update for cca_dsc contents FIXME!! */
>> +static int __do_dev_communicate(int type, struct pci_tsm *tsm)
>> +{
>> +	int ret;
>> +	bool is_multi;
>> +	u8 *cache_buf;
>> +	int *cache_offset;
>> +	int nbytes, cache_remaining;
>> +	struct cca_host_dsc_pf0 *dsc_pf0;
>> +	struct rmi_dev_comm_exit *io_exit;
>> +	struct rmi_dev_comm_enter *io_enter;
>> +	struct cca_host_comm_data *comm_data;
>> +
>> +
>> +	comm_data = to_cca_comm_data(tsm->pdev);
>> +	io_enter = &comm_data->io_params->enter;
>> +	io_exit = &comm_data->io_params->exit;
>
> Might as well set these local variables as the declaration point
> above.  None of them will be very long lines.
>
>> +
>> +	dsc_pf0 = to_cca_dsc_pf0(tsm->dsm_dev);
>> +redo_communicate:
>> +	is_multi = false;
>> +
>> +	if (type == PDEV_COMMUNICATE)
>> +		ret = rmi_pdev_communicate(virt_to_phys(dsc_pf0->rmm_pdev),
>> +					   virt_to_phys(comm_data->io_params));
>> +	else
>> +		ret = RMI_ERROR_INPUT;
>
> I'd split this case out and return here farther than using the match below
> as it feels like the error message auto to be more specific. Something
> about type not matching.
>

This get updated in the follow up patch as below.

	if (type == PDEV_COMMUNICATE)
		ret = rmi_pdev_communicate(virt_to_phys(dsc_pf0->rmm_pdev),
					   virt_to_phys(comm_data->io_params));
	else {
		struct cca_host_tdi *host_tdi = container_of(tsm->tdi, struct cca_host_tdi, tdi);

		ret = rmi_vdev_communicate(virt_to_phys(dsc_pf0->rmm_pdev),
					   virt_to_phys(host_tdi->rmm_vdev),
					   virt_to_phys(comm_data->io_params));
	}


>
>> +	if (ret != RMI_SUCCESS) {
>> +		pr_err("pdev communicate error\n");
>> +		return ret;
>> +	}
>> +
>> +	/* caching request from RMM */
>> +	if (io_exit->flags & RMI_DEV_COMM_EXIT_CACHE_RSP) {
>> +		switch (io_exit->cache_obj_id) {
>> +		case RMI_DEV_VCA:
>> +			cache_buf = dsc_pf0->vca.buf;
>> +			cache_offset = &dsc_pf0->vca.size;
>> +			cache_remaining = sizeof(dsc_pf0->vca.buf) - *cache_offset;
>> +			break;
>> +		case RMI_DEV_CERTIFICATE:
>> +			cache_buf = dsc_pf0->cert_chain.cache.buf;
>> +			cache_offset = &dsc_pf0->cert_chain.cache.size;
>> +			cache_remaining = sizeof(dsc_pf0->cert_chain.cache.buf) - *cache_offset;
>> +			break;
>> +		default:
>> +			/* FIXME!! depending on the DevComms status,
>> +			 * it might require to ABORT the communcation.
>> +			 */
>> +			return -EINVAL;
>> +		}
>> +
>> +		if (io_exit->cache_rsp_len > cache_remaining)
>> +			return -EINVAL;
>> +
>> +		memcpy(cache_buf + *cache_offset,
>> +		       (comm_data->resp_buff + io_exit->cache_rsp_offset), io_exit->cache_rsp_len);
>> +		*cache_offset += io_exit->cache_rsp_len;
>> +	}
>> +
>> +	/*
>> +	 * wait for last packet request from RMM.
>> +	 * We should not find this because our device communication in synchronous
>> +	 */
>> +	if (io_exit->flags & RMI_DEV_COMM_EXIT_WAIT)
>> +		return -ENXIO;
>> +
>> +	is_multi = !!(io_exit->flags & RMI_DEV_COMM_EXIT_MULTI);
>
> !! doesn't add anything here that I can see over
>
> 	is_multi = io_exit->flags & RMI_DEV_COMM_EXIT_MULTI;
>
>
>> +
>> +	/* next packet to send */
>> +	if (io_exit->flags & RMI_DEV_COMM_EXIT_SEND) {
>> +		nbytes = doe_send_req_resp(tsm);
>> +		if (nbytes < 0) {
>> +			/* report error back to RMM */
>> +			io_enter->status = RMI_DEV_COMM_ERROR;
>> +		} else {
>> +			/* send response back to RMM */
>> +			io_enter->resp_len = nbytes;
>> +			io_enter->status = RMI_DEV_COMM_RESPONSE;
>> +		}
>> +	} else {
>> +		/* no data transmitted => no data received */
>> +		io_enter->resp_len = 0;
>> +	}
>> +
>> +	/* The call need to do multiple request/respnse */
>> +	if (is_multi)
>> +		goto redo_communicate;
>> +
>> +	return 0;
>> +}
>> +
>> +static int do_dev_communicate(int type, struct pci_tsm *tsm, int target_state)
>> +{
>> +	int ret;
>> +	unsigned long state;
>> +	unsigned long error_state;
>> +	struct cca_host_dsc_pf0 *dsc_pf0;
>> +	struct rmi_dev_comm_enter *io_enter;
>> +
>> +	dsc_pf0 = to_cca_dsc_pf0(tsm->dsm_dev);
>> +	io_enter = &dsc_pf0->comm_data.io_params->enter;
>> +	io_enter->resp_len = 0;
>> +	io_enter->status = RMI_DEV_COMM_NONE;
>> +
>> +	state = -1;
>> +	do {
>> +		ret = __do_dev_communicate(type, tsm);
>> +		if (ret != 0) {
> 		if (ret)
>
>> +			pr_err("dev communication error\n");
>> +			break;
>
> I'd just return in error cases.
>
>> +		}
>> +
>> +		if (type == PDEV_COMMUNICATE) {
>> +			ret = rmi_pdev_get_state(virt_to_phys(dsc_pf0->rmm_pdev),
>> +						 &state);
>> +			error_state = RMI_PDEV_ERROR;
>> +		}
>> +		if (ret != 0) {
>> +			pr_err("Get dev state error\n");
>> +			break;
>> +		}
>> +	} while (state != target_state && state != error_state);
>> +
>> +	pr_info("dev_io_complete: status: %d state:%ld\n", ret, state);
>> +
>> +	return state;
>> +}

Thanks for the review comments. I'll update the patch with the suggested changes.

-aneesh

  parent reply	other threads:[~2025-08-04  4:17 UTC|newest]

Thread overview: 188+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-28 13:51 [RFC PATCH v1 00/38] ARM CCA Device Assignment support Aneesh Kumar K.V (Arm)
2025-07-28 13:51 ` [RFC PATCH v1 01/38] tsm: Add tsm_bind/unbind helpers Aneesh Kumar K.V (Arm)
2025-07-28 13:51 ` [RFC PATCH v1 02/38] tsm: Move tsm core outside the host directory Aneesh Kumar K.V (Arm)
2025-07-28 13:51 ` [RFC PATCH v1 03/38] tsm: Move dsm_dev from pci_tdi to pci_tsm Aneesh Kumar K.V (Arm)
2025-08-04 21:52   ` Bjorn Helgaas
2025-08-05  9:24     ` Aneesh Kumar K.V
2025-07-28 13:51 ` [RFC PATCH v1 04/38] tsm: Support DMA Allocation from private memory Aneesh Kumar K.V (Arm)
2025-07-28 14:33   ` Jason Gunthorpe
2025-07-29  8:23     ` Aneesh Kumar K.V
2025-07-29 14:33       ` Jason Gunthorpe
2025-07-30 10:09         ` Suzuki K Poulose
2025-07-31 12:17           ` Jason Gunthorpe
2025-07-31 13:48             ` Suzuki K Poulose
2025-07-31 16:44               ` Jason Gunthorpe
2025-08-01  9:30                 ` Suzuki K Poulose
2025-08-01 14:53                   ` Jason Gunthorpe
2025-08-02  8:44         ` Aneesh Kumar K.V
2025-08-02 13:41           ` Jason Gunthorpe
2025-08-04  6:58             ` Aneesh Kumar K.V
2025-08-05 15:54               ` Jason Gunthorpe
2025-08-05 10:22     ` Alexey Kardashevskiy
2025-08-05 16:08       ` Jason Gunthorpe
2025-08-04 21:54   ` Bjorn Helgaas
2025-09-15  8:36   ` Mostafa Saleh
2025-09-16  4:15     ` Aneesh Kumar K.V
2025-09-16  8:16       ` Mostafa Saleh
2025-07-28 13:51 ` [RFC PATCH v1 05/38] tsm: Don't overload connect Aneesh Kumar K.V (Arm)
2025-08-04 22:00   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 06/38] iommufd: Add and option to request for bar mapping with IORESOURCE_EXCLUSIVE Aneesh Kumar K.V (Arm)
2025-07-28 14:08   ` Jason Gunthorpe
2025-07-29  8:28     ` Aneesh Kumar K.V
2025-07-29 14:29       ` Jason Gunthorpe
2025-07-30  6:55         ` Xu Yilun
2025-07-31 12:22           ` Jason Gunthorpe
2025-08-05  2:26             ` Xu Yilun
2025-08-05 16:10               ` Jason Gunthorpe
2025-07-30  6:43   ` Xu Yilun
2025-08-06 21:18   ` dan.j.williams
2025-07-28 13:51 ` [RFC PATCH v1 07/38] iommufd/viommu: Add support to associate viommu with kvm instance Aneesh Kumar K.V (Arm)
2025-07-28 14:10   ` Jason Gunthorpe
2025-07-29  8:30     ` Aneesh Kumar K.V
2025-07-29 16:26   ` Jonathan Cameron
2025-07-29 23:16     ` Jason Gunthorpe
2025-07-28 13:51 ` [RFC PATCH v1 08/38] iommufd/tsm: Add tsm_op iommufd ioctls Aneesh Kumar K.V (Arm)
2025-07-29 16:34   ` Jonathan Cameron
2025-08-02  9:03     ` Aneesh Kumar K.V
2025-08-04 22:25   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 09/38] iommufd/vdevice: Add TSM Guest request uAPI Aneesh Kumar K.V (Arm)
2025-08-04 22:03   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 10/38] iommufd/vdevice: Add TSM map ioctl Aneesh Kumar K.V (Arm)
2025-07-28 14:17   ` Jason Gunthorpe
2025-07-29  8:37     ` Aneesh Kumar K.V
2025-07-29 14:31       ` Jason Gunthorpe
2025-08-04  2:32     ` Alexey Kardashevskiy
2025-08-04  8:28       ` Aneesh Kumar K.V
2025-08-05  1:29         ` Alexey Kardashevskiy
2025-08-05 15:48       ` Jason Gunthorpe
2025-07-28 13:51 ` [RFC PATCH v1 11/38] KVM: arm64: CCA: register host tsm platform device Aneesh Kumar K.V (Arm)
2025-07-29 17:10   ` Jonathan Cameron
2025-07-29 23:19     ` Jason Gunthorpe
2025-07-30  8:42       ` Aneesh Kumar K.V
2025-07-30 10:38         ` Jonathan Cameron
2025-07-30 12:23           ` Jonathan Cameron
2025-07-30 13:07             ` Greg KH
2025-10-10 12:10               ` Jeremy Linton
2025-10-10 12:38                 ` Greg KH
2025-10-10 15:14                   ` Jeremy Linton
2025-10-10 13:59                 ` Jason Gunthorpe
2025-10-10 15:28                   ` Jeremy Linton
2025-10-10 15:30                     ` Jason Gunthorpe
2025-10-10 15:37                       ` Greg KH
2025-10-10 15:50                       ` Jeremy Linton
2025-10-10 18:44                         ` dan.j.williams
2025-10-10 22:34                           ` Jason Gunthorpe
2025-10-13 20:42                             ` Jeremy Linton
2025-10-15  9:52                   ` Aneesh Kumar K.V
2025-10-15  9:58                     ` Greg KH
2025-10-15 11:50                       ` Jason Gunthorpe
2025-10-15 11:57                         ` Greg KH
2025-10-15 12:15                           ` Jason Gunthorpe
2025-10-15 12:37                             ` Greg KH
2025-10-15 15:19                         ` James Bottomley
2025-10-15 16:03                           ` Greg KH
2025-10-15 16:34                           ` Jason Gunthorpe
2025-07-31 12:11           ` Jason Gunthorpe
2025-07-31 13:22             ` Jonathan Cameron
2025-07-31 16:46               ` Jason Gunthorpe
2025-08-01  8:31                 ` Greg KH
2025-08-02  0:54             ` dan.j.williams
2025-10-09  7:17               ` Aneesh Kumar K.V
2025-07-28 13:51 ` [RFC PATCH v1 12/38] coco: host: arm64: CCA host platform device driver Aneesh Kumar K.V (Arm)
2025-07-29 17:22   ` Jonathan Cameron
2025-07-29 23:22     ` Jason Gunthorpe
2025-07-30 10:28       ` Jonathan Cameron
2025-07-31 12:26         ` Jason Gunthorpe
2025-07-30  8:58     ` Aneesh Kumar K.V
2025-07-30 10:25       ` Jonathan Cameron
2025-07-28 13:51 ` [RFC PATCH v1 13/38] coco: host: arm64: Create a PDEV with rmm Aneesh Kumar K.V (Arm)
2025-07-30 12:39   ` Jonathan Cameron
2025-08-02 10:54     ` Aneesh Kumar K.V
2025-07-31 11:47   ` Arto Merilainen
2025-08-02 10:57     ` Aneesh Kumar K.V
2025-08-04 22:28   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 14/38] coco: host: arm64: Device communication support Aneesh Kumar K.V (Arm)
2025-07-30 13:52   ` Jonathan Cameron
2025-07-31 12:28     ` Jason Gunthorpe
2025-08-04  4:17     ` Aneesh Kumar K.V [this message]
2025-08-04 22:29   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 15/38] coco: host: arm64: Stop and destroy the physical device Aneesh Kumar K.V (Arm)
2025-07-30 13:57   ` Jonathan Cameron
2025-08-04  4:22     ` Aneesh Kumar K.V
2025-07-28 13:51 ` [RFC PATCH v1 16/38] X.509: Make certificate parser public Aneesh Kumar K.V (Arm)
2025-07-28 13:51 ` [RFC PATCH v1 17/38] X.509: Parse Subject Alternative Name in certificates Aneesh Kumar K.V (Arm)
2025-07-28 13:51 ` [RFC PATCH v1 18/38] X.509: Move certificate length retrieval into new helper Aneesh Kumar K.V (Arm)
2025-08-04 22:27   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 19/38] coco: host: arm64: set_pubkey support Aneesh Kumar K.V (Arm)
2025-07-30 14:08   ` Jonathan Cameron
2025-08-04  4:29     ` Aneesh Kumar K.V
2025-08-04 22:26   ` Bjorn Helgaas
2025-07-28 13:51 ` [RFC PATCH v1 20/38] coco: host: arm64: Add support for creating a virtual device Aneesh Kumar K.V (Arm)
2025-07-30 14:12   ` Jonathan Cameron
2025-07-28 13:51 ` [RFC PATCH v1 21/38] coco: host: arm64: Add support for virtual device communication Aneesh Kumar K.V (Arm)
2025-07-30 14:13   ` Jonathan Cameron
2025-08-04  4:45     ` Aneesh Kumar K.V
2025-07-28 13:51 ` [RFC PATCH v1 22/38] coco: host: arm64: Stop and destroy virtual device Aneesh Kumar K.V (Arm)
2025-07-30 14:15   ` Jonathan Cameron
2025-07-28 13:52 ` [RFC PATCH v1 23/38] coco: guest: arm64: Update arm CCA guest driver Aneesh Kumar K.V (Arm)
2025-07-30 14:22   ` Jonathan Cameron
2025-07-31 12:29     ` Jason Gunthorpe
2025-07-31 13:54       ` Jonathan Cameron
2025-07-28 13:52 ` [RFC PATCH v1 24/38] arm64: CCA: Register guest tsm callback Aneesh Kumar K.V (Arm)
2025-07-30 14:26   ` Jonathan Cameron
2025-08-04  4:50     ` Aneesh Kumar K.V
2025-07-28 13:52 ` [RFC PATCH v1 25/38] cca: guest: arm64: Realm device lock support Aneesh Kumar K.V (Arm)
2025-07-30 14:32   ` Jonathan Cameron
2025-07-28 13:52 ` [RFC PATCH v1 26/38] KVM: arm64: Add exit handler related to device assignment Aneesh Kumar K.V (Arm)
2025-07-30 14:35   ` Jonathan Cameron
2025-07-28 13:52 ` [RFC PATCH v1 27/38] coco: host: arm64: add RSI_RDEV_GET_INSTANCE_ID related exit handler Aneesh Kumar K.V (Arm)
2025-07-28 13:52 ` [RFC PATCH v1 28/38] coco: host: arm64: Add support for device communication " Aneesh Kumar K.V (Arm)
2025-07-28 13:52 ` [RFC PATCH v1 29/38] coco: guest: arm64: Add support for collecting interface reports Aneesh Kumar K.V (Arm)
2025-07-28 13:52 ` [RFC PATCH v1 30/38] coco: host: arm64: Add support for realm host interface (RHI) Aneesh Kumar K.V (Arm)
2025-07-30 14:43   ` Jonathan Cameron
2025-07-28 13:52 ` [RFC PATCH v1 31/38] coco: guest: arm64: Add support for fetching interface report and certificate chain from host Aneesh Kumar K.V (Arm)
2025-07-30 14:46   ` Jonathan Cameron
2025-07-28 13:52 ` [RFC PATCH v1 32/38] coco: guest: arm64: Add support for guest initiated TDI bind/unbind Aneesh Kumar K.V (Arm)
2025-07-30 14:51   ` Jonathan Cameron
2025-08-04 22:28   ` Bjorn Helgaas
2025-07-28 13:52 ` [RFC PATCH v1 33/38] KVM: arm64: CCA: handle dev mem map/unmap Aneesh Kumar K.V (Arm)
2025-07-28 13:52 ` [RFC PATCH v1 34/38] coco: guest: arm64: Validate mmio range found in the interface report Aneesh Kumar K.V (Arm)
2025-07-30 15:06   ` Jonathan Cameron
2025-07-31 11:39   ` Arto Merilainen
2025-07-31 16:53     ` Jason Gunthorpe
2025-08-04  6:37     ` Aneesh Kumar K.V
2025-08-04  8:27       ` Arto Merilainen
2025-09-10  5:47     ` Arto Merilainen
2025-09-10 14:21       ` Jason Gunthorpe
2025-09-11  5:33       ` Aneesh Kumar K.V
2025-09-11  8:31         ` Alexey Kardashevskiy
2025-09-11 13:41         ` Jason Gunthorpe
2025-09-11 17:47         ` dan.j.williams
2025-08-04 22:31   ` Bjorn Helgaas
2025-07-28 13:52 ` [RFC PATCH v1 35/38] coco: guest: arm64: Add Realm device start and stop support Aneesh Kumar K.V (Arm)
2025-07-31 10:40   ` Jonathan Cameron
2025-08-04 22:27   ` Bjorn Helgaas
2025-07-28 13:52 ` [RFC PATCH v1 36/38] KVM: arm64: CCA: enable DA in realm create parameters Aneesh Kumar K.V (Arm)
2025-08-04 22:31   ` Bjorn Helgaas
2025-07-28 13:52 ` [RFC PATCH v1 37/38] coco: guest: arm64: Add support for fetching device measurements Aneesh Kumar K.V (Arm)
2025-07-31 10:16   ` Jonathan Cameron
2025-08-04 22:27   ` Bjorn Helgaas
2025-07-28 13:52 ` [RFC PATCH v1 38/38] coco: guest: arm64: Add support for fetching device info Aneesh Kumar K.V (Arm)
2025-07-31 10:36   ` Jonathan Cameron
2025-08-04  6:48     ` Aneesh Kumar K.V
2025-08-04 10:23       ` Jonathan Cameron
2025-08-08 23:37   ` Eric Biggers
2025-07-30 16:03 ` [RFC PATCH v1 00/38] ARM CCA Device Assignment support Jason Gunthorpe
2025-08-01  2:07 ` dan.j.williams
2025-08-01 15:51   ` Jason Gunthorpe
2025-08-01 21:19     ` dan.j.williams
2025-08-02 14:17       ` Jason Gunthorpe
2025-08-02 23:50         ` dan.j.williams
2025-08-03 22:26           ` Jason Gunthorpe
2025-08-05  5:07       ` Aneesh Kumar K.V
2025-08-05 17:27         ` Jason Gunthorpe
2025-08-05 18:27           ` dan.j.williams
2025-08-05 18:42             ` Jason Gunthorpe
2025-08-05 19:06               ` dan.j.williams
2025-08-05 19:38                 ` Jason Gunthorpe
2025-08-05  4:50   ` Aneesh Kumar K.V

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq5a5xf3afg3.fsf@kernel.org \
    --to=aneesh.kumar@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Suzuki.Poulose@arm.com \
    --cc=aik@amd.com \
    --cc=catalin.marinas@arm.com \
    --cc=jgg@ziepe.ca \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-coco@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=maz@kernel.org \
    --cc=oliver.upton@linux.dev \
    --cc=sameo@rivosinc.com \
    --cc=steven.price@arm.com \
    --cc=will@kernel.org \
    --cc=yilun.xu@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome