[PATCH] riscv: cpufeature: Drop this_hwcap clear in T-Head vector workaround

Paul Walmsley pjw at kernel.org
Thu Apr 30 13:08:46 PDT 2026


On Thu, 30 Apr 2026, Hui Wang wrote:

> The variable this_hwcap is initialized to 0 for each loop, it is not
> necessary to do the bit clearance since this_hwcap is still 0 at this
> point, clearing the source_isa is enough here.
> 
> Signed-off-by: Hui Wang <hui.wang at canonical.com>

Thanks, queued for v7.1-rc.


- Paul




More information about the linux-riscv mailing list