From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyDnQ-00038k-6P for qemu-devel@nongnu.org; Fri, 29 May 2015 02:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyDnK-0002cu-S4 for qemu-devel@nongnu.org; Fri, 29 May 2015 02:29:32 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:33237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyDnK-0002ce-K7 for qemu-devel@nongnu.org; Fri, 29 May 2015 02:29:26 -0400 Received: by padbw4 with SMTP id bw4so45182234pad.0 for ; Thu, 28 May 2015 23:29:25 -0700 (PDT) Sender: Alistair Francis From: Alistair Francis Date: Fri, 29 May 2015 16:28:51 +1000 Message-Id: Subject: [Qemu-devel] [PATCH v3 0/6] Add Microblaze configuration options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, edgar.iglesias@xilinx.com Cc: peter.crosthwaite@xilinx.com, rth@twiddle.net, afaerber@suse.de, alistair.francis@xilinx.com Firstly this patch series tidies up some code and removes a "xlnx." prefix. Then it moves the Microblaze PVR registers to the end of the CPUMBState to preserve them during reset. This allows most of the operations on them to be moved from the reset to the realise. Except for the machine specific ones which will be moved when the other properties are converted across to standard QEMU props, after this patch series is accepted (either merged or the method I'm using is approved). See the individual commit for more details. Next it adds the "use-stack-protection" property to the Microblaze CPU, which allows stack protection to be disabled. It also converts the previously hardcoded method of enabling the FPU to use standard QEMU properties. This simplifies the logic in the target-microblaze translate.c. V3: - Split disabling stack protection into a seperate patch - Add comments detailing the use-fpu values V2: - Small fixes - Disable stack protection by default - Remove the memset and cpu_reset functions from the MB realise Changes since RFC: - Preserve the PVR registers during resets - Move most of the logic into realise functions - Small name and function changes Alistair Francis (6): target-microblaze: Fix up indentation target-microblaze: Preserve the pvr registers during reset target-microblaze: Allow the stack protection to be disabled target-microblaze: Tidy up the base-vectors property target-microblaze: Convert use-fpu to a CPU property target-microblaze: Disable stack protection by default hw/microblaze/petalogix_ml605_mmu.c | 7 +++- target-microblaze/cpu-qom.h | 9 +++++- target-microblaze/cpu.c | 60 ++++++++++++++++++++++------------- target-microblaze/cpu.h | 11 ++++-- target-microblaze/helper.c | 8 ++-- target-microblaze/op_helper.c | 10 +++--- target-microblaze/translate.c | 14 +++----- 7 files changed, 72 insertions(+), 47 deletions(-)