From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mRMuT-0005wC-Fy for mharc-grub-devel@gnu.org; Fri, 17 Sep 2021 19:04:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRMuR-0005qu-05 for grub-devel@gnu.org; Fri, 17 Sep 2021 19:04:43 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:38771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRMuP-0005vM-7O for grub-devel@gnu.org; Fri, 17 Sep 2021 19:04:42 -0400 Received: by mail-io1-xd35.google.com with SMTP id z6so7424967iof.5 for ; Fri, 17 Sep 2021 16:04:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZiV2aBZe/OsX0I7W6ENWndwR0Zcs4OG79c2L1wEOMtA=; b=pEmG1Q+CZ3AadSDGIhqBEdSyERNu1kqFPNB+Ulr47iKtKdMnqae+6StSD2KBm41PaC bt4v5PmeM6hL+635WeLU+b+G5dyN4cSbZvd2jprai+VAgxxxSQ39ipbFeX+ff7DlwLQI qvWAySnv1yXFyJefX5U77G6ITdm3wdMiaInUrl1LO2Im/z0/+G4vU9xQZ/FL9m20LkNh CJegdVUfXI0J3oblYgV27EfIspSXk1NP6upawGBivB7b+aTFi5dRucA+yjVP141fFCQK UGGUVKAIN2TiEwk7lHh+lhJRJZ0xy58Gox9W5cEBZ2mNVR2yIKK7Fqf2ARlqK+ANKXko WLzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZiV2aBZe/OsX0I7W6ENWndwR0Zcs4OG79c2L1wEOMtA=; b=6+MW/y2FLJQkpj0AaCdzbR7QBKJbTcpexQ7Dr/MNxZflNUen5NNbzqa0eIGYAc5LBN 6mepO7j/jC/DUxZKgB43MS00AznZLRSGR8uArSUL2xleWNvqXt31qrHVeMryNT5Lw3sH Y3a5JYgIZ7BJiik4gVYHqysHC6YkqT6MaGuFrCdkymV4MXfitcFbAdbNEC7kOyfE10Pd ppc0cp+1zoA7vB9r73GOfeG1Vdf3zJ9uj2NiwiHTb60CugV6o/i1FzkS+DkS5D/npEaa Pz5yIW33CXwwnjUWke/ND3tsZBUuA4jhtL2e2kNtgKOaZtZWVH5huawJxsVdVzT+d5xR vo5Q== X-Gm-Message-State: AOAM5311lG9UjlGjbBP0dCxySDza7gpVKPDNu7J2ty/mX55ABZzE1TKV Frc3IrLUx8wnozqbtniKUYwnxe3GWYTQxdrZ X-Google-Smtp-Source: ABdhPJw1fJfGG/FnJ7lbP+miSjexwRp10N4TJCl1fVV0c1VaJY2X3R9MvUdOMjAQSs5l7FTV63B89Q== X-Received: by 2002:a6b:ce17:: with SMTP id p23mr10507422iob.90.1631919879947; Fri, 17 Sep 2021 16:04:39 -0700 (PDT) Received: from localhost.localdomain ([2806:103e:1d:2421:9e05:7c55:51:e84b]) by smtp.gmail.com with ESMTPSA id s7sm4218127ioc.42.2021.09.17.16.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 16:04:39 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org Cc: Glenn Washburn , Daniel Kiper Subject: [PATCH 08/10] grub-shell: Boot PowerPC using PMU instead of CUDA for power management Date: Fri, 17 Sep 2021 23:04:02 +0000 Message-Id: <20210917230404.1587915-9-development@efficientek.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210917230404.1587915-1-development@efficientek.com> References: <20210917230404.1587915-1-development@efficientek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=development@efficientek.com; helo=mail-io1-xd35.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 23:04:43 -0000 At some point it looks like the defualt machine for qemu-system-ppc started using CUDA as a backend for power management. This causes the machine to throw an exception and not actually power down the VM[1]. Switching to PMU allows power downs and reboots to work as expceted. [1] https://gitlab.com/qemu-project/qemu/-/issues/624 Signed-off-by: Glenn Washburn --- tests/util/grub-shell.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 93e9f5148..5354d8678 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -84,6 +84,7 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in serial_null="-serial null" netbootext=elf trim=1 + qemuopts="-M mac99,via=pmu $qemuopts" ;; sparc64-ieee1275) -- 2.32.0