From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pFt68-0001lp-La for mharc-qemu-riscv@gnu.org; Thu, 12 Jan 2023 03:38:08 -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 1pFt60-0001kp-Cz for qemu-riscv@nongnu.org; Thu, 12 Jan 2023 03:38:05 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFt5y-0005VK-MD for qemu-riscv@nongnu.org; Thu, 12 Jan 2023 03:38:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673512677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7embLn2Cl9KxGN9+kbnQOPXT2oZ/iLd9DqhronnvJrU=; b=FNljmB6tyr2LSU2npTR/HJa4TYtjIPyIPn3lc/sVjcQkBRaOCy5PEn2dSyguiOrsoQffnA OLq0bp3V4iZmgcrAhE8Dhnpxq3BvjCwX+hKMQJ/8NwHYQdXIyI74Kbxjc8CJdTsbNWN7+b qsCLkeaew9hiyWXAd2QcumpXwbot+Es= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-584-AF1BXn-XNuemcjb43VPNWw-1; Thu, 12 Jan 2023 03:37:56 -0500 X-MC-Unique: AF1BXn-XNuemcjb43VPNWw-1 Received: by mail-wm1-f69.google.com with SMTP id bd6-20020a05600c1f0600b003d96f7f2396so12127449wmb.3 for ; Thu, 12 Jan 2023 00:37:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7embLn2Cl9KxGN9+kbnQOPXT2oZ/iLd9DqhronnvJrU=; b=oKS7JWHN3NcBGfVPic2ESR308WXfNrEsMB8eRmE9RJdK3n0sRzleWeAn8YEUJatM4b t1XEHEo7Fx0pNzmdMAt1XPyHPuw1T9cPKcWguIOwVO0us3v5TU3bCp71NjZ2s+KVi/ot eZ1ZIedCsG9ipDC5oxEy34ZwP+fybxcCY6QEtEXQKpTOTG3wY6hgK3u/Q6KwbeJTm/wi ZZOP/AeobziXrm/XHxk2TucXZCwPgGVuV5ZXbK9Qlkpmh8UVuC6jjpOa85QAZoollmGx c4uzotMDEl1xk+3WW0VX3c3nOGQv3OW8K0u1vGpF1SHG9es4GV799KdxWWv2ynzsoZC2 bPqg== X-Gm-Message-State: AFqh2kpVSxNoUkZWjXmWMBoMG3oCSilzu7Ce2jHkD2AoquAofH+JuNyb KV7/iKvQFTIdnB2fhrAgN6ztgWKRA6QZhzjBe/BzauioVLAG4c1eN8vk1TJ85SUiueUVJv3R5Cu F53LjdkkIW8oTWzM= X-Received: by 2002:a05:6000:4004:b0:242:bef:80a1 with SMTP id cy4-20020a056000400400b002420bef80a1mr52390552wrb.2.1673512675249; Thu, 12 Jan 2023 00:37:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXtcZj97D5Xhasc+mQYa27iYhW/tBafaSvxYWJl/ENqksENh7ttStFtCU/dvt4BWpkBu8FeHrQ== X-Received: by 2002:a05:6000:4004:b0:242:bef:80a1 with SMTP id cy4-20020a056000400400b002420bef80a1mr52390532wrb.2.1673512674946; Thu, 12 Jan 2023 00:37:54 -0800 (PST) Received: from [192.168.0.2] (ip-109-43-177-128.web.vodafone.de. [109.43.177.128]) by smtp.gmail.com with ESMTPSA id n6-20020adfe786000000b002bdbde1d3absm5558982wrm.78.2023.01.12.00.37.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Jan 2023 00:37:54 -0800 (PST) Message-ID: <1b78cb0a-3d75-cdec-eb3a-bcd7fad04c51@redhat.com> Date: Thu, 12 Jan 2023 09:37:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] hw/misc/sifive_u_otp: Remove the deprecated OTP config with '-drive if=none' From: Thomas Huth To: Alistair Francis , Bin Meng , Palmer Dabbelt , qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, Markus Armbruster , qemu-block@nongnu.org References: <20230112082951.874492-1-thuth@redhat.com> In-Reply-To: <20230112082951.874492-1-thuth@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2023 08:38:06 -0000 On 12/01/2023 09.29, Thomas Huth wrote: > '-drive if=none' is meant for configuring back-end devices only, so this > got marked as deprecated in QEMU 6.2. Users should now only use the new > way with '-drive if=pflash' instead. > > Signed-off-by: Thomas Huth > --- > docs/about/deprecated.rst | 6 ------ > docs/about/removed-features.rst | 7 +++++++ > hw/misc/sifive_u_otp.c | 7 ------- > 3 files changed, 7 insertions(+), 13 deletions(-) > > diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst > index 68d29642d7..bfe8148490 100644 > --- a/docs/about/deprecated.rst > +++ b/docs/about/deprecated.rst > @@ -87,12 +87,6 @@ as short-form boolean values, and passed to plugins as ``arg_name=on``. > However, short-form booleans are deprecated and full explicit ``arg_name=on`` > form is preferred. > > -``-drive if=none`` for the sifive_u OTP device (since 6.2) > -'''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > - > -Using ``-drive if=none`` to configure the OTP device of the sifive_u > -RISC-V machine is deprecated. Use ``-drive if=pflash`` instead. > - > ``-no-hpet`` (since 8.0) > '''''''''''''''''''''''' > > diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst > index c918cabd1a..b1cb15f3d9 100644 > --- a/docs/about/removed-features.rst > +++ b/docs/about/removed-features.rst > @@ -422,6 +422,13 @@ the value is hexadecimal. That is, '0x20M' should be written either as > ``tty`` and ``parport`` used to be aliases for ``serial`` and ``parallel`` > respectively. The actual backend names should be used instead. > > +``-drive if=none`` for the sifive_u OTP device (removed in 8.0) > +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > + > +Using ``-drive if=none`` to configure the OTP device of the sifive_u > +RISC-V machine is deprecated. Use ``-drive if=pflash`` instead. -ENOTENOUGHCOFFEEYET I think I should adjust that description a little bit instead of blindly copy-n-pasting it... Sorry. I'll send a v2. Thomas