Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp477579lqp; Mon, 10 Jun 2024 09:34:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvr9wIoqdNphc3xskZDs9ZJGeIUxk5/wmJQGCPCLZewvgruyQSKEvjqjbW4Hh0mkVP/UZs6IWpnQS8f+1NFjmAraYckFRDqcBjaiVOUQ== X-Google-Smtp-Source: AGHT+IGMXUx3xv7yt+JTboO5H8ivnzFUaYSPnZSUkGvw6MNA/oV2anoJT9JGDShYTtm+eShJ6B2/ X-Received: by 2002:a17:906:495a:b0:a6f:cce:4457 with SMTP id a640c23a62f3a-a6f0cce4ce2mr356869466b.71.1718037269238; Mon, 10 Jun 2024 09:34:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718037269; cv=pass; d=google.com; s=arc-20160816; b=l0g4UQdDEF6YDp7a3CadaeFH6dshxegS7hrSCKP1bWAqfcVbsDhCX2B6Su9CHzY8m0 jFCyVjBPMwOGHOdMEbK9djPFyXKPUWjSFq4LIMBzWNvSiJyxWT428p9VY2uUYcGPaTWE Iqs6y2p0tOnX8CwSi1sV8PZLnT+dFORBpO00D8Wqg30aGLnXXNWjokJvtO/aHuzvbVYA mw8+hV/QYWEBpXbAHjaLnNuNcK61mgJDPsXaOj5zHqB3sD5CyUVk3gJ5531jRBzrD0cu 3uhmu24OgwDDw4HFXQHp6gilpKEyk7ybji2jlG7AxCtvgizPY7ZzGs0D5cuVrV9csA/L pU/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=a5ZVwjIOaq5V5ku6UjCPO2SyGYT7pllWaiMtecMSfuM=; fh=XW/GhTgvUDf+xdoCrV6u7MZah0vFCWYEBRnWtqteEj8=; b=G4inLQGc6Vy8OpdsyJIJrCyxccZvlbpy9x7p4LB6OTuUJ7VujbwIg02Bqj4saXIe2v HP7n+mtPZtiqLgP6wnOr+zN2MxZ82nTLNWaVvmdl1F8hELEFIK+8Nl3C0kY1DLJ1Ttd1 /XsPGpRIe/OY4ZH7SNa0CxPrH8kkP556RnEP3AJNXnO36Mp/1KAlWFQDSFEScVsZRriK DrnuCB7uNtk16vzXaEwDfd06yXp1TyGTHS8ceB6KVs+wsr19DIZMOVHGnrHno4w7N9E1 +5FoBns9zP3bRqYQiUcGX1Uh/9E+DlXwQ5LtrfI4zQzekwX6YjaV9wLz9e9hHQJi2akl x+uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mGzbU5cN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-208558-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208558-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6ef707e548si303868666b.653.2024.06.10.09.34.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 09:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208558-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mGzbU5cN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-208558-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208558-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id ED1391F22BDF for ; Mon, 10 Jun 2024 16:34:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 524A214389E; Mon, 10 Jun 2024 16:34:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mGzbU5cN" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2141514387E for ; Mon, 10 Jun 2024 16:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718037261; cv=none; b=Rp9pC3INC3cW1Qvpq1ekZ+QKJQwaPloCFgY/6BArMbNLyf0Z2KNbusBuV/JSYt3GEKqYllATV2nKoUjRWUvqGXNkj62cZFqaWclPnX2cI7Q53syJ9uV5w11eG0+EEcx8ok7MT23iF1RsQ37/ckgW2M/arW7iCAR5vnHZsUyUD+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718037261; c=relaxed/simple; bh=piTSS9jjVGMaUmkjcHVWQ3lRn0ub4PfPACxHNXWXx5A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c4q9uCdNJkZsoNi9TLn6L/x28os0LnjGIajJKxyVwZuw8GaYmIXGRbkRd0iteBXKCzdE2R5pmdu3dChRjD5CvjDncC4deFnbLBbR8uB2nyyHlT74PjYpUSKkQHpxL6kTEKiiXeYmrwONSX9AuCvkJ4K+ZEEaey8v+YSqnvwPyXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=mGzbU5cN; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-6e620302b01so1738606a12.0 for ; Mon, 10 Jun 2024 09:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718037259; x=1718642059; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=a5ZVwjIOaq5V5ku6UjCPO2SyGYT7pllWaiMtecMSfuM=; b=mGzbU5cN9lw39SBQbZdW06hKPmf1PLfH+VOTGybIzcFqW4EV/wxYfVB/LqnHJjLIne hWW1DrQO27VT40Yvc9O8FzbOtn+iLsb631AihPHwcVtl4l06J8Qqfkn3FrlxhH+4VU9e EXeq2mmo9AZdxio4NmZ/F32azI07evhqRa+e1rlrZcabNDgihk6UqJX3pb4JK4dbZlXC hlbBffrAggv1hn2qgRL1Qx1Ttdx3gwy37TUkokIDnt4ILjS0sBq+AYqVJxzlvcOOBUSY fu/2es4+7ovJHVYvDxXW9cnab3WPJ5vFYn7VE+ORN+3Nwr0vF+WRvvj/mzBcXreFT92P GIyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718037259; x=1718642059; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=a5ZVwjIOaq5V5ku6UjCPO2SyGYT7pllWaiMtecMSfuM=; b=vnrO/0BnEdF7RtNSZo47RmhTSvuLeegQ2YrdZn41eq9bx68NS1dDUJvSKV/plihmFm 2Pj3oVmc0LBJ+iPY+cGHBwnqOWYnpoU4H86QxYE+FbFwKLYjBRJvYbkwOxjUFvojdIO6 EIN78fgGQf/VareXIawvJheN0Wev9vIR34ayVp3IS305Olh/tgsYKHU9qmqEkrwpZRcn A2CZb+ZvK3Pegt+ycbi4yzXZForGi/yd9ZXrLsRrhiNQgYCif+6fEcZNKDQjhMLvGcIY I8KNXLL9yKOVI1kpd+7d9y1wZs9ZXcaUo+x45ctOK1E05BTWacpQGmyR/0istX8cHuZ4 UwcA== X-Forwarded-Encrypted: i=1; AJvYcCWRvLEA0z+kHcvnpIVVQMZ91jY6wzR2eaFRskqeQlPtcZEnHuOq2Q+ymCq6H80Ws+IW8ld5fUgj6EFgtoTlKSBPX08IZD3mZPji245p X-Gm-Message-State: AOJu0YwS4vo959GuP1dqIiyrqAoCGUAUM2EGlS5SWJ1LePDU3fYYJHDj eKSh8RWfgtsPVuF1mo6mwMFI/dmdj/zLQ5TSGaWddrVPqTGZiYbDd3hFHGS/zwA= X-Received: by 2002:a17:90b:33d0:b0:2c2:fdc5:2619 with SMTP id 98e67ed59e1d1-2c2fdc52e9bmr3594071a91.31.1718037259439; Mon, 10 Jun 2024 09:34:19 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:9b34:fecc:a6c:e2bc]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c2f8fbc87asm3495711a91.47.2024.06.10.09.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 09:34:18 -0700 (PDT) Date: Mon, 10 Jun 2024 10:34:16 -0600 From: Mathieu Poirier To: AngeloGioacchino Del Regno Cc: jason-ch chen , Bjorn Andersson , Matthias Brugger , 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 Subject: Re: [PATCH] remoteproc: mediatek: Increase MT8188 SCP core0 DRAM size Message-ID: References: <20240606090609.3199-1-jason-ch.chen@mediatek.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jun 06, 2024 at 01:00:11PM +0200, AngeloGioacchino Del Regno wrote: > Il 06/06/24 11:06, jason-ch chen ha scritto: > > From: Jason Chen > > > > Increase MT8188 SCP core0 DRAM size for HEVC driver. This is telling me _what_ gets done rather than _why_ it gets done. > > > > ....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, Do you require to fix a "reserved-memory" node in a device tree file to account for this? Thanks, Mathieu > > .ipi_share_buffer_size = 600, > > }; > >