From patchwork Tue Jul 23 07:57:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Zong-You Xie X-Patchwork-Id: 1963640 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ZuXcfz4a; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WSqJL4jGNz1yXp for ; Tue, 23 Jul 2024 17:57:54 +1000 (AEST) 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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vrT1DMIDW9K1KATtnlrH4oW1UZ1hq4Z9LsPg/0MFlgE=; b=ZuXcfz4aH5Q2Np JzZCS0UFQIVFNzPC0JizJ14oqP8sNLFWGZRTMaE0lAL6Z1TpFjtdOIkyUPZcoqtku3JV02TUHvvxe TH7VRRYJbkWb5PsXReXS7TndQ//EqxMW22ma5TUj6xmHJtjd1+W5O+IaBbOuE0gPiXOABfr6GgOxX 2fqaAyBZ9YFUeyVnzYonxVDo4XT6FswNWXt/+9SO9eHfXyYRJn+x+dPmUsgau+AF3+0pFiynpWp6o 0asdU890hd1C2m2vd18qoiuSlVJZP4fYjZRyc3vPxCkHIh9DgDdMY7v2yjRzieucsSHd2V19eiDXi 8wm+2dQLP0GuufGw/1gw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWAP3-0000000BmUW-112C; Tue, 23 Jul 2024 07:57:45 +0000 Received: from 60-248-80-70.hinet-ip.hinet.net ([60.248.80.70] helo=Atcsqr.andestech.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWAOz-0000000BmSm-3JTL for opensbi@lists.infradead.org; Tue, 23 Jul 2024 07:57:44 +0000 Received: from mail.andestech.com (ATCPCS31.andestech.com [10.0.1.89]) by Atcsqr.andestech.com with ESMTPS id 46N7vXjO035907 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 23 Jul 2024 15:57:33 +0800 (+08) (envelope-from ben717@andestech.com) Received: from atctrx.andestech.com (10.0.15.190) by ATCPCS31.andestech.com (10.0.1.89) with Microsoft SMTP Server id 14.3.498.0; Tue, 23 Jul 2024 15:57:33 +0800 From: Ben Zong-You Xie To: CC: Ben Zong-You Xie Subject: [PATCH 1/4] platform: generic: Kconfig: add the description for Andes PMA feature Date: Tue, 23 Jul 2024 15:57:25 +0800 Message-ID: <20240723075728.587110-2-ben717@andestech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240723075728.587110-1-ben717@andestech.com> References: <20240723075728.587110-1-ben717@andestech.com> MIME-Version: 1.0 X-Originating-IP: [10.0.15.190] X-DNSRBL: X-SPAM-SOURCE-CHECK: pass X-MAIL: Atcsqr.andestech.com 46N7vXjO035907 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_005742_118935_15D64C03 X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Describe Andes PPMA in the config option, and select it for AE350 platform. Signed-off-by: Ben Zong-You Xie --- platform/generic/Kconfig | 1 + platform/generic/andes/Kconfig | 5 +++++ 2 files changed, 6 insertions(+) Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 TVD_RCVD_IP Message was received from an IP address 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Describe Andes PPMA in the config option, and select it for AE350 platform. Signed-off-by: Ben Zong-You Xie Reviewed-by: Anup Patel --- platform/generic/Kconfig | 1 + platform/generic/andes/Kconfig | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/platform/generic/Kconfig b/platform/generic/Kconfig index 6642a6e..688da3f 100644 --- a/platform/generic/Kconfig +++ b/platform/generic/Kconfig @@ -33,6 +33,7 @@ config PLATFORM_ANDES_AE350 bool "Andes AE350 support" select SYS_ATCSMU select ANDES_PMU + select ANDES_PMA default n config PLATFORM_RENESAS_RZFIVE diff --git a/platform/generic/andes/Kconfig b/platform/generic/andes/Kconfig index 138710b..6edd67d 100644 --- a/platform/generic/andes/Kconfig +++ b/platform/generic/andes/Kconfig @@ -3,6 +3,11 @@ config ANDES_PMA bool "Andes PMA support" default n + help + Programmable PMA(PPMA) is a feature for Andes. PPMA allows + dynamic adjustment of memory attributes in the runtime. + It contains a configurable amount of PMA entries implemented + as CSRs to control the attributes of memory locations in interest. config ANDES_SBI bool "Andes SBI support"