Skip to content

Conversation

@yuanxia0927
Copy link

Support for error detection and correction on the Phytium Pe220x family of SOCs.

This patch document the DT bindings for Phytium pe220x EDAC.

Signed-off-by: yuanxia <yuanxia2073@phytium.com.cn>
Signed-off-by: Zhu Honglei <zhuhonglei1714@phytium.com.cn>
Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn>
Signed-off-by: Li Mingzhe <limingzhe1839@phytium.com.cn>
Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
@deepin-ci-robot deepin-ci-robot requested review from BLumia and tsic404 May 15, 2024 02:03
@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 xzl01 for approval. For more information see the Code Review Process.

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

Details 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 @yuanxia0927. 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.

Details

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.

Support for error detection and correction on the Phytium
Pe220x family of SOCs.

Signed-off-by: yuanxia <yuanxia2073@phytium.com.cn>
Signed-off-by: Zhu Honglei <zhuhonglei1714@phytium.com.cn>
Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn>
Signed-off-by: Li Mingzhe <limingzhe1839@phytium.com.cn>
Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
@opsiff
Copy link
Member

opsiff commented May 24, 2024

/ok-to-test

@deepin-ci-robot
Copy link

deepin pr auto review

This patch adds support for the Phytium EDAC (Error Detection and
Correction) driver. The Phytium EDAC is used to detect and report
errors in the Phytium platform. This driver exports the EDAC
functionality to Linux.

@opsiff opsiff merged commit cea6a32 into deepin-community:linux-6.6.y May 24, 2024
lanlanxiyiji pushed a commit that referenced this pull request Dec 22, 2025
This patch document the DT bindings for Phytium pe220x EDAC.

Signed-off-by: yuanxia <yuanxia2073@phytium.com.cn>
Signed-off-by: Zhu Honglei <zhuhonglei1714@phytium.com.cn>
Signed-off-by: Lan Hengyu <lanhengyu1395@phytium.com.cn>
Signed-off-by: Li Mingzhe <limingzhe1839@phytium.com.cn>
Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
Link: #145
(cherry picked from commit fa3d4f8)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
lanlanxiyiji pushed a commit that referenced this pull request Dec 22, 2025
Adapt edac_device_alloc_ctl_info() to changes in:

commit 48bc886
Author: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Date:   Tue Feb 13 12:20:48 2024 +0100

    EDAC: Remove dynamic attributes from edac_device_alloc_ctl_info()

    Dynamic attributes are not passed from any caller of
    edac_device_alloc_ctl_info(). Drop this unused/untested functionality
    completely.

    Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
    Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
    Link: https://lore.kernel.org/r/20240213112051.27715-5-jirislaby@kernel.org
    Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>

Signed-off-by: Mingcong Bai <baimingcong@uniontech.com>
Link: #145
(cherry picked from commit f489c5d)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
lanlanxiyiji pushed a commit that referenced this pull request Dec 22, 2025
0edb555: platform: Make platform_driver::remove() return void
cause build error, so convert .remove from int to void

Log:
drivers/edac/phytium_edac.c:470:19: error: initialization of ‘void (*)(struct platform_device *)’ from incompatible pointer type ‘int (*)(struct platform_device *)’ [-Werror=incompatible-pointer-types]
  470 |         .remove = phytium_edac_remove,
      |                   ^~~~~~~~~~~~~~~~~~~
drivers/edac/phytium_edac.c:470:19: note: (near initialization for ‘phytium_edac_driver.<anonymous>.remove’)

Link: #145
(cherry picked from commit 3fe38b3)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
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