linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/6] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer
@ 2016-05-24 13:30 fu.wei
  2016-05-24 13:30 ` [PATCH v5 1/6] clocksource/drivers/arm_arch_timer: Move enums and defines to header file fu.wei
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: fu.wei @ 2016-05-24 13:30 UTC (permalink / raw)
  To: rjw, lenb, daniel.lezcano, tglx, marc.zyngier, hanjun.guo
  Cc: linux-arm-kernel, linaro-acpi, linux-kernel, linux-acpi,
	rruigrok, harba, cov, timur, graeme.gregory, al.stone, jcm, wei,
	arnd, wim, catalin.marinas, will.deacon, Suravee.Suthikulpanit,
	leo.duran, Fu Wei

From: Fu Wei <fu.wei@linaro.org>

This patchset:
    (1)Preparation for adding GTDT support in arm_arch_timer
        1. Move some enums and marcos to header file
        2. Add a new enum for spi type.
        3. Improve printk relevant code

    (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c
    Parse all kinds of timer in GTDT table of ACPI:arch timer,
    memory-mapped timer and SBSA Generic Watchdog timer.
    This driver can help to simplify all the relevant timer drivers,
    and separate all the ACPI GTDT knowledge from them.

    (3)Simplify ACPI code for arm_arch_timer

    (4)Add GTDT support for ARM memory-mapped timer

This patchset has been tested on the following platforms:
    (1)ARM Foundation v8 model

Changelog:
v5: Sorting out all patches, simplify the API of GTDT driver:
    GTDT driver just fills the data struct for arm_arch_timer driver.

v4: https://lists.linaro.org/pipermail/linaro-acpi/2016-March/006667.html
    Delete the kvm relevant patches
    Separate two patches for sorting out the code for arm_arch_timer.
    Improve irq info export code to allow missing irq info in GTDT table.

v3: https://lkml.org/lkml/2016/2/1/658
    Improve GTDT driver code:
      (1)improve pr_* by defining pr_fmt(fmt)
      (2)simplify gtdt_sbsa_gwdt_init
      (3)improve gtdt_arch_timer_data_init, if table is NULL, it will try
      to get GTDT table.
    Move enum ppi_nr to arm_arch_timer.h, and add enum spi_nr.
    Add arm_arch_timer get ppi from DT and GTDT support for kvm.

v2: https://lkml.org/lkml/2015/12/2/10
    Rebase to latest kernel version(4.4-rc3).
    Fix the bug about the config problem,
    use CONFIG_ACPI_GTDT instead of CONFIG_ACPI in arm_arch_timer.c

v1: The first upstreaming version: https://lkml.org/lkml/2015/10/28/553


Fu Wei (6):
  clocksource/drivers/arm_arch_timer: Move enums and defines to header
    file
  clocksource/drivers/arm_arch_timer: Add a new enum for spi type
  clocksource/drivers/arm_arch_timer: Improve printk relevant code
  acpi: Add GTDT table parse driver into ACPI driver
  clocksource/drivers/arm_arch_timer: Simplify ACPI support code.
  clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped
    timer

 drivers/acpi/Kconfig                 |   9 +
 drivers/acpi/Makefile                |   1 +
 drivers/acpi/acpi_gtdt.c             | 309 +++++++++++++++++++++++++++++++++++
 drivers/clocksource/Kconfig          |   1 +
 drivers/clocksource/arm_arch_timer.c | 233 ++++++++++++++++++--------
 include/clocksource/arm_arch_timer.h |  33 ++++
 include/linux/acpi.h                 |   6 +
 7 files changed, 522 insertions(+), 70 deletions(-)
 create mode 100644 drivers/acpi/acpi_gtdt.c

-- 
2.5.5

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-02 12:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-24 13:30 [PATCH v5 0/6] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer fu.wei
2016-05-24 13:30 ` [PATCH v5 1/6] clocksource/drivers/arm_arch_timer: Move enums and defines to header file fu.wei
2016-05-24 13:30 ` [PATCH v5 2/6] clocksource/drivers/arm_arch_timer: Add a new enum for spi type fu.wei
2016-05-30 15:07   ` Daniel Lezcano
2016-05-24 13:30 ` [PATCH v5 3/6] clocksource/drivers/arm_arch_timer: Improve printk relevant code fu.wei
2016-05-24 13:30 ` [PATCH v5 4/6] acpi: Add GTDT table parse driver into ACPI driver fu.wei
2016-05-30 22:56   ` Daniel Lezcano
     [not found]     ` <CADyBb7vL1RHa3V8M1bNb-63rZiRZWJt4Kory61+1PA+Ruv59Gg@mail.gmail.com>
2016-06-02 12:51       ` Daniel Lezcano
2016-05-24 13:30 ` [PATCH v5 5/6] clocksource/drivers/arm_arch_timer: Simplify ACPI support code fu.wei
2016-06-01 16:03   ` Timur Tabi
2016-05-24 13:30 ` [PATCH v5 6/6] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer fu.wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).