Commit 42c74f6
cpufreq: intel_pstate: Remove EPB-related code
The intel_pstate driver does not enable HWP mode when CPUID.06H:EAX[10]
is not set, indicating that EPP (Energy Performance Preference) is not
supported by the hardware.
When EPP is unavailable, the system falls back to using EPB (Energy
Performance Bias) if the feature is supported. However, since the
intel_pstate driver will not enable HWP in this scenario, any EPB-related
code becomes unreachable and irrelevant. Remove the EPB handling code
paths simplifying the driver logic and reducing code size.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20250904000608.260817-1-srinivas.pandruvada@linux.intel.com
[ rjw: Subject adjustment ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 5f2ec35 commit 42c74f6
1 file changed
Lines changed: 4 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | 623 | | |
639 | 624 | | |
640 | | - | |
| 625 | + | |
641 | 626 | | |
642 | 627 | | |
643 | 628 | | |
| |||
651 | 636 | | |
652 | 637 | | |
653 | 638 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | 639 | | |
658 | 640 | | |
659 | 641 | | |
660 | 642 | | |
661 | 643 | | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | 644 | | |
681 | | - | |
| 645 | + | |
682 | 646 | | |
683 | 647 | | |
684 | 648 | | |
| |||
782 | 746 | | |
783 | 747 | | |
784 | 748 | | |
785 | | - | |
| 749 | + | |
786 | 750 | | |
787 | 751 | | |
788 | 752 | | |
| |||
802 | 766 | | |
803 | 767 | | |
804 | 768 | | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | 769 | | |
810 | 770 | | |
811 | 771 | | |
| |||
1337 | 1297 | | |
1338 | 1298 | | |
1339 | 1299 | | |
1340 | | - | |
1341 | | - | |
1342 | 1300 | | |
| 1301 | + | |
1343 | 1302 | | |
1344 | 1303 | | |
1345 | 1304 | | |
| |||
0 commit comments