Commit b70c2cf
committed
cxl/hdm: Skip emulation when driver manages mem_enable
If the driver is allowed to enable memory operation itself then it can
also turn on HDM decoder support at will.
With this the second call to cxl_setup_hdm_decoder_from_dvsec(), when
an HDM decoder is not committed, is not needed.
Fixes: b777e9b ("cxl/hdm: Emulate HDM decoder from DVSEC range registers")
Link: http://lore.kernel.org/r/[email protected]
Reported-by: Jonathan Cameron <[email protected]>
Tested-by: Jonathan Cameron <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Fan Ni <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/167703068474.185722.664126485486344246.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <[email protected]>1 parent 82f0832 commit b70c2cf
3 files changed
Lines changed: 22 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
721 | 721 | | |
722 | | - | |
723 | | - | |
| 722 | + | |
| 723 | + | |
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
727 | | - | |
| 727 | + | |
728 | 728 | | |
729 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
730 | 733 | | |
731 | 734 | | |
732 | 735 | | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
733 | 743 | | |
734 | 744 | | |
735 | 745 | | |
| |||
747 | 757 | | |
748 | 758 | | |
749 | 759 | | |
750 | | - | |
| 760 | + | |
751 | 761 | | |
752 | 762 | | |
753 | 763 | | |
| |||
758 | 768 | | |
759 | 769 | | |
760 | 770 | | |
761 | | - | |
| 771 | + | |
762 | 772 | | |
763 | 773 | | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | 774 | | |
768 | 775 | | |
769 | 776 | | |
| |||
784 | 791 | | |
785 | 792 | | |
786 | 793 | | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | 794 | | |
791 | 795 | | |
792 | 796 | | |
| |||
824 | 828 | | |
825 | 829 | | |
826 | 830 | | |
827 | | - | |
| 831 | + | |
828 | 832 | | |
829 | 833 | | |
830 | 834 | | |
| |||
844 | 848 | | |
845 | 849 | | |
846 | 850 | | |
| 851 | + | |
847 | 852 | | |
848 | 853 | | |
849 | 854 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
| 700 | + | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | 704 | | |
704 | 705 | | |
| 706 | + | |
705 | 707 | | |
706 | 708 | | |
707 | 709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | | - | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments