Skip to contentSkip to conversation

device-drivers: acpi: fixes

PATCH New Alexey Kodanev 2 participants 4 messages Nov 28, 2013 – Jan 20, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v5 2/3 device-drivers: acpi: fixes

Obsolete code updated to the actual kernel ACPI API. Changed test-cases handling from ioctl to sysfs. User-space program rewritten.
User-space program loads/unloads kernel module. Added new test-cases: traverse ACPI devices and sysfs support for device description.

---
 testcases/kernel/device-drivers/acpi/.gitignore    |    8 +
 testcases/kernel/device-drivers/acpi/Makefile      |   43 +-
 testcases/kernel/device-drivers/acpi/ltp_acpi.c    |  170 ++++
 testcases/kernel/device-drivers/acpi/ltp_acpi.h    |  123 +--
 .../kernel/device-drivers/acpi/ltp_acpi_cmds.c     | 1001 ++++++++++----------
 5 files changed, 717 insertions(+), 628 deletions(-)
 create mode 100644 testcases/kernel/device-drivers/acpi/.gitignore
 create mode 100644 testcases/kernel/device-drivers/acpi/ltp_acpi.c
testcases/kernel/device-drivers/acpi/.gitignore new file +8 -0
new file mode 100644
index 0000000..6aa2c12
@@ -0,0 +1,8 @@
+/ltp_acpi_cmds.ko
+/ltp_acpi
+/*.mod.c
+/modules.order
+/.tmp_versions
+/.*.ko
+/.*.cmd
+/Module.symvers
testcases/kernel/device-drivers/acpi/Makefile +21 -22

55 lines not on this page · raw message

testcases/kernel/device-drivers/acpi/ltp_acpi.c new file +170 -0

170 lines not on this page · raw message

testcases/kernel/device-drivers/acpi/ltp_acpi.h +32 -91

129 lines not on this page · raw message

testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c +486 -515

1,149 lines not on this page · raw message

Signature · 1 line
1.7.1

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

PATCH 3/3 device-drivers: acpi: enable build and run

---
 runtest/kernel_misc                      |    1 +
 testcases/kernel/device-drivers/Makefile |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
runtest/kernel_misc +1 -0
index 3e3d016..c421ea0 100644
@@ -4,3 +4,4 @@ rtc01 rtc01
 block_dev block_dev
 tpci tpci
 tbio tbio
+ltp_acpi ltp_acpi
testcases/kernel/device-drivers/Makefile +2 -1
index 9f80094..15294cf 100644
@@ -18,7 +18,8 @@ top_srcdir	?= ../../..
 
 include $(top_srcdir)/include/mk/env_pre.mk
 
-SUBDIRS		:= block \
+SUBDIRS		:= acpi \
+		   block \
 		   pci \
 		   rtc \
 		   tbio \
Signature · 13 lines
1.7.1


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#2 lore raw

Re: [LTP] [PATCH 3/3] device-drivers: acpi: enable build and run

Hi!
Whole patchset pushed, thanks.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: [LTP] [PATCH 3/3] device-drivers: acpi: enable build and run

Hi!

Quoted 7 lines · On 12/12/2013 09:38 PM, [email protected] wrote:
Quoted 3 lines

Hi!
Whole patchset pushed, thanks.

Thank you!

There's one more patch left: acpi-cpufreq test.

Pushed, thanks for reminder.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list