Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
af955987
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
af955987
编写于
11月 25, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
上级
4ad5bd25
9a94c579
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
29 addition
and
20 deletion
+29
-20
arch/powerpc/Makefile
arch/powerpc/Makefile
+10
-6
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/hugetlbpage.c
+1
-1
arch/powerpc/platforms/iseries/iommu.c
arch/powerpc/platforms/iseries/iommu.c
+1
-1
arch/powerpc/platforms/pseries/iommu.c
arch/powerpc/platforms/pseries/iommu.c
+1
-1
arch/powerpc/sysdev/dart.h
arch/powerpc/sysdev/dart.h
+1
-1
arch/powerpc/sysdev/u3_iommu.c
arch/powerpc/sysdev/u3_iommu.c
+2
-2
include/asm-powerpc/iommu.h
include/asm-powerpc/iommu.h
+1
-1
include/asm-powerpc/page_64.h
include/asm-powerpc/page_64.h
+11
-6
include/asm-powerpc/tce.h
include/asm-powerpc/tce.h
+1
-1
未找到文件。
arch/powerpc/Makefile
浏览文件 @
af955987
...
...
@@ -61,15 +61,17 @@ endif
LDFLAGS_vmlinux
:=
-Bstatic
# The -Iarch/$(ARCH)/include is temporary while we are merging
CPPFLAGS
+=
-Iarch
/
$(ARCH)
-Iarch
/
$(ARCH)
/include
AFLAGS
+=
-Iarch
/
$(ARCH)
CFLAGS
+=
-Iarch
/
$(ARCH)
-msoft-float
-pipe
CPPFLAGS-$(CONFIG_PPC32)
:=
-Iarch
/
$(ARCH)
-Iarch
/
$(ARCH)
/include
AFLAGS-$(CONFIG_PPC32)
:=
-Iarch
/
$(ARCH)
CFLAGS-$(CONFIG_PPC64)
:=
-mminimal-toc
-mtraceback
=
none
-mcall-aixdesc
CFLAGS-$(CONFIG_PPC32)
:=
-ffixed-r2
-mmultiple
CFLAGS
+=
$
(
CFLAGS-y
)
CFLAGS-$(CONFIG_PPC32)
:=
-Iarch
/
$(ARCH)
-ffixed-r2
-mmultiple
CPPFLAGS
+=
$
(
CPPFLAGS-y
)
AFLAGS
+=
$
(
AFLAGS-y
)
CFLAGS
+=
-msoft-float
-pipe
$
(
CFLAGS-y
)
CPP
=
$(CC)
-E
$(CFLAGS)
# Temporary hack until we have migrated to asm-powerpc
LINUXINCLUDE
+=
-Iarch
/
$(ARCH)
/include
LINUXINCLUDE-$(CONFIG_PPC32)
:=
-Iarch
/
$(ARCH)
/include
LINUXINCLUDE
+=
$
(
LINUXINCLUDE-y
)
CHECKFLAGS
+=
-m
$(SZ)
-D__powerpc__
-D__powerpc
$(SZ)
__
...
...
@@ -173,11 +175,13 @@ archclean:
archprepare
:
checkbin
ifeq
($(CONFIG_PPC32),y)
# Temporary hack until we have migrated to asm-powerpc
include/asm
:
arch/$(ARCH)/include/asm
arch/$(ARCH)/include/asm
:
FORCE
$(Q)
if
[
!
-d
arch
/
$(ARCH)
/include
]
;
then
mkdir
-p
arch
/
$(ARCH)
/include
;
fi
$(Q)
ln
-fsn
$(srctree)
/include/asm-
$(OLDARCH)
arch
/
$(ARCH)
/include/asm
endif
# Use the file '.tmp_gas_check' for binutils tests, as gas won't output
# to stdout and these checks are run even on install targets.
...
...
arch/powerpc/mm/hugetlbpage.c
浏览文件 @
af955987
...
...
@@ -295,7 +295,7 @@ int prepare_hugepage_range(unsigned long addr, unsigned long len)
if
(
addr
<
0x100000000UL
)
err
=
open_low_hpage_areas
(
current
->
mm
,
LOW_ESID_MASK
(
addr
,
len
));
if
((
addr
+
len
)
>
=
0x100000000UL
)
if
((
addr
+
len
)
>
0x100000000UL
)
err
=
open_high_hpage_areas
(
current
->
mm
,
HTLB_AREA_MASK
(
addr
,
len
));
if
(
err
)
{
...
...
arch/powerpc/platforms/iseries/iommu.c
浏览文件 @
af955987
...
...
@@ -3,7 +3,7 @@
*
* Rewrite, cleanup:
*
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* Dynamic DMA mapping support, iSeries-specific parts.
*
...
...
arch/powerpc/platforms/pseries/iommu.c
浏览文件 @
af955987
...
...
@@ -5,7 +5,7 @@
*
* Rewrite, cleanup:
*
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* Dynamic DMA mapping support, pSeries-specific parts, both SMP and LPAR.
*
...
...
arch/powerpc/sysdev/dart.h
浏览文件 @
af955987
/*
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
arch/powerpc/sysdev/u3_iommu.c
浏览文件 @
af955987
/*
* arch/powerpc/sysdev/u3_iommu.c
*
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* Based on pSeries_iommu.c:
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* Dynamic DMA mapping support, Apple U3 & IBM CPC925 "DART" iommu.
*
...
...
include/asm-powerpc/iommu.h
浏览文件 @
af955987
/*
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
* Rewrite, cleanup:
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
include/asm-powerpc/page_64.h
浏览文件 @
af955987
...
...
@@ -103,8 +103,9 @@ extern unsigned int HPAGE_SHIFT;
#define HTLB_AREA_SIZE (1UL << HTLB_AREA_SHIFT)
#define GET_HTLB_AREA(x) ((x) >> HTLB_AREA_SHIFT)
#define LOW_ESID_MASK(addr, len) (((1U << (GET_ESID(addr+len-1)+1)) \
- (1U << GET_ESID(addr))) & 0xffff)
#define LOW_ESID_MASK(addr, len) \
(((1U << (GET_ESID(min((addr)+(len)-1, 0x100000000UL))+1)) \
- (1U << GET_ESID(min((addr), 0x100000000UL)))) & 0xffff)
#define HTLB_AREA_MASK(addr, len) (((1U << (GET_HTLB_AREA(addr+len-1)+1)) \
- (1U << GET_HTLB_AREA(addr))) & 0xffff)
...
...
@@ -113,17 +114,21 @@ extern unsigned int HPAGE_SHIFT;
#define ARCH_HAS_SETCLEAR_HUGE_PTE
#define touches_hugepage_low_range(mm, addr, len) \
(LOW_ESID_MASK((addr), (len)) & (mm)->context.low_htlb_areas)
(((addr) < 0x100000000UL) \
&& (LOW_ESID_MASK((addr), (len)) & (mm)->context.low_htlb_areas))
#define touches_hugepage_high_range(mm, addr, len) \
(HTLB_AREA_MASK((addr), (len)) & (mm)->context.high_htlb_areas)
((((addr) + (len)) > 0x100000000UL) \
&& (HTLB_AREA_MASK((addr), (len)) & (mm)->context.high_htlb_areas))
#define __within_hugepage_low_range(addr, len, segmask) \
((LOW_ESID_MASK((addr), (len)) | (segmask)) == (segmask))
( (((addr)+(len)) <= 0x100000000UL) \
&& ((LOW_ESID_MASK((addr), (len)) | (segmask)) == (segmask)))
#define within_hugepage_low_range(addr, len) \
__within_hugepage_low_range((addr), (len), \
current->mm->context.low_htlb_areas)
#define __within_hugepage_high_range(addr, len, zonemask) \
((HTLB_AREA_MASK((addr), (len)) | (zonemask)) == (zonemask))
( ((addr) >= 0x100000000UL) \
&& ((HTLB_AREA_MASK((addr), (len)) | (zonemask)) == (zonemask)))
#define within_hugepage_high_range(addr, len) \
__within_hugepage_high_range((addr), (len), \
current->mm->context.high_htlb_areas)
...
...
include/asm-powerpc/tce.h
浏览文件 @
af955987
/*
* Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation
* Rewrite, cleanup:
* Copyright (C) 2004 Olof Johansson <olof@
austin.ibm.com
>, IBM Corporation
* Copyright (C) 2004 Olof Johansson <olof@
lixom.net
>, IBM Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录