Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA8917E for ; Thu, 18 May 2023 01:42:25 +0000 (UTC) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1ae507af2e5so5233815ad.1 for ; Wed, 17 May 2023 18:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684374145; x=1686966145; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=pvjw77fQ/ErJLaCJSMiJ2Mn6niHh8kIyIMJpAj+Is8w=; b=dfJL0x+uiW7HCq/mVm5ocC80LIodXAAhJkjZaDe8t9jsmomYEj0syfMDnaploNCaXk t7CHu5+a+/02szN/sn00ijEUpgxlJN62lWCceNY8iwobuU5NrKViYr2L3MWL55WwtM87 eo7NiqEtSpjem6zPgChp/lKxelOt1JsIkr8pwp0o8gbe0wubIBCiWfk7udrgO03i4RdT ueRGKgeizfMHYaeb4BIlOtPbCrxL0+aoKwZvXHXdY0c2HRqWc5GiPUFz8uy06irzC+ZN jBkDdZ38UqW9j5Na7tscUzMAq230D4aer7h2UrzJf22gWBKsh8B/nK0kJZI8mYiAjs+L 35nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684374145; x=1686966145; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=pvjw77fQ/ErJLaCJSMiJ2Mn6niHh8kIyIMJpAj+Is8w=; b=Z9g/TvXlBZg3qHr9jbb3zWJlNAlyoY3O8kpLph9UU3hKTQ0ZzSQkSShpVmZyJ+8flk KaKBtnPxBBe0ZQdRmN3UCYevOGTU9cA0IQHi6efp00v6k5/0c/190bycvipC/hp+6wEY fi+Fs0lKxQoXpOUS27XyqaENPNo3SQ6l/4rdoakjxqWEzgbm+NcRm0/yQ3+qfen8F0fs CfyoZ9csCWulA5+h5vIks3RCOlF28vfBnnzFEkfYBByOWZct1Xq++KUw8h67LtcKoJSh VvbFpK9zPDSm3Y0RDZjea09H/AjbjBkYLsZd9Fc/P02pzcQCDhYpr5FdZ5+a+6xk8TaG 4kHA== X-Gm-Message-State: AC+VfDz13SSI4CLMnMgNBE00Xu+UsyqGB74QdsSZg+v6jxkDh9a1UWZI osKSnDsreV3zrKJuTB0zQthl0YrOdQ4= X-Google-Smtp-Source: ACHHUZ5voyf0SZ/Qhe3EXUj4hd+AncQZuBwZ2/hJ2/4P4tl5mLWcvpjhwwo2z8kmHFYryOnWdVzAKA== X-Received: by 2002:a17:902:ec82:b0:1ad:b5ed:e951 with SMTP id x2-20020a170902ec8200b001adb5ede951mr532805plg.13.1684374144882; Wed, 17 May 2023 18:42:24 -0700 (PDT) Received: from [192.168.43.80] (subs03-180-214-233-73.three.co.id. [180.214.233.73]) by smtp.gmail.com with ESMTPSA id f5-20020a17090274c500b001ac6293577fsm47640plt.110.2023.05.17.18.42.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 May 2023 18:42:24 -0700 (PDT) Message-ID: Date: Thu, 18 May 2023 08:42:19 +0700 Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: Linux Regressions , Linux Kernel Mailing List Cc: Todd Brandt , Miquel Raynal , Pratyush Yadav , Tudor Ambarus From: Bagas Sanjaya Subject: Fwd: BUG: Patch to spi-nor hangs Lenovo ThinkPad X1 Titanium with divide by zero Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > This is the system I'm having troubles with: > > os-version : Ubuntu 20.04.2 LTS > baseboard-manufacturer : LENOVO > baseboard-product-name : 20QA000FUS > baseboard-serial-number : W1KS11R111D > baseboard-version : SDK0J40697 WIN > bios-release-date : 05/20/2021 > bios-vendor : LENOVO > bios-version : N2MET49W (1.14 ) > chassis-manufacturer : LENOVO > chassis-serial-number : R911Q4MM > chassis-version : None > processor-manufacturer : Intel(R) Corporation > processor-version : 11th Gen Intel(R) Core(TM) i7-1160G7 @ 1.20GHz > system-manufacturer : LENOVO > system-product-name : 20QA000FUS > system-serial-number : R911Q4MM > system-version : ThinkPad X1 Titanium Gen 1 > cpucount : 8 > memtotal : 15939728 kB > memfree : 8428028 kB > > Ever since 6.4-rc1 this system has hung on every S3/S2idle suspend and shutdown during reboot. I've bisected it to a patch to the MTD: SPI-NOR subsystem about introducing the "concept of a bank" > Basically something about the new code is improperly handling the memory size on this machine. It's not complex but I haven't dug any deeper since I want it posted as quickly as possible. To reproduce, run any of these 3 commands and the system will hang: > > echo freeze > /sys/power/state > echo mem > /sys/power/state > sudo reboot > For the full thread, see bugzilla. Fortunately, the reporter also sent out potential fix for this regression; but to be sure it doesn't fall through cracks, I'm adding it to regzbot: #regzbot introduced: 9d6c5d64f0288a https://bugzilla.kernel.org/show_bug.cgi?id=217448 #regzbot title: SPI NOR bank divide by zero on Lenovo ThinkPad X1 Titanium #regzbot fix: MTD SPI-NOR: BUG FIX of divide by zero in new n_banks value Thanks. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217448 -- An old man doll... just what I always wanted! - Clara