aboutsummaryrefslogtreecommitdiff
path: root/qobject
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2022-03-29 12:56:57 -0700
committerAlistair Francis <alistair.francis@wdc.com>2022-04-22 10:35:16 +1000
commita775398be2e9ee2f2158dbdd0938593e3d002f62 (patch)
tree3a208c99060ceb35dee25cd8fb23aedd6e15155e /qobject
parent0e2c377023b3cc13f097752bd84b3cab0554997d (diff)
downloadqemu-a775398be2e9ee2f2158dbdd0938593e3d002f62.zip
qemu-a775398be2e9ee2f2158dbdd0938593e3d002f62.tar.gz
qemu-a775398be2e9ee2f2158dbdd0938593e3d002f62.tar.bz2
target/riscv: Add isa extenstion strings to the device tree
The Linux kernel parses the ISA extensions from "riscv,isa" DT property. It used to parse only the single letter base extensions until now. A generic ISA extension parsing framework was proposed[1] recently that can parse multi-letter ISA extensions as well. Generate the extended ISA string by appending the available ISA extensions to the "riscv,isa" string if it is enabled so that kernel can process it. [1] https://lkml.org/lkml/2022/2/15/263 Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Suggested-by: Heiko Stubner <heiko@sntech.de> Signed-off-by: Atish Patra <atishp@rivosinc.com> Message-Id: <20220329195657.1725425-1-atishp@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions