Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1132789rdb; Sun, 1 Oct 2023 23:04:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH165+hFA80/HyDbCYYvtUpfmb7NmfrdyorAtMvKRMUFSu9oam27xSf9u8f8vZ+RPyj5dlI X-Received: by 2002:a05:6a21:66cb:b0:160:ec7e:ec07 with SMTP id ze11-20020a056a2166cb00b00160ec7eec07mr9751987pzb.58.1696226689908; Sun, 01 Oct 2023 23:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696226689; cv=none; d=google.com; s=arc-20160816; b=YcPZhriOajNWMnzNq8BnWDlEyCNvnGb4Vb6zWYvjKFhfLwi/n2pXWiUzrInUOBSIPo qWmpYa5mPmJvNbLUQVxFc1ifBXlNLyU+Lnn2E/L7fMw1uoAzsJvgEaRDQR0GEYg6vxpY aCGgSO1OJxWUGdMeQJotjuRTgJcDb4BHcAQZrN6Es+sOSPSRNK6vEe9fKEYJ8yjUXoaI mYqS9w/J50NJzwabMtnd0Mlj8UW3bZEdR67SCZV90h8m87g4CJwIABjMaiTvGyeJD2Pp l0WiLmvT+WqaooiAR5uDsWjEEHCRjHB3p/D92D8MeMtPdprq72cz/JHkOFmWhhv9mnTr RlNg== 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=/Zo3NLzMgsgHQyjeXaxifxpfPoHBYXdLRloECJseovk=; fh=5mq0YiSkf/gOWWQxGm/Sg805P5jv5sHVJEqbNpHJoX8=; b=Q+NzzMpyZVIppkQGS0X99P8rxZmi0NrJtcIrkfqEysSSvt31kNk9a2+F6petosavkx 3JFdPDzVM0oCAe0PNcogZPOCcOdHgMAJ/oHGtC4NVll+Z/YVFda+3m1ZTcXkY/ateVQA +wUydKZko/+Pe6V/achovwxFvPm+XJsAJjK1ESNxrmpGEP7nss79/7cxZc4FSiZj3We+ f9YRgOrxKpHCL+wkfZDA9V7HTcoeGlyvYAEMVLwxmgXn6OvA4hUT5eyVrY2vHmLKhIUm IzPC3uXmmGMFsBM/mpLoBzRVBDrCIVGBnbX+6MS69NujZ9IPuDX/SyGcZGGzEC4HZ7ts b2MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id eh11-20020a056a00808b00b0068ace3816d7si26247592pfb.387.2023.10.01.23.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 23:04:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 4FAE280A498E; Sun, 1 Oct 2023 23:04:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235441AbjJBGEh (ORCPT + 99 others); Mon, 2 Oct 2023 02:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjJBGEg (ORCPT ); Mon, 2 Oct 2023 02:04:36 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 755B39B; Sun, 1 Oct 2023 23:04:30 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 0C27A68D1C; Mon, 2 Oct 2023 08:04:25 +0200 (CEST) Date: Mon, 2 Oct 2023 08:04:24 +0200 From: Christoph Hellwig To: Jerry Snitselaar Cc: Greg Kroah-Hartman , Hannes Reinecke , Chris Leech , Christoph Hellwig , Rasesh Mody , Ariel Elior , Sudarsana Kalluru , Manish Chopra , Nilesh Javali , Manish Rangankar , John Meneghini , Lee Duncan , Mike Christie , Hannes Reinecke , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] cnic,bnx2,bnx2x: use UIO_MEM_DMA_COHERENT Message-ID: <20231002060424.GA781@lst.de> References: <20230929170023.1020032-1-cleech@redhat.com> <20230929170023.1020032-4-cleech@redhat.com> <2023093055-gotten-astronomy-a98b@gregkh> <2023093002-unlighted-ragged-c6e1@gregkh> <2023100114-flatware-mourner-3fed@gregkh> <7pq4ptas5wpcxd3v4p7iwvgoj7vrpta6aqfppqmuoccpk4mg5t@fwxm3apjkez3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7pq4ptas5wpcxd3v4p7iwvgoj7vrpta6aqfppqmuoccpk4mg5t@fwxm3apjkez3> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 01 Oct 2023 23:04:46 -0700 (PDT) On Sun, Oct 01, 2023 at 07:22:36AM -0700, Jerry Snitselaar wrote: > Changes last year to the dma-mapping api to no longer allow __GFP_COMP, > in particular these two (from the e529d3507a93 dma-mapping pull for > 6.2): That's complete BS. The driver was broken since day 1 and always ignored the DMA API requirement to never try to grab the page from the dma coherent allocation because you generally speaking can't. It just happened to accidentally work the trivial dma coherent allocator that is used on x86.