/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | rtas.c | 29 #include <asm/rtas.h> 49 struct rtas_t rtas = { variable 52 EXPORT_SYMBOL(rtas); variable 80 arch_spin_lock(&rtas.lock); in lock_rtas() 86 arch_spin_unlock(&rtas.lock); in unlock_rtas() 100 if (!rtas.base) in call_rtas_display_status() 104 rtas_call_unlocked(&rtas.args, 10, 1, 1, NULL, c); in call_rtas_display_status() 141 * hardcode rtas.base/entry etc. 150 if (!rtas.base) in udbg_rtascon_putc() 169 if (!rtas in udbg_rtascon_getc_poll() [all...] |
H A D | crash_dump.c | 20 #include <asm/rtas.h> 131 basep = of_get_property(rtas.dev, "linux,rtas-base", NULL); in crash_free_reserved_phys_range() 132 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range()
|
H A D | rtas-rtc.c | 10 #include <asm/rtas.h>
|
H A D | proc_powerpc.c | 13 #include <asm/rtas.h> 66 * Create the ppc64 and ppc64/rtas directories early. This allows us to 82 if (!of_find_node_by_path("/rtas")) in proc_ppc64_create() 85 if (!proc_mkdir("rtas", root)) in proc_ppc64_create() 88 if (!proc_symlink("rtas", NULL, "powerpc/rtas")) in proc_ppc64_create()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | rtas.c | 10 #define pr_fmt(fmt) "rtas: " fmt 40 #include <asm/rtas-work-area.h> 41 #include <asm/rtas.h> 62 * @token: Value of @name if it exists under the /rtas node. 64 * @filter: If non-NULL, invoking this function via the rtas syscall is 415 .name = "rtas-last-error", 491 if (!rtas.dev) in rtas_function_token() 588 srr_regs_clobbered(); /* rtas uses SRRs, invalidate */ in __do_enter_rtas() 654 struct rtas_t rtas; variable 680 if (!rtas in call_rtas_display_status() [all...] |
H A D | crash_dump.c | 20 #include <asm/rtas.h> 106 basep = of_get_property(rtas.dev, "linux,rtas-base", NULL); in crash_free_reserved_phys_range() 107 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range()
|
H A D | rtas_entry.S | 11 * Note: r3 is an input parameter to rtas, so don't trash it... 19 LOAD_REG_ADDR(r4, rtas) 20 lis r6,1f@ha /* physical return address for rtas */ 55 * 32-bit rtas on 64-bit machines has the additional problem that RTAS may 102 LOAD_REG_ADDR(r4, rtas) 103 ld r5,RTASENTRY(r4) /* get the rtas->entry value */ 104 ld r4,RTASBASE(r4) /* get the rtas->base value */
|
/kernel/linux/linux-5.10/arch/powerpc/oprofile/ |
H A D | op_model_power4.c | 14 #include <asm/rtas.h> 307 if (pc >= rtas.base && pc < (rtas.base + rtas.size)) in get_pc()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 21 #include <asm/rtas.h> 193 struct device_node *rtas; in setup_peg2() local 195 rtas = of_find_node_by_name (root, "rtas"); in setup_peg2() 196 if (rtas) { in setup_peg2() 198 of_node_put(rtas); in setup_peg2()
|
H A D | smp.c | 31 #include <asm/rtas.h>
|
H A D | nvram.c | 15 #include <asm/rtas.h> 58 printk(KERN_DEBUG "rtas IO error storing 0x%02x at %d", val, addr); in chrp_nvram_write_val()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 21 #include <asm/rtas.h> 192 struct device_node *rtas; in setup_peg2() local 194 rtas = of_find_node_by_name (root, "rtas"); in setup_peg2() 195 if (rtas) { in setup_peg2() 197 of_node_put(rtas); in setup_peg2()
|
H A D | smp.c | 30 #include <asm/rtas.h>
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | papr-sysparm.c | 10 #include <asm/rtas.h> 12 #include <asm/rtas-work-area.h>
|
H A D | Makefile | 6 of_helpers.o rtas-work-area.o papr-sysparm.o \ 29 obj-$(CONFIG_FA_DUMP) += rtas-fadump.o
|
H A D | rtas-work-area.c | 3 #define pr_fmt(fmt) "rtas-work-area: " fmt 17 #include <asm/rtas-work-area.h> 18 #include <asm/rtas.h>
|
H A D | ras.c | 15 #include <asm/rtas.h> 399 * 0x7000. Other versions place it inside the rtas buffer. We check both. 404 (((A) >= rtas.base) && ((A) <= (rtas.base + rtas.size - 16)))) 452 /* Use the per cpu buffer from paca to store rtas error log */ in fwnmi_get_errinfo() 513 * "ibm,nmi-interlock" rtas call to release. in pSeries_system_reset_exception() 763 * Process MCE rtas errlog event.
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-functions.sh | 157 if [ ! -f /proc/device-tree/rtas/ibm,open-sriov-allow-unfreeze ] || 158 [ ! -f /proc/device-tree/rtas/ibm,open-sriov-map-pe-number ] ; then
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | ras.c | 15 #include <asm/rtas.h> 396 * 0x7000. Other versions place it inside the rtas buffer. We check both. 401 (((A) >= rtas.base) && ((A) <= (rtas.base + rtas.size - 16)))) 449 /* Use the per cpu buffer from paca to store rtas error log */ in fwnmi_get_errinfo() 510 * "ibm,nmi-interlock" rtas call to release. in pSeries_system_reset_exception() 754 * Process MCE rtas errlog event. 867 /* Queue irq work to log this rtas event later. */ in pseries_machine_check_realmode()
|
H A D | pseries.h | 10 #include <asm/rtas.h>
|
H A D | Makefile | 30 obj-$(CONFIG_FA_DUMP) += rtas-fadump.o
|
H A D | io_event_irq.c | 16 #include <asm/rtas.h>
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | numa.c | 393 root = of_find_node_by_path("/rtas"); in initialize_form2_numa_distance_lookup_table() 465 root = of_find_node_by_path("/rtas"); in find_primary_domain_index() 1125 struct device_node *rtas; in find_possible_nodes() local 1133 rtas = of_find_node_by_path("/rtas"); in find_possible_nodes() 1134 if (!rtas) in find_possible_nodes() 1147 domains = of_get_property(rtas, in find_possible_nodes() 1151 domains = of_get_property(rtas, "ibm,max-associativity-domains", in find_possible_nodes() 1170 of_node_put(rtas); in find_possible_nodes() 1373 dn = of_find_node_by_path("/rtas"); in hot_add_drconf_memory_max() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | numa.c | 389 root = of_find_node_by_path("/rtas"); in initialize_form2_numa_distance_lookup_table() 457 root = of_find_node_by_path("/rtas"); in find_primary_domain_index() 1114 struct device_node *rtas; in find_possible_nodes() local 1122 rtas = of_find_node_by_path("/rtas"); in find_possible_nodes() 1123 if (!rtas) in find_possible_nodes() 1136 domains = of_get_property(rtas, in find_possible_nodes() 1140 domains = of_get_property(rtas, "ibm,max-associativity-domains", in find_possible_nodes() 1159 of_node_put(rtas); in find_possible_nodes() 1351 dn = of_find_node_by_path("/rtas"); in hot_add_drconf_memory_max() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | rtas.h | 8 #include <asm/rtas-types.h> 20 #define RTAS_INSTANTIATE_MAX (1ULL<<30) /* Don't instantiate rtas at/above this value */ 233 extern struct rtas_t rtas; 288 #define ERR_TYPE_RTAS_LOG 0x2 /* from rtas event-scan */ 302 * for all rtas calls that require an error buffer argument. 303 * This includes 'check-exception' and 'rtas-last-error'. 357 * move some of the rtas suspend-me stuff to pseries */
|