Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2C58D3F2B4 for ; Fri, 18 Oct 2024 22:10:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B2A310E9D3; Fri, 18 Oct 2024 22:10:34 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="ifZ/MRDX"; dkim-atps=neutral Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 02E1310E9D3 for ; Fri, 18 Oct 2024 22:10:32 +0000 (UTC) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49IFEWDV010129; Fri, 18 Oct 2024 22:10:28 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= a5UDkz/6STVpV1ryyXoWAKGh6VD1dMOFZT0HGB9DtPU=; b=ifZ/MRDX3QZs2c+J vy3NE9idLqTlvqkBTIOt40o6HZ0RB+eLhhF+otjgUkD12YUw44MtOWMJHkKcV7RB BobjvkLbOHEsxE1hvjwZCQzumfuzPQbFuzTO+jd4miqZUbsrtuP8XgXUAukxeYry kWMLW5Jq+czG+rncRDYCcDeIhiDAvj07VmE7QOm31QoO06tB+auBFXs0WhIWM4WT 38vBpLrJht0uU57/zmIQOaD064IkU+Rf4NRHXSXchpC6lULEaMKmiPZdvCDFqhGP 8pBdiHoVV9B8UAqBcSA44VVva6HyHFTZvQgCmrz0SelJmGYia/jSyRTg/qd9oP2V +LuPxw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42bt540yeg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 22:10:28 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49IMARdF014070 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 22:10:27 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, 18 Oct 2024 15:10:26 -0700 Message-ID: <384a544a-c03b-5179-39d7-4e5cedd973b3@quicinc.com> Date: Fri, 18 Oct 2024 16:10:26 -0600 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 10/11] accel/ivpu: Increase DMA address range Content-Language: en-US To: Jacek Lawrynowicz , CC: , Karol Wachowski References: <20241017145817.121590-1-jacek.lawrynowicz@linux.intel.com> <20241017145817.121590-11-jacek.lawrynowicz@linux.intel.com> From: Jeffrey Hugo In-Reply-To: <20241017145817.121590-11-jacek.lawrynowicz@linux.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: U3JQUyDDEt4iPHS3l8Ykm6P75F7PA683 X-Proofpoint-GUID: U3JQUyDDEt4iPHS3l8Ykm6P75F7PA683 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=731 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 impostorscore=0 phishscore=0 spamscore=0 mlxscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410180142 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 10/17/2024 8:58 AM, Jacek Lawrynowicz wrote: > From: Karol Wachowski > > Increase DMA address range to: > * 128 GB on 37xx (due to MMU limitations) > * 256 GB on other generations > Merge User and DMA ranges on 40xx and above as it is possible > to access whole 256 GBs from both FW and DMA. > > Increase User range on 37xx from 255MB to 511MB > to allow loading very large models. > > Do not set global_alias_pio_base/size on other generations than 37xx > as it's only used on 37xx anyway. > > Signed-off-by: Karol Wachowski > Signed-off-by: Andrzej Kacprowski > Reviewed-by: Jacek Lawrynowicz > Signed-off-by: Jacek Lawrynowicz Reviewed-by: Jeffrey Hugo