Re: [PATCH v2 1/2] drivers: base: cacheinfo: Do not populate sysfs for unknown cache types

2018-09-14 Thread Jeremy Linton
Hi, On 09/14/2018 11:28 AM, Jeffrey Hugo wrote: If a cache has an unknown type because neither the hardware nor the firmware told us, an entry in the sysfs tree will be made, but the type file will not be present. lscpu depends on the type file being present for every entry, and will error out

[PATCH v2 1/2] drivers: base: cacheinfo: Do not populate sysfs for unknown cache types

2018-09-14 Thread Jeffrey Hugo
If a cache has an unknown type because neither the hardware nor the firmware told us, an entry in the sysfs tree will be made, but the type file will not be present. lscpu depends on the type file being present for every entry, and will error out without printing system information if lscpu cannot