From nobody Sat Nov 15 15:30:23 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1595223772; cv=none; d=zohomail.com; s=zohoarc; b=J6i1OTZkzBZOmGYq54xOQA2lt67zixsOZdu6uhthidAdKYNdZE24O+3g8YEBmODoq5rDg5Hu53/9iLBqytSqYQcBbwAGX2CwFiT6rZbzrxh0VQYewTRnRfrRjJOBbBQ8u47/U34hoE1VGOa6kDmjuZDumagu9viZayKfnYsEYMA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595223772; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=440XkrQuO8qJU5WQuE+VZwigZRWY+1fIIB26Pl5vVp8=; b=VeQ65k6bJBRPEukce4NWVqyI5+jQAD+7l0IdpaJNoDbL26jaAEDXf6mjY+f9GJjJvM8QDybuqMJC+O24q4vK+MUcStA0DtEa/zuudYPSDROPcmxdWYi9lI7MSaFhLmH2+7v7HzR/Wbgnuek2wfZ6eK5utGMivr0OSB473pwOwrw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1595223771988649.404229976085; Sun, 19 Jul 2020 22:42:51 -0700 (PDT) Received: from localhost ([::1]:53216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxOZc-0006lC-Lf for importer@patchew.org; Mon, 20 Jul 2020 01:42:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxOYW-0005hW-Nn; Mon, 20 Jul 2020 01:41:40 -0400 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2]:35337 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxOYT-0005w3-TO; Mon, 20 Jul 2020 01:41:40 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4B99Zd5tm9z9sRN; Mon, 20 Jul 2020 15:41:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1595223689; bh=GRhVhfoQfc+mGBRWEkJexw+nAj42hew1pHivUA4/MQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HVjVCybuClqL3U6/9ekQp/gmLjeRm/lL2srvLJ0qM+vqFxfV9cbREa5sOqxyIaegS mMZBQWXh5b+S6j/Smrjv3oq8TFtMWRsCL1EFfQzUXkqNoN0Uv1Wn8wLyq6sx4xmYvG hojf7ogAMS3XEtyP0ebOn18eaHoSAu0m6cAdAQS8= From: David Gibson To: peter.maydell@linaro.org Subject: [PULL 1/4] ppc/pnv: Make PSI device types not user creatable Date: Mon, 20 Jul 2020 15:41:23 +1000 Message-Id: <20200720054126.258032-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200720054126.258032-1-david@gibson.dropbear.id.au> References: <20200720054126.258032-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2401:3900:2:1::2; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , David Gibson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, groug@kaod.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Greg Kurz QEMU aborts with -device pnv-psi-POWER8: $ qemu-system-ppc64 -device pnv-psi-POWER8 qemu-system-ppc64: hw/intc/xics.c:605: ics_realize: Assertion `ics->xics' failed. Aborted (core dumped) The Processor Service Interface Controller is an internal device. It should only be instantiated by the chip, which takes care of configuring the link required by the ICS object in the case of POWER8. It doesn't make sense for a user to specify it on the command line. Note that the PSI model for POWER8 was added 3 yrs ago but the devices weren't available on the command line because of a bug that was fixed by recent commit 2f35254aa0 ("pnv/psi: Correct the pnv-psi* devices not to be sysbus devices"). Fixes: 54f59d786c ("ppc/pnv: Add cut down PSI bridge model and hookup exter= nal interrupt") Reported-by: Thomas Huth Signed-off-by: Greg Kurz Message-Id: <159413975752.169116.5808968580649255382.stgit@bahia.lan> Signed-off-by: David Gibson --- hw/ppc/pnv_psi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ppc/pnv_psi.c b/hw/ppc/pnv_psi.c index 5bdeec700e..6a479cac53 100644 --- a/hw/ppc/pnv_psi.c +++ b/hw/ppc/pnv_psi.c @@ -929,6 +929,7 @@ static void pnv_psi_class_init(ObjectClass *klass, void= *data) dc->desc =3D "PowerNV PSI Controller"; device_class_set_props(dc, pnv_psi_properties); dc->reset =3D pnv_psi_reset; + dc->user_creatable =3D false; } =20 static const TypeInfo pnv_psi_info =3D { --=20 2.26.2