From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2580DC19F2D for ; Fri, 12 Aug 2022 15:37:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KKSzbgx2aAfOUIsvMxHmt6h27J5DTEXODmHUzfwpgwk=; b=UOfeEiim68ADvK 9viDXskBOjka9dmA5eUHV8DiO03FX4kLunrdqK+mKB/VowvN8mNTzMBnVFa8uPenonZ5jz+B2BQCJ sjSGz9UbJIdV5aH7Ta3dnP+v6AXsx9W8cDtL5uJghSIYQ2G2co8EmF0xmKKjp4g5t9y6t0MZvm+Qc BJFrOtHYuK+5HGA+uyoMM0gNN3dlcixiO1m2qM5UY6N3m/p+QmOaNWwK36vQc9sFnG+whuBH22kPs klO40Icog7EBdCg+tivOjdIuUmlxI+C/LLwMqBrnrv+PhadVCUINaSUOGaym/2+GjvdklLK8gsyk5 Qcw1t0KJitj7j0RNqLgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMWiU-00A9nG-J3; Fri, 12 Aug 2022 15:36:54 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMWiR-00A9m8-KR for linux-riscv@lists.infradead.org; Fri, 12 Aug 2022 15:36:53 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3F029B82463; Fri, 12 Aug 2022 15:36:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98C7AC433C1; Fri, 12 Aug 2022 15:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660318609; bh=YRn04fAOQfu425U7I9IxcMk0NV7e8U+U8JqZwI7M3BE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G0asI1faaGqmGaxqL69aNYS8G03YMudgXiNb8yxkojxHtsvT5abz5PRq8vd2TZrtY krBa4t48qi+pRU7NIZbZpBRaNzFUFaB09jbHVc4R3ccwOYDERa9dHSNyVzpgUVgBmK 0DlFxgUt+LBWwJcP3vyEFz0hm/Pevl/PyQvKVT/U= Date: Fri, 12 Aug 2022 17:36:46 +0200 From: Greg Kroah-Hartman To: Ron Economos Cc: Nathan Chancellor , Sasha Levin , Palmer Dabbelt , Dimitri John Ledkov , Anup Patel , stable@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: Apply f2928e224d85e7cc139009ab17cefdfec2df5d11 to 5.15 and 5.10? Message-ID: References: <9e2b9fbd-c597-f310-aad2-06c85c8ce31c@w6rz.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9e2b9fbd-c597-f310-aad2-06c85c8ce31c@w6rz.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220812_083651_949004_80DD44AF X-CRM114-Status: GOOD ( 18.91 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Aug 11, 2022 at 08:23:21PM -0700, Ron Economos wrote: > On 8/11/22 5:24 PM, Nathan Chancellor wrote: > > Hi all, > > > > Would it be reasonable to apply commit f2928e224d85 ("riscv: set default > > pm_power_off to NULL") to 5.10 and 5.15? I see the following issue when > > testing OpenSUSE's RISC-V configuration in QEMU and it is resolved with > > that change. > > > > Requesting system poweroff > > [ 4.497128][ T177] reboot: Power down > > [ 32.045207][ C0] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [init:177] > > [ 32.045785][ C0] Modules linked in: > > [ 32.046166][ C0] CPU: 0 PID: 177 Comm: init Not tainted 5.15.60-default #1 5b276f06901b1c37142db73337a1816290810c90 > > [ 32.046814][ C0] Hardware name: riscv-virtio,qemu (DT) > > [ 32.047256][ C0] epc : default_power_off+0x1a/0x20 > > [ 32.047667][ C0] ra : machine_power_off+0x22/0x2a > > [ 32.047979][ C0] epc : ffffffff80004a4a ra : ffffffff80004abe sp : ffffffd000bc3d50 > > [ 32.048405][ C0] gp : ffffffff81bec160 tp : ffffffe002080000 t0 : ffffffff80490964 > > [ 32.048827][ C0] t1 : 0720072007200720 t2 : 50203a746f6f6265 s0 : ffffffd000bc3d60 > > [ 32.049245][ C0] s1 : 000000004321fedc a0 : 0000000000000004 a1 : ffffffff81b073c8 > > [ 32.049676][ C0] a2 : 0000000000000010 a3 : 00000000000000ab a4 : e0b1d187e51c7400 > > [ 32.050115][ C0] a5 : ffffffff80004a30 a6 : c0000000ffffdfff a7 : ffffffff804ea464 > > [ 32.050555][ C0] s2 : 0000000000000000 s3 : ffffffff81a20390 s4 : fffffffffee1dead > > [ 32.051009][ C0] s5 : ffffffff81bee0c8 s6 : 0000003feff55a70 s7 : 0000002acc09bf08 > > [ 32.051427][ C0] s8 : 0000000000000001 s9 : 0000000000000000 s10: 0000002b0a4db6e0 > > [ 32.051849][ C0] s11: 0000000000000000 t3 : ffffffe001e2bf00 t4 : ffffffe001e2bf00 > > [ 32.052274][ C0] t5 : ffffffe001e2b000 t6 : ffffffd000bc3ac8 > > [ 32.052604][ C0] status: 0000000000000120 badaddr: 0000000000000000 cause: 8000000000000005 > > qemu-system-riscv64: terminating on signal 15 from pid 2356237 (timeout) > > > > I am not sure if there is any regression potential with that change, > > hence this email. That change applies cleanly to both trees and I don't > > see any additional problems from it. > > > > Cheers, > > Nathan > > Should be fine. I apply this patch to all of my 5.15.x stable builds to > enable warm reboot on the HiFive Unmatched. > Now queued up, thanks. greg k-h _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv