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

TOMOYO Linux Cross Reference
Linux/arch/powerpc/platforms/pseries/pseries.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/powerpc/platforms/pseries/pseries.h (Version linux-6.12-rc7) and /arch/i386/platforms/pseries/pseries.h (Version linux-2.6.32.71)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2 /*                                                
  3  * Copyright 2006 IBM Corporation.                
  4  */                                               
  5                                                   
  6 #ifndef _PSERIES_PSERIES_H                        
  7 #define _PSERIES_PSERIES_H                        
  8                                                   
  9 #include <linux/interrupt.h>                      
 10 #include <asm/rtas.h>                             
 11                                                   
 12 struct device_node;                               
 13                                                   
 14 void __init request_event_sources_irqs(struct     
 15                                        irq_han    
 16                                                   
 17 #include <linux/of.h>                             
 18                                                   
 19 struct pt_regs;                                   
 20                                                   
 21 extern int pSeries_system_reset_exception(stru    
 22 extern int pSeries_machine_check_exception(str    
 23 extern long pseries_machine_check_realmode(str    
 24 void pSeries_machine_check_log_err(void);         
 25                                                   
 26 #ifdef CONFIG_SMP                                 
 27 extern void smp_init_pseries(void);               
 28                                                   
 29 /* Get state of physical CPU from query_cpu_st    
 30 int smp_query_cpu_stopped(unsigned int pcpu);     
 31 #define QCSS_STOPPED 0                            
 32 #define QCSS_STOPPING 1                           
 33 #define QCSS_NOT_STOPPED 2                        
 34 #define QCSS_HARDWARE_ERROR -1                    
 35 #define QCSS_HARDWARE_BUSY -2                     
 36 #else                                             
 37 static inline void smp_init_pseries(void) { }     
 38 #endif                                            
 39                                                   
 40 extern void pseries_kexec_cpu_down(int crash_s    
 41                                                   
 42 extern void pSeries_final_fixup(void);            
 43                                                   
 44 /* Poweron flag used for enabling auto ups res    
 45 extern unsigned long rtas_poweron_auto;           
 46                                                   
 47 /* Dynamic logical Partitioning/Mobility */       
 48 extern void dlpar_free_cc_nodes(struct device_    
 49 extern void dlpar_free_cc_property(struct prop    
 50 extern struct device_node *dlpar_configure_con    
 51                                                   
 52 extern int dlpar_attach_node(struct device_nod    
 53 extern int dlpar_detach_node(struct device_nod    
 54 extern int dlpar_acquire_drc(u32 drc_index);      
 55 extern int dlpar_release_drc(u32 drc_index);      
 56 extern int dlpar_unisolate_drc(u32 drc_index);    
 57 extern void post_mobility_fixup(void);            
 58                                                   
 59 void queue_hotplug_event(struct pseries_hp_err    
 60 int handle_dlpar_errorlog(struct pseries_hp_er    
 61                                                   
 62 #ifdef CONFIG_MEMORY_HOTPLUG                      
 63 int dlpar_memory(struct pseries_hp_errorlog *h    
 64 int dlpar_hp_pmem(struct pseries_hp_errorlog *    
 65 #else                                             
 66 static inline int dlpar_memory(struct pseries_    
 67 {                                                 
 68         return -EOPNOTSUPP;                       
 69 }                                                 
 70 static inline int dlpar_hp_pmem(struct pseries    
 71 {                                                 
 72         return -EOPNOTSUPP;                       
 73 }                                                 
 74 #endif                                            
 75                                                   
 76 #ifdef CONFIG_HOTPLUG_CPU                         
 77 int dlpar_cpu(struct pseries_hp_errorlog *hp_e    
 78 void pseries_cpu_hotplug_init(void);              
 79 #else                                             
 80 static inline int dlpar_cpu(struct pseries_hp_    
 81 {                                                 
 82         return -EOPNOTSUPP;                       
 83 }                                                 
 84 static inline void pseries_cpu_hotplug_init(vo    
 85 #endif                                            
 86                                                   
 87 /* PCI root bridge prepare function override f    
 88 struct pci_host_bridge;                           
 89 int pseries_root_bridge_prepare(struct pci_hos    
 90                                                   
 91 extern struct pci_controller_ops pseries_pci_c    
 92 int pseries_msi_allocate_domains(struct pci_co    
 93 void pseries_msi_free_domains(struct pci_contr    
 94                                                   
 95 extern int CMO_PrPSP;                             
 96 extern int CMO_SecPSP;                            
 97 extern unsigned long CMO_PageSize;                
 98                                                   
 99 static inline int cmo_get_primary_psp(void)       
100 {                                                 
101         return CMO_PrPSP;                         
102 }                                                 
103                                                   
104 static inline int cmo_get_secondary_psp(void)     
105 {                                                 
106         return CMO_SecPSP;                        
107 }                                                 
108                                                   
109 static inline unsigned long cmo_get_page_size(    
110 {                                                 
111         return CMO_PageSize;                      
112 }                                                 
113                                                   
114 int dlpar_workqueue_init(void);                   
115                                                   
116 extern u32 pseries_security_flavor;               
117 void pseries_setup_security_mitigations(void);    
118                                                   
119 #ifdef CONFIG_PPC_64S_HASH_MMU                    
120 void pseries_lpar_read_hblkrm_characteristics(    
121 #else                                             
122 static inline void pseries_lpar_read_hblkrm_ch    
123 #endif                                            
124                                                   
125 void pseries_rng_init(void);                      
126 #ifdef CONFIG_SPAPR_TCE_IOMMU                     
127 struct iommu_group *pSeries_pci_device_group(s    
128                                              s    
129 #endif                                            
130                                                   
131 #endif /* _PSERIES_PSERIES_H */                   
132                                                   

~ [ 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