Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6424805yba; Wed, 1 May 2019 12:02:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiIo+rbRzSeReaxiBvVR3CcopgwcZQBI4PbP0hmbs/rMq9VVfeu5IuxA/NQtXMkWIwvyZF X-Received: by 2002:a65:4482:: with SMTP id l2mr51884672pgq.362.1556737322398; Wed, 01 May 2019 12:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556737322; cv=none; d=google.com; s=arc-20160816; b=oq1+J6dmUhDWC825d3NC0vdDJN4YugPEo6+yUVswAvbNU34j9ZmDAe4D1t4H9Tj/nF 9v2rrABl5XxbCF1G0s/kb3ZAI5AG+zY6mJjWoFomDDUBPDgRI3OkF57oMPnBl/EnCclZ 6Q+Rfq2mKh/saD1z0agg3ARmX7EO+Ah5VEXQzGbq373Bth2mV+Z9fjQ7NKkgO1vGlNtg 8yaLM/2IM4w2l+DQggv528OUO76jDPefSpLvrgo1iPbiMpNLdMKHdskJLsCVPK+LVYBl bPhtU5DiMPpAVQw1IPb0GlfGHdi5xS3cRAThZcR2vSjNVZ5KnPIC60uBkCZJTjKC9Dov BqiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=z+2ax8ZyIZztFylyBB7zkL9d45BwY6plRBtZFuq3Y0w=; b=Tl2Eui3lyjuyGoLfg9FxeIyidW2rCcjD4BBRyH2KuAWPF+FvVg++66zGY+uAMMPWzW gO/XU/kF/6SsMhL03JrxIFiZdpEO/7fEEM9UO1Ywdkh0/D9B8hdEWdDDYTK3MutyFfZm 06SM/SUVGJqCRl+AGqI5cAmPNFlG/aZWcyYMTyBy8YhYkhYXo4FauuY1KPgNtxxMN9kL Ixt5hjiNeqJw0+pRi4FW+1Xpmf9jcQtuMTPIROOnlXeSQFzTsTLu+LE9DQZ1XSH5MbOS hLWDEsJP9DbwuPfDWGt+YBjHieJK9vUV7a5wVXET4JVExT2Top52HFrKLw9IofrHG0m2 eZ3Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si41177897plv.33.2019.05.01.12.01.47; Wed, 01 May 2019 12:02:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726133AbfEAS7c (ORCPT + 99 others); Wed, 1 May 2019 14:59:32 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:40010 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbfEAS7c (ORCPT ); Wed, 1 May 2019 14:59:32 -0400 Received: by mail-oi1-f195.google.com with SMTP id y64so8991555oia.7 for ; Wed, 01 May 2019 11:59:31 -0700 (PDT) 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; bh=z+2ax8ZyIZztFylyBB7zkL9d45BwY6plRBtZFuq3Y0w=; b=oyJ09WdWiVE0ksKnaDfs0Z4mLFfDvEXJw6m608TVk1sKMmop0OjokhympI+55/xnLo lAXc9+Xx71OTCA30IlLTbymxlotbE2lUGrGx0Gui/mDqchB5iT7KyWbhL7c5npaalhgG HFhTaP3ouDosEdzpld7AiDIxcLQSJwhjoSe9uACpeJrElf7MgWiIl6rKPqw7TQdXkxbz HyWBiBv7TfKB1WP+b/4m4/89hajS/fm9mr+IdvbuZvMT7RUpUdT43a/KOuGpKWlQK7Ir cGpJX8JH3WWF5n6tYd5TsaHUwtuDan/dAo6bC1VfE/rtqJOQuZpDl+h8iAsesKCz188v FTfw== X-Gm-Message-State: APjAAAXDZIKGBq/M+grnoeYc5XseQCPBfRLN6sUeK7lteVAoTUssOI70 eevV02ccgir0kFzL1wPMj7Apymesikw= X-Received: by 2002:aca:4c51:: with SMTP id z78mr5464667oia.106.1556737171215; Wed, 01 May 2019 11:59:31 -0700 (PDT) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com. [209.85.167.182]) by smtp.gmail.com with ESMTPSA id p1sm16039834otl.75.2019.05.01.11.59.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 May 2019 11:59:30 -0700 (PDT) Received: by mail-oi1-f182.google.com with SMTP id t184so12006422oie.11 for ; Wed, 01 May 2019 11:59:30 -0700 (PDT) X-Received: by 2002:aca:d984:: with SMTP id q126mr7776664oig.108.1556737169867; Wed, 01 May 2019 11:59:29 -0700 (PDT) MIME-Version: 1.0 References: <1554475256-4805-1-git-send-email-roy.pledge@nxp.com> In-Reply-To: <1554475256-4805-1-git-send-email-roy.pledge@nxp.com> From: Li Yang Date: Wed, 1 May 2019 13:59:18 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/2] soc: fsl: dpio: Add support for memory backed QBMan portals To: Roy Pledge Cc: "stuyoder@gmail.com" , Laurentiu Tudor , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 5, 2019 at 9:42 AM Roy Pledge wrote: > > This patch series adds support for QBMan memory backed portals which is > avaialble in devices containing QBMan verion 5.0 and above (for example > NXP's LX2160A SoC). > > Memory backed portals can be mapped as normal cacheable/shareable memory > which allows the portals to migrate between cores without needing manual > cache manipulations by the CPU. > > The patches add support for the new portal attributes in the fsl-mc bus > drivers as well as modifying the QBMan driver to use the new portal read > trigger mechanism. > > Changes since v1: > * Support older DPRC command in case of older MC firmware > * Fix issue with padding in command > > > Roy Pledge (2): > bus: mc-bus: Add support for mapping shareable portals > soc: fsl: dpio: Add support for memory backed QBMan portals Both applied for next. Thanks. > > drivers/bus/fsl-mc/dprc.c | 30 +++++++- > drivers/bus/fsl-mc/fsl-mc-bus.c | 15 +++- > drivers/bus/fsl-mc/fsl-mc-private.h | 17 ++++- > drivers/soc/fsl/dpio/dpio-driver.c | 23 ++++-- > drivers/soc/fsl/dpio/qbman-portal.c | 148 ++++++++++++++++++++++++++++++------ > drivers/soc/fsl/dpio/qbman-portal.h | 5 ++ > 6 files changed, 199 insertions(+), 39 deletions(-) > > -- > 2.7.4 >