From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30FC41115; Thu, 21 Dec 2023 01:41:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="qP4ZUHgO"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="VcXLEK9g" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 254E45C0341; Wed, 20 Dec 2023 20:41:07 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Wed, 20 Dec 2023 20:41:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1703122867; x=1703209267; bh=5O5AQ0+tqOBAkYTlZ0FO8VXCTltW/nIkbjRn79BnPxk=; b= qP4ZUHgOxW/4Uzclh5jlJQisbZKURwt/X3Rjg5ZF21GmwOpmmG1+7oAqu1o845lx SpObjMkUbatyHnNNMTWKxP07wfvyJZNn5DQzQ2/3Fu588Vca6QnogUOnSPdzqLaI 3r00n8dCtT1wWDNVL6FdaY9jXFTWwUZvLBHEMvjhiBEcOkom+jDEEj7A//JgQUWF aWMyGc9tSrwdSJ1e84b8KxZ2crsB0BAhBOix0oNmr8uYAy0IiHBVWJgPNVsftWP8 dB81XouA/kekll+E/Ayyxo3sLg7rl27Ce3XHPISk/AiVBuGijkjBuDUjUcOuggZv FRCNe5FziENZTu3xp0IKCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703122867; x= 1703209267; bh=5O5AQ0+tqOBAkYTlZ0FO8VXCTltW/nIkbjRn79BnPxk=; b=V cXLEK9g9Ehrm8LlFPzGhYu+lfNq3N4JwZEAxL9Q9GUEvV+QufaDDrh27LOkXBIAl +zL8AGE0eR8WJHqm6pviV5Nn0ntHDFdFm1T2VgtVRFNnjzt2ca9F3QSnMSDq/Wdp vsKILgcE4C9ICuUXXp72uBU5E15flfsKYzq1qZVe7evrlwAYo4EaOcSbyIq14wNI +RmeX+mX5WRmWcDqfzomV4MffVvEzP25tAWRZ/w65tGebiaMG8G6/AKgMMoHVySq LHa/tPahvWC3VnSQbdo/s+w0Ozdl+Cq9Xj4cSPCuMb2EB97H58UhZDAQ1kBtP6LP Jh17Io7zfK4xwIY8gB8Jg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ihgrgihunhcujggrnhhgfdcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtoh hmqeenucggtffrrghtthgvrhhnpeeihfdukeelvdduiedtieetieekvdegjefhteelhfdv veelvddvffeflefglefhueenucffohhmrghinhepgihktggurdgtohhmnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghn ghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 93C1936A0076; Wed, 20 Dec 2023 20:41:06 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <2a2f69f9-f987-4f96-9c5b-3aaaea29bbbc@app.fastmail.com> In-Reply-To: References: <20231029-mips_debug_ll-v1-0-d7a491e8c278@flygoat.com> Date: Thu, 21 Dec 2023 01:40:46 +0000 From: "Jiaxun Yang" To: "Thomas Bogendoerfer" Cc: "linux-mips@vger.kernel.org" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/8] MIPS: Unify low-level debugging functionalities Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable =E5=9C=A82023=E5=B9=B412=E6=9C=8820=E6=97=A5=E5=8D=81=E4=BA=8C=E6=9C=88 = =E4=B8=8B=E5=8D=889:18=EF=BC=8CThomas Bogendoerfer=E5=86=99=E9=81=93=EF=BC=9A > On Sun, Oct 29, 2023 at 02:53:01AM +0000, Jiaxun Yang wrote: >> The plan is to elimiate platform specific early_printk and >> cps-vec-ns16550 by debug_ll and earlycon. > > https://xkcd.com/927/ ? > > sorry I don't think that just another new function is good approach. > Doing this will end up with another method for early debugging and > all other will stay. All others will go (one of two already gone). The thing is, I tried to get cps-vec-16550 and zboot work with UHI semihosting, and soon find out that they are doing exactly the same thing. So I tried to unify them. I miss the good old day on Arm system that I can use handy debug_ll functions for every low level debugging purpose, thus I just copied the whole design. There won't be any new debugging functions, zboot one already merged into debug_ll in this series, cps-vec-ns16550 will be merged as well, I've got patches prepared locally but depending on my XKPHYS changes. We have extra functionality to debug early exception as well, that will certainly make bring-up process easier. Thanks. > > Thomas. > > --=20 > Crap can work. Given enough thrust pigs will fly, but it's not necessa= rily a > good idea. [ RFC1925, 2= .3 ] --=20 - Jiaxun