Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp329239rwb; Wed, 7 Dec 2022 18:56:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf6q1Tu2Edx7Wr/2ZdaOlMR2LMQAMsnl9eUN1JUT+3oJOfKHE8tV1k0FlL952aH2iU/0uMee X-Received: by 2002:a63:3192:0:b0:478:b5d4:22d7 with SMTP id x140-20020a633192000000b00478b5d422d7mr15922235pgx.604.1670468207195; Wed, 07 Dec 2022 18:56:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670468207; cv=none; d=google.com; s=arc-20160816; b=sFo7atPiPvJXkNH5miAlHzEPUJ6/wlWb7XDnMO3OMLo48m98AWXq5QADsLsL3NLSW4 2fruhi2OJNwarykaDoNzUEgwJaConaxJ2BhL5y6hX0Iw2809Yh0ezlzLpNVBAG0bIlKn lp/kuOxhGbvIvH5rIJeSyqG9PqTYcv6KfoEAUaRJWnHsk5Aie7dh0Oh+mHj9WXmR66Oq WLSyl7Z98INLn5BwrFyOBlN8VJJwkh8odquZY0JX09kcZlRQ68XOQvrS8WJP5Oz9Su2U yVCY6XLFI067NG5KIw7V/KjzrzILyHu01YdbW56h77669i1TMEF/MIo85w4zZdXdnpe8 0G5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TGRmTjUuLBYU254G3ZYWN6qyws6uV3BnshQv6AMXkyY=; b=yjJuSfijcT09sK6cSwMyyqrFpvQkVs6oym/cKazfiPGLydj1MRvAWdhl26VTzakG74 uw6NKa85xdMVZxUMaGHLGhDfxMfR3/8JOzLfqYlhRK5IvGxvokt6K55SyYsJjUaw5/+V NIw9mYO8lKmCDMz2zNhnyQOABinDujmrm7lbmxg6kNXABBkiz0sIeQT1DScX8wA1G2D2 l08A11y1xdYpGlhu3//vXbov5KF2ECzJ4sQ/FCRnE7Q6NWqOWDRZmtQlVoOqgF1dQOQ8 //geRnkM5yei93sA+rQH7C8nxOB4JJJVsdyuN0/jelTmLE3UQzKB/3vI+iutHxtcwCnk j5pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=G50N7eTG; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz5-20020a170902ef8500b00189cbf6953dsi11842335plb.300.2022.12.07.18.56.38; Wed, 07 Dec 2022 18:56:47 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=G50N7eTG; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229628AbiLHCcq (ORCPT + 74 others); Wed, 7 Dec 2022 21:32:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiLHCcp (ORCPT ); Wed, 7 Dec 2022 21:32:45 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C34ED6381; Wed, 7 Dec 2022 18:32:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TGRmTjUuLBYU254G3ZYWN6qyws6uV3BnshQv6AMXkyY=; b=G50N7eTG1xMVdwdI3/ou/lxXzj CykWS7Y4jOn4mfQrZ05YpHAcu23UyAEsko67J2+jUwno8AvWB9+6Q5fE8iw1iu4H5v4TkFjhGm36N prvhNU3qVMGRZLIG9QmEJOEwW8AUevP2dUn4220BlHGuNieDtou2cJpMlsBx+4x8fltjZ98WTXzch 77IWh6E+yBF7nTXziprc9sK1c8YNd4cd5E+qGnoyFM2t7a8nRuPkT+Muw4iCNNaVbLUZZcld3bdau Mbk6LhELh7qDWX2/smbQKGJ3yB9598xTgaF991W3O9F/Se9qx9b1dLZQYkT57K6VJrWvNE46SRFCR n+NidXEA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1p36iC-000Kdv-Ct; Thu, 08 Dec 2022 02:32:39 +0000 Date: Wed, 7 Dec 2022 18:32:36 -0800 From: Luis Chamberlain To: Russ Weight , Shuah Khan Cc: "Zhou, Jie2X" , "gregkh@linuxfoundation.org" , "shuah@kernel.org" , "Zhang, Tianfei" , "linux-kselftest@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Li, Philip" , Adam Manzanares Subject: Re: fw_fallback.sh test failed in Debian 11 Message-ID: References: <0e688462-7f22-118e-6cb1-de8b582e3973@intel.com> <217b7959-facc-1028-19be-1040898a705c@intel.com> <57b8f45b-da8c-e9ae-6b3f-ba82f936c9b2@intel.com> <4e5bbaf8-58ea-5ebe-a585-496ee7b51bce@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e5bbaf8-58ea-5ebe-a585-496ee7b51bce@intel.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 On Fri, Dec 02, 2022 at 08:29:15AM -0800, Russ Weight wrote: > > On 12/1/22 22:02, Zhou, Jie2X wrote: > >> The above message looks like the problem. Firmware sysfs fallback has been turned off > >> on this system using sysctl. Can you try turning it on and rerunning the test? > > Sorry, I don't know how to turn on firmware sysfs fallback. > > Could you tell me? > > Take a look at the kernel documentation (https://www.kernel.org/doc/html/v5.0/driver-api/firmware/fallback-mechanisms.html) which says, "This syfs fallback mechanism may be disabled completely on a system by setting the proc sysctl value ignore_sysfs_fallback to true." > > Also refer to the sysctl man page: https://manpages.debian.org/testing/procps/sysctl.8.en.html. I often see folks mis-running selftests, even thougggh in theory it should be easy. And so I've added initial kernel selftests support to kdevops: https://github.com/linux-kdevops/kdevops So try to enable the selftests dedicated workflow, enable the firmware test, enable building a linux-next kernel and go to town: make menuconfig make make linux # installs linux-next make selftests # builds selftests make selftests-firwmare # runs the selftests for firmware I think we have to up our timeout now for the firmware loader as its currently failing as the tests now take a bit too long. Anyone oppose we bump the firmware selftests to 200s ? Luis