Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6639586rwb; Wed, 18 Jan 2023 07:38:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXspKnW1h5sxAq9Q/HlTLioDNuTJSNHKcklcBk49gOuH0nhV05AyJoq7aRRmWWPQFjnlsT7g X-Received: by 2002:a05:6402:1f87:b0:49d:9dd6:862f with SMTP id c7-20020a0564021f8700b0049d9dd6862fmr8501498edc.33.1674056323911; Wed, 18 Jan 2023 07:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674056323; cv=none; d=google.com; s=arc-20160816; b=kHkNbThDHaHAbRniCAmiVxwqPwXGBghxEbAwo1ULuEkHb0fvSf6e9Qm1JFy0fbMarr Jqz9GSIfPZ4imy4mUGrWu+xDRiHGePSiegI8Ev54XId7jBX9Q0kWUDjOXbMSmU1tGLFN G02FDZeSaCvmffDF31kneMYqMbLczY9zn1Pooy3kBUFPw7LTj0UjtynBWeXKi1iRBV45 fVwzEyQYgr13lAw/bhWXL+OpcfCWWbNhU7ok2fJwOoJfBFafyDeKPb+ghdQ/A/dur44s 23K4JECK2TvbYWvG7hfV0vrKmuhdygb5EBri90hF0hasOSF6V+1rXnOvMfX3lJoGwd06 40lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=J8CiGpirYp1w3rRKR9a3ytEz12NkdGbPhRE0upiG0t4=; b=eYkB6aJWCCApT0mj/KbxodXBKZUZOgaSCIgR4KcoERIBdCeO3lCOr2LINVviUO+AWP uqeGyYIbAFlMPZXSqeJCe4uFwHXRyq3f/6Age5TjrS9KXJ0n1Zx26r3uiiMYLnKc8IPR +W3HXhApAAfh1ytKm//o158eiJLGUVKLyGWo82rYJ2YUSnF3lQpB/asvTtTbyk883W4P dWUVe0hJRXGE1os7G1Ua9nzNbwYBfZ9YHrY7Cv/6IWI7T34CkdO2sThtRWMz1GuoENRp mHPeCAaARVwHHO4xmBZiS/b2/pCcOUvty5BJ/3LrcZwCVSgXnLL5q/18aTydMBdi1pRy UP1g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i19-20020a056402055300b0048c7fb50a40si34451304edx.321.2023.01.18.07.38.31; Wed, 18 Jan 2023 07:38:43 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231509AbjARPXm (ORCPT + 45 others); Wed, 18 Jan 2023 10:23:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231431AbjARPXW (ORCPT ); Wed, 18 Jan 2023 10:23:22 -0500 Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 27CD423304; Wed, 18 Jan 2023 07:20:43 -0800 (PST) Received: from [192.168.4.25] (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id 7E33B34B63; Wed, 18 Jan 2023 16:20:40 +0100 (CET) Message-ID: Date: Wed, 18 Jan 2023 16:20:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [RESEND PATCH V11 XDMA 1/2] dmaengine: xilinx: xdma: Add xilinx xdma driver To: Vinod Koul , Lizhi Hou Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, max.zhen@amd.com, sonal.santan@amd.com, larry.liu@amd.com, brian.xu@amd.com References: <1673988842-43631-1-git-send-email-lizhi.hou@amd.com> <1673988842-43631-2-git-send-email-lizhi.hou@amd.com> Content-Language: en-US From: =?UTF-8?Q?Martin_T=c5=afma?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE 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 >> +static struct platform_driver xdma_driver = { >> + .driver = { >> + .name = "xdma", >> + }, >> + .id_table = xdma_id_table, >> + .probe = xdma_probe, >> + .remove = xdma_remove, >> +}; >> + >> +module_platform_driver(xdma_driver); > > who creates this platform device? Any reason why this is not a _real_ > device? > The platform device is created by the PCIe card device/driver that uses XDMA. See for example our mgb4 v4l2 driver: https://patchwork.kernel.org/project/linux-media/patch/20230113172636.2590-2-tumic@gpxsee.org/ M.