Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp330242rdb; Thu, 2 Nov 2023 05:12:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrDdB2JXlRPAS1qnD4pfpQwqk1YepnYG1NcjB65g/a5wULzdparfj14QyekRGkEReqcVw9 X-Received: by 2002:a17:903:187:b0:1cc:50ea:d5c5 with SMTP id z7-20020a170903018700b001cc50ead5c5mr11494334plg.24.1698927132764; Thu, 02 Nov 2023 05:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698927132; cv=none; d=google.com; s=arc-20160816; b=XwxltmvzyYR4FGNddHeSSa09KskrW2RunQaZtAOw3IlA76Bj3G8KyHuoVVkfp+Co8Z 0SP60XHNmwg+TprLo3YUv08yb2Gx8/94mNEyPdfcXPV9RW6BMg9eWY8HIt467oIQe9MM nTVrW/VM6l8H2MO2J475GLKRcdPE5VHi1gW975tnVWsf4sWw7S1MD+rCo+3bCbOe38YZ SOF8wDp2roUH99CGFhxd0yjD+LdLO73ZVgqtnhZJNK76dXs326jd+SGF/R2bM9f/faPy aUeGTdgdhqvahrrrHj34KfZfrDbyISs/N4keeuD4p5SC5kQn6L/MhuPmXzGsD4oqjocZ 5Rxg== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=euku43m5u+jUrfBfWrSWuVGAy2pfeQWps6nmF1wU0Bg=; fh=QbvYrPOzcqbA03QDBk1G/INEewJh19tR6IXw5ZfB+U4=; b=veJb0cDXg4ecY6Tra4HLbatdPghzm+vVp+EK8p/B/W/m/YJyRZWbaExuFuvrbQjNU7 ZiUj7gpfAVpK2lZVuL2EaA0dOTVXmE8WrL932DLSfZ3BcQ4M4fsRmAsS48EYeGC4MFaj FHQhXy1YUigDvl36SjrQhRQWn4FhSG9hSQ2zgStaUH+2VpS9KsFzD5pHwzkkFR0qsvcY b9AaNUX6bAi2zTHoDywISYPGYapfRf/Tq5iSnfahRVD2hChoLINJsfnCwR75JVFXHkg2 BsKnr4lK8Ja1LPtLSpFU6NcrCQHIfHsCtrVoSvFHIHCkSbkDZLXS6X4ItXJ9Xk8RMwpw JKgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id i6-20020a170902c94600b001c5f80bf574si5072310pla.487.2023.11.02.05.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1B97881552D4; Thu, 2 Nov 2023 05:12:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345993AbjKBMLw (ORCPT + 99 others); Thu, 2 Nov 2023 08:11:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233356AbjKBMLu (ORCPT ); Thu, 2 Nov 2023 08:11:50 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BC8081A6; Thu, 2 Nov 2023 05:11:44 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9F8AA2F4; Thu, 2 Nov 2023 05:12:26 -0700 (PDT) Received: from [10.1.25.180] (R90XJLFY.arm.com [10.1.25.180]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DDB113F67D; Thu, 2 Nov 2023 05:11:42 -0700 (PDT) Message-ID: Date: Thu, 2 Nov 2023 12:11:41 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3 3/3] kselftest: Add new test for detecting unprobed Devicetree devices To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: Mark Brown , kernelci@lists.linux.dev, kernel@collabora.com, Guenter Roeck , Bjorn Andersson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Rob Herring , Frank Rowand , Shuah Khan References: <20230828211424.2964562-1-nfraprado@collabora.com> <20230828211424.2964562-4-nfraprado@collabora.com> Content-Language: en-US From: Aishwarya TCV In-Reply-To: <20230828211424.2964562-4-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 02 Nov 2023 05:12:08 -0700 (PDT) On 28/08/2023 22:13, NĂ­colas F. R. A. Prado wrote: > Introduce a new kselftest to detect devices that were declared in the > Devicetree, and are expected to be probed by a driver, but weren't. > > The test uses two lists: a list of compatibles that can match a > Devicetree device to a driver, and a list of compatibles that should be > ignored. The first is automatically generated by the > dt-extract-compatibles script, and is run as part of building this test. > The list of compatibles to ignore is a hand-crafted list to capture the > few exceptions of compatibles that are expected to match a driver but > not be bound to it. > > Signed-off-by: NĂ­colas F. R. A. Prado > Reviewed-by: Shuah Khan > Hi Nicolas, Currently when building kselftest against next-master and mainline-master the below build error is observed. A bisect (full log below) identified this patch as introducing the failure. Full log from a failure: https://storage.kernelci.org/mainline/master/v6.6-9152-gdeefd5024f07/arm64/defconfig%2Bkselftest/gcc-10/logs/kselftest.log make[4]: Entering directory '/tmp/kci/linux/tools/testing/selftests/dt' /tmp/kci/linux/tools/testing/selftests/../../../scripts/dtc/dt-extract-compatibles -d /tmp/kci/linux/tools/testing/selftests/../../.. > /tmp/kci/linux/build/kselftest/dt/compatible_list Traceback (most recent call last): File "/tmp/kci/linux/tools/testing/selftests/../../../scripts/dtc/dt-extract-compatibles", line 107, in compat_ignore_list.extend(parse_compatibles_to_ignore(f)) File "/tmp/kci/linux/tools/testing/selftests/../../../scripts/dtc/dt-extract-compatibles", line 67, in parse_compatibles_to_ignore with open(file, 'r', encoding='utf-8') as f: OSError: [Errno 40] Too many levels of symbolic links: '/tmp/kci/linux/tools/testing/selftests/../../../build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/tools/testing/selftests/powerpc/vphn/vphn.c' make[4]: *** [Makefile:12: /tmp/kci/linux/build/kselftest/dt/compatible_list] Error 1 make[4]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/dt' The bisect log: git bisect start # good: [f9a7eda4d73d44dc1d17d05cdc9aeb9fc5660740] Merge tag 'hwmon-for-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging git bisect good f9a7eda4d73d44dc1d17d05cdc9aeb9fc5660740 # bad: [8bc9e6515183935fa0cccaf67455c439afe4982b] Merge tag 'devicetree-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux git bisect bad 8bc9e6515183935fa0cccaf67455c439afe4982b # good: [0a6d7f8275f255eda823c0f0b61d024f6f5b483d] Merge branch 'clk-cleanup' into clk-next git bisect good 0a6d7f8275f255eda823c0f0b61d024f6f5b483d # good: [fe4ae2fab00b4751265580c5865fdf23b62d80b3] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux git bisect good fe4ae2fab00b4751265580c5865fdf23b62d80b3 # good: [fc7b34ae1347f4eb36f065458e53d6065cd85928] power: supply: wm831x_backup: Convert to platform remove callback returning void git bisect good fc7b34ae1347f4eb36f065458e53d6065cd85928 # bad: [f2147371a83c6de1128093c163dc17bc61096362] dt-bindings: soc: fsl: cpm_qe: cpm1-scc-qmc: Fix example property name git bisect bad f2147371a83c6de1128093c163dc17bc61096362 # bad: [22c3888e55bf5c86be536a3d9e06a50e7bf3a39f] dt-bindings: watchdog: atmel,at91rm9200-wdt: convert txt to yaml git bisect bad 22c3888e55bf5c86be536a3d9e06a50e7bf3a39f # bad: [780967feb626c6f4efa1e4b3532f1be83884cd76] dt-bindings: Add Marantec vendor prefix git bisect bad 780967feb626c6f4efa1e4b3532f1be83884cd76 # bad: [bc17fd92c1eb7589f1f3df1893e9f62bb35b8cc8] dt-bindings: interrupt-controller: qcom,pdc: document qcom,sm4450-pdc git bisect bad bc17fd92c1eb7589f1f3df1893e9f62bb35b8cc8 # good: [365ba0c7a73cce407bf40cdf9900b86b945d4acb] dt: dt-extract-compatibles: Add flag for driver matching compatibles git bisect good 365ba0c7a73cce407bf40cdf9900b86b945d4acb # bad: [14571ab1ad213de59b3726a40aea7ca0365bf445] kselftest: Add new test for detecting unprobed Devicetree devices git bisect bad 14571ab1ad213de59b3726a40aea7ca0365bf445 # first bad commit: [14571ab1ad213de59b3726a40aea7ca0365bf445] kselftest: Add new test for detecting unprobed Devicetree devices Thanks, Aishwarya