Commit 1488ac9
powercap: intel_rapl: Allow probing without CPUID match
Currently, CPU model checks is used to
1. get proper rapl_defaults callbacks for RAPL MSR/MMIO Interface.
2. create a platform device node for the intel_rapl_msr driver to probe.
Both of these are only mandatory for the RAPL MSR/MMIO Interface.
Make the CPUID match optional.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Wang Wendy <wendy.wang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 31cb130 commit 1488ac9
1 file changed
Lines changed: 14 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1528 | 1528 | | |
1529 | 1529 | | |
1530 | 1530 | | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
| 1531 | + | |
| 1532 | + | |
1534 | 1533 | | |
1535 | | - | |
1536 | | - | |
1537 | | - | |
1538 | | - | |
1539 | | - | |
1540 | | - | |
1541 | | - | |
1542 | | - | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
1543 | 1537 | | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1548 | 1543 | | |
1549 | 1544 | | |
1550 | | - | |
1551 | | - | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
1552 | 1548 | | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
1556 | | - | |
| 1549 | + | |
1557 | 1550 | | |
1558 | 1551 | | |
1559 | 1552 | | |
| |||
0 commit comments