From patchwork Fri Jul 19 04:58:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13736861 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 97456C3DA59 for ; Fri, 19 Jul 2024 04:59:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=HvPAyIWQtNqLx7WUlcX5/vDSF7IPzDdVVmoFWrTiQJU=; b=UDtA1zVYpn9EfWV1E/huOCfByy SAa/DQMz1af4QAeqKVrVqNISYAzw8jjTBfzhCYhQHwBmHa/L9b/9U4Zy+JiJJOhbKMN+b3j/y3DOS 6ZBX+egreMiPMWS0i1l8L0vuomcHO47u12mmjFm9NEW3XDV5BxrKWvcc/7TVcB8Xz8vFl6PIopxEc lMRG2Feo6Tm3MJwVf5nH7Upd85xUEPSXxxYYRVuiuWjSCMvNLzROQYZoy5pKdDBVdfuIeUO3lnnIN ipfuwO70LlOkj2Nw3YxiVEoHuNKvvhlMqYb/3MOZfM43RqvLC/cwwwiDthALlSpmR3YXWpdqYqM5P g+SwT6Sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUfhq-00000001bJV-1w7C; Fri, 19 Jul 2024 04:58:58 +0000 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUfhT-00000001bDF-2lDi for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 04:58:37 +0000 Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3dab2bb288aso860117b6e.3 for ; Thu, 18 Jul 2024 21:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1721365114; x=1721969914; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HvPAyIWQtNqLx7WUlcX5/vDSF7IPzDdVVmoFWrTiQJU=; b=a0blm2o16mHdsmbwZ+ToZQMmUPZD02YOSeyZtsIcJBJtrCFQknijk2nZEAZdkm9gi6 D24BlRUcN66zcii89Kjo6dGWxWdBy5myhNqzwDOoV+bVYu2o3W5wxZJlvUKpIycBbv7v udFBnlJaI8tJyKRjcslbmzsf/s/gDGN57rXfU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721365114; x=1721969914; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HvPAyIWQtNqLx7WUlcX5/vDSF7IPzDdVVmoFWrTiQJU=; b=sloeLDU8LV9jT45kkfYIMFoIs7RLc+8PV35kzZEb4Ml+KxLnuYrdHGTKONkWkCQQld uXuPBRUtgjkCcQ5z4+0JaGh4k2/pGtwHuAYhnZQXYbf4smmt6D57P162R9RvnYTKbmgb u2B0Uf25PRkIRjJktOfAj4u3/JcuzzdHjFN6Osud5JHbaz+8KQyRrKNzoqQfN6ZSHqjR Kvk2h03CvkO+vloJr64UmKdzcwRz712rIzfL2W2LNoQI3JIhQQJff+WsqLJUyaVfPWU6 0vJK79o9RvegJmTBV4oIOpT5HN+QKV+StMB4N0NqgvoY3VxoVoV7vd2YQHLhxC0BiNC4 u47A== X-Forwarded-Encrypted: i=1; AJvYcCXKwgUx/2wycQQG/yNGKho86Hofiaih3E+cvwRgCfv64VRb26Z51qMCo7vYa7K6Xvz8bh7gxgQxAiTFfISEhlTVnCDWqqGt3EbRI/BXtB/K/OyEI0M= X-Gm-Message-State: AOJu0YzMnfu2WOFhdzMhW9A3OweRohf2uzgcChRdzwLdiRFKuj9js8Fz ZN2bKg0BRuGtmFjNxWDKK+QfifsnF5LPkQXBOP2EsZVDoKy2LWeuBL8wousQdfCb9W/MvLJgVxE = X-Google-Smtp-Source: AGHT+IGpiUr+CwP2dyLNoFMb2Gyi+iGSCs3Az6ihXhSH1HtJoGXSvzeVXRwA6MyZOfyivrJ/f6qmBA== X-Received: by 2002:a05:6808:300f:b0:3d9:dd2c:f1e3 with SMTP id 5614622812f47-3dad521abd7mr7316927b6e.25.1721365114323; Thu, 18 Jul 2024 21:58:34 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:4760:1d59:4f13:7c6f]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79db9fc1dd8sm422310a12.84.2024.07.18.21.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 21:58:33 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno , Chen-Yu Tsai Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: mediatek: mt8186-corsola: Update ADSP reserved memory region Date: Fri, 19 Jul 2024 12:58:04 +0800 Message-ID: <20240719045823.3264974-1-fshao@chromium.org> X-Mailer: git-send-email 2.45.2.1089.g2a221341d9-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240718_215835_833924_3D70A94C X-CRM114-Status: GOOD ( 12.83 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Corsola firmware reserves the memory region of [0x60000000, 0x61100000) exclusively for ADSP usage. But in fact, a 6 MB "hole" of [0x60A00000, 0x61000000) didn't get assigned to the ADSP node in the Corsola device tree, meaning no audio tasks can access and utilize that memory section. Update the reserved ADSP memory region to fill the gap. Fixes: 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool") Signed-off-by: Fei Shao Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index afdab5724eaa..0c4a26117428 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -169,7 +169,7 @@ adsp_dma_mem: memory@61000000 { adsp_mem: memory@60000000 { compatible = "shared-dma-pool"; - reg = <0 0x60000000 0 0xA00000>; + reg = <0 0x60000000 0 0x1000000>; no-map; };