Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.14-rc2 46 lines 1.1 kB view raw
1#include <linux/kernel.h> 2#include <linux/kvm_host.h> 3#include <linux/err.h> 4#include <linux/kernel_stat.h> 5 6#include <asm/kvm_book3s.h> 7#include <asm/kvm_ppc.h> 8#include <asm/hvcall.h> 9#include <asm/xics.h> 10#include <asm/debug.h> 11#include <asm/synch.h> 12#include <asm/cputhreads.h> 13#include <asm/pgtable.h> 14#include <asm/ppc-opcode.h> 15#include <asm/pnv-pci.h> 16#include <asm/opal.h> 17#include <asm/smp.h> 18#include <asm/asm-prototypes.h> 19#include <asm/xive.h> 20#include <asm/xive-regs.h> 21 22#include "book3s_xive.h" 23 24/* XXX */ 25#include <asm/udbg.h> 26//#define DBG(fmt...) udbg_printf(fmt) 27#define DBG(fmt...) do { } while(0) 28 29static inline void __iomem *get_tima_phys(void) 30{ 31 return local_paca->kvm_hstate.xive_tima_phys; 32} 33 34#undef XIVE_RUNTIME_CHECKS 35#define X_PFX xive_rm_ 36#define X_STATIC 37#define X_STAT_PFX stat_rm_ 38#define __x_tima get_tima_phys() 39#define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_page)) 40#define __x_trig_page(xd) ((void __iomem *)((xd)->trig_page)) 41#define __x_writeb __raw_rm_writeb 42#define __x_readw __raw_rm_readw 43#define __x_readq __raw_rm_readq 44#define __x_writeq __raw_rm_writeq 45 46#include "book3s_xive_template.c"