From patchwork Tue Oct 1 06:59:45 2019 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: 1169738 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46j9Rz2fRVz9sP7 for ; Tue, 1 Oct 2019 17:11:43 +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 46j9Ry04SYzDqRw for ; Tue, 1 Oct 2019 17:11:42 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=kaod.org (client-ip=46.105.56.233; helo=8.mo69.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 8.mo69.mail-out.ovh.net (8.mo69.mail-out.ovh.net [46.105.56.233]) (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 46j9Bt4ddpzDqQR for ; Tue, 1 Oct 2019 17:00:18 +1000 (AEST) Received: from player731.ha.ovh.net (unknown [10.109.143.225]) by mo69.mail-out.ovh.net (Postfix) with ESMTP id 208F56B231 for ; Tue, 1 Oct 2019 09:00:12 +0200 (CEST) Received: from kaod.org (lfbn-1-2229-223.w90-76.abo.wanadoo.fr [90.76.50.223]) (Authenticated sender: clg@kaod.org) by player731.ha.ovh.net (Postfix) with ESMTPSA id 55946A3AB69E; Tue, 1 Oct 2019 07:00:09 +0000 (UTC) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: skiboot@lists.ozlabs.org Date: Tue, 1 Oct 2019 08:59:45 +0200 Message-Id: <20191001070002.20271-1-clg@kaod.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 17977243816620559321 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrgeefgdduuddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm Subject: [Skiboot] [PATCH v3 00/17] xive/p9: fixes and 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, This series prepares ground for the P10 XIVE driver which has a different HW interface. Follows cleanups and fixes. Thanks, C. Changes since v2: - introduced definitions for well known priorities - dropped the backend framework. It did not seem necessary after a rework of the P10 driver Changes since v1: - rebased on top of Oliver's fixes for P9P - did not introduce a new driver for P9 - removed the XICS emulation removal Cédric Le Goater (17): xive/p9: introduce header files for the registers xive/p9: minor cleanup of the interface xive/p9: use MMIO access for VC_EQC_CONFIG xive/p9: remove code not using indirect mode xive/p9: remove code not using block group mode xive/p9: remove dead code xive/p9: obsolete OPAL_XIVE_IRQ_*_VIA_FW flags xive/p9: obsolete OPAL_XIVE_IRQ_SHIFT_BUG flags xive/p9: fix EQ bitmap assignment when allocation fails xive/p9: introduce definitions for priorities xive/p9: fix silent escalation EQ setup xive/p9: cleanup all EQs when a VP block is freed. xive/p9: remove ACK# setting in the NVT xive/p9: introduce NVT_SHIFT xive/p9: remove XIVE_INT_SAFETY_GAP xive/p9: use predefined bitmasks to manipulate EQ addresses xive/p9: introduce the ESB magic MMIO offsets include/interrupts.h | 1 - include/opal-api.h | 6 +- include/skiboot.h | 1 - include/xive-p9-regs.h | 391 ++++++++++++++++++++++++++++++++++ include/xive-regs.h | 108 ++++++++++ include/xive.h | 472 +---------------------------------------- core/fast-reboot.c | 2 +- hw/phb4.c | 1 + hw/slw.c | 1 + hw/xive.c | 454 +++++++-------------------------------- 10 files changed, 588 insertions(+), 849 deletions(-) create mode 100644 include/xive-p9-regs.h create mode 100644 include/xive-regs.h