Re: [PATCH] cacheinfo: Keep the old value if of_property_read_u32fails
From: Sudeep Holla
Date: Fri Oct 19 2018 - 05:19:10 EST
On Fri, Oct 19, 2018 at 02:23:27PM +0800, éåæ wrote:
> Hi, Sudeep,
> I use MIPS, and there is no "size" in
> /sys/devices/system/cpu/cpuX/cache/indexX/ file after your patch. Because
> the DT node only has "next-level-cache = <&L2>;" but has no "size"
Thanks for the confirmation and your time. I was worried if this was ARM64
with local patches.
You can add:
Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx>
Also please add:
Fixes: 448a5a552f33 ("drivers: base: cacheinfo: use OF property_read_u32 instead of get_property,read_number")