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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFB48C4332F for ; Thu, 20 Oct 2022 10:03:06 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4MtNT5214vz3dsr for ; Thu, 20 Oct 2022 21:03:05 +1100 (AEDT) Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4MtNRx5Vslz3c69 for ; Thu, 20 Oct 2022 21:02:05 +1100 (AEDT) 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 4MtNRt4Jxbz4xG9; Thu, 20 Oct 2022 21:02:02 +1100 (AEDT) From: Michael Ellerman To: mpe@ellerman.id.au, Haren Myneni , nathanl@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, npiggin@gmail.com In-Reply-To: References: Subject: Re: [PATCH] powerpc/pseries: Use lparcfg to reconfig VAS windows for DLPAR CPU Message-Id: <166626010935.237349.12980991434334935565.b4-ty@ellerman.id.au> Date: Thu, 20 Oct 2022 21:01:49 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 06 Oct 2022 22:29:59 -0700, Haren Myneni wrote: > The hypervisor assigns VAS (Virtual Accelerator Switchboard) > windows depends on cores configured in LPAR. The kernel uses > OF reconfig notifier to reconfig VAS windows for DLPAR CPU event. > In the case of shared CPU mode partition, the hypervisor assigns > VAS windows depends on CPU entitled capacity, not based on vcpus. > When the user changes CPU entitled capacity for the partition, > drmgr uses /proc/ppc64/lparcfg interface to notify the kernel. > > [...] Applied to powerpc/fixes. [1/1] powerpc/pseries: Use lparcfg to reconfig VAS windows for DLPAR CPU https://git.kernel.org/powerpc/c/2147783d6bf0b7ca14c72a25527dc5135bd17f65 cheers