From patchwork Fri Aug 2 02:16:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaolei Wang X-Patchwork-Id: 13751012 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 4592BC3DA4A for ; Fri, 2 Aug 2024 02:18:21 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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:In-Reply-To:References:List-Owner; bh=X8/Dy4Pveo8C/JyW5tIwy1ahKmeGB2QBodsdxjIX/FI=; b=LeUHaSBobFwC2J0q2f08cueNb5 efZcDEVXtQPsCBvwTqa04T1/G6vvkAJRbzSrF8rsYy8UjJb7rnJI3bsXDfLCfKAOQA6vcWf6HXgiK T2pEfbP46SNBIKK45v5bmCx7+4T1V1C2Vo82ZeQPecT+ymld7vDBdmJE5hK50LWaRuZrY495OGB0j rDroAwBxatxqI3dvXE4da8EomSM1xN4sTGyhQjlBVuSUEL6exuNvqLgnComnFu8aOWhhhVzE/gRRo 9Koagc5CFM+C7yBir+iaBm8QDShzbDYoAc1qfGwiUpJ/8Mf6Mg2LiP4ZlBzbm42Wiava/W0exyS35 tFw7aFUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZhrl-00000007MmP-0vwH; Fri, 02 Aug 2024 02:18:01 +0000 Received: from mx0a-0064b401.pphosted.com ([205.220.166.238]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZhrH-00000007Mht-0ahQ for linux-arm-kernel@lists.infradead.org; Fri, 02 Aug 2024 02:17:32 +0000 Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4721g43g023012; Thu, 1 Aug 2024 19:17:23 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 40rjeyg5gu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2024 19:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ARTXd5vpS0vCBRTnqkhPeEBXltfypY9fqmNVq+n9vtiJVwSPdYOf5H+DQLugYc3HU1Xxcb/ME7VlNIzaOW45Zi5CVwVs0n6Q90158kBssBM+j705mjmJ6hzETxZl7iQao7Y18FvpmauG3tFhYfNsjBmvP1dmCz138jwp+FHSi/oJL8kiwMXlxWab+kEX8dOb5JQTcgxRnxZnYMCDP1bryi54DLeSlUssYgBpqmUn/ZWbcxpDDf4VGOs7WLq9dA6OnHJRpx3itvyjFNCry5uvIwT2ri3WToOqXQGegQ9C8eyl6kdnxuHLGA1rlsUSpCOvedkIVFg6fhS7DlCGJJGYWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X8/Dy4Pveo8C/JyW5tIwy1ahKmeGB2QBodsdxjIX/FI=; b=BWQx6R74XwDsC6QIspCkqnEdUc6OmN84++0cj17CDIyM6hCpbQrI+AgE4D8lurTVSqqEf0vuIaCeeSNx+FprIrA2WZXJA952/vnwqCJxI27elyG3N7+wcDYM1SFnSBxZxJBy6o+4lYv6xYGf0RzV0jIeJz0psPDBFzYtCbwzmZ4dS+OMlrvr+NaUiuoybbMHkefmeEh3aop1urFEHmq6+gbXgFSdVoyY+NxXNkBp/IWtvV1gIFQXWYBWe2EbyUfA2gncsY+7McD1GOOciTRITsAdxw2YAFY3Kst4DHMFgNOSOVTI+1C2C/59Zea2CEwmsITkUwSZNFx/uM7gsPH8Zg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from MW5PR11MB5764.namprd11.prod.outlook.com (2603:10b6:303:197::8) by MN2PR11MB4757.namprd11.prod.outlook.com (2603:10b6:208:26b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.23; Fri, 2 Aug 2024 02:17:17 +0000 Received: from MW5PR11MB5764.namprd11.prod.outlook.com ([fe80::3c2c:a17f:2516:4dc8]) by MW5PR11MB5764.namprd11.prod.outlook.com ([fe80::3c2c:a17f:2516:4dc8%6]) with mapi id 15.20.7807.026; Fri, 2 Aug 2024 02:17:17 +0000 From: Xiaolei Wang To: christophe.leroy@csgroup.eu, robh@kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: fsl: qbman: Remove redundant warnings Date: Fri, 2 Aug 2024 10:16:51 +0800 Message-Id: <20240802021651.3854295-1-xiaolei.wang@windriver.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: TYCP301CA0058.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:384::7) To MW5PR11MB5764.namprd11.prod.outlook.com (2603:10b6:303:197::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW5PR11MB5764:EE_|MN2PR11MB4757:EE_ X-MS-Office365-Filtering-Correlation-Id: 23fa54e1-1998-466b-7398-08dcb2993b5c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: MMTYCh0SPdJuMQdgki+vtY3QrAvl/Go4720wbySKaUXwBVz1dAYzCs7vGd/l2WmC6HAFQbK5GoXu6lyqVzWxwWby2xqsQkxhtvQIKrL04ZZDxoBJzKp9uvGE67VWYv1yZ17OhJuvwv1bqDvgyeR25kdsMjAXiwiB0myEmIxtpDBuT4oq2/Pq79sXuYqZXEYgJfIu3cpMfvQ5nyjjt6/Q4LDZxFU3Utm8gDe8VjsUKXTx0h2va+tVjY9woobIROrzVCm8hMGBEdDGsMDGJitfxCjMqLzIv170S/X7yGOtqO94c6XuOhSqjKw2pZrUg1jBufkf8vdkJxK05FSwDf6swDkuY1B4NCof35viEoDPKIzdv0fr3M+tPhFbM1tMPWbJBJZi7057IOnd5ZFseckP4otUXI24WQssl6vOKZEe0DS8tjqSIXZGrQpYhg4T3JzTW/SKQJKZzpEP6Q4QBXxqqrxqmOH9UZ+Tn8mMe5pNjKSAw8vA3HdtYwb5gCzp6/wWd/RIVTuYRF7x94du9FDUAXmAc8WPQSJpEDdokqgCVNrOSyHA8IEpMEleilh15zAFT5Q6gU8raFaXYBnh7iyysaNuvibks1O7ZGwWt9bxpOlp1OcCO8OdIiqB/5gkqTXY+wE6b+VAR6/AY55Uv8s/eMBev+2KTKwVm22+aDC0CRfpHEsfzqQCGiSocaeoPLTgo5ri8Ac2zb072cX6UfkRlzndaC+yGtK2UNkmPpNuD/hFAewiMRGagxjbzqzCm/Ee0L2JBFMGRq0MuYX3iyeV7fcd4V0P331O0yOdmYMb+duLlapGWbzi3ZSKYsuxdfwbeJXDiNvsOlfVFZWOf8jiMVSAF7YaHbjhjqx27XublINMrHy9BZmxshCduS5fyfT/bafVrXBZKyU7Xk6vEnfERRtVDiU5bjbJivSIHrMD4ZUkLLEIRDAFgAh4TEdNOjrJcvNdeSOYtn+HGojWxBftfBX8UQm7PbeulE9TULyWI6yCjnwVguRvUmztfnmvCXuz0TSNhx8+Pn5p3PfYNPy5j6IS7UZ34+msaZ3DlDoppg88ACdg2Erp8/h1aX2tIO0KDSJvkQTieag/SQogS8Li8tfdvFG00b84AUWvpOpJgtwF5fc75OjSs7lUbf1naVNIi17u0WYs7mxqEWVkKVqETI/YmNMxBm62b7BBOYfTtguVsFcPp0TRGNlJhpN+kiEbUSdfjmrM57sxfTExdLiIlu39H0Cpyt0sBH2AJ0FufLNYzX2yCvdwri0jld7rSJAVAk1ApseZUS2Ru2jvnVxmGV5y0cSS6XrXD9eCLdQQQjtgaeuBLzO77662ysEksRYqOb8LB69GHX3z9DAAt/wFMHZl590lf1DN5Yhmmjxth2lj+3Q37xQpg25sFYI6TjpebPgpgXPeWXhO3IhPqEtOIA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW5PR11MB5764.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: w2xvbqvXISCQk9OIBrWbuQfUGGEmcGiinj8WmuqvynRVESa4Y2ahzVWrNLk5Qdn9BwlMs8c6PdZzzIEBGXvnoomngBFPP2zVCHBpKHcGOXxNt1VF7yauUD0s86fGrZZIcXQJKOdneZGPTbMQZHd8O8l5nXm95fNue9Q4s5DKxI+t9+hllFkrvgmWDuZXANs5PQAGCF/QUKeqfGexWuZf5ALMCyvG1dh2HAw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LVMMdySIlvL5G6wpbjMT3CfDtUmkq++2SoVPfQYOhleU0V0/qHCMTeFLeCTtKwUr+CiCsq+msjzO/6TxoLrx35ZZur+oqHNlwsYR2167+aWRGuCJToTb+ROlHDmjrsOTH3T2fQMbOXPvF8GnQMQup6E9aCJUjNkvRFeHS72N8rr2n72F9QeJlQLZdbLe/AsmDT7w9GItFxHZtXlhWnKZRk8nOE6yase0hvMBNcqivCgthBwdBjQFMk8G05/wqF002A7aUNOoN9mPaPCU/CkmasOzK0UsMRR8i/yR9eVihDZOWNpZoXwNheF7x8lvDs0ilg== X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23fa54e1-1998-466b-7398-08dcb2993b5c X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5764.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2024 02:17:17.7550 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nbJ62MDmFr5e/PZxtkiA0GLK80sUzRhujkmsGd+94L3q4fotU0bbPpeEEWcp5nTMpxlxH3Hinspcd0aaedSgsKFO/7dV0Jev7qFCG0qCn8o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4757 X-Proofpoint-GUID: OT-vTYmvJacmOCLGyCvaLm1tZJ48xx9y X-Proofpoint-ORIG-GUID: OT-vTYmvJacmOCLGyCvaLm1tZJ48xx9y X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-01_23,2024-08-01_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 clxscore=1011 lowpriorityscore=0 suspectscore=0 spamscore=0 mlxlogscore=886 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.21.0-2407110000 definitions=main-2408020014 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_191731_209366_FD8BE485 X-CRM114-Status: GOOD ( 11.04 ) 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 RESERVEDMEM_OF_DECLARE usage has been removed. For non-popwerpc platforms, such as ls1043, this warning is redundant. ls1043 itself uses shared-dma-mem. Fixes: 3e62273ac63a ("soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage") Signed-off-by: Xiaolei Wang --- drivers/soc/fsl/qbman/qman_ccsr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c index 392e54f14dbe..aa5348f4902f 100644 --- a/drivers/soc/fsl/qbman/qman_ccsr.c +++ b/drivers/soc/fsl/qbman/qman_ccsr.c @@ -791,8 +791,6 @@ static int fsl_qman_probe(struct platform_device *pdev) * FQD memory MUST be zero'd by software */ zero_priv_mem(fqd_a, fqd_sz); -#else - WARN(1, "Unexpected architecture using non shared-dma-mem reservations"); #endif dev_dbg(dev, "Allocated FQD 0x%llx 0x%zx\n", fqd_a, fqd_sz);