From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 259FDC27C55 for ; Mon, 10 Jun 2024 16:34:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/kzHibxpiUPfffBtjQZLQZEUeYlP3IiHLngjAd3mkmM=; b=XjFohOEUAdkhgJ MWroiNEpfGHPFDFRhFiB6HrjhVPc3t4He78rurZcMoyamGBV98Imt8NnWJvIkxoxBGfjc408q2CET SqawC9AGn9TuRzvMsMmrXFmlJmlTYx2hRYpEfpWDpvU0FS8JrUXsTrGgJMM5s6sCiMNG7OJ4xQUdF oG0iCojAMlxJ8UUAqAjnLNEZY077BdF0ujtb1DO4C1gpV2ZTD2JF5TIIdnkUV23jpZlbMjMWJSQ/x 1lRcREPwh43EMoa5rKF1gGs+mhVHCRqPvpMnnFY4IvS8aAdL+edbqXCVH1MLQNZkQ4SejqQetvbs9 V+zzerQC6xCf3KDFcDUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGhyY-00000005ogj-2Nt5; Mon, 10 Jun 2024 16:34:30 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGhyR-00000005odS-3lgn for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2024 16:34:28 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-70436048c25so1246697b3a.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=lists.infradead.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=mavs+icmds4Tr+pygKa6qZxaVUESeVLColKlPpM1l6CsvDB1wr7ypan5od1FYbwsJi 3kR6MQMlMTe3ohPghn+NIb/DWk0v04TXZsZxmBuypcCItEJl1px3eN2bc48idZzT1P4F InMiRvarRBXdV/4cpi2ofDc7JUbhaPQwlLT7imvJa4HzjOxjuOm9QNA49uakyZ3wCKdB YV0XPNL+FYbsWiNSDjkPhvnFQ1ZhckhQAYMIkYckPx7kqA64GhKFcep/XJkjcG3x4A00 nmb2eAnL9vKmonrfDZ8/oHA+NfVZu5pgNLlTRlzhHY/QkEL1WzDULgRQVMyhUpzRaAOy XBiQ== 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=BCRtW4RhdVYOl1IhenxF5PlIjNDBvGIB4wm7TjvA6HdNXFay8J45lCw4AKEj5t8moA KBXYwlL49ADfCcXySov3vc/qxfMh8fsnK96dN1sWe4B0Pj0333hChUrYBxG4HxXJAYpf k9y9+FtPZBcOH74JkJ2EXB4sfge2xTl+dI81LiXaL1Jyzsj0b5GYpdGF8FZ7UjDebR+P 9SmUrmnUFH9kHE1/y2niuPJVUF5SHKIT7voA6D8y4XExhSmqPa4U4WPrPuFiQF8t+LjN iACDcc/kccLmMExPLF43qByE2wkqyw/VxWVFFXk0DsPljqjF+PPRf+QCC7In17fZhDRR Pf8A== X-Forwarded-Encrypted: i=1; AJvYcCXpTgUZmGkOurlfPSb/jhBm6kpA1EkzRTlzzpdnynQyPiBB3Xhh/Pv+GQrC0x1emfUyZoGTlHy3IT9HWrGKuXdCiwLmjSq68jOsb+j5DAO/12G34Lk= X-Gm-Message-State: AOJu0YwVBxlRUE25heYsAv/VO6CyhE7EVEtQBogNCMx4drVJL+I7HtK7 kkb8qoOGQdP5Rn+P+ksVR6yn8T73ow8cl5+oJvoDyPc2GHwZhlqYY67ACbSe7QcyWcfxTcjabiY 0 X-Google-Smtp-Source: AGHT+IFiC+4Uq+TF9IRTc1VdS1ljR22BVVSd4bbzZX2VtGNhB8sV09mNvEyNr5N0F8tE3bUBY+/nLQ== 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240610_093425_503052_C002172A X-CRM114-Status: GOOD ( 19.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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, > > }; > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel