[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3CevK2zhAmiUyG9@kroah.com>
Date: Sun, 13 Nov 2022 08:37:32 +0100
From: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To: "Luck, Tony" <tony.luck@...el.com>
Cc: Borislav Petkov <bp@...en8.de>,
"Joseph, Jithu" <jithu.joseph@...el.com>,
"hdegoede@...hat.com" <hdegoede@...hat.com>,
"markgross@...nel.org" <markgross@...nel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
"x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
"Raj, Ashok" <ashok.raj@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"platform-driver-x86@...r.kernel.org"
<platform-driver-x86@...r.kernel.org>,
"patches@...ts.linux.dev" <patches@...ts.linux.dev>,
"Shankar, Ravi V" <ravi.v.shankar@...el.com>,
"Macieira, Thiago" <thiago.macieira@...el.com>,
"Jimenez Gonzalez, Athenas" <athenas.jimenez.gonzalez@...el.com>,
"Mehta, Sohil" <sohil.mehta@...el.com>
Subject: Re: [PATCH v2 12/14] platform/x86/intel/ifs: Add current_batch sysfs
entry
On Sat, Nov 12, 2022 at 06:33:58PM +0000, Luck, Tony wrote:
>
> > Dunno - sounds silly to me. Means one needs to go and look up which
> > files are there and echo those batch numbers into sysfs and so on.
> >
> > What I would do is make it real trivial for the user so that latter can
> > simply do:
> >
> > for f in $(ls /lib/firmware/intel/ifs_0/*.scan);
> > do
> > echo $f > /sys/devices/virtual/misc/intel_ifs_0/test_file
> > done
> >
> > and simply supply the full filename.
>
> We tried the full file name in an earlier version. GregKH was unimpressed. But that was when we were trying to overload the meaning of the “reload” file.
>
> Is it different now?
No, please do not force the driver to resolve a filename path in the
kernel.
Powered by blists - more mailing lists