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 X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CCB2C43381 for ; Sat, 23 Feb 2019 21:11:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2122E2086C for ; Sat, 23 Feb 2019 21:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550956315; bh=bxacoaW/+tq4gb++ru6p2fSUrbpdslQt0DlYC7YTs0M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=J3KqZZkLWOL11aw2gQeHzQ9qvj/Ehbr6D4LpALjB0z03gtR87DRLvPhC6Ve5y9dpz a1DDMu03o+xlwrVLeFx489FKJR7wO5crTjq8+sALRco+Y2ZULLtk3WZXtFcphW+K2E +TrZ2CYWrui+S09+VAdz67V+J3Ncb97tYLFZtX3A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729502AbfBWVLy (ORCPT ); Sat, 23 Feb 2019 16:11:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:48440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730064AbfBWVLs (ORCPT ); Sat, 23 Feb 2019 16:11:48 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E13E20855; Sat, 23 Feb 2019 21:11:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550956307; bh=bxacoaW/+tq4gb++ru6p2fSUrbpdslQt0DlYC7YTs0M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0vETJr/qNLJ83wdRSePu+nvYaug8mBULE8YlFghug5jw81EPccuDvwsDdA/AjxxyW huyANxptyFTYVS1z1Bur3CXKg6AGQGSEwqndz7dq3S49eI7eQVv0tMxUjdG9WDoiqC a8hw98cEmQc046/Bo2pbZmrgUxOaoD72k+1VFs3o= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Max Filippov , Sasha Levin , linux-xtensa@linux-xtensa.org Subject: [PATCH AUTOSEL 3.18 07/18] xtensa: smp_lx200_defconfig: fix vectors clash Date: Sat, 23 Feb 2019 16:11:24 -0500 Message-Id: <20190223211135.203082-7-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190223211135.203082-1-sashal@kernel.org> References: <20190223211135.203082-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Filippov [ Upstream commit 306b38305c0f86de7f17c5b091a95451dcc93d7d ] Secondary CPU reset vector overlaps part of the double exception handler code, resulting in weird crashes and hangups when running user code. Move exception vectors one page up so that they don't clash with the secondary CPU reset vector. Signed-off-by: Max Filippov Signed-off-by: Sasha Levin --- arch/xtensa/configs/smp_lx200_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/xtensa/configs/smp_lx200_defconfig b/arch/xtensa/configs/smp_lx200_defconfig index 22eeacba37ccd..199e05f85e892 100644 --- a/arch/xtensa/configs/smp_lx200_defconfig +++ b/arch/xtensa/configs/smp_lx200_defconfig @@ -35,6 +35,7 @@ CONFIG_SMP=y CONFIG_HOTPLUG_CPU=y # CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is not set # CONFIG_PCI is not set +CONFIG_VECTORS_OFFSET=0x00002000 CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug" -- 2.19.1