Home
last modified time | relevance | path

Searched refs:hart (Results 1 – 9 of 9) sorted by relevance

/linux/arch/riscv/kernel/
H A Dsmpboot.c75 unsigned long hart; in acpi_parse_rintc() local
92 hart = processor->hart_id; in acpi_parse_rintc()
93 if (hart == INVALID_HARTID) { in acpi_parse_rintc()
98 if (hart == cpuid_to_hartid_map(0)) { in acpi_parse_rintc()
109 cpuid_to_hartid_map(cpu_count) = hart; in acpi_parse_rintc()
126 unsigned long hart; in of_parse_and_init_cpus() local
132 rc = riscv_early_of_processor_hartid(dn, &hart); in of_parse_and_init_cpus()
136 if (hart == cpuid_to_hartid_map(0)) { in of_parse_and_init_cpus()
144 cpuid, hart); in of_parse_and_init_cpus()
148 cpuid_to_hartid_map(cpuid) = hart; in of_parse_and_init_cpus()
H A Dcpu.c30 int riscv_of_processor_hartid(struct device_node *node, unsigned long *hart) in riscv_of_processor_hartid() argument
34 *hart = (unsigned long)of_get_cpu_hwid(node, 0); in riscv_of_processor_hartid()
35 if (*hart == ~0UL) { in riscv_of_processor_hartid()
40 cpu = riscv_hartid_to_cpuid(*hart); in riscv_of_processor_hartid()
50 int __init riscv_early_of_processor_hartid(struct device_node *node, unsigned long *hart) in riscv_early_of_processor_hartid() argument
59 *hart = (unsigned long)of_get_cpu_hwid(node, 0); in riscv_early_of_processor_hartid()
60 if (*hart == ~0UL) { in riscv_early_of_processor_hartid()
72 pr_warn("CPU with hartid=%lu does not support rv32i", *hart); in riscv_early_of_processor_hartid()
77 pr_warn("CPU with hartid=%lu does not support rv64i", *hart); in riscv_early_of_processor_hartid()
87 pr_warn("CPU with hartid=%lu does not support ima", *hart); in riscv_early_of_processor_hartid()
[all …]
/linux/Documentation/translations/zh_CN/arch/riscv/
H A Dboot.rst70 - ``RISCV_BOOT_SPINWAIT``:固件在内核中释放所有的hart,一个hart
71 得抽奖并执行早期启动代码,而其他的hart则停在那里等待初始化完成。这种
73 - ``有序启动``:固件只释放一个将执行初始化阶段的hart,然后使用SBI HSM
74 扩展启动所有其他的hart。有序启动方法是启动RISC-V内核的首选启动方法,
/linux/Documentation/arch/riscv/
H A Dcmodx.rst47 migrate a task onto a new hart. If migration occurs after the userspace
49 new hart will no longer be clean. This is due to the behavior of fence.i only
50 affecting the hart that it is called on. Thus, the hart that the task has been
61 when the memory map being used by a hart changes. If the prctl() context caused
H A Duabi.rst47 "isa" and "hart isa" lines in /proc/cpuinfo
52 "hart isa" line, in contrast, describes the set of extensions recognized by the
53 kernel on the particular hart being described, even if those extensions may not
H A Dboot.rst68 - ``RISCV_BOOT_SPINWAIT``: the firmware releases all harts in the kernel, one hart
72 - ``Ordered booting``: the firmware releases only one hart that will execute the
/linux/tools/perf/pmu-events/arch/riscv/
H A Dmapfile.csv6 # MARCHID base microarchitecture of the hart
/linux/arch/riscv/kvm/
H A Daia_device.c210 u32 hart = 0, group = 0; in aia_imsic_hart_index() local
213 hart = (addr >> (aia->nr_guest_bits + IMSIC_MMIO_PAGE_SHIFT)) & in aia_imsic_hart_index()
219 return (group << aia->nr_hart_bits) | hart; in aia_imsic_hart_index()
/linux/arch/riscv/
H A DKconfig675 which allow a hart to enter a low-power state or to trap to the
1064 Since spinwait is incompatible with sparse hart IDs, it requires
1065 NR_CPUS be large enough to contain the physical hart ID of the first
1066 hart to enter Linux.