From patchwork Tue Feb 20 15:08:29 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: 774268 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1699905wrs; Tue, 20 Feb 2024 07:09:51 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVHKu/96DCwO+SDH1Q1zutZCZ0hZS/YoMGKK24oUhNkwMFgUoWOOclrVY0341zBVZw6PE7Dt67cf/axMxEW9Dbp X-Google-Smtp-Source: AGHT+IFpCCsQI4elDk9B5b2V1X4CTqgMJzzc+22+u9x+S1pKv0gA7l016LV2rIXDDqDj3A4Vc/yF X-Received: by 2002:a0c:de10:0:b0:68f:3dce:7b99 with SMTP id t16-20020a0cde10000000b0068f3dce7b99mr12863554qvk.3.1708441791425; Tue, 20 Feb 2024 07:09:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708441791; cv=none; d=google.com; s=arc-20160816; b=gCSf9CvmiRC2UjsQ/gbcZUN1lmxtqpMoLEPirtOZJkrAIETv5ycCH8nMQL9Yjdwss2 vkl7rr8AmtJtN1z84GZz5r8zvkyP2zt6YR8YLWtG1Okxoj4hmx6lnZX5OUq10PYcbieo DnaDF6dfUrHjfiqh5kZ8ORE/QVkNEO/AE179zGcXQruqYE2N0lVOufkKVNth0WyuJfJ5 Tvhk6RXVZvA1jsVNV8ZzC3r+ncKyn/tlOLEePltpiQJlTXH901+UgEaWUFC29eXpSmpo VUKX66ySKahPeyapHcNkG56YSUWFt7OAObMjiAphvwaE+t2xx+TdqAOjnSX30dwQJh87 H7Yw== 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=v8206/ozsFyG9qNvJzTDFGK4jzPQfnBC7XG0nswkrMc=; fh=Kj1Q3W+eKnirKV+GTpWI8fg+EH4tfu/RdGrkjWm+xh8=; b=XVKoqEO4fNFh1JFm64I8YPM8IoMzpPjzxcocTaTJXsIa0vX2qBGQDwZR2VTtTPad6S 5/rluxZli34BNGC3QKeyWnkcCLQFDUwlU3czVnfbIeWkKruKy0lZ+xLk2g/ImRawkOPy p4e505HqroWh5drWCtXSxhoHUwuXi0MlhrPdpwiUu4gdTzapulIAtqpNCd6EtKTWErlj If9yh5NGs9bBOA8f73u3NVert9jLRKz7g+yvlRFIxa1KqTQKYdxuHHDZSCiKpDRryrug 1LsMaDZs3QTm/gu9x5IPpJ9ObDt9fHT/taQg1K70Iyg/oPmiE7GEgfhQ+xzwIxLC5dFo th4w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fPbIWhBy; 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 r4-20020a0562140c8400b0068f56eb7362si6944040qvr.558.2024.02.20.07.09.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Feb 2024 07:09:51 -0800 (PST) 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=fPbIWhBy; 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 1rcRje-0004Hq-0a; Tue, 20 Feb 2024 10:08:42 -0500 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 1rcRjc-0004HG-E9 for qemu-devel@nongnu.org; Tue, 20 Feb 2024 10:08:40 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcRja-0003le-Qs for qemu-devel@nongnu.org; Tue, 20 Feb 2024 10:08:40 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-33d01faf711so3354164f8f.1 for ; Tue, 20 Feb 2024 07:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708441716; x=1709046516; 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=v8206/ozsFyG9qNvJzTDFGK4jzPQfnBC7XG0nswkrMc=; b=fPbIWhBy9Fc9ElsYmNut/BkMxFvI6yhGL++2Y/jk1VGBBcWSOTWFZk5YwFUVhj3uw5 K718kYliqS3GexNoIKWnH9ARArXbQVQr0nL2G80VvOySDAgUH17Lwb5o0jy0iKCSJvuN HLvEo38zXlG49jx6LPN839vqYYgF7JGHyB4yZArw8hH8v2u/0CT9QI05A41DHl+PzM+U Pzl71QLdOODJlrWEu6KZBiRSEL/NTljVsl22Tp5WZSm6acQ5CMP4ha1DCWwGs0MOuCv/ 1lxc32YV4izXbGLXwo6m1REaCQKbUAjGq8ZTihPjRe/CTIdyijnyw4u3fn04PKMUY++N VrYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708441716; x=1709046516; 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=v8206/ozsFyG9qNvJzTDFGK4jzPQfnBC7XG0nswkrMc=; b=czsZJxCX+FSQx8iQCCvlDnFPrT2izVSLUV5e4q9JFbk2dLLjr/3wf6rVckdqa3Fgul Mcu/QUoTGC8auy9O/BZUrTezbrbwJEYScI5NHuDLhnD2/AIJ7Ur+Xkzemt5wULSelZcw gfPC+m3JphuG7mzErXbcYFZImzi/JdwRP7RzQgIivDq4ZRdq4IdYlOtBGOiF80t4kaZ4 bISZUOXrvpLw2Z1vkN87qp4iDlNcFWqCp5mVTPj9na6Qw+yw8BX+66iNO3hCxPDY6TdI FGreaWXsDUorLPdS2aOBTmqrahFHpJZfAEA2Kcq9mZA/VwOXNf9OOk725FeZtgbCffTM dBTQ== X-Gm-Message-State: AOJu0YxP4YGtLRrs1SOgGyh6MBBgIA4Ji1Phz3ZCNJ+r+8PFGBlbp/uG r/1miauFSrt7psQcjCDIK14dLvL4OkGRejM/XTWjysysOfXte7UXVnOhoawu0am1H17onnza0U7 G X-Received: by 2002:adf:e10f:0:b0:33d:509c:5692 with SMTP id t15-20020adfe10f000000b0033d509c5692mr4461999wrz.31.1708441716626; Tue, 20 Feb 2024 07:08:36 -0800 (PST) Received: from m1x-phil.lan (mek33-h02-176-184-23-7.dsl.sta.abo.bbox.fr. [176.184.23.7]) by smtp.gmail.com with ESMTPSA id ay5-20020a5d6f05000000b0033d1ef15821sm13635071wrb.25.2024.02.20.07.08.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 20 Feb 2024 07:08:35 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Markus Armbruster , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Christian Borntraeger , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= Subject: [PATCH 0/4] hw/nmi: Remove @cpu_index argument Date: Tue, 20 Feb 2024 16:08:29 +0100 Message-ID: <20240220150833.13674-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::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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 Have s390x always deliver NMI to the first CPU, remove the @cpu_index argument from handler, rename API as nmi_trigger() (not monitor specific). Philippe Mathieu-Daudé (4): hw/nmi: Use object_child_foreach_recursive() in nmi_children() hw/s390x/virtio-ccw: Always deliver NMI to first CPU hw/nmi: Remove @cpu_index argument from NMIClass::nmi_handler() hw/nmi: Remove @cpu_index argument from nmi_trigger() qapi/run-state.json | 5 +++-- include/hw/nmi.h | 24 ++++++++++++++++++++++-- hw/core/nmi.c | 24 +++++++++--------------- hw/hppa/machine.c | 8 +++++--- hw/i386/x86.c | 7 ++++--- hw/intc/m68k_irqc.c | 6 ++++-- hw/ipmi/ipmi.c | 3 +-- hw/m68k/q800-glue.c | 6 ++++-- hw/misc/macio/gpio.c | 6 ++++-- hw/ppc/pnv.c | 6 ++++-- hw/ppc/spapr.c | 6 ++++-- hw/s390x/s390-virtio-ccw.c | 8 ++++---- hw/watchdog/watchdog.c | 2 +- system/cpus.c | 2 +- hmp-commands.hx | 2 +- 15 files changed, 71 insertions(+), 44 deletions(-)