deepin-community / kernel

deepin linux kernel
https://www.deepin.org
Other
23 stars 58 forks source link

[linux-6.6.y] x86/cpu: Remove pointless evaluation of x86_coreid_bits #279

Closed leoliu-oc closed 3 months ago

leoliu-oc commented 3 months ago

mainline inclusion from mainline-v6.6-rc1 commit 594957d723a0674ca15bfefb755b3403624b8239 category: other


[Only apply patch in zhaoxin.c ]

cpuinfo_x86::x86_coreid_bits is only used by the AMD numa topology code. No point in evaluating it on non AMD systems.

No functional change.

Tested-by: Juergen Gross jgross@suse.com Tested-by: Sohil Mehta sohil.mehta@intel.com Tested-by: Michael Kelley mikelley@microsoft.com Tested-by: Peter Zijlstra (Intel) peterz@infradead.org Tested-by: Zhang Rui rui.zhang@intel.com Reviewed-by: Arjan van de Ven arjan@linux.intel.com Acked-by: Peter Zijlstra (Intel) peterz@infradead.org Link: https://lore.kernel.org/r/20230814085112.687588373@linutronix.de

deepin-ci-robot commented 3 months ago

[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 tsic404 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: - **[https:/raw.githubusercontent.com/deepin-community/template-repository/master/debian/deepin/OWNERS](https://github.com/deepin-community/kernel/blob/linux-6.6.y/https:/raw.githubusercontent.com/deepin-community/template-repository/master/debian/deepin/OWNERS)** 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 commented 3 months ago

Hi @leoliu-oc. 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](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
opsiff commented 3 months ago

/ok-to-test

opsiff commented 3 months ago

/lgtm

deepin-ci-robot commented 3 months ago

deepin pr auto review

关键摘要:

是否建议立即修改: