113 Commits

Author SHA1 Message Date
Xie XiuQi
867c2b8646 kernel.spec: release 5.10.0-3.0.0.12
- update to stable 5.10.12
- support reserving crashkernel above 4G on arm64 kdump
- phram: allow the user to set the erase page size
- support arm32 KASAN
- some bugfix

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2021-02-19 22:14:03 +08:00
Xie XiuQi
dad8804077 kernel.spec: release 5.10.0-2.0.0.11
- update to upstream 5.10.10
- ARM pv2: reduce min alignment to 2M
- support outercache mapping above 4G PA
- some bugfix

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2021-02-01 22:24:34 +08:00
Xie XiuQi
e3891f02c9 kernel.spec: use arch/<arch>/configs/openeuler_defconfig
Use arch/<arch>/configs/openeuler_defconfig for building.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2021-02-01 22:19:09 +08:00
Erik Yuan
5657903ce7 perf: pack the libperf-jvmti plug-in to perf RPM
libperf-jvmti.so hasn't been built as part of perf RPM in the previous
openEuler releases. This patch will enable the building and packing of
jvmti shared library by default. It should faciliate the JDK user to profile
Java application after installing the perf.

Signed-off-by: Zhichang Yuan <Erik.Yuan@arm.com>
2021-01-28 18:47:14 +08:00
luocheng
c2ef04380d split from kernel-devel to kernel-headers and kernel-devel 2021-01-26 22:26:38 +08:00
Xie XiuQi
944e32ccf0 kernel.spec: release 5.10.0-1.0.0.8
- update to 5.10.4
- support risc-v kvm
- intrduce flush_dcache_area
- support ILP32 for arm64
- support MBIGEN
- support vcpu stat debugfs
- and some bugfix

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2021-01-12 23:29:15 +08:00
fu.lin
dcece5b76b spec: do not recompute the build-id of vmlinux
Since rpm-build version 4.14.0-rc1(commit id: 4842adf), the new code
will recompute the build-id of vmlinux when generating debuginfo, and
results that the build-id is different from the boot image. Some debug
tools, like perf, when we use `-k` to specify vmlinux, it would refuse
to load vmlinux while detecing the build-id is different between vmlinux
and the current boot image.

We can use `$ file vmlinux` or `$ objdump -s -j .notes` to check
vmlinux's build-id, and `$ hexdump /sys/kernel/notes` to check current
boot image build-id.

This patch is prevent build-id changing from generating debuginfo
package.

Signed-off-by: fu.lin <fu.lin10@huawei.com>
Signed-off-by: yanglei <yanglei209@huawei.com>
2020-12-26 03:15:37 +00:00
Xie XiuQi
38c2b8e0a2 kernel.spec: release 5.10.0-0.0.0.7
rebase on top of v5.10

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-12-16 09:31:10 +08:00
Xie XiuQi
76b601f770 kernel.spec: release 5.10.0-rc7.0.0.6
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-12-09 20:30:04 +08:00
Xie XiuQi
33ddd81117 kernel.spec: release 5.10.0-rc4.0.0.5
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-18 14:52:02 +08:00
Xie XiuQi
469715cae3 kernel.spec: privode config files in src package
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-18 14:52:02 +08:00
Xie XiuQi
89657a9dd1 kernel.spec: release 5.10.0-rc3.0.0.4
rebase on top of v5.10-rc3

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-09 14:29:11 +08:00
Xie XiuQi
219d8c3ede kernel.spec: add missing debuginfodir
The debuginfodir global defination is missing in
commit 23a9377fae ("upgrade to linux 5.10"). Add
it back.

Fixes: 723a9377fae ("upgrade to linux 5.10")
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-09 14:28:02 +08:00
Xie XiuQi
0538717141 kernel.spec: use rcX for v5.10-rcX source version
For the history:
5.10.0-2.0.0.3 (released on 2020-11-06) should be 5.10.0-rc2.0.0.3
5.10.0-1.0.0.2 (released on 2020-10-31) should be 5.10.0-rc1.0.0.2

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-09 10:57:00 +08:00
Xie XiuQi
5b8383e63d kernel.spec: release 5.10.0-2.0.0.3
rebase on top of v5.10-rc2.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-06 14:14:35 +08:00
Xie XiuQi
365978b202 kernel.spec: remove /lib/modules/%{KernelVer} if empty when uninstall
When uninstall kernel package, we meet this error message:
"ls: cannot access '/lib/modules/5.10.0-xxx": No such file or directory"

