From patchwork Mon Jun 10 06:20:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 802973 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp1799314wro; Sun, 9 Jun 2024 23:22:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUeuPCzwy+Xewtej3od28kpwubHLr8AMCxLg+ZUKhFYQ8J/VXnAbeU3TcWq7dkNECv1WXJwnwqVrSP3/jpdu2N7 X-Google-Smtp-Source: AGHT+IFDWRHxfNX2chH9B/ECtcgGlEA+ZGQy0VEBQP9tSBoWMl/4tzYW+bsQcHjqsuCiaQsW7XGA X-Received: by 2002:a05:6102:312b:b0:48c:33e8:a81 with SMTP id ada2fe7eead31-48c33e80ab9mr4416748137.15.1718000538250; Sun, 09 Jun 2024 23:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718000538; cv=none; d=google.com; s=arc-20160816; b=TWBT3xC0/WK6jUIQyFJPaSNImnBo7yod2scPbNQZM6IjLyahi6UYYyf7UU52O4RLg2 V/qKvcYxwSIIgUUdFyDeAEWmusMNigJxzyAf0T937AIwRhfLrD5/AQDZvheIf+NkPmZI CAHEb0qF37Uu6K5hlJvgGFUml5eaMNmtJaVgXHXWCLXz8lgXVhQ+5uKqEfBDw3VXy30Z 1RYzwy6KQdqoFa2wFifvJ7qOk+/VDEeOmqlfF0V7cpIQgkBvHKxpD6X7MeSRkkOIlUur q/ybO9yHEfwtAsmWRuT42NE/Ej+KyOUc8IuYUBsbQm/i5kqFDWWRfpRluibWJNzDg8Ke FCsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=lEW/qFqRvf1Ue1gQbjp7+E0dqhff+FhZ7GMHEsEvvbU=; fh=CohTlSyOnQwQnRLpaD/Qh1K31yPXgJutQlulzY3Xtik=; b=SMcpY8iCsmSGvQ/onOzj17s+e4q65j56OE/GKMPv4xcSwBDaYtF74tSeJ73Oru2OHD TO/mCLSSBoyfqZc9djZXLEOk0KjeERXNR8qr5I3V7X6/BXP7GGfOYnLuEfl8FGZgqkme G6d2fj1/N557Gy2iwDDFNjB1i5A8AYKKA8Q1msAa1lwDe3rAvkHW1rPnUl4ENlhyAmAW BGB4dQ0xIFeogL6womcag+Hq+LRKopH1221MReTi18CmlhtjkVQjq/AhqUAl1TQQE1MS WZO7tv33HLidnkKU8oE60DEuYAQ8mhl/5EPStK94yUFWE2oPUgM5oeJSFfCO9oMwK8UI od/Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SJgZTpRQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7953337f220si1007631885a.680.2024.06.09.23.22.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Jun 2024 23:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SJgZTpRQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGYP4-0002EI-60; Mon, 10 Jun 2024 02:21:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sGYP2-0002Db-2X for qemu-devel@nongnu.org; Mon, 10 Jun 2024 02:21:12 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGYP0-0004Ha-9G for qemu-devel@nongnu.org; Mon, 10 Jun 2024 02:21:11 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4218180a122so5513615e9.1 for ; Sun, 09 Jun 2024 23:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718000468; x=1718605268; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lEW/qFqRvf1Ue1gQbjp7+E0dqhff+FhZ7GMHEsEvvbU=; b=SJgZTpRQKVft4j3nS86xWbJrNy3xJ/DUknrdLW/vpzGs4nlq1e0/HncyrudpGkqyrj BohFPQTrZPiQ21BJ4pSSMD+hJ7M2E2WWcSEtZCGZUYE2inzneeLpoHhDC5s56gYNaHZ4 DT0qtszFyMVr+gGUDFsHWfhRfmmDo82aL/CPq7hCie5lYXSdvnIqL6z2+EDKu0wP6vPG s57g6/UILAU+1X2a04v6DUeza19ecUoLBRZ/rf/ZEaBEx6ADaaOdUiVGpvL7kAwl+NtO PTaShPCZCHXg4rOnvBV7ENNW6wDYoND6C0693Ykh/XMRUZgORjqDHBXw9L6u0lz3gqPQ n52g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718000468; x=1718605268; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lEW/qFqRvf1Ue1gQbjp7+E0dqhff+FhZ7GMHEsEvvbU=; b=G3JDmZSt0IbZov4wmJxdTY1uprd2To2r1lkf5FzJI2Ew093qxtcRxBMMQBADBIra1T UQ3xNfb1qLxqlFzIZsEqIwWWX0mBAm/HlmDq8jpp0ASsa2cKV/G490HlpozM5q++lrHF XZhoqN0WTslFkCWd1K1Bdw7mvKct+JfgRYehJZ+mV5R28fkfbELsB6vKSTqz2vHy9N1H OKXIjr+qvr0q4glo+MmKclxFn2p6OXmPyggliT1V8hCmvVRS2Aq90y3t3zjEFBBe6WjY cJvDBzMqXIqDTC+xLhGF2L3FH7Aie7HL4+Daufbp0JiATy9ek4EfT7P4vE0c92D7zEvI s/ng== X-Gm-Message-State: AOJu0Yy/Nr89c6NjRf3meQMnzRdkgmj9r0RnrMWAZvwrbYjwMa5jBzH6 rBoGnJXcnlCBRf8Jefsn5cDABrpdk4VWEiIPmzYPKHAU93dTymG7KG+wvyMB+ABLYsa/q3wAYRy J X-Received: by 2002:a05:600c:4e88:b0:421:7aa1:439 with SMTP id 5b1f17b1804b1-4217aa108c9mr49703805e9.30.1718000468092; Sun, 09 Jun 2024 23:21:08 -0700 (PDT) Received: from m1x-phil.lan ([176.176.129.242]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-421818907b6sm44823455e9.27.2024.06.09.23.21.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 09 Jun 2024 23:21:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Harsh Prateek Bora , qemu-ppc@nongnu.org, Nicholas Piggin , =?utf-8?b?RnLDqWTDqXJpYyBCYXJyYXQ=?= , David Gibson , =?utf-8?q?Daniel_P_=2E_Berrang?= =?utf-8?q?=C3=A9?= , Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , Philippe =?unknown-8bit?q?Mathieu-Daud=C3?= =?unknown-8bit?q?=A9?= Subject: [PATCH 00/26] hw/ppc: Prefer HumanReadableText over Monitor Date: Mon, 10 Jun 2024 08:20:38 +0200 Message-ID: <20240610062105.49848-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Hi, This series remove uses of Monitor in hw/ppc/, replacing by the more generic HumanReadableText. Care is taken to keep the commit bisectables by updating functions one by one, also easing review. For rationale see previous series from Daniel: https://lore.kernel.org/qemu-devel/20211028155457.967291-1-berrange@redhat.com/ Regards, Phil. Philippe Mathieu-Daudé (26): hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info() hw/ppc: Avoid using Monitor in icp_pic_print_info() hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info() hw/ppc: Avoid using Monitor in ics_pic_print_info() hw/ppc: Avoid using Monitor in PnvChipClass::intc_print_info() hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_end_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_pic_print_info() hw/ppc: Avoid using Monitor in xive_source_pic_print_info() hw/ppc: Avoid using Monitor in pnv_phb4_pic_print_info() hw/ppc: Avoid using Monitor in xive_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_nvt_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive_pic_print_info() hw/ppc: Avoid using Monitor in pnv_psi_pic_print_info() hw/ppc: Avoid using Monitor in xive2_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_pic_print_info() hw/ppc: Avoid using Monitor in xive2_nvp_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive2_pic_print_info() hw/ppc: Avoid using Monitor in SpaprInterruptControllerClass::print_info() hw/ppc: Avoid using Monitor in spapr_irq_print_info() hw/ppc: Avoid using Monitor in pnv_chip_power9_pic_print_info_child() hw/ppc: Avoid using Monitor in pic_print_info() include/hw/pci-host/pnv_phb3.h | 2 +- include/hw/pci-host/pnv_phb4.h | 2 +- include/hw/ppc/pnv_chip.h | 4 +- include/hw/ppc/pnv_psi.h | 2 +- include/hw/ppc/pnv_xive.h | 4 +- include/hw/ppc/spapr_irq.h | 4 +- include/hw/ppc/xics.h | 4 +- include/hw/ppc/xive.h | 4 +- include/hw/ppc/xive2_regs.h | 8 +-- include/hw/ppc/xive_regs.h | 8 +-- hw/intc/pnv_xive.c | 38 ++++++------ hw/intc/pnv_xive2.c | 48 +++++++-------- hw/intc/spapr_xive.c | 41 ++++++------- hw/intc/xics.c | 25 ++++---- hw/intc/xics_spapr.c | 7 +-- hw/intc/xive.c | 108 ++++++++++++++++----------------- hw/intc/xive2.c | 87 +++++++++++++------------- hw/pci-host/pnv_phb3_msi.c | 21 +++---- hw/pci-host/pnv_phb4.c | 17 +++--- hw/ppc/pnv.c | 52 ++++++++-------- hw/ppc/pnv_psi.c | 9 ++- hw/ppc/spapr.c | 11 +++- hw/ppc/spapr_irq.c | 4 +- 23 files changed, 256 insertions(+), 254 deletions(-) Reviewed-by: Manos Pitsidianakis Reviewed-by: Cédric Le Goater Reviewed-by: Harsh Prateek Bora