Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp919158rwd; Thu, 25 May 2023 06:00:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NEUi+th/jek1pcy5GEgj5MJ4GoTpFqhYklyQzqWnfoVhhYaNlJvwBk7LYkrxD2yABYJNt X-Received: by 2002:a17:902:eb4c:b0:1ac:3605:97ec with SMTP id i12-20020a170902eb4c00b001ac360597ecmr1525763pli.62.1685019621847; Thu, 25 May 2023 06:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685019621; cv=none; d=google.com; s=arc-20160816; b=rpC1HvtT3hsYR3f6FgTSmoT9XT0tAskOoIQ0zkCrzGIC+yJSP+B5J58Ol5nvAu1ThE owaUSOQms5+xbLqIBsQcZsLjDfcIILpFeLNb3ZsX0/mMv7cAVbtidP05knLrYWmxrTaS Lcs2APCa20xv3awJp9vDa4E9iB/55CaotwsHuIUOSzdgcS8+x2rcIqT3f67aOm44RsJo D37r+Xtwu/WNceVrlwj6GjgsBKLFGyIRJ8vjexmi1SdF65PPlrzkeUrygjKVTZJdRq+Q tJeiQWS4oBJfL+KIrh0ThCXoLQm001QNi47FhnjeeP71SyzugTSUPa4NH7F7JCrM7fdC 0Nsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dCZ7qHilHCnoBJIJpLO6SCWRxEDx/w1XHLVY79Vbh/c=; b=u4mAG0RWKnMPk05beKgODz+IjAMcjpyK7xO6CkL2JPmvG7ADLOzYnhag+R0HJ17ylv NciPffOs8fZNA8HJ1j4/mExpqCErpnXnqfT9D8ImbgBp+6kKK3UTLuMdarri2JS2QpuK 0hICbx3Sy1oZFLHu+n4BuVxUON7ez5hRVGGJvRnw6QSfzkRnZjSCB/wxuxImwuMqm+rG CzKQAKHao9DhXGu0av69YIB+h00xd5XY491f75fhDiNQ4cKpsKRT60tOnUtQRK4XpzkY oECERO0GgbpRJtKRFFObdgfJYnJ6yDP1enlRFzl6p3C97gtNqiw46ee+wRunPG3bFGJn /3WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=u0MBOBtk; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jh9-20020a170903328900b001ae3ffac507si1371554plb.551.2023.05.25.06.00.08; Thu, 25 May 2023 06:00:21 -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; dkim=pass header.i=@microchip.com header.s=mchp header.b=u0MBOBtk; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241137AbjEYM4f (ORCPT + 99 others); Thu, 25 May 2023 08:56:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241058AbjEYM4d (ORCPT ); Thu, 25 May 2023 08:56:33 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DB3210C6 for ; Thu, 25 May 2023 05:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1685019365; x=1716555365; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dCZ7qHilHCnoBJIJpLO6SCWRxEDx/w1XHLVY79Vbh/c=; b=u0MBOBtkuAPnrIMdkANJC/k3+86JlJNvlBNNapUe2WQf/o2D80fkp+nU 9wO3eSnE3ydFnkXARaQLG/gVJ/SsPzY5MYFd6Q2ySSg3OkdWlm5LhY8qV T7wAKhR4ZBj9LtR66fnJdUBdfEbUDjcvkrMmG//kM2LbB0Hrafyb9CZJ7 +pEo56GLa2Lgz4ucEnTPEebMA1ye0GNdz7QrKJA/QR593Mytx6Zy+PBPy NrIJMcPtqDw0L/1S7MVVHFaZzK8m1hraTWsNNTlvqK8dnDjkwahmnpd4u jIxG0V6UfljBsa+W4sW/OjXKalEFWUqAHMpLeeaQNOQbvw4kEVLjo4vqS g==; X-IronPort-AV: E=Sophos;i="6.00,191,1681196400"; d="asc'?scan'208";a="217254719" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 25 May 2023 05:56:02 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 25 May 2023 05:56:01 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 25 May 2023 05:55:59 -0700 Date: Thu, 25 May 2023 13:55:37 +0100 From: Conor Dooley To: Atish Patra CC: Alexandre Ghiti , Anup Patel , Song Shuai , , Andrew Jones , , , , , Paul Walmsley , Guo Ren , , , Subject: Re: Bug report: kernel paniced when system hibernates Message-ID: <20230525-geologist-cottage-a51fa889a3d0@wendy> References: <20230517-preacher-primer-f41020b3376a@wendy> <20230518-mobilize-dipper-051dfbc41971@wendy> <20230518-cauterize-game-636a6aac4871@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EuBXBxH8HufsmTdu" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,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 --EuBXBxH8HufsmTdu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 24, 2023 at 04:53:59PM -0700, Atish Patra wrote: > We can also just revert the commit > 3335068 ("riscv: Use PUD/P4D/PGD pages for the linear mapping") > until a proper solution is available. I'm actually inclined to go the other day. If hibernation never works in a released kernel we can't regress it & since we have not settled on a fix for this yet we don't know whether the fix would then remove support for hibernation where it used to work. > IIRC, Alex also suggested the same as there is no measured benefit > with this patch. > It is good to have 1GB huge page mappings but it can be delayed until > we have the fix > for the hibernation issue. IIRC it was the 1 GiB hugepages that Alex said were ~worthless. --EuBXBxH8HufsmTdu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZG9ayQAKCRB4tDGHoIJi 0omaAQCH/7SukuDl3+/+zFpazVIYawnJQLDQEWojXquLnpT64wEAkbYHuYdzDL6j tQEJ/P7KA9+4KSfH/xw6FR5eL0MWowg= =00Gl -----END PGP SIGNATURE----- --EuBXBxH8HufsmTdu--