Received: by 2002:ac8:7315:0:b0:429:955e:b7c6 with SMTP id x21csp209915qto; Fri, 26 Jan 2024 16:21:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHq5pqUMBzilF48sMnnSq69lPol4VwLqNWk58DCojRoiDoaKhupaM5OO/xLuBl9GiRtqoPh X-Received: by 2002:a05:6a00:1f11:b0:6d9:b267:5d68 with SMTP id be17-20020a056a001f1100b006d9b2675d68mr690767pfb.22.1706314868348; Fri, 26 Jan 2024 16:21:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706314868; cv=pass; d=google.com; s=arc-20160816; b=lQces4iowAsUqa6abTs1/rDoEqmMbiL7lSEvXOHyB4ZtwoQ8LM5ZFbBbj/n9psKWUg UztVhdegvz9nb8MJaXNH0A5MLJBUOwtKasbkjDrWvMf+k6d2pVblO97Dp2v2HuavOePw l9Crtuj1DtRf8apVUJaCH6Khb2nGvpgR4EbBXu2EdOGnIVhWKHp1pmnZeqAqYsHQFS1S tHOP04sPXHLqYusvc7rnU6rrQTcqQLKa6NrEtP2a9KnM8a7D4pUS8TX41xvAlHCgZnUv m9uEd4qgvWZ2IBMS76qaVTdAUakAWFLrNoaINMYK5qsWVNgeHFvlequ++xszusyesyrD n5HA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/cgx85OG7pSKuzjRnW6V7YHZaA4noSYtheccrfypgac=; fh=hY6kMi6FvW8wLTV87L8suYr4n1TqNWWZDZNH+E6XASg=; b=le4zrX6WHJnZnO1jxUAZyAHqul5v/VfTn/l6crbeB7Jn9Q16DNiYDKF9G0V+fFIbKz M/7CVImatD1BkdVpVccTBhXctEDtjWgrvmN/WLgkVjgCRF2CcPHRz2wCrRkat2SULRxG XckXKAshchtwlJEca9Mp+LLzW/NDAcTfaJw+KWIcBizoEhDTmsK2vj48jETZoZY6TD9L OvGyV6KCcxT3+MB59Rnqhhra3R0fwkPk2dpeTUmtQ0WdEpD8J7BgMFGUS8w+l08NWPT1 q/Jg07xYcmXEH82/jT4+4bUgoVCoh2szoGt594EV3KyxnyLOOCeYote0z98kCTe077fQ Rt5g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=m8BY42k1; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-40904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id le10-20020a056a004fca00b006d981a0e55fsi1939030pfb.367.2024.01.26.16.21.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:21:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=m8BY42k1; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-40904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 20FB7B2975F for ; Sat, 27 Jan 2024 00:03:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EBAC67A0D; Fri, 26 Jan 2024 23:56:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="m8BY42k1" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EC146168F; Fri, 26 Jan 2024 23:56:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706313369; cv=none; b=M6w1dwl1SbrMFURz4kneYwxFoZJg16dY7SudLEumqYfnAIeAb5/ZKEf8300oIdbOKfEqS14A70Y/chfgtJBnEJsZnVn1owRQo/8p40u0/pDm8aHG56o2bfqucPfgl9wKdUk8vi8U5FWYSH6laJMkHa1t9vM23eYqEHywKPBKuAw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706313369; c=relaxed/simple; bh=eCCuw9ZCqAusxZlzgqxXtVC5HZa5Anfnnz/pbMlF0qY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=trHqHmcl+2znjOsT5YcpLCnFp03b7S9d2sJoXNZrc7IWV5X7tOXqtzOZexiuDk5mr3wfKI7hCT9eWOwdP5wctPqVcIdxMNPbooxT9hX1jwaiU7mfcaCP1aKffWkiexlLwomP5sxkx8mMej4JQ4AVwa2EY4lqOWZmaklWq1wzmL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=m8BY42k1; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40QNFqjh015576; Fri, 26 Jan 2024 23:55:33 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=/cgx85OG7pSKuzjRnW6V 7YHZaA4noSYtheccrfypgac=; b=m8BY42k1xK9i/FXhHwKIGYjDaNVy1OzcBWX8 7ZDJ+MwdRBl0Qq1vUqzF/SJx/P+5Snp02f9p9Qxy1t8n5Cbb3Yd97Nso83vKhqqG YgNN38rSHVIty8TseRj34bPOCar8wno05UyGQrCGMKmJKaKb+zLzwEAOgUjgQ4Ur izaMcAPuPZMl2rwsISiqsyRHY7mCUzkDjvfbeBIi+M3rsdG98+mgC0cJwfMVZwga TErNEwXffbEuYN7WhQYLAKUAVTXfB1qfcNXK+Mrd0g/OI7MiJLZVuqknltxm70KO 1rjIfYnsaRNWpBCTaVXweY/yvYzTIA+Qp0NwP2coieWtLz+N+A== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vv6c8j5xv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 23:55:32 +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 40QNtUwm018645 (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:16 -0800 From: Oreoluwa Babatunde To: , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , Oreoluwa Babatunde Subject: [PATCH 40/46] openrisc: reserved_mem: Switch fdt_init_reserved_mem to dt_init_reserved_mem Date: Fri, 26 Jan 2024 15:54:19 -0800 Message-ID: <20240126235425.12233-41-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain 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: xQcFQN4n-fYxJVbxkl1bVT14pbo4Jvc4 X-Proofpoint-ORIG-GUID: xQcFQN4n-fYxJVbxkl1bVT14pbo4Jvc4 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 phishscore=0 mlxlogscore=570 priorityscore=1501 bulkscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 spamscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401260176 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 --- arch/openrisc/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/openrisc/kernel/setup.c b/arch/openrisc/kernel/setup.c index 2c7059a0484b..a7249538a497 100644 --- a/arch/openrisc/kernel/setup.c +++ b/arch/openrisc/kernel/setup.c @@ -88,7 +88,7 @@ static void __init setup_memory(void) early_init_fdt_reserve_self(); early_fdt_scan_reserved_mem(); - fdt_init_reserved_mem(); + dt_init_reserved_mem(); memblock_dump_all(); } -- 2.17.1