mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
a1d0d98daf
Add a platform for the Wire Speed Processor, based on the PPC A2. This includes code for the ICS & OPB interrupt controllers, as well as a SCOM backend, and SCOM based cpu bringup. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Jack Miller <jack@codezen.org> Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
18 lines
382 B
C
18 lines
382 B
C
#ifndef __WSP_H
|
|
#define __WSP_H
|
|
|
|
#include <asm/wsp.h>
|
|
|
|
extern void wsp_setup_pci(void);
|
|
extern void scom_init_wsp(void);
|
|
|
|
extern void a2_setup_smp(void);
|
|
extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx,
|
|
struct device_node *np);
|
|
int smp_a2_cpu_bootable(unsigned int nr);
|
|
int __devinit smp_a2_kick_cpu(int nr);
|
|
|
|
void opb_pic_init(void);
|
|
|
|
#endif /* __WSP_H */
|