Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp98976rdh; Wed, 20 Dec 2023 17:41:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnawKYvi1lLBTF5qNiJH56X3vPcys5gDk0qTfrfWQo7URcAaDaBE47e9s35+zGNoy8V5dp X-Received: by 2002:a2e:3a02:0:b0:2cc:6c04:87e1 with SMTP id h2-20020a2e3a02000000b002cc6c0487e1mr3720479lja.37.1703122878061; Wed, 20 Dec 2023 17:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703122878; cv=none; d=google.com; s=arc-20160816; b=xMzoPgMcDWiLWAabeCIBlUnBMaZNqOhEp9XJT6f3X4sT+scoC/zRhBHy4sTv/XVDAN FtexApXzu6L6qPvp4lgmrdmKyEs9mqArC5+fqh8pvSdtWKxUYtxNZQMPwp8ckMahCokI 5lK15+DJhMBP6KyUcrTd1tqPl1+XSezfo2S76N1fYWUS3rAmnHyKcnp8Q15f3Z78khlB Lj1Aijts5bn5dswdCRDqPoOt+/j14WVsDyCoiHuVIacBCnHpti5owPvkqrfPLQPh1qVs tNNDI3PT2F1vl8jKV1EJ2RHjy03Sj+Viuwl9FCd4QJtq8JXieNC/U+FSydFbWasWsji4 nSjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=5O5AQ0+tqOBAkYTlZ0FO8VXCTltW/nIkbjRn79BnPxk=; fh=M9vQgekG9ZVEUQ+J1KlkvCBxvlYXVJYm9DZvVpL0nmo=; b=gF6iSTBNGV3vQUEHAur9CUGNMncltPiQ+kJfxvaBbjwtErMAKkAmCUdoWsGV5SEOhl lNKosV/VqaX/+hnr4jtlXsHF9BioHJPCCnizymOoFMm3TMG2MLkXwN3TzY04AK39xLMc Z43ENwOU7nDFZWN4nhPzYw9z7EDUgfW/i5l7mCNBVrFXcfe0GtlsBb7fBwOm9ipNqx1U aUfud+Uqxjp1+h0Wh0hBgHgBrMItZSbInQN1twMev/VrYCxsnhOAdlSnfrp+C6nlxWAp P/xW4AzeRASFjviy2SBpJoLrEW/fgdHTwyAT63x3w4HU6LHL3ns41c3C32/E/q/RlPCo lk+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm3 header.b=qP4ZUHgO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=VcXLEK9g; spf=pass (google.com: domain of linux-kernel+bounces-7729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dg13-20020a0564021d0d00b00552a384e61fsi367121edb.470.2023.12.20.17.41.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 17:41:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm3 header.b=qP4ZUHgO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=VcXLEK9g; spf=pass (google.com: domain of linux-kernel+bounces-7729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id BDBF31F2455B for ; Thu, 21 Dec 2023 01:41:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 232A3187E; Thu, 21 Dec 2023 01:41:11 +0000 (UTC) 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" X-Original-To: linux-kernel@vger.kernel.org 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 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