Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp946581pxb; Fri, 22 Apr 2022 15:04:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+UHRHaHYxfh4cJ7kFdEbBOCgCC4gSgdJfptIeuUfz8mW11EokF9S2qqxtKuIsWbxBz15g X-Received: by 2002:a17:902:b286:b0:15b:335b:53e6 with SMTP id u6-20020a170902b28600b0015b335b53e6mr6553930plr.169.1650665044931; Fri, 22 Apr 2022 15:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650665044; cv=none; d=google.com; s=arc-20160816; b=gk5qguhHRvL2T3VGRYQ70qpevgoScP4HVu8W518SZBFsODO5dEeWbSXtOsluBifxpM J27TRXAvoKy3IgzfppNTgKQzdxRZvn5j/c6A/uHWyztN3IiS27ZL07VJPgVHYZVG/h5D zzA/G6X5Ix4tHg1Xr2bEsBm3zebCeBo4x+1KmcUMMDx87nZr7BjTY9ytCblszkQvQZTT zppEs0vbsFk+ggJpw/Ro9l9z9x2tQuiwCm/FTLKXiATMI6dAjQvEnxu2S9jtyqGAwp8j gmzMcsRijhJ0EknnvPjBUVT+LSQB6SwHzHhlKRm53+QAghL/2hgfcq0zppNNXs10pENe 5oaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zecGrSjgArm2AOuxaF078xGOPqvybJ55iu287KL5/io=; b=Oe7PnYZ0kkwvpojwtKX7lkm05GHhIkkbnNyqHJkzCks0GS2tH7mQ48eHOHHhIkxSw6 DSmKD3Bkwf7ez3/99CN2xBSO4TResJ9ezaXh0B4GZy+U+gccdc5N2XKEX6qiYYUHypgl FLO5sxekYmK24mJRS2cvkj0Xo496jO/4hagq4Cfm96NRUJl3JHppAk5jcnuyR1S0nYpc ad/gUYhBdwDvWEVLepRa7K8qnxBQz555SpbcS4m4kgSNywUz9Enund9hqRpyhbA7RFFF RTuqbfYBucb66NPesDRGQZqJG162Tk2hyafJS0uBzCHOtCk6vdQM4JqS8IkKCb+it9Ku qbcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MLGjNJop; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f20-20020a056a001ad400b004fa94f26b43si9778176pfv.319.2022.04.22.15.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:04:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MLGjNJop; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 85D6D25F547; Fri, 22 Apr 2022 13:11:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355851AbiDSRiF (ORCPT + 99 others); Tue, 19 Apr 2022 13:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355818AbiDSRiD (ORCPT ); Tue, 19 Apr 2022 13:38:03 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC7011FA72; Tue, 19 Apr 2022 10:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650389720; x=1681925720; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=triG9sStW3mhLDVpzsgT7KUGak7lE+Nmr/MDoWwbIcY=; b=MLGjNJopeXoweog+N+fvvvv72X5HSgzvns7eGpe1EW2+C3G+fK3rxkW2 Wx+rRvnNYjLtlFRsaSJGyf9vR9uYSWjmwKSf5JBUHu7BnOK6COupN8Caq y3Q9ccPuRe/WhcKfw2JnMIiJnS72U6fAP4SeJriW3ZO4ZqFRm/xNObF/a N+AAct2VX+OyxoXhpqJNBLeTDnRIq1uXAq9RbAbVHx4bcxetklSzUwmnx tr1FQ7bNQkr2+qED0aHn9WAjZu5hb34fsB+F80MJQ2s8J8i2eiwHLsPQR kwW1r9m6OWjQs9qC6KxdY9nciHUSR+qpGYwliBA9ApSNId5rUuR3GdMD3 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10322"; a="263287516" X-IronPort-AV: E=Sophos;i="5.90,273,1643702400"; d="scan'208";a="263287516" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 10:35:19 -0700 X-IronPort-AV: E=Sophos;i="5.90,273,1643702400"; d="scan'208";a="530532553" Received: from agluck-desk3.sc.intel.com ([172.25.222.78]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 10:35:18 -0700 Date: Tue, 19 Apr 2022 10:35:17 -0700 From: "Luck, Tony" To: Greg KH Cc: hdegoede@redhat.com, markgross@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, corbet@lwn.net, andriy.shevchenko@linux.intel.com, jithu.joseph@intel.com, ashok.raj@intel.com, rostedt@goodmis.org, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com Subject: Re: [PATCH v3 09/11] platform/x86/intel/ifs: Add IFS sysfs interface Message-ID: References: <20220407191347.9681-1-jithu.joseph@intel.com> <20220419163859.2228874-1-tony.luck@intel.com> <20220419163859.2228874-10-tony.luck@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE 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 On Tue, Apr 19, 2022 at 07:20:54PM +0200, Greg KH wrote: > > +/* > > + * Note there is no need for a ->remove() call back. There isn't an > > + * "unload" operation to remove the scan binary from the BIOS reserved > > + * area. Also ".dev_groups" removal order will guarantee that any in > > + * flight tests have completed. > > + */ > > So you are ok with the warning the kernel gives you when you unload the > driver? That feels wrong :( What warning? # dmesg | tail -5 [ 38.084165] virbr0: port 1(virbr0-nic) entered listening state [ 38.149621] virbr0: port 1(virbr0-nic) entered disabled state [ 38.582054] broken atomic modeset userspace detected, disabling atomic [ 43.703321] igc 0000:01:00.0 enp1s0: NIC Link is Up 2500 Mbps Full Duplex, Flow Control: RX [ 43.703470] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready # modprobe intel_ifs # ls /sys/devices/platform/intel_ifs.0/ details driver_override modalias reload status uevent driver image_version power run_test subsystem # rmmod intel_ifs # dmesg | tail -5 [ 38.084165] virbr0: port 1(virbr0-nic) entered listening state [ 38.149621] virbr0: port 1(virbr0-nic) entered disabled state [ 38.582054] broken atomic modeset userspace detected, disabling atomic [ 43.703321] igc 0000:01:00.0 enp1s0: NIC Link is Up 2500 Mbps Full Duplex, Flow Control: RX [ 43.703470] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready # -Tony