[RFC PATCH v2 5/5] docs: ABI: Add sysfs documentation interface of hardware prefetch driver

Dave Hansen dave.hansen at intel.com
Thu Nov 4 07:55:10 PDT 2021


On 11/3/21 10:21 PM, Kohei Tarumizu wrote:
> +What:		/sys/devices/system/cpu/cpu*/hwpf/l*/enable
> +		/sys/devices/system/cpu/cpu*/hwpf/l*/available_dist
> +		/sys/devices/system/cpu/cpu*/hwpf/l*/dist
> +		/sys/devices/system/cpu/cpu*/hwpf/l*/reliable

How does this look in practice?

	# ls /sys/devices/system/cpu/cpu0/hwpf/
	l0
	l1
	l2
	...

?

Dumb question, but why don't we give these things names?  If the Intel
one is called "L2 Hardware Prefetcher Disable", couldn't the directory
be "l2_prefetch"?

BTW, your "reliable" is mismatched with the "strong" value in the docs.



More information about the linux-arm-kernel mailing list