Skip to content

Build broken against Linux 6.14 #50

@Dietr1ch

Description

@Dietr1ch

When building the module for 6.14 on NixOS I'm getting an error about amd_pci_dev_to_node_id being undefined,

> zenpower.c: In function 'zenpower_probe':
> zenpower.c:587:41: error: implicit declaration of function 'amd_pci_dev_to_node_id' []
>   587 |                         data->node_id = amd_pci_dev_to_node_id(pdev);
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~

Folks from CoreFreq have this patch that seems relevant.

I didn't took the time to dig into why this change is needed on newer kernels, but it seems the function isn't there anymore because there's a more general alternative to get the same data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions