Received: by 2002:ac2:446b:0:0:0:0:0 with SMTP id y11csp884524lfl; Wed, 16 Feb 2022 00:35:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaKpCVEeW1SOyQTZYj+HgrHkPlFV+6/bcVjZA2yluff/9mBAqlILo6oRnrea+/2FV3qYQP X-Received: by 2002:a05:620a:3709:b0:47b:416:223e with SMTP id de9-20020a05620a370900b0047b0416223emr717734qkb.601.1645000536297; Wed, 16 Feb 2022 00:35:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645000536; cv=none; d=google.com; s=arc-20160816; b=sO5bTRpGjsyYM112iXHahXN9RyINJxLUApVou3FTPQT7F2YMPzEppVCJRKf35jTJvX PsEEeJVCyWTNAyBHsuCYPLHITGGlbn4ezoiC4OVhCElkHNCBlhWDdai26B/IcgNdQw9G RuDIdHZ8nkXvIf7ea0vloc5T8vNV+HkDcAWoBoCo69TrcZFaZT/YAFthx9a0AZgTUxRS A+nEfWb7qZhiSXeubiFEduQ+Im+7pd//vvRvFsgtSHsQmXWb+TZhrHslhMd25tORR9a5 rUngSJM0tkurmZ8uTbZ7JfbHBwS8rrjuATeoNgCYdAJcm5el+BTrzrnaUp+VFFGaOrmL 0+Dw== 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 :in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id; bh=8xjQen6E7KsURa0YEQq/e6Aq1z2CGhSQIYt9X0mz6bw=; b=UimVI8vAS0XupW49CbwRoqxkST2TkkIKcRiIPcABGr2t5gWnxz7gQGUEpTWaiOTIdD Pi3pOTw9VChApYxbjoqjP1i0yQK9Bz02PipeteOXuFHNhH0phrgrLAt0HKf7t/JUpKum YAyzjAIlc45rCvP/xoWsNQr/aQAFYzjE5LqG+/cmCgzfxVwPRVr8XD6rYcAqqWrJOppG fm0wAnnokpiKQcztzRb1m0ylcFHAiyBOwEavs/wD6A/qOsdt7X7v8YFy+RwxeDGmZu7/ lSS/9vAJSeB22StWtTR88LZw5iUzCHyuFS9kAD0XTBfzfoWLg5dJpQ070Mzp1pL4oEmQ ncLA== 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 z201si16113qkb.86.2022.02.16.00.35.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Feb 2022 00:35:36 -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]:51394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKFmh-0007wH-Pz for alex.bennee@linaro.org; Wed, 16 Feb 2022 03:35:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKFRm-000437-P0 for qemu-devel@nongnu.org; Wed, 16 Feb 2022 03:13:58 -0500 Received: from 2.mo548.mail-out.ovh.net ([178.33.255.19]:51799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKFRk-00020B-8b for qemu-devel@nongnu.org; Wed, 16 Feb 2022 03:13:58 -0500 Received: from mxplan5.mail.ovh.net (unknown [10.109.138.132]) by mo548.mail-out.ovh.net (Postfix) with ESMTPS id 13D9520FA0; Wed, 16 Feb 2022 08:13:52 +0000 (UTC) Received: from kaod.org (37.59.142.97) by DAG4EX1.mxp5.local (172.16.2.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Wed, 16 Feb 2022 09:13:52 +0100 Authentication-Results: garm.ovh; auth=pass (GARM-97G0023a010245-8895-47ce-af81-6e04b7f6765d, A1B2BD187F74F0B5B5C68C97B98B37E493FE0AD5) smtp.auth=clg@kaod.org X-OVh-ClientIp: 82.64.250.170 Message-ID: <9fcedcd4-a60f-551b-c262-664405691a14@kaod.org> Date: Wed, 16 Feb 2022 09:13:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2] arm: Remove swift-bmc machine Content-Language: en-US To: Joel Stanley , Peter Maydell References: <20220216080947.65955-1-joel@jms.id.au> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= In-Reply-To: <20220216080947.65955-1-joel@jms.id.au> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [37.59.142.97] X-ClientProxiedBy: DAG6EX1.mxp5.local (172.16.2.51) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: 318601e8-7a10-4403-a764-7c7eb9684534 X-Ovh-Tracer-Id: 12844266141495233443 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrjeehgdduudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfhisehtkeertddtfeejnecuhfhrohhmpeevrogurhhitggpnfgvpgfiohgrthgvrhcuoegtlhhgsehkrghougdrohhrgheqnecuggftrfgrthhtvghrnhepieegvdffkeegfeetuddttddtveduiefhgeduffekiedtkeekteekhfffleevleelnecukfhppedtrddtrddtrddtpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopehqvghmuhdquggvvhgvlhesnhhonhhgnhhurdhorhhg Received-SPF: pass client-ip=178.33.255.19; envelope-from=clg@kaod.org; helo=2.mo548.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, 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: , Cc: Andrew Jeffery , qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-devel" X-TUID: +lUer8HLF16c On 2/16/22 09:09, Joel Stanley wrote: > It was scheduled for removal in 7.0. > > Signed-off-by: Joel Stanley Reviewed-by: Cédric Le Goater Thanks, C. > --- > v2: also remove from docs/about/deprecated.rst > > docs/about/deprecated.rst | 7 ----- > docs/system/arm/aspeed.rst | 1 - > hw/arm/aspeed.c | 53 -------------------------------------- > 3 files changed, 61 deletions(-) > > diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst > index 26d00812ba94..85773db631c1 100644 > --- a/docs/about/deprecated.rst > +++ b/docs/about/deprecated.rst > @@ -315,13 +315,6 @@ Use the more generic event ``DEVICE_UNPLUG_GUEST_ERROR`` instead. > System emulator machines > ------------------------ > > -Aspeed ``swift-bmc`` machine (since 6.1) > -'''''''''''''''''''''''''''''''''''''''' > - > -This machine is deprecated because we have enough AST2500 based OpenPOWER > -machines. It can be easily replaced by the ``witherspoon-bmc`` or the > -``romulus-bmc`` machines. > - > PPC 405 ``taihu`` machine (since 7.0) > ''''''''''''''''''''''''''''''''''''' > > diff --git a/docs/system/arm/aspeed.rst b/docs/system/arm/aspeed.rst > index d8b102fa0ad0..60ed94f18759 100644 > --- a/docs/system/arm/aspeed.rst > +++ b/docs/system/arm/aspeed.rst > @@ -22,7 +22,6 @@ AST2500 SoC based machines : > - ``romulus-bmc`` OpenPOWER Romulus POWER9 BMC > - ``witherspoon-bmc`` OpenPOWER Witherspoon POWER9 BMC > - ``sonorapass-bmc`` OCP SonoraPass BMC > -- ``swift-bmc`` OpenPOWER Swift BMC POWER9 (to be removed in v7.0) > - ``fp5280g2-bmc`` Inspur FP5280G2 BMC > - ``g220a-bmc`` Bytedance G220A BMC > > diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c > index d911dc904fb3..9789a489047b 100644 > --- a/hw/arm/aspeed.c > +++ b/hw/arm/aspeed.c > @@ -544,35 +544,6 @@ static void romulus_bmc_i2c_init(AspeedMachineState *bmc) > i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 11), "ds1338", 0x32); > } > > -static void swift_bmc_i2c_init(AspeedMachineState *bmc) > -{ > - AspeedSoCState *soc = &bmc->soc; > - > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 3), "pca9552", 0x60); > - > - /* The swift board expects a TMP275 but a TMP105 is compatible */ > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 7), "tmp105", 0x48); > - /* The swift board expects a pca9551 but a pca9552 is compatible */ > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 7), "pca9552", 0x60); > - > - /* The swift board expects an Epson RX8900 RTC but a ds1338 is compatible */ > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 8), "ds1338", 0x32); > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 8), "pca9552", 0x60); > - > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 9), "tmp423", 0x4c); > - /* The swift board expects a pca9539 but a pca9552 is compatible */ > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 9), "pca9552", 0x74); > - > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 10), "tmp423", 0x4c); > - /* The swift board expects a pca9539 but a pca9552 is compatible */ > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 10), "pca9552", > - 0x74); > - > - /* The swift board expects a TMP275 but a TMP105 is compatible */ > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 12), "tmp105", 0x48); > - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 12), "tmp105", 0x4a); > -} > - > static void sonorapass_bmc_i2c_init(AspeedMachineState *bmc) > { > AspeedSoCState *soc = &bmc->soc; > @@ -1102,26 +1073,6 @@ static void aspeed_machine_sonorapass_class_init(ObjectClass *oc, void *data) > aspeed_soc_num_cpus(amc->soc_name); > }; > > -static void aspeed_machine_swift_class_init(ObjectClass *oc, void *data) > -{ > - MachineClass *mc = MACHINE_CLASS(oc); > - AspeedMachineClass *amc = ASPEED_MACHINE_CLASS(oc); > - > - mc->desc = "OpenPOWER Swift BMC (ARM1176)"; > - amc->soc_name = "ast2500-a1"; > - amc->hw_strap1 = SWIFT_BMC_HW_STRAP1; > - amc->fmc_model = "mx66l1g45g"; > - amc->spi_model = "mx66l1g45g"; > - amc->num_cs = 2; > - amc->i2c_init = swift_bmc_i2c_init; > - mc->default_ram_size = 512 * MiB; > - mc->default_cpus = mc->min_cpus = mc->max_cpus = > - aspeed_soc_num_cpus(amc->soc_name); > - > - mc->deprecation_reason = "redundant system. Please use a similar " > - "OpenPOWER BMC, Witherspoon or Romulus."; > -}; > - > static void aspeed_machine_witherspoon_class_init(ObjectClass *oc, void *data) > { > MachineClass *mc = MACHINE_CLASS(oc); > @@ -1277,10 +1228,6 @@ static const TypeInfo aspeed_machine_types[] = { > .name = MACHINE_TYPE_NAME("romulus-bmc"), > .parent = TYPE_ASPEED_MACHINE, > .class_init = aspeed_machine_romulus_class_init, > - }, { > - .name = MACHINE_TYPE_NAME("swift-bmc"), > - .parent = TYPE_ASPEED_MACHINE, > - .class_init = aspeed_machine_swift_class_init, > }, { > .name = MACHINE_TYPE_NAME("sonorapass-bmc"), > .parent = TYPE_ASPEED_MACHINE,