RISCV How to disable the generation of compressed instructions Linux Kernel 5.11-rc3

256 views
Skip to first unread message

Guy Ka

unread,
Jan 22, 2021, 5:07:32 PM1/22/21
to RISC-V SW Dev
In linux Kernel 5.11-rc3, 
starting with make ARCH=riscv rv32_defconfig
and then 
make ARCH=riscv menufconfig
the configuration option
Platform Type => "Emit compressed instruction when building Linux "
cannot be modified
I do see the following line in the generated .config file
CONFIG_RISCV_ISA_C=y
Is there a way to disable the generation of compressed instructions?
Thanks 

Palmer Dabbelt

unread,
Jan 22, 2021, 11:37:50 PM1/22/21
to guya...@gmail.com, sw-...@groups.riscv.org
Look at the help text for RISCV_ISA_C, it's selected by EFI.

Guy Ka

unread,
Jan 23, 2021, 12:55:22 PM1/23/21
to RISC-V SW Dev, Palmer Dabbelt, sw-...@groups.riscv.org, Guy Ka
Thanks that saved my day.
Reply all
Reply to author
Forward
0 new messages