Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp292565lqt; Thu, 6 Jun 2024 04:00:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7czTHKPTlyFys/rZke5iQVAr7PVxeWe9tgiOj7KSmu0p0E5aIvWgpkfsXUhlzANjKHvbqxUWRmIOsOAXnGtNdo0fZ3cWLUnsduHWHJA== X-Google-Smtp-Source: AGHT+IF07uSgL/XW3VRhfplJLvtOIxr2/22djpI2Lh4adXGKBBNol3CpaxdzskUQ2Qh+66Dtx75y X-Received: by 2002:a05:6214:4a8d:b0:6ae:116b:ef6a with SMTP id 6a1803df08f44-6b030a877aemr49082576d6.60.1717671622375; Thu, 06 Jun 2024 04:00:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717671622; cv=pass; d=google.com; s=arc-20160816; b=y2bi+/JVe2BGozJv2gXH729DeiLbyUCyuaS8gibXGv1SWMNdC/OQz675ivc9cAwPeN JvUm0G3b7HsUR5tnvkvP4eFaqEgWLwYJNvTtouh+89o8qO1XyWe7EgW0a9SqDSmPX0Oh Yy3b/7HF2r+YJ20uZCmrm4cdo2bQHPWHNeg/+fURw18siSIFJX/C6uMbR+Y+vr+eNx29 pL7eUbIBIl5N24TMIK7fl1eM3ct6uNNOMRxP1shqnc9YNAw4wIGKNXvhuJd/z4606P58 balwvGSbo8Qzp67SLj07mlgieIXQBMz0SjQhPHatEuaKR5l8l8JWK1lsI1B/pQPeFVa1 5itA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KiGGX/Oay/VU0XDT4cpDvu0KE9AGAzeNX1GhKlwng9Q=; fh=5U/jB6z89c7GwRbsByDFC9RzC772tnfYKeUJ2LkuXak=; b=ii44d/CtwB28sNsMw1D+SrV8ENnDDHFf+7+b4CMT/tEg2ff1qG0ouPpO8+IjhPFjKw mobTtcseM96O5R9R+2sGN2qtZ2qkP1FGq1s9VSZZzqykayni08shtsarSm86SUIwj5AO vlL1ECUGZAkl4F1fWfwa3/qbTrjND28KHKYuWP9s9xuOVwVNEwT9FRqSvgxxkW8vd2v6 R/wcsDmsXh69qqMEDsDOjyngQXDUhL+Z+UfaiHIrjtISmRiFgb9miH2P5Dlk4GvECepN l+/YvMVLNVs6oinVeQ0A55iOpEe4Ch0caFS/e9lcNIWIqluPiNp1GXMWw/Cc+d/JgdJR qlww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=0ZmMNiJf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-204150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f9fb4c1si12412976d6.395.2024.06.06.04.00.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 04:00:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=0ZmMNiJf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-204150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 19C9D1C25222 for ; Thu, 6 Jun 2024 11:00:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4941A194C9F; Thu, 6 Jun 2024 11:00:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="0ZmMNiJf" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 2642B3A8C0; Thu, 6 Jun 2024 11:00:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717671616; cv=none; b=XXBWCd50JVVxABMIyTwPqnXZmpxjuhr08vTKhPK5hUVX0JU2ply2xsODEYZ5aLnz9rJfAeG/n+QFYH6zr/D0U3NNvzb0vFmBHcrQpVg6vo9ToAg76p6fdajNGfQvehSxDI+MXZTm/RAD3/VPsLiauSp7bWNxhDlshJoBymRDPfA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717671616; c=relaxed/simple; bh=JzIE2Q/8PA+vyQON4VFwI2P8T+iJyPY9/E/Fb2Kzq1M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q9/2tqkVwsKCbUeCFJtN0Ud+CWMVwuHwY/rAc71x5Qmmy4uDhx1q3Ad1iYzsPSetICbkqdmLsy3Kpb6HWVK/0Jc/IDLw/h6AnuMdqirqobe8N5qsKZGCLr45TkFPPqo83/W3C/3fiGFZmcyDFiUiCod1ZekJNITByWyf5H/J7Kc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=0ZmMNiJf; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1717671613; bh=JzIE2Q/8PA+vyQON4VFwI2P8T+iJyPY9/E/Fb2Kzq1M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=0ZmMNiJfCXQNZ6B1t1p8nN0KJbN3Y0lJhaKaOnM2yopq9SmacDqCwiU8+zV7oxQ/G LKkFhKvRkS/2g63MVpQl9pOg7mvmm7QzilHpD0emoMusur0ee4XPB5RuH3peLHPA2+ sDAkdrPgB6XjEfnqOEFBZjdEYOLGD0SmlLImdnZPIAytjjtbDpyWSsSKZqfCe+zEJV MZpdwPL5ylCgJHhPnVRbGEw5XdH8+OhCF13Srg8PN7C9JDaDC2dF8JZE8r+GjWtPG9 Zi0qA0Sq9DDXUOhV5d23SAa0G1lFYv/0jjYywDb0csSEZgKMe8bPDzgBeqp1ApdJxR /g+6RaZExrYHQ== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 9813C3780627; Thu, 6 Jun 2024 11:00:12 +0000 (UTC) Message-ID: Date: Thu, 6 Jun 2024 13:00:11 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] remoteproc: mediatek: Increase MT8188 SCP core0 DRAM size To: jason-ch chen , Bjorn Andersson , Mathieu Poirier , Matthias Brugger Cc: Project_Global_Chrome_Upstream_Group@mediatek.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jason Chen References: <20240606090609.3199-1-jason-ch.chen@mediatek.corp-partner.google.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20240606090609.3199-1-jason-ch.chen@mediatek.corp-partner.google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 06/06/24 11:06, jason-ch chen ha scritto: > From: Jason Chen > > Increase MT8188 SCP core0 DRAM size for HEVC driver. > ....so the second core only gets a maximum of 0x200000 of SRAM? I'm not sure how useful is the secondary SCP core, at this point, with so little available SRAM but... okay, as you wish. Reviewed-by: AngeloGioacchino Del Regno > Signed-off-by: Jason Chen > --- > drivers/remoteproc/mtk_scp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/remoteproc/mtk_scp.c b/drivers/remoteproc/mtk_scp.c > index b885a9a041e4..2119fc62c3f2 100644 > --- a/drivers/remoteproc/mtk_scp.c > +++ b/drivers/remoteproc/mtk_scp.c > @@ -1390,7 +1390,7 @@ static const struct mtk_scp_sizes_data default_scp_sizes = { > }; > > static const struct mtk_scp_sizes_data mt8188_scp_sizes = { > - .max_dram_size = 0x500000, > + .max_dram_size = 0x800000, > .ipi_share_buffer_size = 600, > }; >