Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5917401ybg; Tue, 22 Oct 2019 10:13:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJe7HLZzjdK8ARG5uoj2pgY/Ja4EBJrqlmcrCbZW9jB1y+9S2Vcn0h9k+DYEG3mavmzTYm X-Received: by 2002:a17:906:a294:: with SMTP id i20mr27874588ejz.165.1571764416440; Tue, 22 Oct 2019 10:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571764416; cv=none; d=google.com; s=arc-20160816; b=VK2s2KvpzirWZPlgRYlwQYzlvG2lJFYHbzo3XWMRmvaWbarnmo15gtZH2XY42uHjHC y9IrA7bOpjSxFO31oyS5vFD71n7g5WLmqTeDQBXYkAkovfaB9FhNSa2Y0nn2aDxkVBkI ZV0Jpepkht6qvxgpNEZLuk4761p5SRVsLYDyUIRc/WS5u1H/xfvHS+rAElNSpNB2QHiJ jQc4SguZ2jWRmaE57fb54Nj7ihloaqz+OQcWh/f5jSkH1FUaQ2s+TsD5KNR7PZPDnKYR siMrVt3wBWX4R1mRE+UZ9gdI5NqPPx8lRymqBnEeq+KvO+28HJ9FrfCUDVWovG1y7weh DQ7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2POkPco3wZSoVGlR0LTO6WtwvLu+tcYiUWU6r4DK2rM=; b=Wy25Yw2Ffn0J2GAlIgrizLjE9XvJysHI+6wWe7CU7Zgxef9VsWfUnYs996lWOky9he f3nHwKi4XtHK/FBNptTQBMdWgMxYxMLfx4+RsYsYbBITIbud63ZFQo5a8OsM3XvRKpzf wnQau8MmSTLm85xdyENQQO1ERbf99wv/rc3MlkB7kL6xE3agTyd8xfRCHNhNTlQ9FkP9 BiiTDvO2zrTcm4tKbkf6PnpslC7rsZVXFpwR467YFptOqGR2rgZtOeRAedxij58DInkM Xeq0vSqii6OZicrfrD1vWZ2TokQKdQUA7dHftLvpGz5jeQe0p+54ANozdQID6kr9T+Gw PD5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cvVReUhK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si11173456ejt.219.2019.10.22.10.13.11; Tue, 22 Oct 2019 10:13:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cvVReUhK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389167AbfJVQKe (ORCPT + 99 others); Tue, 22 Oct 2019 12:10:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:52342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727152AbfJVQKd (ORCPT ); Tue, 22 Oct 2019 12:10:33 -0400 Received: from localhost (unknown [122.181.223.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 00FFD21783; Tue, 22 Oct 2019 16:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571760632; bh=xi2a30iBVKEL1sbscpkqFNVDbDwtN/p2WWW2qs/YLkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cvVReUhK0Gi+MolURPUlwdVU9rgKwtBoKTYg7TUkYCCEGQnhIYKXrhp2QzXoiaHpy yS7u3wlZm159nh6r8fuAel3wEIohOqO7t6if1BSO8zq0cUGbXKFCERfD2REYQb7tUk dFcjmJZp4zr7OKU1cEByjjYxYn7U5lROS8Al4mNo= Date: Tue, 22 Oct 2019 21:40:20 +0530 From: Vinod Koul To: Peng Ma Cc: Anders Roxell , "dan.j.williams@intel.com" , Leo Li , "linux-kernel@vger.kernel.org" , "dmaengine@vger.kernel.org" Subject: Re: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support Message-ID: <20191022161020.GM2654@vkoul-mobl> References: <20190930020440.7754-1-peng.ma@nxp.com> <20191017041124.GN2654@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please *do* *not* top post! On 22-10-19, 10:19, Peng Ma wrote: > Hi Anders && Viod, Its Vinod! > > I sent v6 patch to fix the build error, please check. > Patchwork link: > https://patchwork.kernel.org/project/linux-dmaengine/list/?series=191397 No I have already applied v5, please send fixes on top on dmaengine-next! Would also make sense to give credit to Anders using Reported-by tag > > Best Regards, > Peng > >-----Original Message----- > >From: Anders Roxell > >Sent: 2019年10月22日 17:27 > >To: Peng Ma > >Cc: Vinod Koul ; dan.j.williams@intel.com; Leo Li > >; linux-kernel@vger.kernel.org; > >dmaengine@vger.kernel.org > >Subject: Re: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the > >DPDMAI(Data Path DMA Interface) support > > > >Caution: EXT Email > > > >On Thu, 17 Oct 2019 at 08:16, Peng Ma wrote: > >> > >> Hi Vinod, > >> > >> Thanks very much for your reply. > >> > >> Best Regards, > >> Peng > >> >-----Original Message----- > >> >From: Vinod Koul > >> >Sent: 2019年10月17日 12:11 > >> >To: Peng Ma > >> >Cc: dan.j.williams@intel.com; Leo Li ; > >> >linux-kernel@vger.kernel.org; dmaengine@vger.kernel.org > >> >Subject: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the > >> >DPDMAI(Data Path DMA Interface) support > >> > > >> >Caution: EXT Email > >> > > >> >On 30-09-19, 02:04, Peng Ma wrote: > >> >> The MC(Management Complex) exports the DPDMAI(Data Path DMA > >> >Interface) > >> >> object as an interface to operate the DPAA2(Data Path Acceleration > >> >> Architecture 2) qDMA Engine. The DPDMAI enables sending frame-based > >> >> requests to qDMA and receiving back confirmation response on > >> >> transaction completion, utilizing the DPAA2 QBMan(Queue Manager and > >> >> Buffer Manager > >> >> hardware) infrastructure. DPDMAI object provides up to two > >> >> priorities for processing qDMA requests. > >> >> The following list summarizes the DPDMAI main features and capabilities: > >> >> 1. Supports up to two scheduling priorities for processing > >> >> service requests. > >> >> - Each DPDMAI transmit queue is mapped to one of two service > >> >> priorities, allowing further prioritization in hardware between > >> >> requests from different DPDMAI objects. > >> >> 2. Supports up to two receive queues for incoming transaction > >> >> completion confirmations. > >> >> - Each DPDMAI receive queue is mapped to one of two receive > >> >> priorities, allowing further prioritization between other > >> >> interfaces when associating the DPDMAI receive queues to DPIO > >> >> or DPCON(Data Path Concentrator) objects. > >> >> 3. Supports different scheduling options for processing received > >> >> packets: > >> >> - Queues can be configured either in 'parked' mode (default), > >> >> or attached to a DPIO object, or attached to DPCON object. > >> >> 4. Allows interaction with one or more DPIO objects for > >> >> dequeueing/enqueueing frame descriptors(FD) and for > >> >> acquiring/releasing buffers. > >> >> 5. Supports enable, disable, and reset operations. > >> >> > >> >> Add dpdmai to support some platforms with dpaa2 qdma engine. > >> > > >> >Applied both, thanks > > > >I see this error when I'm building. > > > >WARNING: modpost: missing MODULE_LICENSE() in > >drivers/dma/fsl-dpaa2-qdma/dpdmai.o > >see include/linux/module.h for more information > >ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] > >undefined! > >ERROR: "dpdmai_set_rx_queue" > >[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! > >ERROR: "dpdmai_get_tx_queue" > >[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! > >ERROR: "dpdmai_get_rx_queue" > >[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! > >ERROR: "dpdmai_get_attributes" > >[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! > >ERROR: "dpdmai_open" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] > >undefined! > >ERROR: "dpdmai_close" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] > >undefined! > >ERROR: "dpdmai_disable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] > >undefined! > >ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] > >undefined! > >make[2]: *** [../scripts/Makefile.modpost:95: __modpost] Error 1 > >make[1]: *** [/srv/src/kernel/next/Makefile:1282: modules] Error 2 > >make: *** [Makefile:179: sub-make] Error 2 > >make: Target 'Image' not remade because of errors. > >make: Target 'modules' not remade because of errors. > > > >any other that see the same ? > > > >Cheers, > >Anders -- ~Vinod