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: 10619203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9151D15E8 for ; Fri, 28 Sep 2018 08:45:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85172284E8 for ; Fri, 28 Sep 2018 08:45:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77E282ABBD; Fri, 28 Sep 2018 08:45:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EED2C284E8 for ; Fri, 28 Sep 2018 08:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:Reply-To: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Message-Id:Date:Subject:To:From:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Tgd3l4D7ECZh4pdi9xjb91pCb63ZoN3a1iX9U9JIj2k=; b=GNs 5cMEdpK9y23acWjzFEGZvg8tF4Iaapg7if+crmMSmQ+MX4Pa4jhWA2gkjkTJ1yq8FSkZUIXFY3Mnl JO5+lkNdBYDqefwhtHqwjX6WMn39b0BsrnXywn8AM2tdCirztLgb80xF6WHfBKW2m5113Kq+Ja6w3 65Rewf+S1ElWdsQl7odkskugsi1JaBKXZdGDlFLja3uJV+X/TJTW1CsT9R2X7vTXes4nKWATsFdDZ nc/uuDvg1Ftw/T+IZWXjHg0gTo1z4hum9P1gYtyzycn4+P53nxgrsQ1nO1lDyttGYGgQaNIQos3Tm dhhWlQBDt6SW6b8r7QJ4HdwtAw3T52A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5oOc-00035E-ID; Fri, 28 Sep 2018 08:45:10 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5oNr-0002ho-48 for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 08:44:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Reply-to:Message-Id:Date:Subject:Cc:To: From:Sender:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xehHCbeHe79zmckpzrTtIre4b/fSj8pYRA5gZhWoL5Q=; b=MiVlow3JNZvLcVxb58LdizKOhz 5ByWYLU91gaODtoE30ZX7+2enHTh+m11Ti/bmhbs8/aGVACWdSEb5MsdakYj/c+/KrCHyOFXUroDx ZWlKg+yjDua9VWSBzbupJhvHAkVkrieZNtHvLfe4QmHK4tFbxNtHSDZFxACdWWhNBqqvNHnJ71XWD s8qF0PnrBjcrAQ6QdTNe1pdCP48vHHhnHkCCjwSA0/s31WA+6AGn8esXaPNR+ZQkucfH7RHoQ7qyn ziSTTnru4M8UP3/9q5wrP222vTW2901sY0R5cg5LaWfxTlrM+fTGIkUX1Xvq7xjsVRiVZH0f3dNYl YObK0uVQ==; Received: from inva021.nxp.com ([92.121.34.21]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5oNm-0003sC-Tz for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 08:44:20 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180928_044419_069448_DE3B2BD7 X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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 MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)