From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BF60C43461 for ; Wed, 16 Sep 2020 19:56:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F00D820936 for ; Wed, 16 Sep 2020 19:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600286175; bh=gGkHjWjs9t1Y0tRqxb4uEA1F6lmm4+9IJ9If5CWfkNs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=sSupbwa5O79uOTkd4Lyd5rhoIQbyy+eOdYM82caipGPMaY3flPkDywaIbEtZdHXyT +x906QSaqGr9NN3mTYTbcwOwOlOK994A39OddKWEdeWbAIPKgN+HEWVniJ3FM2t7Yk 6+GMOxd82cYr78x+rQ5gPMn+U5WSV9UGTYnGNuQU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727262AbgIPT4K (ORCPT ); Wed, 16 Sep 2020 15:56:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:48192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727213AbgIPRgT (ORCPT ); Wed, 16 Sep 2020 13:36:19 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E48F20672; Wed, 16 Sep 2020 12:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600260490; bh=gGkHjWjs9t1Y0tRqxb4uEA1F6lmm4+9IJ9If5CWfkNs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cjP3VKTYnjltiS+BtFUMrZzU3rJT5mSlnTcc2sOHnE2VAYK7PI2/0iOlked/4d8U/ b1cVdjh1WgIU3x6ESQE+xqky/retMs+cmdj9AQ8VI0VZPTbL1f3iItlc9Mgh1F4Zaf UImnFttDfsD1rueURa06IQbf4nBnmjszy1MMFOl8= Date: Wed, 16 Sep 2020 15:48:06 +0300 From: Leon Romanovsky To: Benjamin Herrenschmidt Cc: Jason Gunthorpe , Lorenzo Pieralisi , Clint Sbisa , linux-pci@vger.kernel.org, Bjorn Helgaas , linux-arm-kernel@lists.infradead.org, will@kernel.org, catalin.marinas@arm.com Subject: Re: [PATCH] arm64: Enable PCI write-combine resources under sysfs Message-ID: <20200916124806.GJ486552@unreal> References: <20200914143819.GC904879@nvidia.com> <375c478593945a416f3180c3773bcb5240d2e36c.camel@kernel.crashing.org> <1d6f2ceb8d3538c906a1fdb8cd3d4c74ccffa42e.camel@kernel.crashing.org> <20200914225740.GP904879@nvidia.com> <2b539df4c9ec703458e46da2fc879ee3b310b31c.camel@kernel.crashing.org> <20200915101831.GA2616@e121166-lin.cambridge.arm.com> <20200915110511.GQ904879@nvidia.com> <20200915234006.GI1573713@nvidia.com> <701012f288231d0d0733bf1c2c8fdbd9caa074fd.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <701012f288231d0d0733bf1c2c8fdbd9caa074fd.camel@kernel.crashing.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Wed, Sep 16, 2020 at 05:59:24PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2020-09-15 at 20:40 -0300, Jason Gunthorpe wrote: > > > Like I said, the case where the driver can't self test probably > > doesn't intersect with the ARM implementations that can't do write > > combining, and if it did, the users probably run the out of tree > > driver that has the hacky stuff to make it use DEVICE_GRE. > > Ok. So you are saying to go for it and ignore that Mellanox case then ? > :-) Regarding Mellanox, as I wrote it in the beginning of this thread, you can ignore mlx5 driver. https://lore.kernel.org/linux-pci/20200910105419.GH421756@unreal/ Thanks