From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 940FB1866 for ; Wed, 20 Apr 2022 19:04:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7826C385A1; Wed, 20 Apr 2022 19:04:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650481498; bh=3TwvUFV0aw9LmXxpaVt1WobXYjRRbhKrWPYqHzWsKv4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X7jLxxtVlTztqVg3E8BIUuuDLZKMM2mTqRwnBiVXErc194bnvswjXEBu4V/EHgeHP lzyz9hJhEA9hex7EsRngiu1T0KU677Hoq/3jgOQV3/+r0bxHXVAKpp9uVkCBC9kg8E G4OV5/xcOVd8fTONZl9Nhl9pXMfbDmxy0pC78wzI= Date: Wed, 20 Apr 2022 21:04:55 +0200 From: Greg KH To: "Luck, Tony" Cc: "Williams, Dan J" , Hans de Goede , "markgross@kernel.org" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , X86 ML , "H. Peter Anvin" , Jonathan Corbet , Andy Shevchenko , "Joseph, Jithu" , "Raj, Ashok" , Steven Rostedt , Linux Kernel Mailing List , Linux Doc Mailing List , "platform-driver-x86@vger.kernel.org" , "patches@lists.linux.dev" , "Shankar, Ravi V" Subject: Re: [PATCH v3 03/11] platform/x86/intel/ifs: Create device for Intel IFS (In Field Scan) Message-ID: References: <20220419163859.2228874-1-tony.luck@intel.com> <20220419163859.2228874-4-tony.luck@intel.com> <578be5d8874f4942a58adf5f64c4e817@intel.com> Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 20, 2022 at 06:08:20PM +0000, Luck, Tony wrote: > >> Or is it ok for them all to sit at the top level of /sys/devices/virtual? > > > > How many do you have? > > > > And why is a directory needed for just one tiny driver type? > > One today. Two tomorrow (internally ... next gen CPU). > > Three eventually (That's how many are on the roadmap that I can see). Then just use a misc device, it's simple and saves you a ton of code.