From patchwork Thu Jun 4 13:21:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Le_Goater?= X-Patchwork-Id: 1303547 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49d6Lb1Lvjz9sSg for ; Thu, 4 Jun 2020 23:38:47 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kaod.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49d6LZ5zpKzDqnw for ; Thu, 4 Jun 2020 23:38:46 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kaod.org (client-ip=46.105.79.203; helo=10.mo68.mail-out.ovh.net; envelope-from=clg@kaod.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kaod.org Received: from 10.mo68.mail-out.ovh.net (10.mo68.mail-out.ovh.net [46.105.79.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49d6LQ6pWLzDqpv for ; Thu, 4 Jun 2020 23:38:38 +1000 (AEST) Received: from player739.ha.ovh.net (unknown [10.110.208.124]) by mo68.mail-out.ovh.net (Postfix) with ESMTP id 3697816DDCA for ; Thu, 4 Jun 2020 15:21:31 +0200 (CEST) Received: from kaod.org (82-64-250-170.subs.proxad.net [82.64.250.170]) (Authenticated sender: clg@kaod.org) by player739.ha.ovh.net (Postfix) with ESMTPSA id 7AF72F02617F; Thu, 4 Jun 2020 13:21:28 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G0064f7f4714-bbe3-4f27-beae-a1380603f083, 2E0AA79A099E542C5FE1C9A79F210F9E9C727315) smtp.auth=clg@kaod.org From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: skiboot@lists.ozlabs.org Date: Thu, 4 Jun 2020 15:21:15 +0200 Message-Id: <20200604132126.750999-1-clg@kaod.org> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Ovh-Tracer-Id: 17679724764506786777 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudeguddgiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffogggtgfesthekredtredtjeenucfhrhhomhepveorughrihgtucfnvgcuifhorghtvghruceotghlgheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeeikeekleffteegleevveejheetuddviedvleejvedvueevtdfgieduieeviedugfenucfkpheptddrtddrtddrtddpkedvrdeigedrvdehtddrudejtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejfeelrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomheptghlgheskhgrohgurdhorhhgpdhrtghpthhtohepshhkihgsohhotheslhhishhtshdrohiilhgrsghsrdhorhhg Subject: [Skiboot] [PATCH 00/11] xive/p9: various small cleanups X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Hello, Here are cleanups which try to deobfuscate some magic values used in the driver and add documentation in the commit logs. The only significant change is on the size of the VP space which now depends on the number of EQ descriptors. We have 1M of these and we use 8 priorities per VP. Therefore, our VP space should be limited to 128k. Tested on a boston with 256 KVM guests each with 4 vCPUS. For the record, it takes 25s for all to reach login. Thanks, C. Cédric Le Goater (11): xive/p9: Introduce XIVE_INT_ORDER xive/p9: Clarify the global IRQ number encoding xive/p9: Introduce XIVE_ESB_SHIFT xive/p9: Introduce XIVE_EQ_ORDER xive/p9: Clarify the escalation IRQ encoding xive/p9: Introduce XIVE_EQ_SHIFT xive/p9: Use sizeof() instead of hardcoded values xive/p9: Clarify indirect table allocation xive/p9: Force 64K page size on the IC and TM BARs xive/p9: Modify the size of the VP space xive/p9: Introduce definitions for VP ids of HW threads hw/xive.c | 196 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 109 insertions(+), 87 deletions(-)