Received: from eggs.gnu.org ([208.118.235.92]:39499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf03H-0003QY-EV for qemu-devel@nongnu.org; Tue, 21 May 2013 23:49:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf03B-00018R-AW for qemu-devel@nongnu.org; Tue, 21 May 2013 23:49:23 -0400 Received: from [222.73.24.84] (port=14754 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf03A-00010Q-WA for qemu-devel@nongnu.org; Tue, 21 May 2013 23:49:17 -0400 From: liguang Date: Wed, 22 May 2013 11:46:33 +0800 Message-Id: <1369194397-608-1-git-send-email-lig.fnst@cn.fujitsu.com> Subject: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Stefan Berger , "Michael S. Tsirkin" , Bruce Rogers , Joel Schopp , Gerd Hoffmann , Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , liguang , Isaku Yamahata These patches try to add ACPI Embedded Controller (EC), refer-to: ACPI SPEC v5 chapter 5 "ACPI Embedded Controller Interface Specification" EC is a standard ACPI device, it plays flexible roles, e.g. power controller, it can control power sequence for platform to enter or leave system state(0,1,3,4,5), it can controller CPU fan by the temperature of sensor. event carrier, it can pass events between platform and OS, so OS can execute _Qxx method which defined by yourself. So, I want to deliver CPU online/offline event between OS and QEMU for CPU hotplug feature, then we will don't need to "echo 1 > /sys/devices/system/cpu/cpu1/online" again after 'cpu-add'. patches for online/offline event handler of QEUM and linux kernel are writing, and will send once finished. since EC is a common device, so I send pathes separately.