[QUESTION] multiple EC transactions atomically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I am looking for a way, preferably with the acpi/ec driver, to execute multiple EC transactions atomically (with respect to other transactions). Unfortunately, I have failed to find any promising functions in that driver. Please let me know if I have missed anything.

The reason I would like to do it is that I have a computer in which the EC appears to have paged memory, and a series of commands must be executed to read/write data in arbitrary pages, and I would like to guarantee that they are executed as one atomic block.

If there is no facility that would allow it to be done, then am I right in assuming that making drivers/acpi/ec.c:acpi_ec_transaction accept multiple transactions, that it then executes sequentially while holding the mutex, should achieve the goal without much difficulty? I think that could work, however, I am not really familiar with ACPI or the EC driver.

I would greatly appreciate any help, feedback. Thank your for your time.


Barnabás Pőcze





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux