Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5606640ybg; Tue, 22 Oct 2019 05:57:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPKaaP4CBlDFRsYLF/I1Bj3yMHoa0X9pk0/xWIa5/Q6dG/+Q4IGcydAnoFWLyp3tklP/tn X-Received: by 2002:aa7:d552:: with SMTP id u18mr2543387edr.86.1571749023299; Tue, 22 Oct 2019 05:57:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571749023; cv=none; d=google.com; s=arc-20160816; b=vn7Ugim+219Ykp4zfo76wKLdsaHUkoEFUMbsnMP6OpiMLCJWT94/d89bBp67ojdL3u K0xdPQ70nGcTmERFVoAf1yCaFXfcRQNuOHvCXfQHdU1NX/QESd3rDkUNGbt9967UGJ9p drD8AGFW0mQ1O6ReU1zg74nRpm0xUTAJqbBnLwGbzErzwgbQQdQKha2u7mC5gUG2TtU8 6YW3JGlccYhLBeGuXvyfrJIF0bNsodySVqQwt2CVpmMZVzxA+BCPqNH2T4YSJN0YK1hT eOViD1bpOP4Um46S/R4SXoGb+HY7zAH86TN/Vj50QrKO4FkJtR45UoUTP/zwBQlDX6o4 0DVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=T9L8jGHiyeAbKVH3+eeYDr6SmphM8zhAv3MB0FnWhlI=; b=j5Efa00mXmkQfHZ+DxKvs4eh8H79/GKAOSjhcWMCXhRfkxIjHY5xoC8Y5Lujv/8zT1 9AIDAIMXZcSu61incbn9rQtuO4qavDTFWsuwUwqlX3RE+J/lzmx/RbJKlgoZ8QPSdBXn R++XrkVGFNNplKv91NN/2o2ea04wAvDvgjDqGrPcqMlzgcx9eivWaiCyqK2y65kGWuFy /YPNl3m4DE6xa/ca9P8LcjsiyWl6wpzsX+Au1BtVjcqaf5TN4HRAbsAuX9Uvbwl7NNrp jq35tcyWuVwJX9m8IypZpwCYlZCbUohfZRvkG5yqRkDME5MgoxikzmNJEA9aue+2X2KX 8Lzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tETdSgEZ; 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 e48si1367855ede.207.2019.10.22.05.56.22; Tue, 22 Oct 2019 05:57:03 -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=tETdSgEZ; 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 S1731321AbfJVJ10 (ORCPT + 99 others); Tue, 22 Oct 2019 05:27:26 -0400 Received: from mail-lj1-f172.google.com ([209.85.208.172]:36837 "EHLO mail-lj1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731229AbfJVJ10 (ORCPT ); Tue, 22 Oct 2019 05:27:26 -0400 Received: by mail-lj1-f172.google.com with SMTP id v24so16392829ljj.3 for ; Tue, 22 Oct 2019 02:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=T9L8jGHiyeAbKVH3+eeYDr6SmphM8zhAv3MB0FnWhlI=; b=tETdSgEZGXBa+oNwO4Xq0Qkcc04mCbE2OQZv7G/SFHrTzYMbS2UiqshYOlqxUqogyd XdU1gCB+El8o045uP6HPzhLIH567KG9rtt5dXNGaQw0+TQBmxgjz7gRsQAJNrFcRX7wA 99ZDIlbDebHdg2P/s+oH/H0UlXq1kS0ONAdhG8IEk88kSnaua92WgyxPniM67G0pwVjk ByuY5kCC1Qt1Wz33TJekx8A2fH4uGzbmQlGyk1k7d7OSryShZxvVOLItpxbrZf7m3m98 pfO1cfzkexZ+shxUOi7NSuHLCI+u0lZVht14xAJphB7Kt7CEbnu/BKOczqYHCklq0JJu Jz7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=T9L8jGHiyeAbKVH3+eeYDr6SmphM8zhAv3MB0FnWhlI=; b=JcCXc1lSzncxUHrFoYjuSVWnZvf8q7veb+k6fit14QIiFyuiEYkWnjxzcNpz/8wSR6 q9GzAPMlr7vvqUXd+eid4BW4DoUtLjsWum/opuvdPeZUmUvspJASPlTTD1qyXy3ZjI12 yIfAqXuOLijNHrz9W6+RERUm2x1ZZ03QMLdIofmAua6yDxZR2V3ylFg4vZtzpQHmTdBx JCdJlPJqhS9B/cRwdiA0S7nQHgNIq+NB8FZhIodMkky9YZ8KTlBCrU6wEMkNcrf6ds2r GJtkZsNbtxw6MRJB0fCLnr2SSvDzgbrwW1/moqSpr2iVwzrNo5LbgOvefpszEfBSlefS BHDQ== X-Gm-Message-State: APjAAAUlpDYWJ/dLZrUn0POFkWA/Wm7/eBYzG98lR6Lxne7aC+iWHjsd +VXlD8cAx/RGeuB/LJjInOT95wgin74b/+zMt5Ko0Q== X-Received: by 2002:a05:651c:237:: with SMTP id z23mr18783819ljn.214.1571736444355; Tue, 22 Oct 2019 02:27:24 -0700 (PDT) MIME-Version: 1.0 References: <20190930020440.7754-1-peng.ma@nxp.com> <20191017041124.GN2654@vkoul-mobl> In-Reply-To: From: Anders Roxell Date: Tue, 22 Oct 2019 11:27:13 +0200 Message-ID: Subject: Re: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support To: Peng Ma Cc: Vinod Koul , "dan.j.williams@intel.com" , Leo Li , "linux-kernel@vger.kernel.org" , "dmaengine@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=E5=B9=B410=E6=9C=8817=E6=97=A5 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(Da= ta > >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 capabilitie= s: > >> 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] undefine= d! 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