Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(kernel-rolling) arch: Add basic platform support for Phytium FTC #175

Conversation

MingcongBai
Copy link
Contributor

@MingcongBai MingcongBai commented May 22, 2024

Picked and rebased from #122.

From original pull request:

Add some basic information and description of Phytium FTC series cpus.

Builds tested

  • amd64
  • arm64
  • loong64

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign goldendeng for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot
Copy link

Hi @MingcongBai. Thanks for your PR.

I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

JiakunShuai and others added 4 commits May 29, 2024 08:38
This patch adds the MIDR encodings for Phytium FTC3xx/6xx CPUs.

Signed-off-by: Wang Yinfeng <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Jiakun Shuai <[email protected]>
Since Phytium FTC3xx/6xx CPU cores are all meltdown safe, add them to
kpti_safe_list[].

Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
Signed-off-by: Jiakun Shuai <[email protected]>
…list

FTC310 (LITTLE) CPUs are spectre-v2 and spectre-v4 safe, hence add them
to the safe list.

Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
Signed-off-by: Jiakun Shuai <[email protected]>
Document the compatible string for the FTC series cpus found in Phytium
SoCs.

Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
Signed-off-by: Jiakun Shuai <[email protected]>
@MingcongBai MingcongBai force-pushed the bai/kernel-rolling/phytium-ftc branch from 93757bd to 16eacaf Compare May 29, 2024 00:38
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • arch/arm64/include/asm/cputype.harch/arm64/kernel/cpufeature.c中新增的宏定义可能需要检查是否与现有宏定义冲突,避免重复定义。
  • arch/arm64/kernel/proton-pack.c中新增的MIDR_ALL_VERSIONS(MIDR_PHYTIUM_FTC310)宏定义可能需要检查与现有宏定义的兼容性,确保它们可以正确地指示特定处理器的特征。

是否建议立即修改:

  • 是,建议立即检查新增宏定义的冲突和兼容性,以确保代码的清晰性和正确性。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants