All of lore.kernel.org
 help / color / mirror / Atom feed
From: fu.wei@linaro.org
To: rjw@rjwysocki.net, lenb@kernel.org, daniel.lezcano@linaro.org,
	tglx@linutronix.de, marc.zyngier@arm.com, hanjun.guo@linaro.org
Cc: wei@redhat.com, harba@codeaurora.org, Fu Wei <fu.wei@linaro.org>,
	al.stone@linaro.org, graeme.gregory@linaro.org,
	linaro-acpi@lists.linaro.org, jcm@redhat.com,
	timur@codeaurora.org, will.deacon@arm.com,
	rruigrok@codeaurora.org, linux-kernel@vger.kernel.org,
	linux-acpi@vger.kernel.org, wim@iguana.be, arnd@arndb.de,
	cov@codeaurora.org, Suravee.Suthikulpanit@amd.com,
	catalin.marinas@arm.com, leo.duran@amd.com,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer
Date: Thu, 30 Jun 2016 02:15:43 +0800	[thread overview]
Message-ID: <1467224153-22873-1-git-send-email-fu.wei@linaro.org> (raw)

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

Changelog:
v6: split the GTDT driver to 4 parts: basic, arch_timer, memory-mapped timer,
    and SBSA Generic Watchdog timer
    Improve driver by suggestions and example code from Daniel Lezcano

v5: https://lkml.org/lkml/2016/5/24/356
    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 (10):
  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 some basic struct and functions in GTDT driver
  acpi: Add arch_timer support in GTDT table parse driver
  acpi: Add GTDT driver to kernel build system
  clocksource/drivers/arm_arch_timer: Simplify ACPI support code.
  acpi: Add memory-mapped timer support in GTDT driver
  clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped
    timer
  acpi: Add SBSA Generic Watchdog support in GTDT driver

 drivers/acpi/Kconfig                 |   9 +
 drivers/acpi/Makefile                |   1 +
 drivers/acpi/acpi_gtdt.c             | 326 +++++++++++++++++++++++++++++++++++
 drivers/clocksource/Kconfig          |   1 +
 drivers/clocksource/arm_arch_timer.c | 227 +++++++++++++++++-------
 drivers/watchdog/Kconfig             |   1 +
 include/clocksource/arm_arch_timer.h |  32 ++++
 include/linux/acpi.h                 |   7 +
 8 files changed, 538 insertions(+), 66 deletions(-)
 create mode 100644 drivers/acpi/acpi_gtdt.c

-- 
2.5.5

WARNING: multiple messages have this Message-ID (diff)
From: fu.wei@linaro.org
To: rjw@rjwysocki.net, lenb@kernel.org, daniel.lezcano@linaro.org,
	tglx@linutronix.de, marc.zyngier@arm.com, hanjun.guo@linaro.org
Cc: linux-arm-kernel@lists.infradead.org,
	linaro-acpi@lists.linaro.org, linux-kernel@vger.kernel.org,
	linux-acpi@vger.kernel.org, rruigrok@codeaurora.org,
	harba@codeaurora.org, cov@codeaurora.org, timur@codeaurora.org,
	graeme.gregory@linaro.org, al.stone@linaro.org, jcm@redhat.com,
	wei@redhat.com, arnd@arndb.de, wim@iguana.be,
	catalin.marinas@arm.com, will.deacon@arm.com,
	Suravee.Suthikulpanit@amd.com, leo.duran@amd.com,
	Fu Wei <fu.wei@linaro.org>
Subject: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer
Date: Thu, 30 Jun 2016 02:15:43 +0800	[thread overview]
Message-ID: <1467224153-22873-1-git-send-email-fu.wei@linaro.org> (raw)

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

Changelog:
v6: split the GTDT driver to 4 parts: basic, arch_timer, memory-mapped timer,
    and SBSA Generic Watchdog timer
    Improve driver by suggestions and example code from Daniel Lezcano

v5: https://lkml.org/lkml/2016/5/24/356
    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 (10):
  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 some basic struct and functions in GTDT driver
  acpi: Add arch_timer support in GTDT table parse driver
  acpi: Add GTDT driver to kernel build system
  clocksource/drivers/arm_arch_timer: Simplify ACPI support code.
  acpi: Add memory-mapped timer support in GTDT driver
  clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped
    timer
  acpi: Add SBSA Generic Watchdog support in GTDT driver

 drivers/acpi/Kconfig                 |   9 +
 drivers/acpi/Makefile                |   1 +
 drivers/acpi/acpi_gtdt.c             | 326 +++++++++++++++++++++++++++++++++++
 drivers/clocksource/Kconfig          |   1 +
 drivers/clocksource/arm_arch_timer.c | 227 +++++++++++++++++-------
 drivers/watchdog/Kconfig             |   1 +
 include/clocksource/arm_arch_timer.h |  32 ++++
 include/linux/acpi.h                 |   7 +
 8 files changed, 538 insertions(+), 66 deletions(-)
 create mode 100644 drivers/acpi/acpi_gtdt.c

