Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5800141ybg; Tue, 22 Oct 2019 08:33:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8KBax52wuehqSWQTS3S8K6lWRYR2alRE+1ULafsJ97BcPxizusE8lUAflsAtcDy5i8tOV X-Received: by 2002:a17:906:a0f:: with SMTP id w15mr7679124ejf.321.1571758394393; Tue, 22 Oct 2019 08:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571758394; cv=none; d=google.com; s=arc-20160816; b=vMqndOiY2lKE6oXIydE74hODiwrRgsE1KJ5i6RVgjJlkLQvEGlJ5/svS/P32XeqRaJ tAce0VGQV0zDA4N8k7Tk6TtPHbXDZRX1NMeDuL3P8KomgHX9PiSgji3EVZ75zgH8pW+4 8PMQosH8f/FkoofJqUsIHCrLR+b7+/COYkta63BVeXUF+92G4MXpfJDU1rscfdZ4CO0e nSArmq2zOOOMvm9+JDORfsrh4jwz5fYyDnZ54AuADMbfUZsQMLubPhY9qqWZ8kx4DHO2 Oi8yL9362pnIEcz+5UtY3ywu8WGGcREn7+D6H8y6paZk3qt+jbRyAnBewH/h6RxocFMD ArpA== 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=VGTfUe//Lkyyq1CFsi2Aw+FdHH2W9Ju5Bb6Df3fquDw=; b=cfVWygkod6GN3RSh4/Xqlx7NkK1E3EY/M4UWyqD+geb9EHh/FbV8Rk6Na9a2xwY5MX ViPVd5ujQBf3J9uWMIhc5GX2USPeW2MDip1YYoEWsBxjx1n/zIrji2xjXj5QEacFfgtA qN7GCyUVSggf3WWa44lCZ1RwKcuTOJPr87ujViAS4UIDfz05MBNYbPyPe/zg2n2fax5e vNwLja/81+ocwh0eDBvPlZuf576sQmPseVXSgPhGIsEuLDsAhLp27JQSN2BZ0I315yJa 3JDBmd2mUYIHOspRCFFr+ul++7ptGxBM+aOU4DCD3R9EPt54lYMDsAbvnlaQ5xjEjbHg uWWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pi2vCaoI; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y71si13064451ede.135.2019.10.22.08.32.50; Tue, 22 Oct 2019 08:33:14 -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=@linaro.org header.s=google header.b=pi2vCaoI; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388941AbfJVMFR (ORCPT + 99 others); Tue, 22 Oct 2019 08:05:17 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:42028 "EHLO mail-lj1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388246AbfJVMFR (ORCPT ); Tue, 22 Oct 2019 08:05:17 -0400 Received: by mail-lj1-f181.google.com with SMTP id u4so2761764ljj.9 for ; Tue, 22 Oct 2019 05:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=VGTfUe//Lkyyq1CFsi2Aw+FdHH2W9Ju5Bb6Df3fquDw=; b=pi2vCaoItbcXJ3F6Bo71yn+jXqd3pUZmK66jHNjAkxWt9qjAswyRHIIsKKK72IkTXF /IvctVUS5+Et1kRm85+/fTdAMG6rzkj4+bC/284zs0NqpGElHvrvhM6VtG5Oteyu3d8z X3/6G6g//2ckZ/demrHv7AuYYD7M7xSSbVgMj0XayXZhIwSodnRNmXSaxpCWbszhUD68 wQb6DLFyZ+Hj85zp69FgdmjvHHjZuGsYd56eKrruHekeB9s2DSlxgz1TYs2RZPVqBGKj yaiHok3rmXo/vPDzoXU0deh8jdiYvdZaUgncHbfuyUiknG+ebmixBr2n3MkfWfs2FE7w hKcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=VGTfUe//Lkyyq1CFsi2Aw+FdHH2W9Ju5Bb6Df3fquDw=; b=hoJ2+gojh2mlhsENsLaDUx5zhf6AioPWGJuaHi9xWlmDkkZ3FXG2klBf6JxJVtJEVM 8tEdCy/YsjdDw1DJp+Q6BaMx/ub5rhIUCBewQY/9iNmxQwUqIB7xWrdUFH/ryzFj7aiy WUm582pYFtlfLh14kiwROcxfVqyEhQaEsV++hTDHjUPAmiLrfw9ZaGpHE8dvFWauKFKg VQCWoNtBxl8GBPiFxacrFPLKu7FCoe2Pzlxu1frLVi3azNNhFfKQOlWPVZuHyWwFhTL8 Hi50NP4Lr2d6OkYpCXf1FOEB3KwXsiVUEUC8SCaka4w0Aj2pXZNrJepS1foBQilZfAWl ZTsw== X-Gm-Message-State: APjAAAXrJIEm03VBxiGlTwlNzkwrHOy+KUevIuia3Oyi+I28EfHuaUo5 UUmKN5Ge+FFBggqJ211NnIEqNg== X-Received: by 2002:a2e:9b46:: with SMTP id o6mr2071632ljj.90.1571745914535; Tue, 22 Oct 2019 05:05:14 -0700 (PDT) Received: from localhost.localdomain (c-413e70d5.07-21-73746f28.bbcust.telenor.se. [213.112.62.65]) by smtp.gmail.com with ESMTPSA id r75sm6940248lff.93.2019.10.22.05.05.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Oct 2019 05:05:12 -0700 (PDT) Date: Tue, 22 Oct 2019 13:10:39 +0200 From: Anders Roxell 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 Message-ID: <20191022111039.GA8762@localhost.localdomain> 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.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-10-22 10:19, Peng Ma wrote: > Hi Anders && Viod, > > I sent v6 patch to fix the build error, please check. oh I will check, didn't see them when I sent out my email. =/ Cheers, Anders > Patchwork link: > https://patchwork.kernel.org/project/linux-dmaengine/list/?series=191397 > > 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