Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp924535lqs; Fri, 14 Jun 2024 09:22:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPNQSB0ryKrDhJ0M1tF4Ni54NMn89TbTmVq1MDF/tEUx06rYP+yDDYCJ6aHOoVMtkakbhjwZVVNdev53qtGNfMyLwffNQXF7ldPbUccw== X-Google-Smtp-Source: AGHT+IFCPN1VV2RDb4OHJc3KvW5oFutC5WUORWDhJV2OiDRCsDOKWVuo2na6Vt5kxtLqG2C/cl+i X-Received: by 2002:a05:620a:1a8a:b0:795:81ae:e0ec with SMTP id af79cd13be357-798d258e253mr373323485a.51.1718382124771; Fri, 14 Jun 2024 09:22:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718382124; cv=pass; d=google.com; s=arc-20160816; b=axuGN8TNmHB5Rn6TS7ub/nFDKOXf4hmrLucnUip7YkdDoyADJqBgVznJM8ux04XUOo WfLOuDmb38UhSoZjA2K5/ZV/3EQwqSQiSolmToPPKAF5fzJ5FvWAHO4NXncgmqUC4IrO ez9i3CRr3i5Si9avRPw17CIHN0Vslv1z56Nz9rIX3fr6Ay8G/hCMN+V2ldN94MarMn5J F8E0N2DQETFAQIrTvTHy/hnlhLtfMaoiajBauOlAyKKveRAGgqamzoB/2Hk6+dNE5eV6 Lyk7vrq11Pj8+cC0ih1BkWj0Ltq7Q+iokXxtmDJ8KVUR3L+aBQ+1o5Tu4xbI01+JBLor ZN+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ppnvC/ArPtVIlJzIvzpz61ZVN8j+4Yift9Ae0cCDUcs=; fh=Ag/IzaK8FQMQ31gU86movhBFFcyU6likqUdaItY3UMo=; b=tpWXTwbo1mgIFVXg9BZZJlwmcgLvkJOUbPeDT9KHTuC74TI+qKPS7hVX+L70NgVBx2 iJrSw1Epq7BqP0gn6ZdziyzxCgSBWhXCWTUC5CcXnQ0IdjzNsOTWhikGbOyH2mIGIsTw 3TCu7dGf7owONbe1gX/MNEwNpJ06aJnlDLciEcZ1lPOmdxr3KSxebrIeS9ANvXq/ifFd ENp6za5RZF9VkUiWH0YSlQyLW6HzultYCi+TJdgi6OqRo6gApdXvepKcqdNuqkXKfdu3 6LB0LCm7rrJViq9JisLjRXMFXJfIhz9ReP+PdS2zwW0bzgSXO8hyXQOD6lTuM2bA5jBw D8mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EbysnwGS; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-215227-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215227-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-798ac089d5fsi407067885a.741.2024.06.14.09.22.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 09:22:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215227-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EbysnwGS; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-215227-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215227-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6F1FE1C22BAA for ; Fri, 14 Jun 2024 16:22:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9724E17A938; Fri, 14 Jun 2024 16:21:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="EbysnwGS" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 77304637; Fri, 14 Jun 2024 16:21:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718382114; cv=none; b=cjeIkLDOPUlZ72RhrejbfJFd1v0Ut2DvBFcrKburxQaH3AOsgPa4ogv/HR5L/f0pCfMc3SuH/OjZLAF6dyWA2KltGPJNt9u4eTkh6Bav1sURYqXmMZCsANwtD2s/4AK21uMDGi/U6Xg8ScJM/Q+2KWn+CSIsSHQBVQF2B19SINE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718382114; c=relaxed/simple; bh=3gS7lmJ3XLUEPpg7b58zfXEwl9wGyHzOeGQZBUzLDLM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=fkphN0MeBC+H+d9Rc7iv0Gfg8rsQSb/BsVzioVFnPQNQigBssE3c6I2BdYeNGDT5ErJu4vraC5fOwf6RVj/dXFcnk2XOYulEPI8pXMSmnK3bzjkjLnncfeblcSlGVzZB0y6sE/fylFN9jEhPzqp8ItKXDRJKwt0zfyZgzq0vTgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=EbysnwGS; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45E8GgVF030966; Fri, 14 Jun 2024 16:21:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ppnvC/ArPtVIlJzIvzpz61ZVN8j+4Yift9Ae0cCDUcs=; b=EbysnwGS4cZTYbl7 gHvKS8jTcdGgA5daWROx/eJIKIglFFN/dmfctbWv/NXSFQRsKmyuTRSuhbqOShjO w8rJkVpxr1R2DKvQ3+wV+LZnBZVDlCjAtiq6ijb3oz8ME1SlJH2L5jdz5WCmPFii 92UUmEqYX5XK4ivkU726APmqZgwl7/X2Qo3x31XgGDgVcte5pKfrzbFzVGTZSpgs FPO5CCJ3zdYZgWkh7AKzwEjQTRpSaZwAavo8H+Y4LZzjS7tb4ehFZZiXPKGvIoNC z+I9Q1aTvgdK9roXrA4FsZTZUhqSyJIEktt783ajsLXXjwG7Em7XjUYBKOErR/Kg ykRo2A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yr6q2t9pv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jun 2024 16:21:26 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45EGLNuO021852 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jun 2024 16:21:23 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 14 Jun 2024 09:21:23 -0700 Message-ID: <8f0ab2e9-3f41-3b39-6733-e5063dd7ca43@quicinc.com> Date: Fri, 14 Jun 2024 10:21:22 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH 7/9] accel/rocket: Add IOCTL for BO creation Content-Language: en-US To: Tomeu Vizoso , Joerg Roedel , Will Deacon , Robin Murphy , Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oded Gabbay , Tomeu Vizoso , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Philipp Zabel , Sumit Semwal , =?UTF-8?Q?Christian_K=c3=b6nig?= CC: , , , , , , , References: <20240612-6-10-rocket-v1-0-060e48eea250@tomeuvizoso.net> <20240612-6-10-rocket-v1-7-060e48eea250@tomeuvizoso.net> From: Jeffrey Hugo In-Reply-To: <20240612-6-10-rocket-v1-7-060e48eea250@tomeuvizoso.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: cfgQbnp0Qu7uwDjEmxhNpEZP84sCt-Lp X-Proofpoint-GUID: cfgQbnp0Qu7uwDjEmxhNpEZP84sCt-Lp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-14_14,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 bulkscore=0 mlxlogscore=666 priorityscore=1501 spamscore=0 phishscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406140110 On 6/12/2024 7:53 AM, Tomeu Vizoso wrote: > This uses the SHMEM DRM helpers and we map right away to the CPU and NPU > sides, as all buffers are expected to be accessed from both. > > Signed-off-by: Tomeu Vizoso Reviewed-by: Jeffrey Hugo