Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1563098

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

From Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v4 0/4] x86/platform/intel-mid: Fix RTC / WDT handling
Date 2017-01-19 22:20 +0100
Message-ID <t1qzf-5Bs-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

-- 
2.11.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 0/4] x86/platform/intel-mid: Fix RTC / WDT handling Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-01-19 22:20 +0100

csiph-web