Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp307758rdb; Sat, 30 Sep 2023 05:32:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFptKibyOg837JsuHEH4hivMcr3080SUgYSvDeoIR/o/NvxhfIsuPb9tu5y34W8ZiVR2mwq X-Received: by 2002:a17:902:e80e:b0:1c2:193e:1126 with SMTP id u14-20020a170902e80e00b001c2193e1126mr9972837plg.28.1696077123797; Sat, 30 Sep 2023 05:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696077123; cv=none; d=google.com; s=arc-20160816; b=uweFMqTUA1foRNRyRaEHOmn+6a0iC6SjhBqPw14XOnG8C+cMTe4fO/gfsvyMt5roy/ Khyd6A4MN9Z/ussdoq2KI0ss9O38ToGq6JtfYCHbd3yR0QzZUZ9SYAQvfv1B5EZmMGZR v57IO7Iy717+nSuKmOY4AcbTdoRn6NvdqOOGZ2yanRW22vl93UD0cEupDM3kgtV4afLj bUIsKT76wGk39FXQH/bk7R3yB4mcL1uU8AqjQrxDxJEDS7mK6LqX8iPaMu1e4MvZ7vIh 47LC10NPegI0yVMRUOKTkAVwMxus6WwElTypAZWcddZPD3OYlkeiSCZgX05QIkqBIA7S ivUQ== 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=puvpdCpw/akalfpB06LlCLbGAZqWjp2YPFIaOi8Cxc0=; fh=dt7ydZBcGBQSwZFUrZTWm6xxuG+wlpCJZdh9F5w8YVw=; b=r/NdYG3p6C6vUPUjr2IH8AfuhLbha21MBEjZvoB1E/CTY+2hjGbhuuRPteJzRIuSFB annNkuI1snMxoCHKrN8ZmZeNTtpIhtO3a79zoqKPNT2qRiN7iebxAez95kgLB5zuj+Z3 8BcwkF6sMxzpxb0NWiNAs/aeLk6bZ2ZYyDDZ/2CrLmHSDezgFLv5oYrk6FwTYOkbqt0K OZxdH99MAM4fJKLKb6KkwkRDxGrCbUDATJXaVo9vuri30V0IiYAvKO0jtxQGACu0v5E3 rRBot7wm936fsYnepzSATS3o+Xj8Avq/dIXaAvnWGP9msPtQ678cjUoSMLyMxAO+OzNP RTUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pHUqL8Tw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u3-20020a170902e80300b001c72476ca30si10504884plg.281.2023.09.30.05.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 05:32:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pHUqL8Tw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A23B1822E54D; Sat, 30 Sep 2023 00:07:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234074AbjI3HG4 (ORCPT + 99 others); Sat, 30 Sep 2023 03:06:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234054AbjI3HGz (ORCPT ); Sat, 30 Sep 2023 03:06:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F033FA for ; Sat, 30 Sep 2023 00:06:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A607C433C7; Sat, 30 Sep 2023 07:06:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696057613; bh=DSppv+puotLzLGa9P89I9XPs6L6xfrHSkKaipjzNnGQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pHUqL8TwN9w7SazoLtaCEqx9fopxIPS332QJ2cXRvzKbhE1Y+6HBQB9m3F5/fmgpP /9ELdRLGy84YrjfifmI7G4+kmtLvUcm2NAF60WeZ0xDWTK51WyEpzDNckE25aVRl9l uQABzr9h+gKVMkQMccQWZzQGFCT6LV/Bb2ux0uZ4= Date: Sat, 30 Sep 2023 09:06:51 +0200 From: Greg Kroah-Hartman To: Chris Leech Cc: Christoph Hellwig , Rasesh Mody , Ariel Elior , Sudarsana Kalluru , Manish Chopra , Nilesh Javali , Manish Rangankar , Jerry Snitselaar , 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: <2023093055-gotten-astronomy-a98b@gregkh> References: <20230929170023.1020032-1-cleech@redhat.com> <20230929170023.1020032-4-cleech@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230929170023.1020032-4-cleech@redhat.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 pete.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 (pete.vger.email [0.0.0.0]); Sat, 30 Sep 2023 00:07:08 -0700 (PDT) On Fri, Sep 29, 2023 at 10:00:23AM -0700, Chris Leech wrote: > Make use of the new UIO_MEM_DMA_COHERENT type to properly handle mmap > for dma_alloc_coherent buffers. Why are ethernet drivers messing around with UIO devices? That's not what UIO is for, unless you are trying to do kernel bypass for these devices without anyone noticing? confused, greg k-h