Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp309923imn; Wed, 27 Jul 2022 06:58:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uOgC5ervVTl1wTak3aHQSJK2P3kW5NRmHmgidEZditSjBx6+hvUCVMygtTH480hlvdKgbN X-Received: by 2002:a63:2205:0:b0:417:61fd:cd35 with SMTP id i5-20020a632205000000b0041761fdcd35mr18517821pgi.544.1658930329400; Wed, 27 Jul 2022 06:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658930329; cv=none; d=google.com; s=arc-20160816; b=tNBghfcYlT/4osP2QLF/urCVov1n6IN5EN6hqEM2T9YayzyN7hsTzk5q5XfnLuFat9 ggQrdcKipnOh1wLriFhbmcO8S5opxtqKza1U/tHSHn7aD13q0r4yJEWbaZX+xPBLrqx1 Ejawg4QpXxda/QkoTDYIez92XfIQ6UOF4pDr9b7vop/ZTXaGdbAofzmahRdIPBvnqm3k Oth4u+xNX6ijtf8G3daNg3vrtKW8m4hqIIGcdU5NNL2r/Oq1oTTuJ/t3HdGWURvN1pKr kMLCZgDLDE4DzFqfB9oqt34k3HB78ATaVQS3BwgpJsX1lYP1EAQqZyci8PWd2FLIGPed aJKw== 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=3knaD6zcd822vjIF9mUwY6Y2Qtr44vVDS9D01GlbZj4=; b=RSaAH/kLebtnawkuO4N34J5fThhXFu5K2r6zqY4WBEkGEezHuy7mEUHJPI80zavknD anDAWtCSVFuzurZLHZgVc8TiTrjkAtqrbZ8Izp8OMod1Bb63EnreQkaZbrEAP+nqnI8O GuHKQ4X8Ufr00r7Doi6vZ2V/uXGeBXJ7IGrWdTqv0PUEwL4zJYiPjO7Vfebk9xP1U5OG CmbKhNxnHRIgSHeDOitxwFvW0KYu/g/8AozWlS/tQFfyBiA0B0WwQzJm2yeN/pKIVNy4 tIw2eVpmQEQlEXzlKm4IH5c7Hyyqc2N31D65gKo3H/WDp/1Ocl0MVnac/9TqN9PA4o38 3AHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cKcxWSE2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020aa79d06000000b0052ac0e55a13si12994620pfp.197.2022.07.27.06.58.34; Wed, 27 Jul 2022 06:58:49 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=cKcxWSE2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231228AbiG0NPi (ORCPT + 99 others); Wed, 27 Jul 2022 09:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233711AbiG0NPa (ORCPT ); Wed, 27 Jul 2022 09:15:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EB662019B for ; Wed, 27 Jul 2022 06:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E2F47616E8 for ; Wed, 27 Jul 2022 13:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED042C433C1; Wed, 27 Jul 2022 13:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658927728; bh=+YT+ojoK3bYTC00tyuvmILyv2F2d7TCBW5svs+Jz8OU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cKcxWSE27As7BZFD/QEEnFfa1/w1NtyCUV4fIphw+Ii2MRRPPr7pUBZwMKy+fyDaT k06w5zwLlP+IR/MBHxp2l9+EgOictrpwPimQeJQdl+Gq2DpjBbpAXWz8c4mrzkjUqj wdwjXJ/97uesu1//W3Qkqoo8FxDxirTAQi/Dypvo= Date: Wed, 27 Jul 2022 15:15:25 +0200 From: Greg KH To: Jiho Chu Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, yelini.jeong@samsung.com, myungjoo.ham@samsung.com Subject: Re: [PATCH 2/9] tirnity: Add dma memory module Message-ID: References: <20220725065308.2457024-1-jiho.chu@samsung.com> <20220725065308.2457024-3-jiho.chu@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220725065308.2457024-3-jiho.chu@samsung.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Mon, Jul 25, 2022 at 03:53:01PM +0900, Jiho Chu wrote: > This patch includes memory management module. > > It provides abstraction layer to handle DMA buffer. Again, no abstactions please. Get this working and merged properly first, before worrying about any sort of additional hardware models or abstractions. It just makes this so much harder to review and to determine what you really are, or are not, using here. So far, it seems you aren't using any of these new abstractions, which is odd. Or I just can't find them. Either way that's a huge sign this code is wrong and needs to be cleaned up. thanks, greg k-h