Messages in this thread | | | Date | Wed, 18 May 2022 08:44:48 +0200 | From | Greg KH <> | Subject | Re: [PATCH v4 6/8] x86: Add hardware prefetch control support for x86 |
| |
On Wed, May 18, 2022 at 03:30:30PM +0900, Kohei Tarumizu wrote: > Adds module init/exit code to create sysfs attributes for x86 with > "hardware_prefetcher_enable", "ip_prefetcher_enable" and > "adjacent_cache_line_prefetcher_enable". > > This driver works only if a CPU model is mapped to type of register > specification(e.g. TYPE_L12_BASE) in pfctl_match[].
How will the driver be automatically loaded if this is the case or not? You can not rely on userspace knowing to load a driver on its own, please tie into the proper device discovery.
thanks,
greg k-h
| |