Repository navigation
Commit 9d855d4
platform/x86: intel_pmc_ipc: Fix iTCO_wdt GCS memory mapping failure
iTCO_wdt driver need access to PMC_CFG GCR register to modify the
noreboot setting. Currently, this is done by passing PMC_CFG reg
address as memory resource to watchdog driver and allowing it directly
modify the PMC_CFG register. But currently PMC driver also has
requirement to memory map the entire GCR register space in this driver.
This causes mem request failure in watchdog driver. So this patch fixes
this issue by adding API to update noreboot flag and passes them
to watchdog driver via platform data.
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>1 parent 140c91b commit 9d855d4
1 file changed
Lines changed: 17 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
115 | 122 | | |
116 | 123 | | |
117 | 124 | | |
| |||
126 | 133 | | |
127 | 134 | | |
128 | 135 | | |
129 | | - | |
130 | | - | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| |||
313 | 318 | | |
314 | 319 | | |
315 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
316 | 329 | | |
317 | 330 | | |
318 | 331 | | |
| |||
630 | 643 | | |
631 | 644 | | |
632 | 645 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | 646 | | |
638 | 647 | | |
639 | 648 | | |
640 | 649 | | |
641 | 650 | | |
| 651 | + | |
| 652 | + | |
642 | 653 | | |
643 | 654 | | |
644 | 655 | | |
| |||
695 | 706 | | |
696 | 707 | | |
697 | 708 | | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | 709 | | |
703 | 710 | | |
704 | 711 | | |
| |||
860 | 867 | | |
861 | 868 | | |
862 | 869 | | |
863 | | - | |
864 | 870 | | |
865 | | - | |
866 | 871 | | |
867 | 872 | | |
868 | 873 | | |
| |||
0 commit comments