Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp166692imm; Thu, 14 Jun 2018 17:36:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLdmZ16dyiBXWgV6JfZuV/8rdlIy1KKSPDFkC2yu05Ba7EAqT0mN8xrtZdbdME9Z8YIiVKk X-Received: by 2002:a17:902:56e:: with SMTP id 101-v6mr5252516plf.25.1529023018430; Thu, 14 Jun 2018 17:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529023018; cv=none; d=google.com; s=arc-20160816; b=DS6Ul8wnl5VQis17rUZi/gVyDU/jst9PrFw3q2mihfWlpX0GfWVTHRKZg5373OiD/g ayMhtHhnqSMXJpqnsMsKwcDWcL0MOCKp4ITBopys1YMRQ2IGI7LWpUHrOlQmBT83jsoS +/DZxLRBp9OtF8ewQFkbgwW3gjQls8mXybNDqEzo6+BnhEuYbzfNmRT6V3SacYy5r5zJ q0W4Y2xB2CfxapeCbZnQblZBCrJ5UEZJIcvu3vICiFlk3ml76CadOjo2nbqjJGdYP0bn R3J7BUtrfBM7GLp/4q74bTQ6mFDIWoF16sJApCMQFk+LlK7I9F1H3byrXjNoKKJqXgyn swCA== 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=9jSIvgkFRGBqpcSlADE8sKkROc5uvfphKvp9BOS4lv0=; b=giWupIJs31j5tFMmYFjWC+OZswzNqoimCIU0YMe7Ncrw4fur4q7SyNdIyJMHyncqka zO2XDXaljOw6Lz9Cr/AbTKNH53mAbTYCURqv0f8gvu1cTPooMQIe2Jygtoq6CJ54SkIv l6IA8Yctrnbaomkq8ErjZHubg/TltdZNHtJvyw6WX7i4R7tgER4/H5kV6kwl/Vv567RG 59gmuf4Il4++kmoj7fN0TV6h5bby50XOJIjKzH9KpMVbvY7j5FOxpT7oQh6JndO0BOMs DBU9X7N5tnmXrM5Sija1LGxFQpCWwoNEMQSYFHHZJnUG6Y9s2NVO9RWmHbLUplH6+k9M 0pew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@renesasgroup.onmicrosoft.com header.s=selector1-renesas-com header.b="E//F70Pz"; 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 v4-v6si1509804pfm.151.2018.06.14.17.36.43; Thu, 14 Jun 2018 17:36:58 -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="E//F70Pz"; 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 S965341AbeFOAf2 (ORCPT + 99 others); Thu, 14 Jun 2018 20:35:28 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:31880 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965192AbeFOAfZ (ORCPT ); Thu, 14 Jun 2018 20:35:25 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie3.idc.renesas.com with ESMTP; 15 Jun 2018 09:35:23 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 8F5236ED3D; Fri, 15 Jun 2018 09:35:23 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.51,224,1526310000"; d="scan'208";a="284052276" Received: from mail-os2jpn01lp0147.outbound.protection.outlook.com (HELO JPN01-OS2-obe.outbound.protection.outlook.com) ([23.103.139.147]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 15 Jun 2018 09:35:23 +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=9jSIvgkFRGBqpcSlADE8sKkROc5uvfphKvp9BOS4lv0=; b=E//F70PzvQ1pmyeSoglNdDGsYIx+zMq/0agYF61X5bZ0DlOBMTpkXmrJQNjciYBg+KHDDm6ThPA1neaKo7lKP9/98RPZRh0a9osnemWQuUPYACIFLJ7wo3Kxe7M1ntJmVykp4Hg6jP1T/MqkyE+D0rpSBtpZqFlFzTVkXlYouvw= 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 OSBPR01MB2071.jpnprd01.prod.outlook.com (2603:1096:603:22::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.18; Fri, 15 Jun 2018 00:35:20 +0000 Message-ID: <87muvwsxfj.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Kuninori Morimoto Cc: Geert Uytterhoeven , , Dan Williams , Magnus Damm , Linux-Renesas , Linux Kernel Mailing List , Laurent Pinchart , Kieran Bingham , Geert Uytterhoeven , , "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: <87o9gcsxj3.wl%kuninori.morimoto.gx@renesas.com> References: <8736xrkrci.wl%kuninori.morimoto.gx@renesas.com> <87o9gcsxj3.wl%kuninori.morimoto.gx@renesas.com> 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:35:20 +0000 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: TYAPR01CA0075.jpnprd01.prod.outlook.com (2603:1096:404:2c::15) To OSBPR01MB2071.jpnprd01.prod.outlook.com (2603:1096:603:22::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 50d8a849-6704-4bc8-abc7-08d5d257e016 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(711020)(2017052603328)(7153060)(7193020);SRVR:OSBPR01MB2071; X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2071;3:SmF5tiC2CGma12R2qQFIFE5tUYf97LW0FRXqbGOlmUR2dXjSoKk3TLfCMYgNh28WyfByqjQE7SSz6B1Z+ICrTOt5tPp3/1dzxOjf5LaVvKfL7aMuYMlHwpEZibrYvNuqhvjfF+EzZWnj3pIeil97CLeZth2hP60AF6fNeqyIjhOVWjqyhJpaN04FbJ2BeynVCBCUXPJcWDRfNmpu68025ba/vBdpahSrY1upGgX90xheUEE+KA2k4l/BNAjIYo0g;25:5MAMty9koqzfXh3d+KEfNHdm+9fFKPdjhoDyZ/3BEtVcnQybo+RkOfgpeHdhqzmj/gkejZCKifavNI31MQzwg7+JPSrvZL7Ba5rP6tRM0pBEKpiE0ehj9jJHGqLqNYUbjgaQHfLS1F3wIF3yUTW1f+jLyxBcShvgZZhV/tWj6Fo9vZ1zERJtj+Dps+IZoJZeN1yF2SChEGHiEs0CpS8fKBg8CoHdbOcSNAnqc2mVHsGWUmJz38uDRelE2pW8hjRgMQlKsajxP/GpVxEbhqYNPp0usLLnyyfHBKJoN8GgdTSHG94fXvH08MwWvBvbkwz3A/JqYXOXSpUlMApYUmsL2w==;31:q1cvpmWvWiMDevWF+J/FWM9JheY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Antispam-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)(10201501046)(3002001)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:OSBPR01MB2071;BCL:0;PCL:0;RULEID:;SRVR:OSBPR01MB2071; X-Forefront-PRVS: 0704670F76 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(376002)(396003)(39380400002)(346002)(366004)(39860400002)(189003)(199004)(8676002)(50466002)(6200100001)(81156014)(81166006)(7736002)(26005)(6116002)(7049001)(229853002)(23726003)(86362001)(97736004)(4326008)(316002)(58126008)(105586002)(16526019)(2906002)(305945005)(16586007)(3846002)(106356001)(37006003)(54906003)(47776003)(486006)(69596002)(8936002)(66066001)(53416004)(446003)(2616005)(956004)(11346002)(476003)(25786009)(5660300001)(39060400002)(36756003)(6486002)(386003)(68736007)(6862004)(478600001)(7416002)(6246003)(76176011)(53936002)(7696005)(52116002)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:OSBPR01MB2071;H:morimoto-PC.renesas.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;OSBPR01MB2071;23:AafzTyIwA2tFmnLUTCBHkvZ7ukQLEA+SFJf4PAWSN?= =?us-ascii?Q?NISZu5Je5pQOEEuAyznNpuu4erLVIhWioQ9lRggmCUR29IbnOxjW+fVa/Qdi?= =?us-ascii?Q?Htc/sNKivQMXyNqSkX9Jhc7OQvEzaAXdAJUrNTHYNJFWrMFqfw6wnNhuqbll?= =?us-ascii?Q?03aiui3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d8/2a4qnGlqSzhH6FVKBQ/Vg9LiGrv2H8uJyc/7LZooD/2rjc+hk5g==;5:JAIc22kQevr1lyDer8xZykJDw+kLSMz1IXbthIpoClR5BajcP9EqceVOawQZHMRGPoCZKdJmoWw8IJAYXZrKcDHJjNiYWct1mrwOu34KG9eAVcCZ82apFQjmUY7Lp27rgDbY3IZca0oB0NlnVfzuzS+AACjPItfY+v8TBVPYDKY=;24:av0kO59djVbvajln58ZyYNpgVAcocTwQqFBnm1fO6aOscrJRBqTvkwl+uM2/5L9ur+cY9tR1hrWCCfcQO3FbaDgLpBTtwG1Bo6OoW0M8NRw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2071;7:k199y7Nf8fUfRudrLpu0I1a67fVN30L1zrDtwOzC39bQ9WrHIFVXyJN7yyBHqWXF447jwdyTNMiGkTInl48mgduq7Ub75OdzTusK772k78b7cbWJSZa8GBAxa2eveXyBDdJml9IQY1Iz0ToGmkuEpU4/MoC0eVC/KLmCD1XWLsYb7t+DL7kaHvHX33oDNs8fr2IqhAj2OIj/iqcnAEv8Sauj2gpphuBOhZAXda9JVP4tPk3LyDUrtHSM+PoNFKZW;20:RIJLSTp5hvb1Fswrzj3cmUYZUgj/Evzl4PQ+xVzV2CMuEP3ew/GOVNMxZyO9nA5yItxf3+JtaKBjGm2Fcy/vwtCDPaWeyQSNCIGJN34MvtaWyUAI6pJYkFyoaL7IfCiiRzM8SMAHY4NpLasaqDUYjifdUn3FTAcDNK3VQeTTFYc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2018 00:35:20.3706 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50d8a849-6704-4bc8-abc7-08d5d257e016 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB2071 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, again > > > 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. > > > > Just wondering, what's the usage pattern where this causes a problem? > > Do you plan to export part of a SYS-DMAC instance to a guest? > > "virtualization, multi OS" part is maybe misleading. > It will be problem on non virtualization, too. > > > How to maintain host/guest isolation? > > This is another topic/issue, I think I will post v3 patch, soon Best regards --- Kuninori Morimoto