From patchwork Fri May 29 06:32:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 477593 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 75C77140E33 for ; Fri, 29 May 2015 16:33:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=FVaCGToF; dkim-atps=neutral Received: from localhost ([::1]:33834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyDrM-0000oN-Ir for incoming@patchwork.ozlabs.org; Fri, 29 May 2015 02:33:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyDqz-0000CA-Og for qemu-devel@nongnu.org; Fri, 29 May 2015 02:33:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyDqx-00043z-5w for qemu-devel@nongnu.org; Fri, 29 May 2015 02:33:13 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:33649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyDqw-00043r-Vx for qemu-devel@nongnu.org; Fri, 29 May 2015 02:33:11 -0400 Received: by padbw4 with SMTP id bw4so45317818pad.0 for ; Thu, 28 May 2015 23:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=zPBUS1ZLC+QajjAH7VdllWw8KmFjM8JTxCgYkZ3XICM=; b=FVaCGToFFrnXu59ZI4ZRdDRJHAGDl/xBR2bRlCguxzBp/13vBBBRLNZVoJCTutXw2e 3YqRBVl69llf2eR1CO2JriOp7ViLSu3m7ujuKKIYSGGC9xLJ94J6J6I9lJoDqFFpa7c4 jjUQGdXo/cLIdxWgbLVPgk2JuFa/MotE0KzgcIE5CRFr0870abww9O+KoLURU3n5Y4PW 5ijE5YoXz7BpSa7gviFH1zoYLjAfAwgDwrCSyUGVtcnsFXOn6zVRtoUWp9U0zFhIDL4L gdUsQOV5eOBTN4/+M/mtPUuu4O+GkjkCpegNapxJTMyWfj8p6f7D7BYL3EXTDM/QwjEe 0xbw== X-Received: by 10.70.46.74 with SMTP id t10mr12514114pdm.118.1432881190168; Thu, 28 May 2015 23:33:10 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id cd10sm4385610pac.7.2015.05.28.23.33.08 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 28 May 2015 23:33:09 -0700 (PDT) From: Alistair Francis To: qemu-devel@nongnu.org, edgar.iglesias@xilinx.com Date: Fri, 29 May 2015 16:32:35 +1000 Message-Id: <9bda5ca4b4fc810cff97a4718ee9928d76864761.1432879373.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::233 Cc: peter.crosthwaite@xilinx.com, rth@twiddle.net, afaerber@suse.de, alistair.francis@xilinx.com Subject: [Qemu-devel] [PATCH v3 6/6] target-microblaze: Disable stack protection by default X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Stack protection is not available when the MMU is enabled. As the MMU is enabled by default, disable stack protection by default. Signed-off-by: Alistair Francis Reviewed-by: Edgar E. Iglesias --- target-microblaze/cpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c index b857056..13ae49a 100644 --- a/target-microblaze/cpu.c +++ b/target-microblaze/cpu.c @@ -162,7 +162,7 @@ static const VMStateDescription vmstate_mb_cpu = { static Property mb_properties[] = { DEFINE_PROP_UINT32("base-vectors", MicroBlazeCPU, cfg.base_vectors, 0), DEFINE_PROP_BOOL("use-stack-protection", MicroBlazeCPU, cfg.stackprot, - true), + false), /* If use-fpu > 0 - FPU is enabled * If use-fpu = 2 - Floating point conversion and square root instructions * are enabled