check directory before list directory contents.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-06 14:14:18 +08:00
Xie XiuQi
fce01de2d8 report kernel source error
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-06 14:14:18 +08:00
Xie XiuQi
68159864b5 kernel.spec: provide /boot/symvers-kernelver.gz even no kabichk
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-02 14:40:46 +08:00
Xie XiuQi
34f2293436 kernel.spec: release 5.10.0-1.0.0.2
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-31 10:31:58 +08:00
Xie XiuQi
fa450b9b66 upgrade to linux 5.10
openEuler choose 5.10 as the next long-term support kernel.
so upgrade to linux 5.10

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
8881dc97f4 kernel.spec: adjust module.lds path for build out-of-tree module
module.lds is moved from arch/{arch}/kernel/module.lds to
scripts/module.lds by commit 596b0474d3d9 in linux 5.10,
so adjust the path.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
bd61029a31 add requires libs
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
8da8c644b8 kernel.spec: change -Source to -source
Usually we use lower case for filenames,
so use -source instead of -Source.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Zhipeng Xie
52de7f94dc kernel.spec:delete python2 dependency
Python2 is no longer supported by the upstream community. The
dependency on python2 should be removed from the kernel code.

Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-10-15 05:23:34 -04:00
Xie XiuQi
732c3e91df kernel.spec: release 4.19.148-2009.1.0
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-11 14:43:07 +08:00
xinghe
fa9ce77133 add perf-tip file fix cannot load perf-tips warning
add perf-tip file fix cannot load perf-tips warning
2020-09-14 15:51:39 +08:00
YangYingliang
50f407bb44 update kernel.spec. 2020-08-12 15:16:54 +08:00
YangYingliang
d1a9558c76 update kernel.spec. 2020-06-15 17:31:31 +08:00
YangYingliang
a9491b6ea0 update kernel.spec. 2020-06-12 17:37:54 +08:00
YangYingliang
bbaa81988e update kernel.spec. 2020-06-12 17:33:54 +08:00
YangYingliang
c969a2bb1d update kernel.spec. 2020-06-12 17:28:59 +08:00
YangYingliang
37951ce185 update kernel.spec. 2020-06-12 15:54:28 +08:00
YangYingliang
e29afff4b7 update kernel.spec. 2020-06-12 15:54:02 +08:00
YangYingliang
812eb441b2 update kernel.spec. 2020-03-21 18:35:10 +08:00
YangYingliang
e324285722 update kernel.spec. 2020-03-20 18:02:41 +08:00
YangYingliang
1a3c4d598d update kernel.spec. 2020-03-20 18:01:56 +08:00
YangYingliang
b1136c9d21 update kernel.spec. 2020-03-20 17:45:29 +08:00
YangYingliang
9a8438b24e update kernel.spec. 2020-03-20 12:11:16 +08:00
YangYingliang
35527bc608 update kernel.spec. 2020-03-18 18:09:32 +08:00
YangYingliang
cc63f212d7 update kernel.spec. 2020-03-18 10:33:55 +08:00
wuxu_wu
6db6d4c369 fix kernel-devel upgrade running scriptlet failed 2020-03-16 16:46:05 +08:00
YangYingliang
9522b840ba update kernel.spec. 2020-03-14 19:04:42 +08:00
YangYingliang
b41314b522 update kernel.spec. 2020-03-14 18:52:32 +08:00
YangYingliang
bf7f220a9b update kernel.spec. 2020-03-12 16:25:20 +08:00
YangYingliang
048126c482 update kernel.spec. 2020-03-12 16:22:08 +08:00
luochunsheng
03390ab7e1 delete useless directory 2020-03-04 11:02:35 +08:00
YangYingliang
2837f573dc update kernel.spec. 2020-03-03 19:33:16 +08:00
YangYingliang
83abf6a58e update kernel.spec. 2020-03-03 18:03:47 +08:00
YangYingliang
c4f0fdd9e5 update kernel.spec. 2020-02-29 14:24:40 +08:00
YangYingliang
e0118cebee update kernel.spec. 2020-02-28 17:36:50 +08:00