Skip to content

x86/platform/intel-mid: Fix RTC / WDT handling

Andy Shevchenko lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v33 patches 2 repliesSuperseded
  3. v21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- move to arch_initcall()
- do the same for watchdog registration code (new patch 4)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/ioapic: Return suitable error code in mp_map_gsi_to_irq()arch/x86/kernel/apic/io_apic.c+2 -20 replies
2/4x86/platform/intel-mid: Allocate RTC interrupt for Merrifieldarch/x86/platform/intel-mid/device_libs/Makefile arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c arch/x86/platform/intel-mid/sfi.c+49 -140 replies
3/4x86/platform/intel-mid: Don't shadow error code of mp_map_gsi_to_irq()arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c+5 -50 replies
4/4x86/platform/intel-mid: Move watchdog registration to arch_initcall()arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] x86/platform/intel-mid: Fix RTC / WDT handling

Current RTC approach breaks some platforms. Rewrite it completely and make avaiable only for intended platforms.

Tested on Intel Merrifield, ASuS T100TA (normal and acpi=off cases).

Since v3:
- move to arch_initcall()
- do the same for watchdog registration code (new patch 4)

Since v2:
- add mp_map_gsi_to_irq() fix to the series as patch 1
- add patch 3
- rewrite RTC approach as another platform code for Intel MID

Andy Shevchenko (4):
x86/ioapic: Return suitable error code in mp_map_gsi_to_irq() x86/platform/intel-mid: Allocate RTC interrupt for Merrifield x86/platform/intel-mid: Don't shadow error code of mp_map_gsi_to_irq() x86/platform/intel-mid: Move watchdog registration to arch_initcall()

 arch/x86/kernel/apic/io_apic.c                     |  4 +-
 arch/x86/platform/intel-mid/device_libs/Makefile   |  1 +
 .../intel-mid/device_libs/platform_mrfld_rtc.c     | 48 ++++++++++++++++++++++
 .../intel-mid/device_libs/platform_mrfld_wdt.c     | 12 +++---
 arch/x86/platform/intel-mid/sfi.c                  | 14 -------
 5 files changed, 57 insertions(+), 22 deletions(-)
 create mode 100644 arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c
Signature · 1 line
2.11.0