Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1685279pxb; Wed, 9 Feb 2022 02:09:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqmR+Iswf56wZr8LPaQWpzx9XhcPjjszs/Fab1x1tnENnqD+x4nVZPmLeyIIANz24z1LLa X-Received: by 2002:a17:903:20ca:: with SMTP id i10mr1707503plb.112.1644401347536; Wed, 09 Feb 2022 02:09:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644401347; cv=pass; d=google.com; s=arc-20160816; b=eNwFuA65tpqSdJQxDQP3kT2QwaRDOgmFUXsjf4JC0DH+sSamcyYpxvyXn1WqQ9imJo zC/wkEYzrpar1uotLxIOL2h2XiRd9TNg6rMxEoTwOC1DiK3UsL5D8+avfCUiZuxrSCxA Mo9onMSWAfKtGrWEmGNfVvmwQobLCqVfHBDvl8g1En9WEBUq+P5nNcd8j9got4TLtucu Fsl9W4NRiSiGgljwXdG4QJzWU9LzoRpQjCULiGrow9S3XdRCg/D9bRq3g4T/d9WTI7iC 151WEBBfRS0/I54Ss+t2JA6kE9Dr/5fLhkZx+JC3jwtg/W3S9ADL+FOpdaf+TDdiPlN7 t5XQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=GKFQR0hA8rDXqDC5X7c0kl6i1a652gZ0b4wH8tJcUTA=; b=Gz4d7VOjycQpFtcKv/Mq2N3QwroppStsDCTNDFpDc8rk9LdYgQ+V8ziRDBYmv8WW2i r3jkZt9BH2m4Ip+pGloVr+/OsSSfp/DkIXu53MhAcHe9iH/FE2coHDnb1996RxS2TEM8 0pyTwPdwhPypNO2P2ZfBcvi5ltyFCbVGZEYI/1gSHkMbHZoOEnKuD4rYPZ+/7k/l17Rw bcU2vx5QLVrpItSoRg+ysK5dIxmmkjREhi6t6I/XxBZv2nl8EH8TlM319Eb/ooXYvNiA wgQ3SU2a36x94PMYH9JL/AVYgg+rqASGkxmJKev0JZS8ny2kH7AsEDRQ8ltxuwXtnXWc BeWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=JW4sQ3dA; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c3si11966608pgm.621.2022.02.09.02.08.54; Wed, 09 Feb 2022 02:09:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=JW4sQ3dA; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379136AbiBHO7v (ORCPT + 99 others); Tue, 8 Feb 2022 09:59:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379099AbiBHO7n (ORCPT ); Tue, 8 Feb 2022 09:59:43 -0500 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30042.outbound.protection.outlook.com [40.107.3.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C342C061578 for ; Tue, 8 Feb 2022 06:59:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ewc7whPqoaQYOO36XBLg7UhkWCgW0XyKKoh/+8/Qf3kNH/brdh/jeRUgxXtEqDa64iAhX0LQW7n/xo+x/O4PcdWjdsCLn2uR6Yveqh2x5/dxMOOewRLMlCmiYasKM6ki0DBmVMLJGyWF78VR78ba5VqnGJtQIZTWvaDzJ4ets/yekOWXmoHB7pFsFRe4lP0jE/4t2LtUbeGSf/LtCx9MAxgUjTflmEpV8l2F2KmqEQkAzwMpWJqyxr8Il0n7FppaQ+xkOHflUXzd9l7vrTM9wYlzSW7m2TYiQXU9GTGGAKdIBnecTyIhr8Ss2uet1YV4QFQSSWMd0QFgAg86ut90fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=GKFQR0hA8rDXqDC5X7c0kl6i1a652gZ0b4wH8tJcUTA=; b=Jz7lm4P4FrWnuqtKJXP01IOZRov5infK0Pmz19D4qzp3xVcIehKNg6vm3Su+c9I9rtiED6n1oveR5jFOnCUEcdHD/mnIIpBMvzHPVnJDRAe3fJvugi4EEM3mWtj3cOTpc+ZH+VPFm+vt15hP2PLohHsnvR6cSwv8ntfCm5/gruwB+auFxMWxy8h5Px21xzVwrlAviU1e4yOMgM/QQBmJgNlM4BodlJvof/rutVAHduptdQfEP9//toxL+QnPK16WuRjrUR6fFa90dSIbJKLxCVtsEgKzxTbnuSt5qd9GTNe4wa89GwNUAjIm8FOoPjSJnMZ0MZLcd1NaocDPxPS6FA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GKFQR0hA8rDXqDC5X7c0kl6i1a652gZ0b4wH8tJcUTA=; b=JW4sQ3dAS0mEcW+qYlaMp4qh0Uhh1+Lg+priEJTvY7IX6Smw+G12qZrX2OJTBmPpAM4dsNAMMtKlA5CJ7Z7a8fde/vGwoU92v4nT5B3gY1NxX4zg2y1B+d1AKfImlJUf6XFzf4qLH9BmAfLQnMYna5du2kxtVRC9/Y1AV0Te1IM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR0402MB3405.eurprd04.prod.outlook.com (2603:10a6:803:3::26) by HE1PR04MB3018.eurprd04.prod.outlook.com (2603:10a6:7:1f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.19; Tue, 8 Feb 2022 14:59:38 +0000 Received: from VI1PR0402MB3405.eurprd04.prod.outlook.com ([fe80::f826:3bf6:b77d:5a53]) by VI1PR0402MB3405.eurprd04.prod.outlook.com ([fe80::f826:3bf6:b77d:5a53%7]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 14:59:38 +0000 From: laurentiu.tudor@nxp.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: ioana.ciornei@nxp.com, diana.craciun@oss.nxp.com, jon@solid-run.com, Laurentiu Tudor Subject: [PATCH 0/6] bus: fsl-mc: fixes and .shutdown() op for dprc driver Date: Tue, 8 Feb 2022 16:59:22 +0200 Message-Id: <20220208145928.12468-1-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: AM0PR08CA0025.eurprd08.prod.outlook.com (2603:10a6:208:d2::38) To VI1PR0402MB3405.eurprd04.prod.outlook.com (2603:10a6:803:3::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4061f29b-2a8c-4bca-19c5-08d9eb13a069 X-MS-TrafficTypeDiagnostic: HE1PR04MB3018:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9ip5LeGO94C0gDJkxTbhcFvTEZlGF9nWMPohnd8k4n4aeuHzqrlLaPJU6+aKcmFuIQ6Xw0HH81Szqu5cLFYsYecvAi1oNwOs7e2Y63oAgeDIV3Vg3ipzk0oEi6Y0pkNQfGLvN+BBtCbENDVKMv0VJTI0SzRIu3OiKdiAF4dJYWxogvZL1xe3gzwcNcUVI8+wZFFyHG/n/VPWM9Et4UJVBDXJc5mTnYdHDCdpF4flYKMgK9KhTMyOdfmIrt3boLc2hC4luMhipKGc+aRziWLdIclse/4C7pwhZ3NlLi5sSdDQJaBfVYmYbq1o1hMzF4aEt1akIzZrwQUWC1xxf5eUjfp0c49RE3uyapNhcws98ZmvO6k56+URQ6sqLaenc/DRAyVjpS01iFQcFPKBdtJ63iE0k0dGkbYMPkkAp48ApFChT06tjEMZee4pbXXor221QRVajzXUJk6gFPuwoPoLLKgoqjcwJpS1HjatKO1XClvy6FNSmEBRFLUrzIWefb+YYhU46kBov/5gbCk3/Jq9DhrYRDyv5yNNcnVSfVVKqmx5S9xBAYGDdWbaLAEGX5zLQgwDVvQKSxjjqWgxWH2VJyex9TVw6pBX8jlTrb2Rud8Ajh90TiaoMyuM26ib7WaFhPdjHYBaa1umHemR6WYgvcgidwKlRBPiOlmI2Q5IzWHg79gUCLV1UUgKnJY5GqKqYSgGyYuH+ZmsOkBwuQGfOPlFYZxlAtZchnY0nd+YBx0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR0402MB3405.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(2616005)(6666004)(66476007)(316002)(9686003)(66556008)(508600001)(52116002)(4744005)(186003)(6506007)(2906002)(6512007)(1076003)(26005)(5660300002)(6486002)(8676002)(66946007)(4326008)(86362001)(36756003)(83380400001)(8936002)(38350700002)(38100700002)(142923001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zd4aV3eKn+u3JFkIY0qRMNURENJI2wNcTQFv9MTmNwYunYq45bCxwVcsOkRX?= =?us-ascii?Q?XnCBwbG/1Q7rjeFLSoVbSJ7T3icxk1xrwn3gqBdvXHlsuvEbjdDB478NzdP3?= =?us-ascii?Q?ov0xISny0rjSM7gkp2V1dsXvpcQu7rD0GeI7EXL/wJ7WcnfPda2DCiGAj8Hb?= =?us-ascii?Q?qQ9Hkt6KFAdaBfhcEUWrnTkxyoq75grCnExSFZFqKJYCbl/ehK/basGLAuSB?= =?us-ascii?Q?3zPAGtuGESSZf8KCStJdQ8LJaOh3dUskMFhdE8zuJUsbJgtWF6cbX2ywmueE?= =?us-ascii?Q?Drg09NuZVPBLI4+zacD2oJIM/Bu4SrHG67uQjqopzOwBZNza8Y84MKjBYRs0?= =?us-ascii?Q?sm/5/6r2BrZ/aOHLkUh+F9eBz4cp34drRoc3wjlEYlvgMgVo8gL7cOZ8ud1d?= =?us-ascii?Q?+AK4XRpkwnSuLzLyBuW0RGCw2g0CW7Ax5/B9wm1fX7dq3997uXxEEg6cLC9S?= =?us-ascii?Q?mFQ5m0Jy2FBBdWWmY5J+9D655Od/bWYjTZRKNmyu9KgumiTUnLAPXGmLWGAs?= =?us-ascii?Q?G+nN+wwVNu9+w6oAYCYILolAjOAvrWDVP9GnL+q4ClMYJ219yBQnuTuUsY4W?= =?us-ascii?Q?H1bP/o3YlLVt2IdNMVXEZ/oA6+43I7FNLA/MHh+kLbDx59siYj4pW+caRpRn?= =?us-ascii?Q?9QB64/gzA1GJfnwzFwYu9kNb7bmytbMi4T81JQUar5krL4Q4+g8UAL36h5j7?= =?us-ascii?Q?rtN2VYLSmDmewO1u4ERgkmrtnIiFHnLo8aN+eOZceCN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D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4061f29b-2a8c-4bca-19c5-08d9eb13a069 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3405.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 14:59:38.0596 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +GzsLnX7yihGxXBq7omp0fSHfGh6ph2A09A0SjbTbl80vlbppvAm0MuzhxJ6yTgS98q3s0e5UsFWit/+nNsE8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3018 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_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Laurentiu Tudor The patch series addresses various issues showing up on DPAA2 driver bring down, fixing scenarios such as kexec, bind/unbind and halt/reboot. Most notable change is the addition of the .shutdown() op for the DPRC driver. Laurentiu Tudor (6): bus: fsl-mc: drop useless cleanup bus: fsl-mc: fix a use-after-free issue bus: fsl-mc: fix double free of the root DPRC fsl-mc device bus: fsl-mc: check for null irq array bus: fsl-mc: move uapi misc dev create/remove in probe and remove bus: fsl-mc: add .shutdown() op for DPRC driver drivers/bus/fsl-mc/dprc-driver.c | 61 ++++++++++++++++++++------- drivers/bus/fsl-mc/fsl-mc-allocator.c | 24 ----------- drivers/bus/fsl-mc/fsl-mc-bus.c | 34 +++++++++------ drivers/bus/fsl-mc/fsl-mc-private.h | 2 - 4 files changed, 67 insertions(+), 54 deletions(-) -- 2.17.1