Message ID | 20240126235425.12233-34-quic_obabatun@quicinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 7C6B1C47DA9 for <linux-arm-kernel@archiver.kernel.org>; Sat, 27 Jan 2024 00:00:06 +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: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=b4JmCxVBJffr0L6YCddpzuJFb0AdrJ2tZX59iYboUDI=; b=FGQIrAeyBLjOSS t2TMmneHKpqHofbpfQbeoTcgO/jHr47I9jDMHJJjjJkwQpJ2sVfSlyYvLujasF9NpyAUsoH99rMaV kHUSHsTlmevjtz1dP4T/FC2Qcm4d2I8kp89kcgq6/CMT+jd5zP9oy7F9SEySY7UeaHY55jB7ux1LS wDC4f4OOm01KWBKeKqWd4P9qie1ngtS4y0ez6W4MM2/dKv1HbClbKF6TX6nbVnHz9r1/gIA1dHCVk BVZUaSJwKP7F7JlB17MxOWX0ROdfmBvs7zH328LLOHkSUmspb3c/P/4howmdvSTyDxXAlGMF6VQSd ZcaTdXMDCC75iMjTcxSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTW70-00000005sTi-1fek; Fri, 26 Jan 2024 23:59:54 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTW35-00000005qDr-0Qbs for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2024 23:55:54 +0000 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40QNtWTk027912; Fri, 26 Jan 2024 23:55:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=GirL3tL1+YPcD4kN5dch J3YNHYEfvxB+UdK4fnkC2RM=; b=fBmBlODuNh5nyIgSpzDPrG5h8JuKKM9Leiqx 4FPIAUBUZxuOXwbuI6eDolLUyYTrT3fV+YwWDeyh39tD0QjO3l5pXcwfG9bWhQAH U/UjHoXbxIv9RbZge/LoJqxtEIBf0EE2CmuzW0QrcGj3UoIVbdTtC3wCvgP2lZPl lZNRDNfsFvzQeoRxiiIr+aDxa2Xs4tySymO1fxaduVLfc4aQKJlgPYoozV56BDXg r8K+hw11tDJYTN9TVuK+bqEzyt9AX8l4X84pHI6Tx/qIpY7AhpW/6/BIS9PDOq85 rVreYWIY4LwiflKoW+akMQ3av5SiHJPI2eE6PoLKbXsEcW3T/w== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vvgp2grug-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 23:55:31 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40QNtUwg018645 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 23:55:31 GMT Received: from hu-obabatun-lv.qualcomm.com (10.49.16.6) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 26 Jan 2024 15:55:13 -0800 From: Oreoluwa Babatunde <quic_obabatun@quicinc.com> To: <catalin.marinas@arm.com>, <will@kernel.org>, <robh+dt@kernel.org>, <frowand.list@gmail.com>, <vgupta@kernel.org>, <arnd@arndb.de>, <olof@lixom.net>, <soc@kernel.org>, <guoren@kernel.org>, <monstr@monstr.eu>, <palmer@dabbelt.com>, <aou@eecs.berkeley.edu>, <dinguyen@kernel.org>, <chenhuacai@kernel.org>, <tsbogend@alpha.franken.de>, <jonas@southpole.se>, <stefan.kristiansson@saunalahti.fi>, <shorne@gmail.com>, <mpe@ellerman.id.au>, <ysato@users.sourceforge.jp>, <dalias@libc.org>, <glaubitz@physik.fu-berlin.de>, <richard@nod.at>, <anton.ivanov@cambridgegreys.com>, <johannes@sipsolutions.net>, <chris@zankel.net>, <jcmvbkbc@gmail.com> CC: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <kernel@quicinc.com>, Oreoluwa Babatunde <quic_obabatun@quicinc.com> Subject: [PATCH 33/46] ARM: reserved_mem: Switch fdt_init_reserved_mem() to dt_init_reserved_mem() Date: Fri, 26 Jan 2024 15:54:12 -0800 Message-ID: <20240126235425.12233-34-quic_obabatun@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240126235425.12233-1-quic_obabatun@quicinc.com> References: <20240126235425.12233-1-quic_obabatun@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: -JAgtChohlf1vYytIHlPiK1CHnocD_lU X-Proofpoint-ORIG-GUID: -JAgtChohlf1vYytIHlPiK1CHnocD_lU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 malwarescore=0 mlxlogscore=566 phishscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401260176 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240126_155551_465617_EF443C35 X-CRM114-Status: GOOD ( 12.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Dynamic allocation of reserved_mem array.
|
expand
|
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 36fa18e80ab3..04d3a3693a02 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -1173,7 +1173,7 @@ void __init setup_arch(char **cmdline_p) unflatten_device_tree(); - fdt_init_reserved_mem(); + dt_init_reserved_mem(); arm_dt_init_cpu_maps(); psci_dt_init();
Switch from using fdt_init_reserved_mem() to dt_init_reserved_mem() to reflect the use of the unflatten devicetree APIs to process the reserved memory regions. Signed-off-by: Oreoluwa Babatunde <quic_obabatun@quicinc.com> --- arch/arm/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)