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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 DB179C43331 for ; Tue, 12 Nov 2019 10:54:32 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 885722084E for ; Tue, 12 Nov 2019 10:54:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="pXnLlq5/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 885722084E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47C4Pf1J7nzF3SZ for ; Tue, 12 Nov 2019 21:54:30 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47C4Jk154gzF4T7 for ; Tue, 12 Nov 2019 21:50:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="pXnLlq5/"; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 47C4Jj58Swz9sPV; Tue, 12 Nov 2019 21:50:13 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1573555813; bh=F4zIi7Ev9vWkeY7yqeo1rh9T8D/ad0kk2nzZVQFOXc0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pXnLlq5/EqRZ0L4exvsIpDEfbr1olj6uQ6V7p50H98drEMBG7EoQkhYDkxDO65F4L mwY4+LR38hyfwayTsz9OwpkH4eJrkpQmObJfknseCefs+AzWr6GEFSi5fO4CLClQVt RTleZxf+l2Atmlgk9s9wcjskbMQ2EZhTmYbp48oRWwkP6GXa8F1AQj4OC03vO79r5D UAzq2X8NjASLpfEOFZNFiUhSMq6GkCVWNSbFYYOJSmNQJ4ZSVV4NvvGfrYTqSHhpF1 OJJdX/RmKm8aFqo+FknHLX+2FHKzkAR3b1jytp+xFOnkzzTPaBqF2O9vUBMUFK2aB4 dSBmmaNIzwiTQ== From: Michael Ellerman To: Bjorn Helgaas , Tyrel Datwyler Subject: Re: [PATCH v2 0/9] Fixes and Enablement of ibm,drc-info property In-Reply-To: <20191111194928.GA38342@google.com> References: <20191111194928.GA38342@google.com> Date: Tue, 12 Nov 2019 21:50:13 +1100 Message-ID: <877e452wt6.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: nathanl@linux.ibm.com, tlfalcon@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Bjorn Helgaas writes: > 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 added it to the PCI touching patches. > I assume they will be merged along with the rest of the series via > powerpc. Yep. Thanks for the review. cheers