Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2344607rwb; Fri, 16 Dec 2022 00:18:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5w+Cxza9oXdVTv9QW2SxV/grbxMhyBh+xiegxN6+aQxQznz00y/sxvKQQZAjX9xyyQDsFf X-Received: by 2002:a50:fb99:0:b0:46b:3943:7387 with SMTP id e25-20020a50fb99000000b0046b39437387mr27474308edq.16.1671178708690; Fri, 16 Dec 2022 00:18:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671178708; cv=none; d=google.com; s=arc-20160816; b=eDVEQyfaGPYn3aMqNowUAojcM1oBYWLIvg5dSQDfb4zhXz7BVsTRi3hCHiILcLTnZx zrgh8Em0SQo4rucZ1bcGHrjK2ImnCXra0HNHjemxTDVA3cZa+S8vaPw1q5rdLzyLthfO 47eeHhQgYBidHFVemy82ybgm9MoB0GzRmcM5u4MxtAiqAgvXS/YWT2XRPfPXkSHXM/Aj XoMHcDCMRK3MszfZzrHHq9NDKVcDUgufLnqCWCGL8sUCERsFZsyTrZX9WV5UjA5ccR4n CfXxi5p9F7RDPVX0vn7J89eJxZNyqQ6JTFO7glK9qQ0iAGCRhHNIdHbgU8yP/TgYemrm M7Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8blW/F/+PwS1X5UjK3Cc7amh31WnyYbXAljrienDktY=; b=vE2rGFG6fpjJRN/TPoVBvw0gtw3hJUsCEhL+wgb0zQ/4sf9yph89bnniNm2xzmUWhJ QbEjaYwSmo8oEysPA/WbFYO8Rk2bWvFTF242xddTbq9RnVBWSqPnhNmE/Ac8Vozj7Ptx bq5qExpZ8GJXd0v80AaA4/T4Evojxb9NWEXx3zPUcywA1XCy2ss8pBwBsYz/9B+Qzinf /Jgiom1JWcfPu2lpI+CkPLgGEw4tMMepfXc+V1/qhhZIUW/4nMsAgoV08S13dqZadS/I iQwYv+StUhvKs0EWGEb4EhKRKTdYl7juS/tEIhWoNJOgRcQX/YRJ1ze35hiZ//o4zWQG qmeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=E5OMUfst; 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 t6-20020a50ab46000000b0046b13a6c40fsi1703060edc.54.2022.12.16.00.18.12; Fri, 16 Dec 2022 00:18:28 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=E5OMUfst; 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 S229620AbiLPHkO (ORCPT + 68 others); Fri, 16 Dec 2022 02:40:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiLPHkL (ORCPT ); Fri, 16 Dec 2022 02:40:11 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 438413B9DF; Thu, 15 Dec 2022 23:40:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=8blW/F/+PwS1X5UjK3Cc7amh31WnyYbXAljrienDktY=; b=E5OMUfst49yaCfkqXi77SZaxJT 0H2MxSDDIR0HbIiad0RvN2WLGjqw/Rj7X4um9Swgb4Yp3aupHCobR28+O6bVV+bF+AV2dFzCKP+g9 d76Hvr7umyrkD2EbX1FjwwB60EiiYIwH6D96oIr2fuks0pBvn1yh1ZOmwgwpwKPixL5RwMQIUfmPV po1+ZVueIWcbMfwp0zOkSHb8fPV2DSADfFkcP5UEf33/Mnz0juOefPyMz3sEoaDB4E7ax3+ixF00L PTb7IBzIXnWLxNmCWvflpKt+2FMBnOkThFcHplIJQbmRFL002F8uLZ5x4Ek8lqGV4L2Q7qDaAOjhT V+A9amNA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1p65Jm-00DPrG-0W; Fri, 16 Dec 2022 07:39:42 +0000 Date: Thu, 15 Dec 2022 23:39:41 -0800 From: Christoph Hellwig To: Serge Semin Cc: Robin Murphy , Christoph Hellwig , Serge Semin , Gustavo Pimentel , Vinod Koul , Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Frank Li , Manivannan Sadhasivam , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Alexey Malahov , Pavel Parkhomenko , caihuoqing , Yoshihiro Shimoda , linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 23/25] PCI: dwc: Restore DMA-mask after MSI-data allocation Message-ID: References: <20221214235305.31744-1-Sergey.Semin@baikalelectronics.ru> <20221214235305.31744-24-Sergey.Semin@baikalelectronics.ru> <20221215092721.tvz3hpaql3kotgnu@mobilestation> <07ec7610-f1be-9b5c-416d-17781a22427d@arm.com> <20221215235218.wsuwy5uckqfxjnb6@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221215235218.wsuwy5uckqfxjnb6@mobilestation> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Fri, Dec 16, 2022 at 02:52:18AM +0300, Serge Semin wrote: > Got it. Thanks for clarification. I'll resubmit the series with only > the streaming DMA mask restoration. Note that even for that we need to make sure there are no outstanding mappings when you change the mask.