From mboxrd@z Thu Jan 1 00:00:00 1970 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 ]