Home
last modified time | relevance | path

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

/Linux-v6.1/arch/riscv/kernel/
Dsmpboot.c76 unsigned long hart; in setup_smp() local
84 rc = riscv_of_processor_hartid(dn, &hart); in setup_smp()
88 if (hart == cpuid_to_hartid_map(0)) { in setup_smp()
96 cpuid, hart); in setup_smp()
100 cpuid_to_hartid_map(cpuid) = hart; in setup_smp()
Dcpu.c20 int riscv_of_processor_hartid(struct device_node *node, unsigned long *hart) in riscv_of_processor_hartid() argument
29 *hart = (unsigned long) of_get_cpu_hwid(node, 0); in riscv_of_processor_hartid()
30 if (*hart == ~0UL) { in riscv_of_processor_hartid()
36 pr_info("CPU with hartid=%lu is not available\n", *hart); in riscv_of_processor_hartid()
41 pr_warn("CPU with hartid=%lu has no \"riscv,isa\" property\n", *hart); in riscv_of_processor_hartid()
45 pr_warn("CPU with hartid=%lu has an invalid ISA of \"%s\"\n", *hart, isa); in riscv_of_processor_hartid()
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Driscv,cpu-intc.txt7 Every interrupt is ultimately routed through a hart's HLIC before it
8 interrupts that hart.
40 definition of the hart whose CSRs control these local interrupts.
/Linux-v6.1/arch/riscv/
DKconfig481 Since spinwait is incompatible with sparse hart IDs, it requires
482 NR_CPUS be large enough to contain the physical hart ID of the first
483 hart to enter Linux.
/Linux-v6.1/drivers/clocksource/
DKconfig629 This enables the per-hart timer built into all RISC-V systems, which