Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp40021rwb; Mon, 26 Sep 2022 09:03:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6w0zXI6Uai3rVHS5OqUrXyjK00YseZv0cJ/c5fBcAkUi9hUJCf4hz8xEjP/9wIl1WmtJCi X-Received: by 2002:a63:1e21:0:b0:43a:b17f:cd13 with SMTP id e33-20020a631e21000000b0043ab17fcd13mr20497333pge.553.1664208186700; Mon, 26 Sep 2022 09:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664208186; cv=none; d=google.com; s=arc-20160816; b=cde/5LN6iKqG7B5q2fUM4p1+C8/+zvpCSOgqNUhhbRYhp+4wAONIAqQ0CYRtWv4rjF 646fk8yWEeS3GgPFf3ftKTxmkeE15CkfumYMEKUCm5fQ2A6JC/XYrKiWZFo9SjaHAckZ ct2IAfMP58g8ZiYWw137tWM0KI/csZG5xmNGba9ONfaPkPXbm465tG0iJst3UxKfknu7 QGnHxeGbOb4H5iNTYGJVTTI7s8bo4ArWLi0olbbZIju/dWywiNYFPEfYm2kXrja0d5rx NBKSMg7Wos8NJtronapQtP9jT9AH28HGa6r6DDhajMOi28Zheut1/H1WRq/N++eu3q/H WERQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=JO/JUxzfNgsw6Uul6tkYflLX0Tunu8SvxUhi8a7OPAA=; b=yqB7ku0Gy/9b2zI3vlz6eM1ZAnGE54S2UOX1D84ZpWO5iIhSCsDzhQ09xma0M4hCw0 2rwf5GZE83Olaug27IrdOPtEa2XOpQ4goLhN3qoOlnJ3Dkkxk2JLHRXZMp8C3EI7/V3F uJqtUCxcoIn0w8+jRtV4d/CMeCAJvvYKd/eQlStoIOTMPuXsL8Bbp4cvU8G7TQda728h vo19EYEEfm4hPg+KSwhRUDexWCRfH32ZPN4/knls8N+bFBZEuZ4X2MdUZWLZLPQ76u/X GH1BasCqWxZmwGA/SI34Qdby3OPY3u54Hd3i2cO3JFtn0rVFow6PTgmx01/cAG1ysk+3 FlgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a17090301cd00b0016c44b7c8c5si13875198plh.11.2022.09.26.09.02.17; Mon, 26 Sep 2022 09:03:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236724AbiIZPqp (ORCPT + 99 others); Mon, 26 Sep 2022 11:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233092AbiIZPqR (ORCPT ); Mon, 26 Sep 2022 11:46:17 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F37E7223; Mon, 26 Sep 2022 07:31:35 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 121DD68AFE; Mon, 26 Sep 2022 16:31:29 +0200 (CEST) Date: Mon, 26 Sep 2022 16:31:28 +0200 From: Christoph Hellwig To: Serge Semin Cc: Lorenzo Pieralisi , Christoph Hellwig , Marek Szyprowski , Bjorn Helgaas , Rob Herring , Robin Murphy , William McVicker , Serge Semin , Rob Herring , Krzysztof Kozlowski , Lorenzo Pieralisi , Jingoo Han , Gustavo Pimentel , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Alexey Malahov , Pavel Parkhomenko , Frank Li , Manivannan Sadhasivam , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 20/20] PCI: dwc: Add Baikal-T1 PCIe controller support Message-ID: <20220926143127.GB19031@lst.de> References: <20220822184701.25246-1-Sergey.Semin@baikalelectronics.ru> <20220822184701.25246-21-Sergey.Semin@baikalelectronics.ru> <20220912000211.ct6asuhhmnatje5e@mobilestation> <20220926124924.4vodhncnuaorrlwj@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220926124924.4vodhncnuaorrlwj@mobilestation> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 On Mon, Sep 26, 2022 at 03:49:24PM +0300, Serge Semin wrote: > @Christoph, @Marek, @Bjorn, @Rob could you please join to the > DMA-mask related discussion. @Lorenzo can't decide which driver should > initialize the device DMA-mask. The driver that does the actual DMA mapping or allocation functions need to set it. But even with your comments on the questions I'm still confused what struct device you are even talking about. Can you explain this a bit better?