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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B631AE7735F for ; Sat, 30 Sep 2023 07:06:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234096AbjI3HG5 (ORCPT ); Sat, 30 Sep 2023 03:06:57 -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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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