Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7715403rdb; Thu, 4 Jan 2024 05:40:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQhwjPiO4oa34Ax7JtNIiboO1Dj6l7z14kqUb/lAVZUXf1FGbGtq4MbeAmZv+gh804xKCH X-Received: by 2002:a17:90a:8a07:b0:28c:717:e2a9 with SMTP id w7-20020a17090a8a0700b0028c0717e2a9mr668070pjn.36.1704375656323; Thu, 04 Jan 2024 05:40:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704375656; cv=none; d=google.com; s=arc-20160816; b=vnCeQeGquHt7cmli99Us8vwNhcqWUVwcUUmfXlSM+XkJx6Zm62crWKrGvmXadzhlUr w2ADFFl/XuqSZNSgl+6kdxvtWvA41ikMgOUQalSKoCE2u2Z1/9vh3jlIs2XRqTGATZym SZQn0KYAFBCjkNtJWbZCqX6XC5Pt35t1wwLMhlnud/ZduxHJK3dnYoXgzkAWU3yWYds8 tKlAxMwuLngDMqEBiStS+oqyBGYMCR+aycC99+98v7ptbtnlUPQNfHIrryIfXa9ZW+7O 04QA3jlN/IOUeL2dxCZhxeuZAAZD8jKVkO5X/eeJf4O3bF3eXE7hQtwXb1XKCXGK/EWv esWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=C8nwLNpz4E/Pl+SQw0fey/3u7ZvNzrHtZCq8dv9+kkc=; fh=iwbAwDFfVKuFe4POvd0DxdbXiAJa7GbsZQsdYQndPIY=; b=X/pFg0U9GA0sl7ftR+FB0vALsw+dGcJ5sZzyQnIMoxSU2QIMILoL2w45Egh+FGmhQS 0lbHpPLbWyfWsnytzeMxYdkK3GC1h43gxg/Yqg0gaH4NAvcV23iNHDJszFiJybzByrLf yZsteQjn2VUBTAN8gF0AU/Z52z3fcC+iLHN8ajsH6tJ8roKK3npQRgwhmQgQsyMbPoqq OB/Qgetb2nByhG9GweX3B7wvVwvvM3s5gnmDt1nGtE++SW59QVJbNurN9AtzwIEex0NZ jeaFt2XX78CXojmDrXcrZ2KpN6wYGI+q2XUZqSh6Q9g1qRRFFyIoPCaPrzxI8Pp3o8qK fojA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Qh1sm27c; spf=pass (google.com: domain of linux-kernel+bounces-16710-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m11-20020a17090aab0b00b0028bca7b7a64si2984723pjq.171.2024.01.04.05.40.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:40:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16710-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Qh1sm27c; spf=pass (google.com: domain of linux-kernel+bounces-16710-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 032ED286896 for ; Thu, 4 Jan 2024 13:40:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 948A92233C; Thu, 4 Jan 2024 13:40:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Qh1sm27c" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C832E2231B; Thu, 4 Jan 2024 13:40:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704375648; x=1735911648; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=izzVXBML3qDVk1WkctSU9+hFRAuWndHA8g3FABv36pI=; b=Qh1sm27cTeD0zcmCEpIvZWzr2UUL4kJKbdQ3G7+iDiZLPKiHmUn2SNor FOUM3NesgRzHH9d1WXrpQcjqvC0j3VoNrEkdrwnndgFE/sAUtv1OxjvB8 nWShZagYv/QsFsUtZoAfhxN+4qUGvR2/rgyqG6yfjtxzi2JMg2tZChXgW nANcUce8whJVjW62F3Ktyyv1oAU8p+95HkdbB9he7D84moT4ALTUVprvV PhXldrOTBKPLoUT4XcbE3x7IzwT1BDdmxAcUdT3UH8+K+67/HTQ1pM5uk z090WquNFsUPx2EKM6c2eIBS1xCGY/x4vI1Cev1FttgEKTT9ncRytf2CR A==; X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="376733127" X-IronPort-AV: E=Sophos;i="6.04,330,1695711600"; d="scan'208";a="376733127" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 05:40:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="850797439" X-IronPort-AV: E=Sophos;i="6.04,330,1695711600"; d="scan'208";a="850797439" Received: from unknown (HELO [10.237.72.75]) ([10.237.72.75]) by fmsmga004.fm.intel.com with ESMTP; 04 Jan 2024 05:40:44 -0800 Message-ID: Date: Thu, 4 Jan 2024 15:40:44 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: i2c-designware: NULL ptr at RIP: 0010:regmap_read+0x12/0x70 To: "V, Narasimhan" , Borislav Petkov , "linux-i2c@vger.kernel.org" Cc: lkml , Andy Shevchenko , Mika Westerberg , Jan Dabros , Andi Shyti , "Limonciello, Mario" References: <20231229120820.GCZY62tM7z4v2XmOAZ@fat_crate.local> <8169d773-f9ec-4092-b036-9e4fd59966c3@linux.intel.com> <888da30a-c1ed-4fb0-af81-787fd868ce20@linux.intel.com> Content-Language: en-US From: Jarkko Nikula In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/4/24 08:35, V, Narasimhan wrote: >> [    6.245173] i2c_designware AMDI0010:00: Unknown Synopsys component type: 0xffffffff > > This made me scratching my head since driver probing will fail in this > case with -ENODEV and I could not trigger runtime PM activity in such > case but perhaps this is timing specific which happens to happen in your > case. > > Out of curiosity do you see this same "i2c_designware AMDI0010:00: > Unknown Synopsys component type: 0xffffffff" error on Vanilla or is it > also regression in linux-next? > > This does not happen on Vanilla, only on linux-next. > This is even more strange. Controller is in reset but I'm blind to see from Andy's patches why. Do you have change to test at these commits? bd466a892612 ("i2c: designware: Fix PM calls order in dw_i2c_plat_probe()") c012fde343d2 ("i2c: designware: Fix reset call order in dw_i2c_plat_probe()" and maybe the last one 4bff054b64e1 ("i2c: designware: Fix spelling and other issues in the comments") I'm trying to narrow does the regression come from first two patches and if not, then test the last one. Andy is out of office and if we can narrow the regression to first two patches we perhaps can revert just them and otherwise need to drop the whole set.