-- 
2.5.5

WARNING: multiple messages have this Message-ID (diff)
From: fu.wei@linaro.org (fu.wei at linaro.org)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer
Date: Thu, 30 Jun 2016 02:15:43 +0800	[thread overview]
Message-ID: <1467224153-22873-1-git-send-email-fu.wei@linaro.org> (raw)

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

Changelog:
v6: split the GTDT driver to 4 parts: basic, arch_timer, memory-mapped timer,
    and SBSA Generic Watchdog timer
    Improve driver by suggestions and example code from Daniel Lezcano

v5: https://lkml.org/lkml/2016/5/24/356
    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 (10):
  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 some basic struct and functions in GTDT driver
  acpi: Add arch_timer support in GTDT table parse driver
  acpi: Add GTDT driver to kernel build system
  clocksource/drivers/arm_arch_timer: Simplify ACPI support code.
  acpi: Add memory-mapped timer support in GTDT driver
  clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped
    timer
  acpi: Add SBSA Generic Watchdog support in GTDT driver

 drivers/acpi/Kconfig                 |   9 +
 drivers/acpi/Makefile                |   1 +
 drivers/acpi/acpi_gtdt.c             | 326 +++++++++++++++++++++++++++++++++++
 drivers/clocksource/Kconfig          |   1 +
 drivers/clocksource/arm_arch_timer.c | 227 +++++++++++++++++-------
 drivers/watchdog/Kconfig             |   1 +
 include/clocksource/arm_arch_timer.h |  32 ++++
 include/linux/acpi.h                 |   7 +
 8 files changed, 538 insertions(+), 66 deletions(-)
 create mode 100644 drivers/acpi/acpi_gtdt.c

