From patchwork Tue Mar 10 11:32:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Gong X-Patchwork-Id: 11428395 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 47CFD14B7 for ; Tue, 10 Mar 2020 03:32:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E4172071B for ; Tue, 10 Mar 2020 03:32:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="LyLsxOJm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgCJDb5 (ORCPT ); Mon, 9 Mar 2020 23:31:57 -0400 Received: from mail-eopbgr80053.outbound.protection.outlook.com ([40.107.8.53]:12903 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726265AbgCJDb4 (ORCPT ); Mon, 9 Mar 2020 23:31:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BXGqGFY/oJb0psAMJTVwvos3HWv79F5jaCljLL9P3TsjJ3F5SyKtqf7X3Bb8AWuQ73Bl4gZc1DFeP4YXJz2HXqXH+SRgDGuRD1mD35ofYGZhbOT+ZwpsdKKQ4f3DZEapsUKqGwOcgmnQ9oNL8hF6Ac6DNBPnm6GLoB8Hzh/g5Jb6NnFQIc0c4yh6Oeow38A8c4DKqOrILajlGr43tBq4Gifhgfp8XHo7k7s1nisXD5Rm5TMIYUQtxST8e9bP2/6DQ0zsPs2uTnC3uQINWLxhRr2OW21WTu52l8532MXmoNbgpbgf6hDhoyBpR9MwacCqktQghP55OgzXt10ZlClbKQ== 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-SenderADCheck; bh=jFMiMbOLM2v65YRlJ+RXVBgXYhwuGIUpMeWPV7yKShw=; b=efyAGKkwQdYUVmWKqcRtOm5rz9N4pfAmzX5jH0c8GGH+mOpxKkQT3ByquWVgWkT9uI9kfJx1g+7VuytUTcSpOwI1QPeuDrvltu28tPWlz2RPxSWTNZGRMJ2f0h2eSIFYquKbUYCRmVWBu2YfzczKWcbNV3Foo7kBarSPf1kVLCJi9Oy+u81yZEZiHXZL/43kwYFvbQxlTXwsZfFxU47rCVTenGDYI/cXzl3CmETW235CPHl8zOFjOqLIkiQV9ZCCM3WzDPqc7mNR1xIAgAy4aj1Yur91vUyVP962mAGDOx1A4T5oaAtMVq4nboi9lQR1XdWjaROWSwkqCUOTeUthJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; 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=jFMiMbOLM2v65YRlJ+RXVBgXYhwuGIUpMeWPV7yKShw=; b=LyLsxOJmu16EBocBjuGkTMBHMid2HUxp22L6nyrLz31iQGzwMDofd9zPyafEw1idUBPrgDFKwmYcphB/l4cJ/NCkDOo7lTv57nv407aPcScmyXIdG3bsjAc2/UlQxJEubtUSAkpNFn8LD3jNOYIMRGxaUnFmeVw5aIxoObjIneE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yibin.gong@nxp.com; Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (20.179.232.15) by VE1PR04MB6621.eurprd04.prod.outlook.com (20.179.234.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.17; Tue, 10 Mar 2020 03:31:53 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::490:6caa:24b:4a31]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::490:6caa:24b:4a31%6]) with mapi id 15.20.2793.013; Tue, 10 Mar 2020 03:31:53 +0000 From: Robin Gong To: s.hauer@pengutronix.de, vkoul@kernel.org, shawnguo@kernel.org, u.kleine-koenig@pengutronix.de, broonie@kernel.org, robh+dt@kernel.org, festevam@gmail.com, dan.j.williams@intel.com, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, l.stach@pengutronix.de, martin.fuzzey@flowbird.group Cc: kernel@pengutronix.de, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND v6 13/13] Revert "dmaengine: imx-sdma: fix context cache" Date: Tue, 10 Mar 2020 19:32:02 +0800 Message-Id: <1583839922-22699-14-git-send-email-yibin.gong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583839922-22699-1-git-send-email-yibin.gong@nxp.com> References: <1583839922-22699-1-git-send-email-yibin.gong@nxp.com> X-ClientProxiedBy: SG2PR06CA0241.apcprd06.prod.outlook.com (2603:1096:4:ac::25) To VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from robin-OptiPlex-790.ap.freescale.net (119.31.174.66) by SG2PR06CA0241.apcprd06.prod.outlook.com (2603:1096:4:ac::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2793.15 via Frontend Transport; Tue, 10 Mar 2020 03:31:47 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1f8382d6-54c9-4693-f51b-08d7c4a39352 X-MS-TrafficTypeDiagnostic: VE1PR04MB6621:|VE1PR04MB6621: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:59; X-Forefront-PRVS: 033857D0BD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(39860400002)(346002)(366004)(376002)(396003)(199004)(189003)(4326008)(8936002)(6666004)(8676002)(81156014)(81166006)(4744005)(2906002)(5660300002)(2616005)(7416002)(36756003)(66556008)(66946007)(6506007)(52116002)(316002)(956004)(26005)(478600001)(16526019)(186003)(66476007)(86362001)(6486002)(6512007)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6621;H:VE1PR04MB6638.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K0T+rsMusn3LlXYy1TcndzbdDeiGOtx8JsShRHKAQnUukbChGGVvafU7MfAaS4Vl8Y+K8QTossCWYHdoe10R9f2CdRTfjpe2SirdQp5l1XoPypgbbiFpS2uAQhCoY/ciuvXV8A3d4dPiN0PX5rBTm4pDaE1Th30abnOfXvI9Jzd7Iy+JSLYmPSy9pzCsXKQDF/wKKdZexWVafeEZef8M4rWoo6PaZHBMNs+Lvp4pxXr/hOu0K1HPFtGWCpo8zEsWD2vNcwu4sFheJYjQJhhrQyaOlOjuqe4gzuUwQPAEdvXNRo32Xc/oUB/odQkKuy8bt8MPBax00Ol3aGScOhkCZ7+nwMHhyWi1LfmKkLwepA5a8/KaC78Xx93oCTTXUr3KFGm8vRlYqwD8hP6oHIxQn5LrxdeKqE2JWuVXOQ6jDZ689KMUhNvCc9Ij+0djid1mCxnj7cJzv8eFjL2T27+lf60nf+hqbj/ZyiPUkw2/ZzDPLAbJt+mc6D0vfb9+RT51 X-MS-Exchange-AntiSpam-MessageData: kIhhF7v49IKXnFLL8lgtUjsMyj7cr8oOEVztSRU2zsvMZ263E9EKENiKSqLs4ofswlLeyPLaJmDeqP6ruxKsvGAqxdBImneEQIiqBMwi2tRVeYTg4YJmyonwLgzMGW24vWd6lZqGsS559dwYMl1/qw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f8382d6-54c9-4693-f51b-08d7c4a39352 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2020 03:31:53.1722 (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: A+X3vln9vz1zwgs2JQNWmWmXRBa3wksjjbt7lLLUKWRVCyCFC/Tfxm/+KKbceXF5f5ipWOQume63mmWe2PHnnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6621 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org This reverts commit d288bddd8374e0a043ac9dde64a1ae6a09411d74, since 'context_loaded' finally removed. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 042cfbf..1abe4bd 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1380,7 +1380,6 @@ static void sdma_free_chan_resources(struct dma_chan *chan) sdmac->event_id0 = 0; sdmac->event_id1 = 0; - sdmac->context_loaded = false; sdma_set_channel_priority(sdmac, 0);