Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5825321ybv; Wed, 12 Feb 2020 00:44:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwDRsIGok+dVvyTM3PFOYXrs5DX/y9VlmwmtySVEVunsi6OToIc6sEkWi2bXhU21SVpZcUe X-Received: by 2002:a9d:470a:: with SMTP id a10mr8588661otf.370.1581497065741; Wed, 12 Feb 2020 00:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581497065; cv=none; d=google.com; s=arc-20160816; b=JIy5anxT4Pl3yAa5D1rgD6UrKbHzQfPCyX5FTU7THGXQUGtebTzAqimGoiC6kqmQ3k Cns3SAYCQXpglr0tsaQACarYjsIv80r8r6OX9ssiILE5QTXt4TofCKN9LrmdRm201sw6 y2jon5iE5FBI6X/lOZsGnsnBZP8KUuFUhKYEhKwYGDeYi8ZtDCYdXPUzbaqXG2vDAaHt Nn1fr9/jAwZgNgHc1oDAiwKIYvr6qPtFUwPX0wfMdWmBx17HnZfGmd7MvGAQM/x1Y+CC EmXFCvelVS+e0CeXif2Cy+aOKqcU/xteQ8ZuO11bBDr41c6KBc5YT++GpihluXv73oil syUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fGdSUfQkLfF9DHdMDJ60li9faldkILwXEkxG3rbMJHU=; b=UeSZ4xWARf4ypRleheGBWCyAfQtvanM0O5sEm4h4c4aALI01wi6KtmOvYDf3VhMbKK g3tOTqA0ZzdCvs2AgKoJ0iTrvZhpvFASbkTbFsfh+A1ehhdr78Vgg+0GE5ohzhD5VyA4 a45WCKndqcaNShOj9Ahu/BdYLR0csuJrw9V67Yzdhh7vDSLqjdvet3RPwZgYgIbcC0t4 nx6cWDbjw/QO9Umk3wwAWHyAOiKG+ElXrrTyVYG5rbIHe5kb8kdJsv/e23+2BoVMRwhw +cf/ahqfoLoM3Qm9dF8DtWQRd4y9GRu2Xa6bhQy8FLNkqhVmMB0xxz8UbI/6xqzh8G03 aadQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=ex8fNHPD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t127si3225669oih.45.2020.02.12.00.44.13; Wed, 12 Feb 2020 00:44:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=ex8fNHPD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728560AbgBLIne (ORCPT + 99 others); Wed, 12 Feb 2020 03:43:34 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37886 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728457AbgBLIne (ORCPT ); Wed, 12 Feb 2020 03:43:34 -0500 Received: by mail-wr1-f68.google.com with SMTP id w15so1140783wru.4 for ; Wed, 12 Feb 2020 00:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fGdSUfQkLfF9DHdMDJ60li9faldkILwXEkxG3rbMJHU=; b=ex8fNHPDp1r+bWrBKR0esR9qfcYVyA5glEE7UMwCBgPwjATziesFGlYx0DxioyRJYZ dPWRNvswyEl7UkeGN87c4FKCWNfh09bJMNiG62/RHoU7A/ETKml7KPHU34POrzFwNt52 48B5WIVvgl3LaxY2IWtXFPCWNEEv6E1QGchGoBPP2h0uQ0c7KwQKYQs1ag2e4RnCCoUY VnEeMhxymeqTBVrq1dDt30+TNrEuDAJTyJoGoF4ggxK+xzKoriEuWdkGlvke9yX7C+S0 jwdOQ6eCnJwLrflFglAClPwML1MiuvVgkKf+JdNddxa5BKMLhu9v7+6Qfg4Z1nkqeHix l32Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=fGdSUfQkLfF9DHdMDJ60li9faldkILwXEkxG3rbMJHU=; b=gq4uCeIDI/qKnNjrcOFwPlTjibbbUeLM2462fbZez4GGnPqALoJU6uM2MKKkTCpDOZ BroJI/kK0P8tdZMU2wJ6zzcgrQDh8zBLh27UbROEZ+WoFHrwpZT9X6OaRNL5ef5LxA2K xqWMNkgPuSFiOruSsQQsei1vWhCEwNXXSCktqAXkhtQCncJUInxrbYHZzyeMe/fmhDmn T3VY9qDrG0Xqe2fQ6+sP9j3N97RMFpYKFdKezf5mRrLKshI+Jcl7UG1mSuwo5N1erSyn wA3D++UXZtKWRbqlJQmbavHHLfAq34SLy4s1qieA/xgN7qG2jwK6uzO0+YZAgdmwEkrp qklg== X-Gm-Message-State: APjAAAWpnum9zIOy2vdewvAW7jxWmtZ/QseKsAFMABI6otlrcIV/Junp Rh3XsCfjCL5apiHd4QslowOmWf2UeD0Pbg== X-Received: by 2002:a5d:54c1:: with SMTP id x1mr13514491wrv.240.1581497011545; Wed, 12 Feb 2020 00:43:31 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id x6sm9023725wrr.6.2020.02.12.00.43.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2020 00:43:30 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Stefan Asserhall , Sebastian Andrzej Siewior , Thomas Gleixner , Valentin Schneider Subject: [PATCH] microblaze: Fix _reset() function Date: Wed, 12 Feb 2020 09:43:29 +0100 Message-Id: X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a need to disable VM before jump to zero reset vector. Signed-off-by: Michal Simek Reviewed-by: Stefan Asserhall --- arch/microblaze/kernel/entry.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S index f6ded356394a..b179f8f6d287 100644 --- a/arch/microblaze/kernel/entry.S +++ b/arch/microblaze/kernel/entry.S @@ -958,6 +958,7 @@ ENTRY(_switch_to) nop ENTRY(_reset) + VM_OFF brai 0; /* Jump to reset vector */ /* These are compiled and loaded into high memory, then -- 2.25.0