Received: by 2002:a05:6512:204:0:0:0:0 with SMTP id a4csp2306406lfo; Tue, 8 Mar 2022 04:39:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrGuEfmCeH4Lga1VWvfr/Hjz6K+NihFzsed/n42dqE7IkIjPmqpSs6CsG9RzZXYcCEFpGU X-Received: by 2002:a0d:fe84:0:b0:2d6:c652:6aa8 with SMTP id o126-20020a0dfe84000000b002d6c6526aa8mr12572110ywf.57.1646743190649; Tue, 08 Mar 2022 04:39:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646743190; cv=none; d=google.com; s=arc-20160816; b=nMkaWyAdoVuN6Vu7iWozEQde506RqNblSm2Mw5VKDr3GVpFje/MGxdbiUgakVgsbkE yK45AKQqtl+FAYhdJSsAhFLnuujxiJgQsFoB6rWoUehosL72w7QZYB5Wweeno5fvMS5w UM9Zs4vNfFNQhCpy+QC7K21hUBQBQRWk5FzqOIa0vzIYgTJxhmh1gOzByM0oVgOj50Ui XnIq1O4qO/wc7Lcqs0VSuQWVNOhJFg2IKFuTD5ehwF4rf9Rr1RIktxYI1+Mh3rrtb5Bx E4eTAUQpdtG5xH7mCZx+/JsoFo5Fg7Qqq7UPLPpM2C6opVn+fHgPS/Yx8sD5n5bm1usJ J2QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=2ICtqt/7RmdWXOnhd+FhytFMDh+WuDCPo2IjLro1Jec=; b=jEstZwKohDNMy/SDm0k6lK61f/jXh6eYQ4i1b4T/MpuYnamHTXXLVCpC3lcUzJXcIM LMvt3d0PV0yOb/wO8cQGocsPwOux+CAIuOy/UAx/klBYzl+XtMuo4l9vq/eegl2wOIuZ hU5ZQGqOzxMV36UN/1hWFi7HHyXyPPH/lq37E2QXqz02jP5H+Bi31gSnEVBGoA1N86Qy Lb5rmfOV/mxD1gqqNFrfjX6zFlmjE16V/FGAu1SE5/OHwYx7G0W+nI7RmH8ToWGJlvUF YI0JrX3t1/ftjguLUSwM8DXvTQ3QPsgpao0obndBl8RgyKq8gpARzBw4Mr1AWBZBI+dK IAQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c3-20020a253503000000b0062c1233ea5asi143838yba.130.2022.03.08.04.39.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Mar 2022 04:39:50 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:46982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRZ80-0004I7-2W for alex.bennee@linaro.org; Tue, 08 Mar 2022 07:39:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRYr8-0000iD-0q; Tue, 08 Mar 2022 07:22:22 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:12498 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRYr6-0006Hp-EQ; Tue, 08 Mar 2022 07:22:21 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 228C0C2u029007; Tue, 8 Mar 2022 12:22:05 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 3ep10672qr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Mar 2022 12:22:04 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 228C9374019222; Tue, 8 Mar 2022 12:22:00 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma06ams.nl.ibm.com with ESMTP id 3eky4hygre-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Mar 2022 12:22:00 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 228CLwed41353670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 8 Mar 2022 12:21:58 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3C313AE053; Tue, 8 Mar 2022 12:21:58 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EE7EDAE04D; Tue, 8 Mar 2022 12:21:57 +0000 (GMT) Received: from smtp.tlslab.ibm.com (unknown [9.101.4.1]) by d06av26.portsmouth.uk.ibm.com (Postfix) with SMTP; Tue, 8 Mar 2022 12:21:57 +0000 (GMT) Received: from yukon.ibmuc.com (unknown [9.171.87.238]) by smtp.tlslab.ibm.com (Postfix) with ESMTP id 35C492201DC; Tue, 8 Mar 2022 13:21:57 +0100 (CET) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PULL 06/11] aspeed/smc: Let the SSI core layer define the bus name Date: Tue, 8 Mar 2022 13:21:44 +0100 Message-Id: <20220308122149.1602798-7-clg@kaod.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220308122149.1602798-1-clg@kaod.org> References: <20220308122149.1602798-1-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: MT7cD_J1yAEjeVJqmGTaex4LhWrqaqg6 X-Proofpoint-GUID: MT7cD_J1yAEjeVJqmGTaex4LhWrqaqg6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-08_03,2022-03-04_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxlogscore=999 malwarescore=0 impostorscore=0 clxscore=1034 spamscore=0 adultscore=0 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203080063 Received-SPF: softfail client-ip=148.163.158.5; envelope-from=clg@kaod.org; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.187, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Peter Maydell , Alistair Francis , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-devel" X-TUID: X1JeL1YVsGTO If no id is provided, qdev automatically assigns an unique name with the following pattern "." which avoids bus name collision when using multiple buses. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis Message-Id: <20220307071856.1410731-6-clg@kaod.org> Signed-off-by: C=C3=A9dric Le Goater --- hw/ssi/aspeed_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c index f1b5644aaa34..dc6d4a169df8 100644 --- a/hw/ssi/aspeed_smc.c +++ b/hw/ssi/aspeed_smc.c @@ -1130,7 +1130,7 @@ static void aspeed_smc_realize(DeviceState *dev, Er= ror **errp) /* DMA irq. Keep it first for the initialization in the SoC */ sysbus_init_irq(sbd, &s->irq); =20 - s->spi =3D ssi_create_bus(dev, "spi"); + s->spi =3D ssi_create_bus(dev, NULL); =20 /* Setup cs_lines for peripherals */ s->cs_lines =3D g_new0(qemu_irq, asc->cs_num_max); --=20 2.34.1