Received: from eggs.gnu.org ([2001:4830:134:3::10]:56877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyckD-0008F2-LE for qemu-devel@nongnu.org; Thu, 02 Jan 2014 02:31:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vyck6-0006Ak-2y for qemu-devel@nongnu.org; Thu, 02 Jan 2014 02:31:05 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:36441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vyck5-0006Ac-TC for qemu-devel@nongnu.org; Thu, 02 Jan 2014 02:30:58 -0500 Received: by mail-pd0-f174.google.com with SMTP id x10so13702450pdj.5 for ; Wed, 01 Jan 2014 23:30:57 -0800 (PST) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Wed, 1 Jan 2014 23:30:23 -0800 Message-Id: Subject: [Qemu-devel] [PATCH target-arm v4 0/3] Reset and Halting modifications + Zynq SMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Hi All, The clock controller module in the Zynq platform has the ability to halt and reset arbitrary devices, including the CPU. We use this feature to implement SMP Linux - the kernel halts CPU1 then rewrites the vector table to the secondary entry point and the resets+unhalts. This series adds SMP support to the Zynq machine, and patches the Zynq SLCR (the clock controller) to have DeviceState pointers to the CPUs. cpu_reset() is then called on the appropriate register access. Only the reset side is implemented (which is good enough for SMP linux as it stands). Future work is to implement the halting behaviour as well. changed since v3: Removed halting patches Reduced to minimal change needed for SMP Zynq Peter Crosthwaite (3): xilinx_zynq: added SMP support: zynq_slcr: Add links to the CPUs zynq_slcr: Implement CPU reset hw/arm/xilinx_zynq.c | 73 ++++++++++++++++++++++++++++++++++++++++------------ hw/misc/zynq_slcr.c | 23 +++++++++++++++++ 2 files changed, 80 insertions(+), 16 deletions(-) -- 1.8.5.2