Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp262629ybl; Thu, 15 Aug 2019 16:57:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHpF9WGabPrOasOVBvhe5UKu1SFGDw8G2UcFzKWBT/bVze9H4ZBMlk3kxDmVXwz8qMHj3b X-Received: by 2002:a17:90a:23c8:: with SMTP id g66mr4474921pje.123.1565913457286; Thu, 15 Aug 2019 16:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565913457; cv=none; d=google.com; s=arc-20160816; b=NuLhrNM1CO77/HnkbI3Zvd437zSbatGl++cwTY2bAbXFN6Fe0kigQ1rJP2DgTnyT5J wufI0Y5Pc+avOmpDRI8hL8PXCzZ0U/frPMsDROnZ+5XCw+Ph2MkRI/Z6bTmq9qsNd9X4 X5TRHHaoJ/DHXNUbk/d9SzB9M6rcAvrE0lK7VxBvmr5m1+PcampjFX5Ogifj+ZiOKS0x OLEV6IWCI202F2BuvhumimaxolnfSLXQ7xcroPRoMKLVfti8c6DMDvXBN7Z9Jm3y9DJN UIDv0BG2tcBWTOeT/Agkkm+MJQMsdRaPDRt29ZFyCb42oW4l8l5ZqgaXePHoHSkK699g EXGg== 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=3W/JXRczT4e7iKML5rUyQ8eYma8iSWGGWO86RntEySo=; b=h14tWaJmnD/lQj8dS2cz2Jql0loTui5mOBWRX0hF71TbfiH9mltwBkD3Y/BYxILyPe B5kev0/B3NoKyMWv7usWnOMuJuc2fDvlRufIUItocVo4usp73Fie+77iI7cBLtPT/b0K 5vJB7xd2GagpetI+yvpWfNbne4MTUqDlRzFrpdGyP1qMzgFOmnyGet4nPOFKhuQwVoA4 9kigX3YJOfbBNr7RbIObHkwY9y48J66Hakh53/RjRTZ/7AgHudryPJOS6lWUcplL2HMp kaK0yBaD91A30+Lq89mrve4GUyOvS+x9EbSWaqLKkKtjJDsD1fWLwKgGtbuXtlKPIe1F M3nw== 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 d9si1870649pjr.20.2019.08.15.16.57.21; Thu, 15 Aug 2019 16:57:37 -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 S1726166AbfHOXb7 (ORCPT + 99 others); Thu, 15 Aug 2019 19:31:59 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:39636 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbfHOXb7 (ORCPT ); Thu, 15 Aug 2019 19:31:59 -0400 Received: by mail-ot1-f67.google.com with SMTP id b1so8035792otp.6 for ; Thu, 15 Aug 2019 16:31:58 -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=3W/JXRczT4e7iKML5rUyQ8eYma8iSWGGWO86RntEySo=; b=qce6QxKNzR2pd2EETO5LGjFqsk86/Ezfo+iDb7nCQNmWNdcxvsdiTVZOpwPNjKyZMa k77hDht6Y2u4sSOJlLsfIj4hF8AQXLCY8LXl2pcaRX9QcTzJ/4gpLm1kqrqOWPnTQWaJ 0+RyX4ifE+Og4QMl0bTFtEKPpEpNIrJa00i49Q6lR9qPiOCK+FBcCcuWtZM4Utt0VSK8 DJmlLDn0TVH3cw8LYMCTxKz3dSjWan3dSqIOQ/1LJAVD+Y1ougcjMwf0KoGaUSMj+jkz Z/p8npRW6NtQxHYpMKXMpllsyHVWiTvC+KV3EiTFeeePrUAWATOeoqnJSVO048/+5AfV i1Ig== X-Gm-Message-State: APjAAAXU/89nIqDoj+7+QRI1STj5QbD8fj1JQgckNn1DRFZoLjhyBuxJ uFb++a5W3INwNvhMWYwH8/+Tniu87x4= X-Received: by 2002:a05:6830:15c5:: with SMTP id j5mr5508412otr.296.1565911918358; Thu, 15 Aug 2019 16:31:58 -0700 (PDT) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com. [209.85.210.53]) by smtp.gmail.com with ESMTPSA id o82sm978943oig.27.2019.08.15.16.31.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2019 16:31:57 -0700 (PDT) Received: by mail-ot1-f53.google.com with SMTP id g17so7219497otl.2 for ; Thu, 15 Aug 2019 16:31:57 -0700 (PDT) X-Received: by 2002:a9d:6b84:: with SMTP id b4mr5482166otq.63.1565911917418; Thu, 15 Aug 2019 16:31:57 -0700 (PDT) MIME-Version: 1.0 References: <1564690599-29713-1-git-send-email-roy.pledge@nxp.com> In-Reply-To: <1564690599-29713-1-git-send-email-roy.pledge@nxp.com> From: Li Yang Date: Thu, 15 Aug 2019 18:31:46 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 0/7] soc/fsl/qbman: Enable Kexec for DPAA1 devices To: Roy Pledge Cc: "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Laurentiu Tudor , Madalin-cristian Bucur 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 Thu, Aug 1, 2019 at 3:20 PM Roy Pledge wrote: > > Most DPAA1 devices do not support a soft reset which is an issue if > Kexec starts a new kernel. This patch series allows Kexec to function > by detecting that the QBMan device was previously initialized. > > The patches fix some issues with device cleanup as well as ensuring > that the location of the QBMan private memories has not changed > after the execution of the Kexec. > > Changes since v1: > - Removed a bug fix and sent it separately to ease backporting > Changes since v2: > - Expliciitly flush FQD memory from cache on PPC before unmapping > > Roy Pledge (7): > soc/fsl/qbman: Rework QBMan private memory setup > soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to > bootup > soc/fsl/qbman: Cleanup QMan queues if device was already initialized > soc/fsl/qbman: Fix drain_mr_fqni() > soc/fsl/qbman: Disable interrupts during portal recovery > soc/fsl/qbman: Fixup qman_shutdown_fq() > soc/fsl/qbman: Update device tree with reserved memory Series applied for next. Thanks! > > drivers/soc/fsl/qbman/bman.c | 17 ++++---- > drivers/soc/fsl/qbman/bman_ccsr.c | 36 +++++++++++++++- > drivers/soc/fsl/qbman/bman_portal.c | 18 +++++++- > drivers/soc/fsl/qbman/bman_priv.h | 5 +++ > drivers/soc/fsl/qbman/dpaa_sys.c | 63 ++++++++++++++++------------ > drivers/soc/fsl/qbman/qman.c | 83 +++++++++++++++++++++++++++++-------- > drivers/soc/fsl/qbman/qman_ccsr.c | 68 +++++++++++++++++++++++++++--- > drivers/soc/fsl/qbman/qman_portal.c | 18 +++++++- > drivers/soc/fsl/qbman/qman_priv.h | 8 ++++ > 9 files changed, 255 insertions(+), 61 deletions(-) > > -- > 2.7.4 >