From patchwork Fri Sep 28 08:43:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Madalin Bucur X-Patchwork-Id: 976086 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42M4yf1YJFz9s3x for ; Fri, 28 Sep 2018 18:46:02 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 42M4yf0JRFzF3Bk for ; Fri, 28 Sep 2018 18:46:02 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nxp.com (client-ip=92.121.34.21; helo=inva021.nxp.com; envelope-from=madalin.bucur@nxp.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42M4vw6BKtzF3BW for ; Fri, 28 Sep 2018 18:43:39 +1000 (AEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3A18A200032; Fri, 28 Sep 2018 10:43:36 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2E48620000A; Fri, 28 Sep 2018 10:43:36 +0200 (CEST) Received: from fsr-fed2164-101.ea.freescale.net (fsr-fed2164-101.ea.freescale.net [10.171.82.91]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id B2DF120621; Fri, 28 Sep 2018 10:43:35 +0200 (CEST) From: Madalin Bucur To: leoyang.li@nxp.com Subject: [PATCH v2 0/5] soc/fsl/qbman: DPAA QBMan fixes and additions Date: Fri, 28 Sep 2018 11:43:19 +0300 Message-Id: <1538124204-31406-1-git-send-email-madalin.bucur@nxp.com> X-Mailer: git-send-email 2.1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: madalin.bucur@nxp.com Cc: Madalin Bucur , catalin.marinas@arm.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, oss@buserror.net, claudiu.manoil@nxp.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" This patch set brings a number of fixes and the option to control the QMan portal interrupt coalescing. Changes from v1: - change CPU 0 with any online CPU to allow CPU 0 to be taken offline - move common code in a function - address all places in the code where the portal interrupt was affined to CPU 0 - remove unrelated change from patch adding 64 bit DMA addressing requirement Madalin Bucur (2): soc/fsl/qbman: replace CPU 0 with any online CPU in hotplug handlers soc/fsl_qbman: export coalesce change API Roy Pledge (3): soc/fsl/qbman: Check if CPU is offline when initializing portals soc/fsl/qbman: Add 64 bit DMA addressing requirement to QBMan soc/fsl/qbman: Use last response to determine valid bit drivers/soc/fsl/qbman/Kconfig | 2 +- drivers/soc/fsl/qbman/bman.c | 6 ++--- drivers/soc/fsl/qbman/bman_portal.c | 4 ++- drivers/soc/fsl/qbman/dpaa_sys.h | 20 ++++++++++++++ drivers/soc/fsl/qbman/qman.c | 53 ++++++++++++++++++++++++++++++++----- drivers/soc/fsl/qbman/qman_portal.c | 6 +++-- include/soc/fsl/qman.h | 27 +++++++++++++++++++ 7 files changed, 104 insertions(+), 14 deletions(-)