Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp1811916imc; Fri, 22 Feb 2019 11:38:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IbK8ccvtKPhnweDxYj8hhMwo4V8NSdje2glePcvW8DXat4/62O051p4h4yhCv6KU3ZZjR9p X-Received: by 2002:a17:902:788d:: with SMTP id q13mr5881808pll.154.1550864314661; Fri, 22 Feb 2019 11:38:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550864314; cv=none; d=google.com; s=arc-20160816; b=SPqQCn7Cxu+mvDbQ5bX4NgW6FOtEvkjVQfYhy/pAwpQwi2bIN4SKYq2+dR5q0/ToFL v0KGd2OCPCR1FaKo8uLmLYmU8j1Ow/JgIZMSKhCXP800LWgwqffYPTHIU0Us+EHqKRgv XMRmC0nJXyD0/aaoYkUicB1sfHN1p8cOSqrvPoN248pr/effpVGPNjfavcQyhFgVHyd0 BH0uiow83uNUZF3A2P/G4pYKS/SD+XzOztd0NjInPfIdclaiTdGKQlsTo9Rs7IYVODTn ACG/GgSIL8BvLQ2n7MaLqaXsll0SubGJtwjMSDI6PBeJM9QYbIWJPII1W9Ar4yP2rU3y WGGg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QnRZ3rfzwRbPDDTdc6HzTkn6HQQ4M3T5bbjKD11buGw=; b=ollpSUOrcX/NPg7NNc2dobzQMXGRFJAn7GI6YvZPx6/HbHz2vdo6/vl0vdvy9D53nB SqvTdQ1KwlFmRvbqr+DrnFPtPffhStwcCjovbM+zabjjNfMaME0BbtvQtk6DRFYndiFh AroWVOvv/vKIX+jjOYZ/tODhPvQCHnHMIhQVOQvHCj+vEDAgcLRDMaybcE8UkYBegXFD 74Zrn8mc6xf8eFIdQ/UVNNDorMhtuJANg+RJhI4V7afOp86ULXHgBRvDt2iUpxMKPalA ont9O0IyPrnMXCL9s65Q4YHTF0H1Q920bdmpmAxnRDOKAVa91bcSLeAcqANVH6/8vNNw n3+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RCgQVojB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n79si1767353pfh.202.2019.02.22.11.38.18; Fri, 22 Feb 2019 11:38:34 -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=pass header.i=@gmail.com header.s=20161025 header.b=RCgQVojB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbfBVTgJ (ORCPT + 99 others); Fri, 22 Feb 2019 14:36:09 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37938 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbfBVTgI (ORCPT ); Fri, 22 Feb 2019 14:36:08 -0500 Received: by mail-pf1-f193.google.com with SMTP id n125so1551321pfn.5; Fri, 22 Feb 2019 11:36:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QnRZ3rfzwRbPDDTdc6HzTkn6HQQ4M3T5bbjKD11buGw=; b=RCgQVojBuznwodAFTzYzXjJ6qFR8aRc77IK/patxS1lIaPbWbKwujh98X3YuJR6aOW oe/wctpSvSvG9rz4/fe0oOUeHIHG5C602p6Bcd7TjxN15wpuBhZv1+7uLdz7Kv/1JNUT qxgqEXRyXrq4kd5wha2xQlmApUO1EXcO4/urzgfJDde2ec6ELBKsoyc1HfRIjkiI09x1 H8rPl2R0oRcHMgunD03StB/fpr4Mdizg/K1y3Iu2iyiFn5LCxS9yIdi4b7DnDM2PNsTd GgKVZfaxj6X1mBy1HAldVqwcFlq+6JHE8+suUvg+5nXP6T8NVhAVa7FdY/9IPzi3/ASI A3uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QnRZ3rfzwRbPDDTdc6HzTkn6HQQ4M3T5bbjKD11buGw=; b=tAAx42W4IVOUgAPuckoVgkGXK/Pd2K9qLbB7OsvWbopxh/AlePb1KFCqeW1vp902tY 7b+0b54z6gGnI4NX3bo6UkRdNYuIZDP6JRrpNfGyutrjr2epXeA/zCgsL4g+f8T1fSe7 0j9YjYsMlRdRSjMDw7M4cJCDNC4isIWotLwzsHbvTvM7Mwi3C/MNr+muJXIZA1Jkx2Bl eyW+rSz+EAJFqCn5MdOj8zn3tbNsBBdMaY++bzI33Sj2BZQ2n0Dr3kzkCn78D8zok2Jw CJE5lwmRIhH831/oZafkbvR3QdoN/NxuL5RyzoF0Y0MxqeKUujE6CwZfwyNzCt3N91zP SlbA== X-Gm-Message-State: AHQUAuYOmBDeEwMiM9E06kxqgi3r5pCj6gU6RHdnR3tKjWZVAegziMdE g6RNOSp+w98Yk3bYzcx6qDQ= X-Received: by 2002:a63:61d8:: with SMTP id v207mr5477157pgb.308.1550864168027; Fri, 22 Feb 2019 11:36:08 -0800 (PST) Received: from localhost.localdomain (ppp91-79-175-49.pppoe.mtu-net.ru. [91.79.175.49]) by smtp.gmail.com with ESMTPSA id e21sm7687190pfh.45.2019.02.22.11.36.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Feb 2019 11:36:07 -0800 (PST) From: Dmitry Osipenko To: Russell King , Thierry Reding , Jonathan Hunter , Robert Yang , =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Cc: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 6/7] ARM: tegra: Always boot CPU in ARM-mode Date: Fri, 22 Feb 2019 22:34:25 +0300 Message-Id: <20190222193426.10747-7-digetx@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190222193426.10747-1-digetx@gmail.com> References: <20190222193426.10747-1-digetx@gmail.com> 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 CPU always jumps into reset handler in ARM-mode from the Trusted Foundations firmware, hence let's make CPU to always jump into kernel in ARM-mode regardless of the firmware presence. This is required to make Thumb-2 kernel working with the Trusted Foundations firmware on Tegra30. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/reset-handler.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-tegra/reset-handler.S b/arch/arm/mach-tegra/reset-handler.S index 6bea95d165fa..3bf202819534 100644 --- a/arch/arm/mach-tegra/reset-handler.S +++ b/arch/arm/mach-tegra/reset-handler.S @@ -113,6 +113,7 @@ ENTRY(__tegra_cpu_reset_handler_start) * must be position-independent. */ + .arm .align L1_CACHE_SHIFT ENTRY(__tegra_cpu_reset_handler) -- 2.20.1