Hi Liu
感谢您的提交,针对先前提交的AMD适配milan V2相关patch,我们总共有两条意 见,麻烦再确认下。
1、Essential下 08ed77e414ab v5.10-rc1 perf vendor events amd: Add recommended events 未合入
2、41cd02c6f7f6:kvm: x86: Expose RDPID in KVM_GET_SUPPORTED_CPUID 后向 有两个bugfix需要确认 new fix: 36fa06f9ff39 ("KVM: x86: Add support for RDPID without RDTSCP") new fix: 8aec21c04caa ("KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported")
BR Laibin
On 2021/12/16 10:27, Jackie Liu wrote:
Hi, ALL
附件是加入到 KYLIN 内核的 AMD patch 并且基于 欧拉分支 rebase 了一下 ,head 的创建规则没搞懂,这个脚本好像也不合适,就没有更改。请查收。
-- Jackie Liu
在 2021/12/15 上午11:44, Zheng Zengkai 写道:
#!/bin/sh # # Usage: # # prerequisite: # The patches to add header should be patches from linux mainline. # # command: # add-openeuler-patch-header.sh commit1..commit2 gitee_issue_url # # commit1: mainline start commit id; # commit2: mainline end commit id # gitee_issue_url: for example: https://gitee.com/openeuler/kernel/issues/I4MKP4
# Example: # add-openeuler-patch-header.sh afd2ff9b7e1b..8bb7eca972a https://gitee.com/openeuler/kernel/issues/I4MKP4 #
for p in `ls *.patch` do if [ $p == "0000-cover-letter.patch" ]; then continue fi
title=$(sed '/^Subject: [PATCH .*]/{N;s/\n / /g}' $p | grep -E "^Subject: [PATCH .*]" | cut -d ']' -f 2) commit=$(git log --pretty=oneline $1 | grep -F "$title" | cut -d ' ' -f 1) if [ -n "$multi" ]; then echo "$p" has multi-commits commit="multi" continue fi if [ -z "$commit" ]; then echo "$p" commit is null commit="null" continue fi
# find insert line i=5 while true do ln=""$i"p" sub=`cat $p | sed -n "$ln"` i=$(($i+1)) if [ -z "$sub" ]; then break fi done i=$(($i-1))
version=`git name-rev $commit | awk -F '[v~^]' '{print $2}'`
sed ""$i"a mainline inclusion\nfrom mainline-v$version\ncommit $commit\ncategory: feature\nbugzilla: $2\nCVE: NA\n\n--------------------------------\n" -i $p done
No virus found Checked by Hillstone Network AntiVirus