From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FAKE_REPLY_C,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B03F0C43331 for ; Mon, 11 Nov 2019 19:49:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83BFE21925 for ; Mon, 11 Nov 2019 19:49:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573501771; bh=REocQpHcUoTtJ9Lh+xQEQRDVLTZtYKJWSj4dAiNX3xw=; h=Date:From:To:Cc:Subject:In-Reply-To:List-ID:From; b=Jx6+QDwbEDiGKdDEg+jCT68oM8r/3PxzcxBE1pKqsHrQrOAS/feqptIIkiwD+6tkP RfNPGARdUOhIAreBYmNH7qf55Gx3mKf3T0Blqb3T0JcfaNVC5IWiUS/3FxDsWfTBlq GqGqfj8VQAF5TMdEBdjbT0FvfprvV025YdWvtCEc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727159AbfKKTta (ORCPT ); Mon, 11 Nov 2019 14:49:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:54606 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727080AbfKKTta (ORCPT ); Mon, 11 Nov 2019 14:49:30 -0500 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B554721655; Mon, 11 Nov 2019 19:49:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573501770; bh=REocQpHcUoTtJ9Lh+xQEQRDVLTZtYKJWSj4dAiNX3xw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=1Ab8iCkYnJf94nsOy/Munq6j823ReviIIS9wpR9XftMxl0XEEZHDVPRA5OU0sziFW h0ibZehKnyrXCBwT7FSlzHq9TnttB4juz5tJYQjodv1jts1H4x3NX4ggTgSzTtUoce CHJk1Go1Mk+IuSJ2Zmp8NI5vOVIN5YKlCfLTX8ls= Date: Mon, 11 Nov 2019 13:49:28 -0600 From: Bjorn Helgaas To: Tyrel Datwyler Cc: mpe@ellerman.id.au, benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org, tlfalcon@linux.ibm.com, nathanl@linux.ibm.com, linux-pci@vger.kernel.org Subject: Re: [PATCH v2 0/9] Fixes and Enablement of ibm,drc-info property Message-ID: <20191111194928.GA38342@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1573449697-5448-1-git-send-email-tyreld@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Sun, Nov 10, 2019 at 11:21:27PM -0600, Tyrel Datwyler wrote: > There was a previous effort to add support for the PAPR > architected ibm,drc-info property. This property provides a more > memory compact representation of a parition's Dynamic Reconfig > Connectors (DRC). These can otherwise be thought of as currently > partitioned, or available but yet to be partitioned system resources > such as cpus, memory, and physical/logical IOA devices. > > The initial implementation proved buggy and was fully turned off by > disabling the bit in the appropriate CAS support vector. We now have > PowerVM firmware in the field that supports this new property, and > further to support partitions with 24TB+ of possible memory this > property is required to perform platform migration. > > This series fixs the short comings of the previous submission > in the areas of general implementation, cpu hotplug, and IOA hotplug. > > v2 changelog: > Cover Letter: fixed up spelling errors (mpe, tfalcon) > Patch 3: added comment regarding indexing of drc values (tfalcon) > split drc-index and drc-info logic into multiple > functions for collecting cpu drc's for dlpar (mpe) > Patch 7: fix up a couple more sparse warnings (mpe) > > Tyrel Datwyler (9): > powerpc/pseries: Fix bad drc_index_start value parsing of drc-info > entry > powerpc/pseries: Fix drc-info mappings of logical cpus to drc-index > powerpc/pseries: Add cpu DLPAR support for drc-info property > PCI: rpaphp: Fix up pointer to first drc-info entry > PCI: rpaphp: Don't rely on firmware feature to imply drc-info support > PCI: rpaphp: Add drc-info support for hotplug slot registration > PCI: rpaphp: Annotate and correctly byte swap DRC properties > PCI: rpaphp: Correctly match ibm,my-drc-index to drc-name when using > drc-info > powerpc/pseries: Enable support for ibm,drc-info property > > arch/powerpc/kernel/prom_init.c | 2 +- > arch/powerpc/platforms/pseries/hotplug-cpu.c | 127 +++++++++++++++++++++--- > arch/powerpc/platforms/pseries/of_helpers.c | 8 +- > arch/powerpc/platforms/pseries/pseries_energy.c | 23 ++--- > drivers/pci/hotplug/rpaphp_core.c | 127 +++++++++++++++++------- For the drivers/pci/* parts: Acked-by: Bjorn Helgaas I assume they will be merged along with the rest of the series via powerpc. > 5 files changed, 216 insertions(+), 71 deletions(-) > > -- > 2.7.4 >