From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 028B0C43334 for ; Wed, 15 Jun 2022 13:24:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C902B844FC; Wed, 15 Jun 2022 15:22:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="elFUFdxj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4CC6D844E7; Wed, 15 Jun 2022 15:21:49 +0200 (CEST) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 30E71844D8 for ; Wed, 15 Jun 2022 15:21:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x629.google.com with SMTP id s12so23224268ejx.3 for ; Wed, 15 Jun 2022 06:21:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sSOfhCDzYe8wwhwsc8DY160ixzidP+0QfnDEEWhouJI=; b=elFUFdxjOxtUnuJOUgDSkebieQ53ytOQZucuhaJxnM5VT2PTTigDlMUxTjb9ydqbCU fWhzPOfnuQHOa6p/53Qme5Dtsf78lLMmZ1Pz7cCwtZ7qYKIbwJDG/uQJsmYi1GHJUpvj Q1dlp3Y+l8XMfPWgDIodsW6NcI4p+tmV1pDTt/ZTxMUz18dct76iHmv+XjFWPkJAyc2U eqq/d5a0d5upPptX0pT1GvZzDuHmKKhYUPaAUD5KcWY1KYrmWwaaa7tBQuUo3gYDHfQd Jv+SpnVFGQyRfF28LH8AJuJk1KxMp4aj8liX4CWGWJRJYbrp/9IwkehICpCPL83acOzj trJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sSOfhCDzYe8wwhwsc8DY160ixzidP+0QfnDEEWhouJI=; b=3S55gUhdwNdDoo/BHZHUW7zinGduzzZHuSaWEvzdW7zqy/7Zo63x1bj339BFv1fEa6 a0afITtOT3JD9n0im6z0YDcLxs/puonSQucquTEDvczgg7R6vx+9NHj3R8xH5UebgYrW 4qOlpM8xOazxUHtqL6fd2tfsJcapYJ+djckVbvAVLAJGCobTSUEAckF6FHp5iNfNpmH8 Rm/tQZuHCKNjrcnTTzd/Pq1iBRisGbGGtClrc73RVinbKb68UK9TIXHfbTQNIQLWZKKV 91qwQXbQlXcdXhaCV6G64anGk3ir7xbo2cjSJwVM/W8pQ12InHn6tf6CsYIWzDqyo7DF M0HA== X-Gm-Message-State: AOAM53345nz+VlIxGiEdwFir53+d1kW4PKFauIWlKKpby4x4jYHrXlHk vV1Gj8IfBn+GKQPMgWDb4eR6Rz0C90NCNA== X-Google-Smtp-Source: AGRyM1vLUpn2EUcEb4dXEritjkM1LyylKla5qpRdLEF/MmX/1wlq1SZwTkUfbYJfR6L3N2Ag62M8Sg== X-Received: by 2002:a17:907:2d2a:b0:710:76a1:4d89 with SMTP id gs42-20020a1709072d2a00b0071076a14d89mr8826062ejc.307.1655299306672; Wed, 15 Jun 2022 06:21:46 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id cm20-20020a0564020c9400b004316f94ec4esm9247036edb.66.2022.06.15.06.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 06:21:46 -0700 (PDT) From: Michal Simek X-Google-Original-From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek , Ovidiu Panait Subject: [PATCH v4 13/23] microblaze: Change stack protection address to new stack address Date: Wed, 15 Jun 2022 15:21:09 +0200 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean SLR low address is still setup to 0 that's why only high limit should be updated. STACK_SIZE macro is present and could be possible used for low address alignment but it is not done by this patch. Signed-off-by: Michal Simek --- (no changes since v1) arch/microblaze/cpu/start.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index a35d8d8ea29a..2aae4a0b7ccb 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -268,6 +268,7 @@ relocate_code: * r7 - reloc_addr */ addi r1, r5, 0 /* Start to use new SP */ + mts rshr, r1 addi r31, r6, 0 /* Start to use new GD */ add r23, r0, r7 /* Move reloc addr to r23 */ -- 2.36.1