Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp458368rwb; Mon, 26 Sep 2022 00:58:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4o3UJcoydmk/7wF1qE2jFkKr1eYLyt2Ga+WtHWQ3TYCy3QZWYz6epraNchlYmIFn1EmuxC X-Received: by 2002:a17:902:db06:b0:178:24e7:639 with SMTP id m6-20020a170902db0600b0017824e70639mr21546398plx.46.1664179108389; Mon, 26 Sep 2022 00:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664179108; cv=none; d=google.com; s=arc-20160816; b=ZrUNBClKUPqhZS56nqxWNM4BbNsZlDVt3QM8aIkU5oXUwpxhZ+LphL1y3m8xBaLRwY U7v0xXrXL9A9sQ4YucM/p9C0yuJtRPDN0QEhltPo6XbcDqXfy3kHndL25UlzGiW6aUWf gG2R5Hl/7WHWUXaH9unBaNh+fZj6sCQtQjjqZAPtDcO4za/uSH/JHHIQ7Nl7aJE8/c66 2VrV79k0pAtyPgtG4PX0b23QmGvkpyRLQqQT8rt94GfAvoWNnxSZ/LBmEEYcbfR0gpNV a2LBX9EKjuj/B1annZvyokvTN5cY4ygmnpgQ2wRcm9aozmSqKW3Zmjvl6x1B5LIlf+lt Lb7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=y09of+4Ca7fIldBTzPfxeEaCyJ/Ci1lYdycpsFFRdpM=; b=g5VPrCI0uzG88fgbfR7lIWx8WRF6IlP8LF/oamjt66BYP4uaIQNfTVF48YJ8/0niuI 4dVJoIQBPghBcbF6qHTyjL0beHN8cYyLZZsZgaiwRkcXaOEw4m2xo5GaG7JK4ds+a5Z2 LlMbI24tj4Vh/ZzsCbN96nHhENzcofSkSM9bmBJpsfRfIFo7vLji72dldX5QZzLEyvRx i4lkedxxO8J1pF1LCyhXkMBpHXQbzI6/Sh1eDN5w1pnFpRs9zNycjjd6ocwqzm0XPyVo rXYKXkRFkK73K+1mAsm3FnHNdgMzso+hxqVX894FhlOYdp+A3Xo+Wbi39iWmxIGwjign Kobw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dUk2wHyD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a63200d000000b0042c70745e9asi17665986pgg.14.2022.09.26.00.58.16; Mon, 26 Sep 2022 00:58:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dUk2wHyD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233406AbiIZHF4 (ORCPT + 99 others); Mon, 26 Sep 2022 03:05:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233274AbiIZHFy (ORCPT ); Mon, 26 Sep 2022 03:05:54 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23D4D20BF0; Mon, 26 Sep 2022 00:05:51 -0700 (PDT) X-UUID: 453819600b4d4394b0bae28adba70ee6-20220926 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=y09of+4Ca7fIldBTzPfxeEaCyJ/Ci1lYdycpsFFRdpM=; b=dUk2wHyDgSw8BUykyu2VxhHfBVKMKXYp+T41XEoGnGYJQLXGPuQN+PTPMYtyy54k1in2aswwo84b0K81GZKVQC7lRYfRslBjYllj4aho3n3rUviuyQU2vvkrXGfGkvYsi7MFTPqn0lZ5gygOSaGaTEWz2vhkyGqWwVRB0DhHB8o=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:99164de2-f91b-4e02-87fc-5679c1761b19,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:39a5ff1,CLOUDID:39260207-1cee-4c38-b21b-a45f9682fdc0,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 453819600b4d4394b0bae28adba70ee6-20220926 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1593890310; Mon, 26 Sep 2022 15:05:45 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Mon, 26 Sep 2022 15:05:44 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Mon, 26 Sep 2022 15:05:44 +0800 From: Miles Chen To: CC: , , , , , , , , , , , , , Subject: Re: [PATCH] arm64: dts: mediatek: mt8195-demo: fix the memory size of node secmon Date: Mon, 26 Sep 2022 15:05:44 +0800 Message-ID: <20220926070544.13257-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220922091648.2821-1-macpaul.lin@mediatek.com> References: <20220922091648.2821-1-macpaul.lin@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Macpaul, > The size of device tree node secmon (bl31_secmon_reserved) was > incorrect. It should be increased to 2MiB (0x200000). 192K should work when the patch(6147314aeedc) was accepted. Does the trusted-firmware-a get larger now, so we need to increase the size to 2MiB? thanks, Miles > > The origin setting will cause some abnormal behavior due to > trusted-firmware-a and related firmware didn't load correctly. > The incorrect behavior may vary because of different software stacks. > For example, it will cause build error in some Yocto project because > it will check if there was enough memory to load trusted-firmware-a > to the reserved memory. > > Cc: stable@vger.kernel.org # v5.19 > Fixes: 6147314aeedc ("arm64: dts: mediatek: Add device-tree for MT8195 Demo board") > Signed-off-by: Macpaul Lin