~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/powerpc/kernel/setup.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 /*
  3  * Prototypes for functions that are shared between setup_(32|64|common).c
  4  *
  5  * Copyright 2016 Michael Ellerman, IBM Corporation.
  6  */
  7 
  8 #ifndef __ARCH_POWERPC_KERNEL_SETUP_H
  9 #define __ARCH_POWERPC_KERNEL_SETUP_H
 10 
 11 void initialize_cache_info(void);
 12 void irqstack_early_init(void);
 13 
 14 #ifdef CONFIG_PPC32
 15 void setup_power_save(void);
 16 #else
 17 static inline void setup_power_save(void) { }
 18 #endif
 19 
 20 #if defined(CONFIG_PPC64) && defined(CONFIG_SMP)
 21 void check_smt_enabled(void);
 22 #else
 23 static inline void check_smt_enabled(void) { }
 24 #endif
 25 
 26 #if defined(CONFIG_PPC_BOOK3E_64) && defined(CONFIG_SMP)
 27 void setup_tlb_core_data(void);
 28 #else
 29 static inline void setup_tlb_core_data(void) { }
 30 #endif
 31 
 32 #ifdef CONFIG_BOOKE
 33 void exc_lvl_early_init(void);
 34 #else
 35 static inline void exc_lvl_early_init(void) { }
 36 #endif
 37 
 38 #if defined(CONFIG_PPC64) || defined(CONFIG_VMAP_STACK)
 39 void emergency_stack_init(void);
 40 #else
 41 static inline void emergency_stack_init(void) { }
 42 #endif
 43 
 44 #ifdef CONFIG_PPC64
 45 u64 ppc64_bolted_size(void);
 46 
 47 /* Default SPR values from firmware/kexec */
 48 extern unsigned long spr_default_dscr;
 49 #endif
 50 
 51 /*
 52  * Having this in kvm_ppc.h makes include dependencies too
 53  * tricky to solve for setup-common.c so have it here.
 54  */
 55 #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
 56 void kvm_cma_reserve(void);
 57 #else
 58 static inline void kvm_cma_reserve(void) { }
 59 #endif
 60 
 61 #ifdef CONFIG_TAU
 62 u32 cpu_temp(unsigned long cpu);
 63 u32 cpu_temp_both(unsigned long cpu);
 64 u32 tau_interrupts(unsigned long cpu);
 65 #endif /* CONFIG_TAU */
 66 
 67 #endif /* __ARCH_POWERPC_KERNEL_SETUP_H */
 68 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php