-- 
2.5.5

             reply	other threads:[~2016-06-29 18:15 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 18:15 fu.wei [this message]
2016-06-29 18:15 ` [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer fu.wei at linaro.org
2016-06-29 18:15 ` fu.wei
2016-06-29 18:15 ` [PATCH v6 01/10] clocksource/drivers/arm_arch_timer: Move enums and defines to header file fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 18:15 ` [PATCH v6 02/10] clocksource/drivers/arm_arch_timer: Add a new enum for spi type fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 18:15 ` [PATCH v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-30  2:54   ` Hanjun Guo
2016-06-30  2:54     ` Hanjun Guo
2016-07-07 16:12     ` Fu Wei
2016-07-07 16:12       ` Fu Wei
2016-06-29 18:15 ` [PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 21:24   ` Rafael J. Wysocki
2016-06-29 21:24     ` Rafael J. Wysocki
2016-06-29 21:24     ` Rafael J. Wysocki
2016-06-30  1:17     ` Fu Wei
2016-06-30  1:17       ` Fu Wei
2016-06-30  1:17       ` Fu Wei
2016-06-30  1:26       ` Rafael J. Wysocki
2016-06-30  1:26         ` Rafael J. Wysocki
2016-06-30  1:26         ` Rafael J. Wysocki
2016-06-30  1:32         ` Fu Wei
2016-06-30  1:32           ` Fu Wei
2016-06-30  1:32           ` Fu Wei
2016-06-30  4:13         ` Timur Tabi
2016-06-30  4:13           ` Timur Tabi
2016-06-30  4:13           ` Timur Tabi
2016-06-29 18:15 ` [PATCH v6 05/10] acpi: Add arch_timer support in GTDT table parse driver fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 18:15 ` [PATCH v6 06/10] acpi: Add GTDT driver to kernel build system fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 18:15 ` [PATCH v6 07/10] clocksource/drivers/arm_arch_timer: Simplify ACPI support code fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15 ` [PATCH v6 08/10] acpi: Add memory-mapped timer support in GTDT driver fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 18:15 ` [PATCH v6 09/10] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 18:15 ` [PATCH v6 10/10] acpi: Add SBSA Generic Watchdog support in GTDT driver fu.wei
2016-06-29 18:15   ` fu.wei at linaro.org
2016-06-29 18:15   ` fu.wei
2016-06-29 21:32 ` [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer Rafael J. Wysocki
2016-06-29 21:32   ` Rafael J. Wysocki
2016-06-29 21:32   ` Rafael J. Wysocki
2016-06-30  1:29   ` Fu Wei
2016-06-30  1:29     ` Fu Wei
2016-06-30  1:29     ` Fu Wei
2016-06-30  1:37     ` Rafael J. Wysocki
2016-06-30  1:37       ` Rafael J. Wysocki
2016-06-30  1:37       ` Rafael J. Wysocki
2016-06-30  2:10       ` Hanjun Guo
2016-06-30  2:10         ` Hanjun Guo
2016-06-30  2:10         ` Hanjun Guo
2016-06-30 13:27         ` Rafael J. Wysocki
2016-06-30 13:27           ` Rafael J. Wysocki
2016-06-30 13:27           ` Rafael J. Wysocki
2016-06-30 13:48           ` Hanjun Guo
2016-06-30 13:48             ` Hanjun Guo
2016-06-30 13:48             ` Hanjun Guo
2016-07-01 15:23             ` Will Deacon
2016-07-01 15:23               ` Will Deacon
2016-07-01 15:23               ` Will Deacon
2016-07-01 21:04               ` Rafael J. Wysocki
2016-07-01 21:04                 ` Rafael J. Wysocki
2016-07-01 21:04                 ` Rafael J. Wysocki
2016-07-04 12:53                 ` Rafael J. Wysocki
2016-07-04 12:53                   ` Rafael J. Wysocki
2016-07-04 12:53                   ` Rafael J. Wysocki
2016-07-05 14:18                   ` Graeme Gregory
2016-07-05 14:18                     ` Graeme Gregory
2016-07-05 14:18                     ` Graeme Gregory
2016-07-06  0:00                     ` Rafael J. Wysocki
2016-07-06  0:00                       ` Rafael J. Wysocki
2016-07-06  0:00                       ` Rafael J. Wysocki
2016-07-07 11:12                       ` Hanjun Guo
2016-07-07 11:12                         ` Hanjun Guo
2016-07-07 11:12                         ` Hanjun Guo
2016-07-07 12:03                         ` Rafael J. Wysocki
2016-07-07 12:03                           ` Rafael J. Wysocki
2016-07-07 12:03                           ` Rafael J. Wysocki
2016-07-07 13:40                           ` Lorenzo Pieralisi
2016-07-07 13:40                             ` Lorenzo Pieralisi
2016-07-07 13:40                             ` Lorenzo Pieralisi
2016-07-07 13:58                             ` Rafael J. Wysocki
2016-07-07 13:58                               ` Rafael J. Wysocki
2016-07-07 13:58                               ` Rafael J. Wysocki
2016-07-07 15:21                               ` Fu Wei
2016-07-07 15:21                                 ` Fu Wei
2016-07-07 15:21                                 ` Fu Wei
2016-07-08 13:22                               ` Lorenzo Pieralisi
2016-07-08 13:22                                 ` Lorenzo Pieralisi
2016-07-08 13:22                                 ` Lorenzo Pieralisi
2016-07-08 13:50                                 ` Sudeep Holla
2016-07-08 13:50                                   ` Sudeep Holla
2016-07-08 13:50                                   ` Sudeep Holla
2016-07-09  3:44                                 ` Hanjun Guo
2016-07-09  3:44                                   ` Hanjun Guo
2016-07-09  3:44                                   ` Hanjun Guo
2016-07-10  1:26                                   ` Rafael J. Wysocki
2016-07-10  1:26                                     ` Rafael J. Wysocki
2016-07-10  1:26                                     ` Rafael J. Wysocki
2016-07-09  3:00                               ` Hanjun Guo
2016-07-09  3:00                                 ` Hanjun Guo
2016-07-09  3:00                                 ` Hanjun Guo
2016-07-01 14:00           ` Daniel Lezcano
2016-07-01 14:00             ` Daniel Lezcano
2016-07-01 14:00             ` Daniel Lezcano
2016-07-01 21:01             ` Rafael J. Wysocki
2016-07-01 21:01               ` Rafael J. Wysocki
2016-07-01 21:01               ` Rafael J. Wysocki
2016-07-04 13:43               ` Daniel Lezcano
2016-07-04 13:43                 ` Daniel Lezcano
2016-07-04 13:43                 ` Daniel Lezcano
2016-07-04 14:19                 ` Rafael J. Wysocki
2016-07-04 14:19                   ` Rafael J. Wysocki
2016-07-04 14:19                   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467224153-22873-1-git-send-email-fu.wei@linaro.org \
    --to=fu.wei@linaro.org \
    --cc=Suravee.Suthikulpanit@amd.com \
    --cc=al.stone@linaro.org \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=cov@codeaurora.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=graeme.gregory@linaro.org \
    --cc=hanjun.guo@linaro.org \
    --cc=harba@codeaurora.org \
    --cc=jcm@redhat.com \
    --cc=lenb@kernel.org \
    --cc=leo.duran@amd.com \
    --cc=linaro-acpi@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=rjw@rjwysocki.net \
    --cc=rruigrok@codeaurora.org \
    --cc=tglx@linutronix.de \
    --cc=timur@codeaurora.org \
    --cc=wei@redhat.com \
    --cc=will.deacon@arm.com \
    --cc=wim@iguana.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.