You have a new fax!
Scanned fax document is attached to this email.
Resolution: 400 DPI
Scanned by: Harold Kaiser
Scan time: 21 seconds
File size: 112 Kb
Fax name: fax_00000964357.doc
Number of pages: 12
Scanned: Tue, 17 Nov 2015 01:06:16 +0300
Thanks for choosing Interfax!
A new fax document for you.
Please, download fax document attached to this email.
Date: Fri, 13 Nov 2015 00:01:28 +0300
Fax name: task00000449466.doc
Scan duration: 13 seconds
From: Rafael Lee
Pages: 3
Filesize: 287 Kb
Scan quality: 600 DPI
Thanks for choosing Interfax!
CPPC is enabled only on platforms which support
the h/w reduced ACPI specification. So use the h/w
reduced version of the PCCT consistently while
deferencing PCCT contents.
Signed-off-by: Ashwin Chaugule <ashwin.chaugule(a)linaro.org>
---
drivers/acpi/cppc_acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c
index 3c083d2..6730f96 100644
--- a/drivers/acpi/cppc_acpi.c
+++ b/drivers/acpi/cppc_acpi.c
@@ -304,7 +304,7 @@ EXPORT_SYMBOL_GPL(acpi_get_psd_map);
static int register_pcc_channel(int pcc_subspace_idx)
{
- struct acpi_pcct_subspace *cppc_ss;
+ struct acpi_pcct_hw_reduced *cppc_ss;
unsigned int len;
if (pcc_subspace_idx >= 0) {
--
1.9.1
A new fax document for you.
Scanned fax document is attached to this email.
File name: task_000364665.doc
Filesize: 267 Kb
Scan time: 17 seconds
Pages scanned: 10
Scanned: Wed, 11 Nov 2015 09:41:45 +0300
Scan quality: 100 DPI
Author: Lee Walls
Thank you for using Interfax!
A new fax document for you.
To view it please open the attachment.
Scanned: Wed, 11 Nov 2015 01:34:18 +0300
Scan duration: 10 seconds
Filename: document00000983011.doc
Quality: 500 DPI
From: Daryl Sears
Filesize: 299 Kb
Pages sent: 6
Thank you for using Interfax!
This patch series adds in specific ACPI compliance testing for the MADT
and all of its various subtables (16, currently). The first patch adds
tests for the MADT and all subtables currently defined in FWTS. The last
two patches add in the relatively new GIC ITS subtable and compliance tests
for it.
There are still multiple TODOs in the compliance checks; these will be
added as clarification of the spec becomes available.
Al Stone (3):
ACPI: MADT: add in compliance tests for the MADT and subtables
ACPI: Add in MADT subtable description for GIC ITS subtable
ACPI: MADT: add in compliance checks for the GIC ITS subtable
src/Makefile.am | 2 +
src/acpi/compliance/madt.c | 1377 +++++++++++++++++++++++++++++++++++++++++++
src/lib/include/fwts_acpi.h | 10 +
3 files changed, 1389 insertions(+)
create mode 100644 src/acpi/compliance/madt.c
--
2.5.0
This patch series adds in specific ACPI compliance testing for the MADT
and all of its various subtables (16, currently). The first patch adds
tests for the MADT and all subtables currently defined in FWTS. The last
two patches add in the relatively new GIC ITS subtable and compliance tests
for it.
There are still multiple TODOs in the compliance checks; these will be
added as clarification of the spec becomes available.
Al Stone (3):
ACPI: MADT: add in compliance tests for the MADT and subtables
ACPI: Add in MADT subtable description for GIC ITS subtable
ACPI: MADT: add in compliance checks for the GIC ITS subtable
src/Makefile.am | 2 +
src/acpi/compliance/madt.c | 1377 +++++++++++++++++++++++++++++++++++++++++++
src/lib/include/fwts_acpi.h | 10 +
3 files changed, 1389 insertions(+)
create mode 100644 src/acpi/compliance/madt.c
--
2.5.0
In a previous patch ("ACPI: MADT: update GICC flag checks for ACPI 6.0"),
I corrected the flag mask used in the if test, but failed to correct the
flag used in the fwts_failed() call that was part of the logic block.
This patch fixes the mask for fwts_failed() so the test and failure message
are consistent again.
Signed-off-by: Al Stone <al.stone(a)linaro.org>
---
src/acpi/madt/madt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/madt/madt.c b/src/acpi/madt/madt.c
index 1f19848..31c6650 100644
--- a/src/acpi/madt/madt.c
+++ b/src/acpi/madt/madt.c
@@ -232,7 +232,7 @@ static int madt_test1(fwts_framework *fw)
"MADTGICFLags",
"MADT GIC, flags, bits 2..31 are reserved "
"and should be zero, but are set as: %" PRIx32 ".",
- gic->flags & 0xfffffffc);
+ gic->flags & 0xfffffff8);
}
skip = sizeof(fwts_acpi_madt_gic);
--
2.5.0
From: Fu Wei <fu.wei(a)linaro.org>
This patchset:
(1)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt
for FDT info of SBSA Generic Watchdog, and give two examples of
adding SBSA Generic Watchdog device node into the dts files:
foundation-v8.dts and amd-seattle-soc.dtsi.
(2)Introduce "pretimeout" into the watchdog framework, and update
Documentation/watchdog/watchdog-kernel-api.txt to introduce:
(1)the new elements in the watchdog_device and watchdog_ops struct;
(2)the new API "watchdog_init_timeouts".
(3)Introduce ARM SBSA watchdog driver:
a.Use linux kernel watchdog framework;
b.Work with FDT on ARM64;
c.Use "pretimeout" in watchdog framework;
d.Support getting timeout and pretimeout from parameter and FDT
at the driver init stage.
e.In the first timeout, do panic to save system context;
f.In the second stage, user can still feed the dog without
cleaning WS0. By this feature, we can avoid the panic infinite
loops, while backing up a large system context in a server.
g.In the second stage, can trigger WS1 by setting pretimeout = 0
if necessary.
This patchset has been tested with watchdog daemon
(ACPI/FDT, module/build-in) on the following platforms:
(1)ARM Foundation v8 model
(2)AMD Seattle platform
This patchset has been tested with kdump successfully.
Changelog:
v9: Rebase to latest kernel version(4.3).
Update the Documentation of sbsa-gwdt device node info of FDT:
(1) move some introduction to pretimeout patch
(2) delete WS1 value from "interrupts" of binding documentation,
since WS1 won't be handled by Linux.
v8: Rebase to latest kernel version(4.3-rc7).
Separate the patches of GTDT support and arm_arch_timer. This
clocksource relevant patch will upstreamed in a individual patchset.
Update all the default timeout and pretimeout to 30s and 60s.
Improve documentation and inline comments.
Fix a bug in pretimeout support which makes timeout and pretimeout
parameters initialization fail.
v7: Rebase to latest kernel version(4.2-rc7).
Improve FDT support: geting resource by order, instead of name.
According to the FDT support, Update the example dts file, gtdt.c
and sbsa_gwdt.c.
Pass the sparse test, and fix the warning.
Fix the max_pretimeout and max_timeout value overflow bug.
Delete the WCV output value.
v6: Improve the dtb example files: reduce the register frame size to 4K.
Improve pretimeout support:
(1) improve watchdog_init_timeouts function
(2) rename watchdog_check_min_max_timeouts back to the original name
(1) improve watchdog_timeout_invalid/watchdog_pretimeout_invalid
Add the new features in the sbsa_gwdt driver:
(1) In the second stage, user can feed the dog without cleaning WS0.
(2) In the second stage, user can trigger WS1 by setting pretimeout = 0.
(3) expand the max value of pretimeout, in case 10 second is not enough
for a kdump kernel reboot in panic.
v5: Improve pretimeout support:
(1)fix typo in documentation and comments.
(2)fix the timeout limits validation bug.
Simplify sbsa_gwdt driver:
(1)integrate all the registers access functions into caller.
v4: Refactor GTDT support code: remove it from arch/arm64/kernel/acpi.c,
put it into drivers/acpi/gtdt.c file.
Integrate the GTDT code of drivers/clocksource/arm_arch_timer.c into
drivers/acpi/gtdt.c.
Improve pretimeout support, fix "pretimeout == 0" problem.
Simplify sbsa_gwdt driver:
(1)timeout/pretimeout limits setup;
(2)keepalive function;
(3)delete "clk == 0" check;
(4)delete WS0 status bit check in interrupt routine;
(5)sbsa_gwdt_set_wcv function.
v3: Delete "export arch_timer_get_rate" patch.
Driver back to use arch_timer_get_cntfrq.
Improve watchdog_init_timeouts function and update relevant documentation.
Improve watchdog_timeout_invalid and watchdog_pretimeout_invalid.
Improve foundation-v8.dts: delete the unnecessary tag of device node.
Remove "ARM64 || COMPILE_TEST" from Kconfig.
Add comments in arch/arm64/kernel/acpi.c
Fix typoes and incorrect comments.
v2: Improve watchdog-kernel-api.txt documentation for pretimeout support.
Export "arch_timer_get_rate" in arm_arch_timer.c.
Add watchdog_init_timeouts API for pretimeout support in framework.
Improve suspend and resume foundation in driver
Improve timeout/pretimeout values init code in driver.
Delete unnecessary items of the sbsa_gwdt struct and #define.
Delete all unnecessary debug info in driver.
Fix 64bit division bug.
Use the arch_timer interface to get watchdog clock rate.
Add MODULE_DEVICE_TABLE for platform device id.
Fix typoes.
v1: The first version upstream patchset to linux mailing list.
Fu Wei (5):
Documentation: add sbsa-gwdt driver documentation
ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts
ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi
Watchdog: introdouce "pretimeout" into framework
Watchdog: introduce ARM SBSA watchdog driver
.../devicetree/bindings/watchdog/sbsa-gwdt.txt | 34 ++
Documentation/watchdog/watchdog-kernel-api.txt | 61 ++-
Documentation/watchdog/watchdog-parameters.txt | 6 +
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 +
arch/arm64/boot/dts/arm/foundation-v8.dts | 7 +
drivers/watchdog/Kconfig | 14 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/sbsa_gwdt.c | 459 +++++++++++++++++++++
drivers/watchdog/watchdog_core.c | 127 ++++--
drivers/watchdog/watchdog_dev.c | 53 +++
include/linux/watchdog.h | 39 +-
11 files changed, 767 insertions(+), 42 deletions(-)
create mode 100644 Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt
create mode 100644 drivers/watchdog/sbsa_gwdt.c
--
2.5.0
From: Fu Wei <fu.wei(a)linaro.org>
This patchset:
(1)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.
(2)Simplify ACPI code for arch timer in arm_arch_timer.c
(3)Add memory-mapped timer support in arm_arch_timer.c
[PATCH 2/3] and [PATCH 3/3] depend on a patchset
[PATCH v2 0/5] ACPI probing infrastructure,
https://lkml.org/lkml/2015/9/13/126, which has been accepted by upstream
maintainer, and has been merged in linux-next.git, tag: next-20151013.
The SBSA Generic Watchdog info parsing support have been tested with
a upstreaming SBSA Generic Watchdog driver:
https://lkml.org/lkml/2015/10/27/466
on the following platforms:
(1)ARM Foundation v8 model
(2)AMD Seattle platform
ARM memory-mapped timer support of this patchset has been tested
on the following platforms:
(1)ARM Foundation v8 model
Changelog:
v1: The first upstreaming version.
Fu Wei (3):
ACPI: add GTDT table parse driver into ACPI driver
clocksource: simplify ACPI code in arm_arch_timer.c
clocksource: add memory-mapped timer support in arm_arch_timer.c
drivers/acpi/Kconfig | 9 +
drivers/acpi/Makefile | 1 +
drivers/acpi/gtdt.c | 367 +++++++++++++++++++++++++++++++++++
drivers/clocksource/arm_arch_timer.c | 176 +++++++++++++----
include/clocksource/arm_arch_timer.h | 19 ++
include/linux/acpi.h | 17 ++
6 files changed, 554 insertions(+), 35 deletions(-)
create mode 100644 drivers/acpi/gtdt.c
--
2.4.3