Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp534069imm; Wed, 13 Jun 2018 04:37:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLBEslSIMB1HI5u5zBjVx1hOWsN5GDSq+pmQW4eQqZft22oTA0g4HcYEJsI10LiKDSb0GIE X-Received: by 2002:a63:84c6:: with SMTP id k189-v6mr3858012pgd.49.1528889859146; Wed, 13 Jun 2018 04:37:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528889859; cv=none; d=google.com; s=arc-20160816; b=G/hGZ6L2cCCPG4NyrCpe1DuMubSx3+vQDYwjUeuYGD7AlB3q+EH67V04lGwnJ9vYot q//v4qLWGsoROOKP0eax4dtPsPLMvwHvhLAopFwihFJAjnwYycccQpOptmk05biZklTL 8TfscPDg99fpc9I+P6VnRFCz92U+/eQS0o+KrhqPunmgUZDUW9YhGLMo4kt4MVmnd7D4 5xwRPRVNKeUw/H3BRQIOXM8/yYuNguy9uYnfdArk9GXokFW4+9i7XBjjrFfr7oECx3hM BYOYiOXo+o1AEZnKYsqHbQUliJl+RnZutPFlL8RlQeHSydoIZEX34kyo123SecUYnPJw QxPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=xTR7jy0yOwi9UymdwpuOO9kNU3M5xEqY4Pw1gfOytRI=; b=Qiosh9bpT2XWNVhC1JKrRrkYn9AbL+WGoBQSJukpscsqBERX8/9sf1LuDGjy9mCsUG +KB2otyeC1unzTA2cX7r8aF9hxt6CaQ4PeSCf6GXJFNevReW2aAL/8dx4260/Rk2eC9N G3HfYT8Vt9NrZhDneJZepqTK3Xt5pMYaqV5N/VLoUZmgJzyaSpKDz3LfXZtR+gtQZvDD zM7Jj7/1UDI+qVU6BoysDxdAyRA051nHJRpNyCzTWfTWs+pKjpwroRL0EFTtWcHry66c avon/EpxKT/18XpQMV7kf8QrXk+xIBP5OTpLSvqxSxPe9f6PryRW9jGznqK818sBqSO3 ++Jg== ARC-Authentication-Results: i=1; mx.google.com; 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 a10-v6si2680495pls.480.2018.06.13.04.37.24; Wed, 13 Jun 2018 04:37:39 -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; 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 S935394AbeFMLgx (ORCPT + 99 others); Wed, 13 Jun 2018 07:36:53 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:39719 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935246AbeFMLgw (ORCPT ); Wed, 13 Jun 2018 07:36:52 -0400 Received: by mail-ua0-f193.google.com with SMTP id n4-v6so1475781uad.6; Wed, 13 Jun 2018 04:36:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xTR7jy0yOwi9UymdwpuOO9kNU3M5xEqY4Pw1gfOytRI=; b=lUAhsFhnGXLm4u+dsDnQpj4gGWaCaZkTG91AAP1I5zImLYTvyBioG3VnV8pXmeoNeT +stZ2RK+55YOq3Y1/5Ne2/4201bW82orOTN1hHAy2Bjts9HQ3iBVZNY4MtRBrZMomz5N MVg57wrNg/NOdWdCw2ezGRcu0pueDnzQ5KtR8PKKxI/Bfmw8619DRjcllrRukF4IdsO5 NPNBZJRFmcuJN3CVxrimmoFVwUDDZOgKHMZIGumR+jsi2+OhOXBZxpDR0qYAPB1nF4wE O61zt07ggMpH9bTjwQVW9egjX9cQg3Bmy5FFeexupC9S/wr+FSQFvRrzOdJToTRIMiHp glGQ== X-Gm-Message-State: APt69E3KthqbC5Q+N0bppqkjxG5lfyzmOTSPUPtPFfED9TRDurse68Ii XyRDslZqG8UfWGEpFaILwN+a/9R3aKi0hlwV3OM= X-Received: by 2002:ab0:48e1:: with SMTP id y30-v6mr3009136uac.180.1528889811049; Wed, 13 Jun 2018 04:36:51 -0700 (PDT) MIME-Version: 1.0 References: <8736xrkrci.wl%kuninori.morimoto.gx@renesas.com> In-Reply-To: <8736xrkrci.wl%kuninori.morimoto.gx@renesas.com> From: Geert Uytterhoeven Date: Wed, 13 Jun 2018 13:36:39 +0200 Message-ID: Subject: Re: [PATCH v2] dmaengine: rcar-dmac: don't use DMAC error interrupt To: Kuninori Morimoto Cc: vkoul@kernel.org, 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Morimoto-san, Thanks for your patch! On Wed, Jun 13, 2018 at 10:49 AM Kuninori Morimoto wrote: > 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. 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? How to maintain host/guest isolation? > --- a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt > +++ b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt > @@ -38,6 +38,7 @@ Required Properties: > - interrupt-names: one entry for the error interrupt, named "error", plus one > entry per channel, named "ch%u", where %u is the channel number ranging from > zero to the number of channels minus one. > + # "error" interrupt will be ignored, so far Again, DT describes hardware, not software policy. So please drop all changes to the bindings. With that fixed: Reviewed-by: Geert Uytterhoeven Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds