Skip to contentSkip to conversation

ACPI test

DISCUSSION [email protected] 2 participants 2 messages Sep 13, 2013 – Sep 26, 2013 ACPI

lore
Share & tools
lore
#0 lore raw

Hi All!

I'm reviewing Linux Test Project's test concerning ACPI and a little bit lost with the following test:
https://github.com/linux-test-project/ltp/tree/master/testcases/kernel/device-drivers/acpi.
It's quite outdated...

Pardon my technical knowledge on this subject but could you guide me to solve the following questions about the test and ACPI:

* Is it necessary to use block device to test ACPI functionality as test does?

* How can I verify data which I get from acpi_driver_data() using random acpi device handle? The test is using its own 'acpi_ec' structure and trying to cast return void pointer from that function to it, but in the kernel, this structure is slightly different and defined internally.

May be you have some thoughts how ACPI test should look like? Any help is appreciated.

Many thanks,
Alexey

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi!

Quoted 11 lines

I'm reviewing Linux Test Project's test concerning ACPI and a little bit lost with the following test:
https://github.com/linux-test-project/ltp/tree/master/testcases/kernel/device-drivers/acpi.
It's quite outdated...

Pardon my technical knowledge on this subject but could you guide me to solve the following questions about the test and ACPI:

* Is it necessary to use block device to test ACPI functionality as test does?

Quoted 7 lines

* How can I verify data which I get from acpi_driver_data() using random acpi device handle? The test is using its own 'acpi_ec' structure and trying to cast return void pointer from that function to it, but in the kernel, this structure is slightly different and defined internally.

May be you have some thoughts how ACPI test should look like? Any help is appreciated.

I guess that we are being ignored, that is sad.

Let's commit at least the patch that makes the code compile and left it there for now. Perhaps somebody will come and do something with the code later. Are you OK with that?

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list