Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp158513imm; Thu, 14 Jun 2018 17:25:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKy/t+W/ZrZ/FUE67KLILHsv5l1X4YzIN45SOf0r93zBEPUvLmV3LT2s1F/mRVo90JCvm2j X-Received: by 2002:a65:6612:: with SMTP id w18-v6mr1963667pgv.38.1529022341594; Thu, 14 Jun 2018 17:25:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529022341; cv=none; d=google.com; s=arc-20160816; b=Gw4dWksqTIEsT70+9MZ85SN+l4s1zggbZkeIAUbcPSDoNTdBW9Fnqb2f2CbHVwJ8UH QQWMODUx9zTHjMNQ0MiW1O9wDTU9tb9YrfUyarvjtwSnIf38fKd2GDF3g1cG2XrHRGDp rpPoG8DcAWBFS8sV35caeXoVppgoLRYAKZNuscFyuZSQTWg1dmorKWEDvWghH8ENae6Y LL5J+lc4/bU3He7ZybUiWlE0g9h7XzJ+r0uD1aYASLLRW8vYglM/QcbypucF0KIBb18r LIR2zKEbAbxseiDWwUwshbmIWIVURN5WoFiE2sAfn9wW1QtuFKUjPRoMnJj/ADQM01cm STTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:date:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:dkim-signature :arc-authentication-results; bh=ih9YHZIqTeWOOytEPiCt+ToblpjBTdVcAjhIVuACfTU=; b=VQLXzF/Rx3k/uF/ZoGXa62TDQM6+a+ZHMgU7mAqqCikjBn5u4RIIJqIz4AtjguCSQD YQgOr6YooJodbuClcDS3mXjtrlSuCIZaxL8Up9wWedvLUpVaWynJmzmLVCvYXl1WA2Wa yp1VfeYmDdfCnshVV+intS4k5pAkvJ7LYcUFp3wVgQaXbozUkfxvTDGnoxB7Pa/AluwO 8lEpn8qQMwvPihoONmFoiurmr6rZaNQjAz9Ki21FMHkLA9RkPRA2fjTO2Kbsv3b45BQF 8+KfImQvrYvAVgQ3ggLg0tGg+pKZ5EiX8CZzaBVoYB1RfKnVCSvC0SV1clJnLK3ticFs Ml6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@renesasgroup.onmicrosoft.com header.s=selector1-renesas-com header.b=FZMZ2INv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17-v6si6572955pfi.179.2018.06.14.17.25.27; Thu, 14 Jun 2018 17:25:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@renesasgroup.onmicrosoft.com header.s=selector1-renesas-com header.b=FZMZ2INv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965350AbeFOAZA (ORCPT + 99 others); Thu, 14 Jun 2018 20:25:00 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:42680 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965143AbeFOAYx (ORCPT ); Thu, 14 Jun 2018 20:24:53 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 15 Jun 2018 09:24:50 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id D197068DFB; Fri, 15 Jun 2018 09:24:50 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.51,224,1526310000"; d="scan'208";a="284051384" Received: from mail-hk2apc01lp0208.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.208]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 15 Jun 2018 09:24:49 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ih9YHZIqTeWOOytEPiCt+ToblpjBTdVcAjhIVuACfTU=; b=FZMZ2INvf31nqstq7WeOvO6ND0Y3r8G0IZV7mWmEv0r+8o2qhw0knUPD4etLleEaDy5tsoKyfbGA9UrJI38JQf++cDASKAIjXQPg9hbq6ti0FIl/d6krtbwbEn3q1caD+MyLEVouGNeGjDcxL7zZhlqzPmx7N25b4lOQilrZ62s= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.138) by TY2PR01MB2073.jpnprd01.prod.outlook.com (2603:1096:404:e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.16; Fri, 15 Jun 2018 00:24:45 +0000 Message-ID: <87po0ssxx5.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Vinod Koul Cc: Geert Uytterhoeven , Dan Williams , Magnus Damm , Linux-Renesas , Linux Kernel Mailing List , Laurent Pinchart , Kieran Bingham , Geert Uytterhoeven , dmaengine@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH v2] dmaengine: rcar-dmac: don't use DMAC error interrupt In-Reply-To: <20180614083425.GA25852@vkoul-mobl> References: <8736xrkrci.wl%kuninori.morimoto.gx@renesas.com> <20180614083425.GA25852@vkoul-mobl> User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Date: Fri, 15 Jun 2018 00:24:45 +0000 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: TY2PR06CA0026.apcprd06.prod.outlook.com (2603:1096:404:2e::14) To TY2PR01MB2073.jpnprd01.prod.outlook.com (2603:1096:404:e::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9189457d-c04c-4615-17c1-08d5d25665db X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:TY2PR01MB2073; X-Microsoft-Exchange-Diagnostics: 1;TY2PR01MB2073;3:QHuBSLHG1Qs68X7vTL2uDB/hB8J8XZg0AtdN45dofLZf/fURKxZARJmpSNzsUkycxT7ll3gaUxyc0xxnkDcYfmgQKKMgbAF0TqhByR55xOYVesl6nCSqNnh522vj4A43+/iU+OZNQ7aSWeNKrjjjJ2lmpsrI6nZHcQnkZN3eseVtAR3ZarB+lIzW6fYU9Wlmm70amyrDsWMEE/zOTQxvPRKMP6qY2poSKtid5XfefZua8SK/GVcQqg7df7rJg8FQ;25:PTHDcFrm8WBdTtBAnQdBuf9SBjF3k4jR5XpGMV2gY3K2EIz4N1GzLi+J45TS4P/++kJmvoh7Isxg/HuHL6ojVzIje/6JHFX3jte2f+P1tv/Yb1jgd4a/jMfJdLButSlzaSvSoAMFxki63Z1aXsXk+80N1kQ1c10Ut3xVUe6At31OZc0htzymVmhknIGUT20lnUWXJmM859QTEDDA1HYeynpQ0akVNlgxKgRlv5B1idTppvFn4SP5Absg2y+X59uNNxbXw3C+NVd+/hK29UxXW/Ym9EfOcQNQuVQ1AtidsZbO5BG57Fg5CDeMp4kRVdFsdtAenG7cnBhFX44U1P0nZw==;31:cnG0HFu01q9+Vl9HNQLIiaz+ohv2OX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-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:TY2PR01MB2073;BCL:0;PCL:0;RULEID:;SRVR:TY2PR01MB2073; X-Forefront-PRVS: 0704670F76 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(346002)(396003)(366004)(376002)(39860400002)(39380400002)(199004)(189003)(2616005)(476003)(66066001)(47776003)(446003)(2906002)(229853002)(16586007)(316002)(345774005)(58126008)(26005)(54906003)(956004)(25786009)(4326008)(39060400002)(53936002)(97736004)(486006)(386003)(6486002)(6916009)(50466002)(6246003)(68736007)(81156014)(86362001)(106356001)(105586002)(8936002)(6116002)(53416004)(305945005)(8676002)(7736002)(16526019)(7696005)(186003)(81166006)(76176011)(5660300001)(3846002)(36756003)(69596002)(23726003)(11346002)(478600001)(52116002)(7416002)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:TY2PR01MB2073;H:morimoto-PC.renesas.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;TY2PR01MB2073;23:BXNf/l7WTCxT7+AljTSjcrHiyzZsLHFgdTOKY4aEP?= =?us-ascii?Q?lH6VtsiZnUqKdPUSo7giO9gBrlhN0So+cmlZvYJvFDHMvAus0EvMD2GinPKa?= =?us-ascii?Q?HyXEze9X6MQgszU5bbN+gXKdRJ8x+F0uQIRTvTQLieVSlN8vDzl8CMRPwCdK?= =?us-ascii?Q?xIdmENjC+jJw4iAFcbO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3NrOkI7ddc7JOskF2QYhML99AmrVhfSCkLIn6R/oYyJpu1V8RiOa5hKbNYQYdXFQkwWy8xGDdgtU/ZTtO7lduxG+CpTASRoaYNWfNO23waU61S8e0tbLccZV5vz687VwT4QCsvbSlYyqY8XBE=;24:NGWKmScrAXVS70T62nfOWxQWadHmPnPluelGdxY089Va80ARa82+C4xRHqtWn2z9gJM9Yvj6K5lt8W+MVzsjZViaUnFwyxXjp9xKxtGW8IA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;TY2PR01MB2073;7:nyAIU0xxaxt9PiCDoORCfMHlImL84oQv4Ghut+KmXIox77xFK4npkQw4TIAzBe0uUIKFFIxGXNaSZL4bOiD7uoS0c6pUBMWQfJi3uIRlxBpzXu9DrSDjAO0Kpisp8FyJR2TA/Kxsqyb16vdtI5qdheHLvJne0loeG9yyvpnQQeCAHEjnl1JHbxZEUWf3CDa56oM6YDMf4HDMb20ebLy6rDifO1kdQ1awHSahcaHPBeaAuuTHEpjjVUnnKAorMCkg;20:l+GOBAzqlZROzUN3+QW/FePBhnMXgOzFh4TOvAO5UCm5bu/CQ1yhoVQt6GKWPssYIz8KQCyONuSMPl/EEQDDDzcQH5R1KsUKvO8FvOEjA/z0Ng3Hi+VCvOqLghyQ0L1WsVSP1teYrV9BG2CWoMCJgG46iaTDnJfT2fHKWyXvVgo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2018 00:24:45.9390 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9189457d-c04c-4615-17c1-08d5d25665db X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY2PR01MB2073 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vinod Thank you for your feedback > > From: Kuninori Morimoto > > > > Current rcar-dmac is using DMAC error interrupt which will handle all > > channel's error. But in this design, error handling itself will be > > issue if user want to use virtualization, multi OS, etc. > > This patch removes current DMAC error interrupt handling, and handle it > > on each channel interrupt handler. > > So what happens when you are not in virtualization, multi OS..? Who > handles this interrupt? Sorry for non clear English It has 2types of interrupt. 1) IRQ for Error 2) IRQ for each channels If error happens on some channels, the error IRQ was handled by 1), and "all" channels will be restarted. Thus, this patch removes 1), and handles each error on 2). Best regards --- Kuninori Morimoto