Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4612497iob; Sun, 8 May 2022 19:12:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyL54x4lJQiV3NCGOK5ELORx5j2n2wz7ZlSZ4aKE8mr1Zmz3X9AGjrBX4EMu2wryMbjYdzD X-Received: by 2002:a17:90b:350a:b0:1dc:69bc:e04 with SMTP id ls10-20020a17090b350a00b001dc69bc0e04mr15856901pjb.18.1652062355246; Sun, 08 May 2022 19:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652062355; cv=none; d=google.com; s=arc-20160816; b=ilKb3C5dYmWfKsh5h9zc2M+3hORxTBJjnqPKFClYM7tQ+4Xqj9JzwipAOxVcaAq/ar 3aS3sYVtCZMtp6boGlkgp+E3na3OgWjTPbv8CDpmkvP24XyUXXsrAuPGVgMhx3bm6esG RaemcaHvAthQoGoWBEngFETXMPI+oJuIbuiwBKmjQWBHIwNR14kjUhCyoQaSwaJVIEBY DpPwB1GaXwjRNWIHL5jNn/bMXQ/Y/xhsJaT4HXFoNblvZco5AdfJQQB9tCG/NqG3te45 4BzucN5HQVCQO07iB6rjnmyO/JKNl7TbeGwBEqci3YxJL533aSeL9Rqob8ttLSjfUHTy gKBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yKhLEzX2Aau4ReG4+MX3ZEAK87StWQsaGFR1KyWTz7E=; b=wWFv/WPoSoL7IMMbaMM/JKMMayVZBXTPkGY2pSrHnelMpeKVxCXHSsRygH6SE7P/jE c/ZQhfamvTTqrd25+EMq0DQ3zo5U7aLYySxphWJ4/W9880CXJ1/a2//c7i6vpJvr7Czm VSwHGlMYIFqetfs4mnvRRM5aVzGSc7Ola8ZzHeHXrOIKjDvt+f/VGQi2J7p6HQ+pAgg7 hvVwaojstQQRjOnykF97EyRg9Hq2YFKmdDRJkt2nLed7koo0xwDA5ZpWUN1aTieurbh9 B5/NZW87dEnCDk0ZxHFaT4B06TCkmXtsTvhU1eL/7Fcv4EmTf1Y/09GUAxuU8BpzZmPd DZWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ewnM6cmL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f8-20020a056a001ac800b0051078cc4fd5si14140240pfv.354.2022.05.08.19.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:12:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ewnM6cmL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AA23B4F462; Sun, 8 May 2022 19:12:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390240AbiEFIsf (ORCPT + 99 others); Fri, 6 May 2022 04:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358066AbiEFIs2 (ORCPT ); Fri, 6 May 2022 04:48:28 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13825689A2; Fri, 6 May 2022 01:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651826686; x=1683362686; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=fLBX9GbzXaLrNCQkVHxOtSlfQQ+hsbnt+ws0YOCuwuM=; b=ewnM6cmLNbUrQJNjq3Ub6OURDOMVxEYCkL+iVd5n9/tH353vuAWlwoxi 3G3I3e5HZzfKx6uaTsuY3vt+h85RRlp1WI16anLCyS0My7Dt615ez/DV9 BKFR5hi4EGtqSwrE/MN9TAtJkd/QVpFtvEiGq3yISe8esILa3kBSmszPD NB3aECKoApD6AUBoQAfOE8MxB9L7kuvs7e3LsJj6xRf6vJmeLOyibxT6x HD7gYxdi8HpdkVZHgKgY3cSP0+V+fybm0u3QyLBJqwSsQoRQB+2PlFyqI fNoAtFzp8nnM09Xa/JA/vZ5k454aE4fuUOrELXf7AgRJiK2o/6qDuChAP A==; X-IronPort-AV: E=McAfee;i="6400,9594,10338"; a="267237945" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="267237945" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 01:44:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="585863619" Received: from mylly.fi.intel.com (HELO [10.237.72.150]) ([10.237.72.150]) by orsmga008.jf.intel.com with ESMTP; 06 May 2022 01:44:43 -0700 Message-ID: Date: Fri, 6 May 2022 11:44:43 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.8.1 Subject: Re: regression: Null pointer exception on resume from S3 with i2c DesignWare driver Content-Language: en-US To: Thorsten Leemhuis Cc: Samuel Clark , "linux-i2c@vger.kernel.org" , "regressions@lists.linux.dev" , LKML References: <941f292d-2ce2-d7aa-3d70-01a11ba171cf@leemhuis.info> From: Jarkko Nikula In-Reply-To: <941f292d-2ce2-d7aa-3d70-01a11ba171cf@leemhuis.info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi On 5/5/22 12:52, Thorsten Leemhuis wrote: >> Running Manjaro on a Gigabyte B660M DS3H DDR4 with custom 5.17 kernel. Confirmed on other distributions and kernels back to 5.12; issue is not present on most recent 5.11 kernel. dmesg traceback points to i2c DesignWare driver, specifically drivers/i2c/busses/i2c-designware-master.c:369. It seems the msgs struct passed in to i2c_dw_xfer_msg is null. >> >> Similar issue seems to be reported here: https://lore.kernel.org/lkml/YY5BRrE8bLyvd3PB@smile.fi.intel.com/t/ >> >> lspci output: https://pastebin.com/MwFM2VBJ >> dmesg from crashed kernel: https://pastebin.com/t6GsHjkq >> kernel config: https://pastebin.com/awrSve5u > > Could somebody take a look into this? Or was this discussed somewhere > else already? Or even fixed? > > Anyway, to get this tracked: > > #regzbot introduced: v5.11..v5.12 > #regzbot from: Samuel Clark > #regzbot title: i2c: designware: Null pointer exception on resume from S3 > #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=215907 > Thanks for sharing the bug. The reason why it occurs after v5.11 is that the i2c-designware support for Alder Lake -S came to v5.12 and issue is hiding before it. Looks like there are suspend/resume issues with i2c-designware on some Gigabyte motherboards. I commented in the bugzilla if Samuel can attach the ACPI dump there. Jarkko