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 22912C001B0 for ; Mon, 24 Jul 2023 12:28:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbjGXM2r (ORCPT ); Mon, 24 Jul 2023 08:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbjGXM2j (ORCPT ); Mon, 24 Jul 2023 08:28:39 -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 7ABFFE73 for ; Mon, 24 Jul 2023 05:28:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 05C6260F19 for ; Mon, 24 Jul 2023 12:28:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C76AC433C7; Mon, 24 Jul 2023 12:28:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690201717; bh=fTeuDC6FLvsDn/nWMSpZM6lpOWDKYoRZxVyr5w1xGOs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H5pHyqjn6kZq+5c2D96u1UTZ9ZmQXQjrqKl1ju4lNKsK0zPFdZQboUGssgy95O+Ut J0kXc0fpk8tbAKJg1BBFmyf0xf5HXq9Z60XBhJLbSz5soAkwox3NLu4rWGsa6AAVfU JlmlDoj1yV9kN3jnyoPIAa47r45suB9bi1ArLCpU= Date: Mon, 24 Jul 2023 14:28:34 +0200 From: Greg KH To: Nipun Gupta Cc: linux-kernel@vger.kernel.org, git@amd.com, pieter.jansen-van-vuuren@amd.com, nikhil.agarwal@amd.com, michal.simek@amd.com, abhijit.gangurde@amd.com Subject: Re: [PATCH v3] cdx: add support for bus mastering Message-ID: <2023072447-slaw-spiffy-51ba@gregkh> References: <20230724120433.15910-1-nipun.gupta@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724120433.15910-1-nipun.gupta@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2023 at 05:34:33PM +0530, Nipun Gupta wrote: > Introduce cdx_set_master() and cdx_clear_master() APIs to support > enable and disable of bus mastering. Drivers need to use these APIs to > enable/disable DMAs from the CDX devices. > > Signed-off-by: Nipun Gupta > Reviewed-by: Pieter Jansen van Vuuren > --- You are adding apis here that no one is actually using, making it pretty impossible to see if they are being used properly, or if they are even needed at all. Please submit this as part of a patch series that uses the apis, otherwise there's no need for anyone to accept this patch. thanks, greg k-h