Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp428511rwd; Tue, 16 May 2023 03:07:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qrAqLh/wJOAksC3dQQAdmhUoiKai+Ds3ES/pIvffuNPhPaVBdpe7HDmtLzkhFdl156qOk X-Received: by 2002:a05:6a00:1ad1:b0:648:fcfa:cc14 with SMTP id f17-20020a056a001ad100b00648fcfacc14mr25117729pfv.21.1684231633705; Tue, 16 May 2023 03:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684231633; cv=none; d=google.com; s=arc-20160816; b=0uU82salzL0HqxYmmUsaAUtCs9nzs6VfOnnLRz2JK6FR7F8SL3zOc5tn0l75jFsks9 luUazgA0G4VXehFW4j4idGI4Q8UyuCf4XcGjCrZhGqdQTxbX2K8XlaNVmxFvSlFgNnbv PTrzLYhnkCGRinWHxWkF35ezoABY7B0h92znhUVWyNQ28SvyGxA7hCzL8Qg8EmBvH24V l/a1hc49XmAVLcPunlZp8OM+QOewhZ/8ZwcSga4dGRE+6LI1uHsZ3gUf1y4lm0mFryFF 40z6qSPCKZrLwvPvN2qKHzI+04l7Ekuhgmb9+++NPkdNM6JsTSaqSPQOkS3bh97gooPi myNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=WpuKqj6CRkkCrFMe7+m0klWFcymCG6ImrFrO0pGL9MU=; b=fp2VEGlHzLAE92F4jX99XVeKfT5PgI2UjUmJx1KGtA9VayfkPpQb44CRv1peFNJ7hx 2clJVB1LYDajoS6XHeEsheT/4o7c93XYpe1OUWI2fQ491Am1Ebsk16gz/t7CKCQgudDl yntoQ0nIw4QbR3+vOfRWKkD9QQH46c/2/ZwDlmR54ZmHdtynFJSv9yeXADi3yMgkOG0H j4R5x+84ozqmtLBVb0SqBKWMAiCPBWCEHflz90L+DUSJNsQr8odtsJwFi+YIEDYcReHa +Itvo6/uV1AMOL/nKS+VyvG/xRvf3qmZf42mKmQ2qR1p42DdMKyRZdvOEbb1HHacbgmP CaaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020aa78bc5000000b0063b82c09424si18904867pfd.151.2023.05.16.03.07.00; Tue, 16 May 2023 03:07:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232204AbjEPJzi (ORCPT + 99 others); Tue, 16 May 2023 05:55:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232197AbjEPJzc (ORCPT ); Tue, 16 May 2023 05:55:32 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D9331713 for ; Tue, 16 May 2023 02:55:26 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 96E2324E339; Tue, 16 May 2023 17:55:23 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 16 May 2023 17:55:23 +0800 Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX066.cuchost.com (172.16.7.66) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 16 May 2023 17:55:23 +0800 Received: from EXMBX066.cuchost.com ([fe80::5947:9245:907e:339f]) by EXMBX066.cuchost.com ([fe80::5947:9245:907e:339f%17]) with mapi id 15.00.1497.044; Tue, 16 May 2023 17:55:23 +0800 From: JeeHeng Sia To: Song Shuai , "alexghiti@rivosinc.com" , "robh@kernel.org" , Andrew Jones , "anup@brainfault.org" , "palmer@rivosinc.com" , Leyfoon Tan , Mason Huo , "Paul Walmsley" , Conor Dooley , Guo Ren CC: "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: Bug report: kernel paniced when system hibernates Thread-Topic: Bug report: kernel paniced when system hibernates Thread-Index: AQHZh9g1UxpK4+O/SUareMzY680B/K9cp3zQ Date: Tue, 16 May 2023 09:55:23 +0000 Message-ID: <5902235c8f5046be9cbd7411955ec43e@EXMBX066.cuchost.com> References: In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [60.53.70.89] x-yovoleruleagent: yovoleflag Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgU29uZywNCg0KVGhhbmtzIGZvciB0aGUgaW52ZXN0aWdhdGlvbi4gSW5kZWVkLCB0aGUgZXhw b3N1cmUgb2YgdGhlI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