aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-02-22 11:41:40 -0800
committerPalmer Dabbelt <palmer@sifive.com>2019-03-04 10:40:39 -0800
commitfbdc6193dc706c863b70accf2006fa00331a7c3f (patch)
tree78ab70504bf3c09fd306bbf819010faf086e9efa /scripts/gdb/linux/utils.py
parentRISC-V: Compare cpuid with NR_CPUS before mapping. (diff)
downloadwireguard-linux-fbdc6193dc706c863b70accf2006fa00331a7c3f.tar.xz
wireguard-linux-fbdc6193dc706c863b70accf2006fa00331a7c3f.zip
RISC-V: Assign hwcap as per comman capabilities.
Currently, we set hwcap based on first valid hart from DT. This may not be correct always as that hart might not be current booting cpu or may have a different capability. Set hwcap as the capabilities supported by all possible harts with "okay" status. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions