Lines Matching refs:isa
52 const char *isa;
68 if (of_property_read_string(node, "riscv,isa-base", &isa))
71 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) {
76 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) {
81 if (!of_property_present(node, "riscv,isa-extensions"))
84 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 ||
85 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 ||
86 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) {
95 pr_warn("CPU with hartid=%lu is invalid: this kernel does not parse \"riscv,isa\"",
100 if (of_property_read_string(node, "riscv,isa", &isa)) {
101 pr_warn("CPU with hartid=%lu has no \"riscv,isa-base\" or \"riscv,isa\" property\n",
106 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32ima", 7)) {
111 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64ima", 7)) {
255 if (!__riscv_isa_extension_available(vendor_bitmap->isa, ext_data[j].id))
340 * For historical raisins, the isa: line is limited to the lowest common
342 * extensions supported on this hart is printed later in the hart isa:
345 seq_puts(m, "isa\t\t: ");
367 seq_puts(m, "hart isa\t: ");
368 print_isa(m, hart_isa[cpu_id].isa, cpu_id);