Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
57d1da87
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
57d1da87
编写于
12月 06, 2016
作者:
R
Radim Krčmář
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'kvm-ppc-next' of
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
Eliminate merge conflict between
9e5f6884
and
ebe4535f
.
上级
ffcb09f2
e34af784
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
43 addition
and
49 deletion
+43
-49
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/include/asm/asm-prototypes.h
+0
-44
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/include/asm/kvm_ppc.h
+42
-0
arch/powerpc/kvm/book3s_64_vio_hv.c
arch/powerpc/kvm/book3s_64_vio_hv.c
+0
-1
arch/powerpc/kvm/book3s_hv_builtin.c
arch/powerpc/kvm/book3s_hv_builtin.c
+0
-1
arch/powerpc/kvm/book3s_hv_ras.c
arch/powerpc/kvm/book3s_hv_ras.c
+1
-1
arch/powerpc/kvm/book3s_hv_rm_mmu.c
arch/powerpc/kvm/book3s_hv_rm_mmu.c
+0
-1
arch/powerpc/kvm/book3s_hv_rm_xics.c
arch/powerpc/kvm/book3s_hv_rm_xics.c
+0
-1
未找到文件。
arch/powerpc/include/asm/asm-prototypes.h
浏览文件 @
57d1da87
...
...
@@ -14,9 +14,6 @@
#include <linux/threads.h>
#include <linux/kprobes.h>
#ifdef CONFIG_KVM
#include <linux/kvm_host.h>
#endif
#include <uapi/asm/ucontext.h>
...
...
@@ -112,45 +109,4 @@ void early_setup_secondary(void);
/* time */
void
accumulate_stolen_time
(
void
);
/* kvm */
#ifdef CONFIG_KVM
long
kvmppc_rm_h_put_tce
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
liobn
,
unsigned
long
ioba
,
unsigned
long
tce
);
long
kvmppc_rm_h_put_tce_indirect
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
liobn
,
unsigned
long
ioba
,
unsigned
long
tce_list
,
unsigned
long
npages
);
long
kvmppc_rm_h_stuff_tce
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
liobn
,
unsigned
long
ioba
,
unsigned
long
tce_value
,
unsigned
long
npages
);
long
int
kvmppc_rm_h_confer
(
struct
kvm_vcpu
*
vcpu
,
int
target
,
unsigned
int
yield_count
);
long
kvmppc_h_random
(
struct
kvm_vcpu
*
vcpu
);
void
kvmhv_commence_exit
(
int
trap
);
long
kvmppc_realmode_machine_check
(
struct
kvm_vcpu
*
vcpu
);
void
kvmppc_subcore_enter_guest
(
void
);
void
kvmppc_subcore_exit_guest
(
void
);
long
kvmppc_realmode_hmi_handler
(
void
);
long
kvmppc_h_enter
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
long
pte_index
,
unsigned
long
pteh
,
unsigned
long
ptel
);
long
kvmppc_h_remove
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
,
unsigned
long
avpn
);
long
kvmppc_h_bulk_remove
(
struct
kvm_vcpu
*
vcpu
);
long
kvmppc_h_protect
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
,
unsigned
long
avpn
,
unsigned
long
va
);
long
kvmppc_h_read
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
);
long
kvmppc_h_clear_ref
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
);
long
kvmppc_h_clear_mod
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
);
long
kvmppc_hpte_hv_fault
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
addr
,
unsigned
long
slb_v
,
unsigned
int
status
,
bool
data
);
unsigned
long
kvmppc_rm_h_xirr
(
struct
kvm_vcpu
*
vcpu
);
int
kvmppc_rm_h_ipi
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
server
,
unsigned
long
mfrr
);
int
kvmppc_rm_h_cppr
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
cppr
);
int
kvmppc_rm_h_eoi
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
xirr
);
#endif
#endif
/* _ASM_POWERPC_ASM_PROTOTYPES_H */
arch/powerpc/include/asm/kvm_ppc.h
浏览文件 @
57d1da87
...
...
@@ -510,6 +510,48 @@ static inline int kvmppc_xics_hcall(struct kvm_vcpu *vcpu, u32 cmd)
{
return
0
;
}
#endif
/*
* Prototypes for functions called only from assembler code.
* Having prototypes reduces sparse errors.
*/
long
kvmppc_rm_h_put_tce
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
liobn
,
unsigned
long
ioba
,
unsigned
long
tce
);
long
kvmppc_rm_h_put_tce_indirect
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
liobn
,
unsigned
long
ioba
,
unsigned
long
tce_list
,
unsigned
long
npages
);
long
kvmppc_rm_h_stuff_tce
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
liobn
,
unsigned
long
ioba
,
unsigned
long
tce_value
,
unsigned
long
npages
);
long
int
kvmppc_rm_h_confer
(
struct
kvm_vcpu
*
vcpu
,
int
target
,
unsigned
int
yield_count
);
long
kvmppc_h_random
(
struct
kvm_vcpu
*
vcpu
);
void
kvmhv_commence_exit
(
int
trap
);
long
kvmppc_realmode_machine_check
(
struct
kvm_vcpu
*
vcpu
);
void
kvmppc_subcore_enter_guest
(
void
);
void
kvmppc_subcore_exit_guest
(
void
);
long
kvmppc_realmode_hmi_handler
(
void
);
long
kvmppc_h_enter
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
long
pte_index
,
unsigned
long
pteh
,
unsigned
long
ptel
);
long
kvmppc_h_remove
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
,
unsigned
long
avpn
);
long
kvmppc_h_bulk_remove
(
struct
kvm_vcpu
*
vcpu
);
long
kvmppc_h_protect
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
,
unsigned
long
avpn
,
unsigned
long
va
);
long
kvmppc_h_read
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
);
long
kvmppc_h_clear_ref
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
);
long
kvmppc_h_clear_mod
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
flags
,
unsigned
long
pte_index
);
long
kvmppc_hpte_hv_fault
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
addr
,
unsigned
long
slb_v
,
unsigned
int
status
,
bool
data
);
unsigned
long
kvmppc_rm_h_xirr
(
struct
kvm_vcpu
*
vcpu
);
int
kvmppc_rm_h_ipi
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
server
,
unsigned
long
mfrr
);
int
kvmppc_rm_h_cppr
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
cppr
);
int
kvmppc_rm_h_eoi
(
struct
kvm_vcpu
*
vcpu
,
unsigned
long
xirr
);
/*
* Host-side operations we want to set up while running in real
* mode in the guest operating on the xics.
...
...
arch/powerpc/kvm/book3s_64_vio_hv.c
浏览文件 @
57d1da87
...
...
@@ -39,7 +39,6 @@
#include <asm/udbg.h>
#include <asm/iommu.h>
#include <asm/tce.h>
#include <asm/asm-prototypes.h>
#define TCES_PER_PAGE (PAGE_SIZE / sizeof(u64))
...
...
arch/powerpc/kvm/book3s_hv_builtin.c
浏览文件 @
57d1da87
...
...
@@ -26,7 +26,6 @@
#include <asm/dbell.h>
#include <asm/cputhreads.h>
#include <asm/io.h>
#include <asm/asm-prototypes.h>
#include <asm/opal.h>
#include <asm/smp.h>
...
...
arch/powerpc/kvm/book3s_hv_ras.c
浏览文件 @
57d1da87
...
...
@@ -16,7 +16,7 @@
#include <asm/machdep.h>
#include <asm/cputhreads.h>
#include <asm/hmi.h>
#include <asm/
asm-prototypes
.h>
#include <asm/
kvm_ppc
.h>
/* SRR1 bits for machine check on POWER7 */
#define SRR1_MC_LDSTERR (1ul << (63-42))
...
...
arch/powerpc/kvm/book3s_hv_rm_mmu.c
浏览文件 @
57d1da87
...
...
@@ -21,7 +21,6 @@
#include <asm/hvcall.h>
#include <asm/synch.h>
#include <asm/ppc-opcode.h>
#include <asm/asm-prototypes.h>
/* Translate address of a vmalloc'd thing to a linear map address */
static
void
*
real_vmalloc_addr
(
void
*
x
)
...
...
arch/powerpc/kvm/book3s_hv_rm_xics.c
浏览文件 @
57d1da87
...
...
@@ -24,7 +24,6 @@
#include <asm/pnv-pci.h>
#include <asm/opal.h>
#include <asm/smp.h>
#include <asm/asm-prototypes.h>
#include "book3s_xics.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录