Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp757070rdb; Fri, 22 Dec 2023 04:20:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXmLndO/Tf9JDez7OfsF63/hvXfYX0TL0Oa/qO74gXb5xRCnf0XJHe4xpOppVEySp68wTE X-Received: by 2002:a05:622a:1344:b0:427:7725:e905 with SMTP id w4-20020a05622a134400b004277725e905mr1795079qtk.94.1703247629927; Fri, 22 Dec 2023 04:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703247629; cv=none; d=google.com; s=arc-20160816; b=FF8929t4b+QH6thRRzb6AxBQiJyYHCbfbNEnqJhZY9zvNR2eCHRSXKyRCyisaYoukC zSzbH6UFxPUPbJEA3lWRYDVCtrBoqmbNRMZFumjcQNRkzYZ/yRbfiOOpYdoc/XE/fL2o lowVIs74eO9k4IGiGZxHzfeSwZ0pds1T7s+YJE8EcoF8dtyaiH69vma7PqzgFWFvklPX 3RAk0Z/uS8phAyGZeajbuPw/p41h/+LMVcJ8C+JYpp1GEmGSe1d4Fc5W9L6k3nQziQaV yP5OTNzUA9gUeA9YOiBwBLnmqG7q9CuwtiS7wAuRVQsWwem7seEbOfIrNvzkRdq20E1+ 1kxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=USZgjUA7PudSOTvT3lGQdeH8xipoPavexdf2zu6pDn0=; fh=osVu7nxqSV0Dm5sEHWN74Vi3u7YTtAzK49lonxRMdYI=; b=QW8N8Mt1TBs2Vp+pUVXpWF4Rh8M8DpvWlXaBHWeYTznbAUPQD5UndjV4+MbFC1U1NS xIb76I+fe01pX9mb6KxOtvU5/Ffly0e1wlrJikt4brWACAVnW7BROUkYI1urVQvYX6Dw vwuAjxZEzS1N+OlI1yyrZ4vnoJcpZKfPKim+mKP1DoOvLSpN/TDnlswyJg+Ab93Ps5D1 +hL5ridCSSkQTqsncwt3qrBknxMQIwqM5RW6t31BGneTTBV0QNHaOw7309SKSzBc1ngC yJtOptEOMYH2VnGAV9LpwlTAR3R8fFb3RvSUV6ZPl8o7F1BhR6r+BOU8etmXHSSBeV+A 4atA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-9696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9696-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y20-20020ac85f54000000b00423e1bd3051si4357273qta.650.2023.12.22.04.20.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 04:20:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-9696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9696-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AF5D61C220E7 for ; Fri, 22 Dec 2023 12:20:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D30091803E; Fri, 22 Dec 2023 12:20:18 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CB7F17993; Fri, 22 Dec 2023 12:20:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1rGeVb-00051I-00; Fri, 22 Dec 2023 13:20:07 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 7EFE7C028A; Fri, 22 Dec 2023 13:18:21 +0100 (CET) Date: Fri, 22 Dec 2023 13:18:21 +0100 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, gregory.clement@bootlin.com, vladimir.kondratiev@intel.com Subject: Re: [PATCH v2 05/10] MIPS: Refactor mips_cps_core_entry implementation Message-ID: References: <20231027221106.405666-1-jiaxun.yang@flygoat.com> <20231027221106.405666-6-jiaxun.yang@flygoat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231027221106.405666-6-jiaxun.yang@flygoat.com> On Fri, Oct 27, 2023 at 11:11:01PM +0100, Jiaxun Yang wrote: > Now the exception vector for CPS systems are allocated on-fly > with memblock as well. > > It will try to allocate from KSEG1 first, and then try to allocate > in low 4G if possible. > > The main reset vector is now generated by uasm, to avoid tons > of patches to the code. Other vectors are copied to the location > later. this patch does way to many things in one go. What is needed to make a kernel working with an ebase anyware in XPHYS ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]