From patchwork Wed Oct 16 21:24:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13838969 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71261D2F7C5 for ; Wed, 16 Oct 2024 21:26:09 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1BVI-00026i-Gw; Wed, 16 Oct 2024 17:24:24 -0400 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 1t1BVH-00026D-34; Wed, 16 Oct 2024 17:24:23 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1BVF-00012l-Jz; Wed, 16 Oct 2024 17:24:22 -0400 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a9a3dc089d8so35288266b.3; Wed, 16 Oct 2024 14:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729113859; x=1729718659; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IVwI7uw91/Pzkk9Jwk813s5wFhg5RsQ7pjAvW6ZM0yk=; b=RWOAG7oYfTNfVRMiQMzHqb5HQibO/pAav7cYa8FlEJFBsf4rUBne8cD2OcO6zviTHr BIRIZtBbhFAxA83rIpobOdIjvZaLuEwRwKLQlMJgfvITOi89KkFjS0ybMNahIL4UMSN1 iL/jv4WJKGo57GoUdeeloUztWU1uXyrdMDNhq+EzSidn3ateUzBBiXJJFAIHppsfUpO0 iObzxSbaxllZx2/Spm7ywmI3VNByVk/YRoAxMCubQsXUIsW+FnBI3GdZt65lLQjMBwrh 17nASplr3lwfMszM1BvD3mw8WSUAZNdZNF3aqAk9/sDJ9SHjoDBk2Y2mBViBgFViozj+ wDHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729113859; x=1729718659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IVwI7uw91/Pzkk9Jwk813s5wFhg5RsQ7pjAvW6ZM0yk=; b=w3pq7gVxGb1GGvep8E1m6gaJG+6CROnvxsozml2zwqf7kEFQeh3PaMsGgkm/JirnhY tDK1Enb+uqNyCdpOKi67+c303punnV9G2zC/tV6tWenobPke42X+jAWcTkKRIBODR7e9 I/I3nkh0eacdihncORtbbQfsKkhvteoEKVxOLaBAlGrhJGvTQqkwFpsvPIUSEVAA/2b9 GR+ty8iLKIm3XucfTGZr7WlB4wudNsVMsoEBic4NLomwnPgBr9uGTNIqoxWbdPXtXYsB 2K0MkIGq4FgBv2BKqz2j7fi6Fe3INsuLPomgE3GWmyXpqQeoTtpwQkDTwRTQVUNULl+6 w1TQ== X-Forwarded-Encrypted: i=1; AJvYcCW7VmfSIG/enfooUthViXOut56iDursRKTzeNSdF02ee5Wl3FazNw5J/WB3f+DaNSFq8OXQJQJZ7A==@nongnu.org X-Gm-Message-State: AOJu0Yxi5PV3bDI0FoUReJQE40PbvgBxdijEz7N4WG7p6IVtv+H6pNxX o6CQT15Y/ELWtO9v+mRWOdDhUpL4lWOjWGjl6uLg9HLjbHcsy0S2PeG0ng== X-Google-Smtp-Source: AGHT+IErxbozJzZLEWdF0Ml4Mwe7FQHVIjkej4uQ+e6cllNdotEIZ7aupqpVDMk801ar+h6ZlrvmzQ== X-Received: by 2002:a17:907:788:b0:a99:46dd:f397 with SMTP id a640c23a62f3a-a99e3e9c018mr1643215366b.64.1729113858896; Wed, 16 Oct 2024 14:24:18 -0700 (PDT) Received: from archlinux.. (dynamic-077-191-025-143.77.191.pool.telefonica.de. [77.191.25.143]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a29750a9asm218005766b.88.2024.10.16.14.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 14:24:17 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: Jason Wang , qemu-arm@nongnu.org, Peter Maydell , Guenter Roeck , Paolo Bonzini , Bernhard Beschow Subject: [PATCH v2 1/5] hw/resettable: Add SOFT reset type Date: Wed, 16 Oct 2024 23:24:03 +0200 Message-ID: <20241016212407.139390-2-shentey@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241016212407.139390-1-shentey@gmail.com> References: <20241016212407.139390-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=shentey@gmail.com; helo=mail-ej1-x62e.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This is a preparation for the next patch. Signed-off-by: Bernhard Beschow --- include/hw/resettable.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/resettable.h b/include/hw/resettable.h index fd862f1e9f..0f25beaf21 100644 --- a/include/hw/resettable.h +++ b/include/hw/resettable.h @@ -40,6 +40,7 @@ typedef enum ResetType { RESET_TYPE_WAKEUP, RESET_TYPE_S390_CPU_INITIAL, RESET_TYPE_S390_CPU_NORMAL, + RESET_TYPE_SOFT, } ResetType; /*