Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp113795rdh; Wed, 20 Dec 2023 18:21:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeXmWsj+q8PULRLxsFW+RR1cYT2rAjDckiwu1VICn8ZPLoNE6ygJXhch5bYeKVvGw5Hxw5 X-Received: by 2002:a50:ab1c:0:b0:553:b583:12a9 with SMTP id s28-20020a50ab1c000000b00553b58312a9mr978011edc.126.1703125318752; Wed, 20 Dec 2023 18:21:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703125318; cv=none; d=google.com; s=arc-20160816; b=ecwiBrUkyJ9CYvAbZmsyISd+694Rf5MvN1IC+ueHKuH0NFsPPS7d0FjkeQdZX2tcWI sI4Yl+SqVcAx/+IRHjtcewk9pA6C+LeNpuYxsUzeD0jEPbFm46jYHHPm2eABST8ypwUw IqEY69f2Vmgcvx2y5HvyuWNN9uY1lUgIrVzAJQmTvjqK9ljFT9MUoUP5j3oz7S4Okblk gISLH6h+tiGVQNeIX2P8qzHUib0qkf6hcpKuC3TtgTNZwKdlhpa18w5YEF0zvNYYiKD0 +ouj9DhtzOpItM7nVyhS9Fz08y80XJbNxoU30v1eOMia0YAs02eEksdhdw347Jq70MOB ATyg== 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=u4Mi26pZJKyRO9fetP7V1s8Zt2g/ERIujlW54YGgiXg=; fh=M9vQgekG9ZVEUQ+J1KlkvCBxvlYXVJYm9DZvVpL0nmo=; b=TS6Z75LP3PAJKAnv0qyCZE8r1qwYSHNcy2U+9cHhyUWzKrk/dALDZEf+ydHnqLTS0y 9lBbg8lFFkz+JNirFX4Ghdb8NNA31e7/xOAzdT9E1/jQqTnlDKbGrfoxj5wkMAFZZJ5X bETdxBERlLc5bA8pzniZgjMZemgudWi6iE1rU+4YqqQ256gHLxTTgQgMH9RZTIBYboRM 213IQpGaYkAydlhy7gpVBG5TgVr+cfuTLscJ7Bt/nA6HXcfje7kgYqPGEmMjUedlRjZ7 YvxVopoDVayL1I5a34minRcjM5VvnX2jZiIAK6ElpmQQQFgABTSAmsYc5ONcr2Xgg8r9 SOeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm3 header.b="eBwbc/vS"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=9b+5WMMO; spf=pass (google.com: domain of linux-kernel+bounces-7749-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7749-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 9-20020a508e49000000b0055331e7e677si384322edx.364.2023.12.20.18.21.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 18:21:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7749-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="eBwbc/vS"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=9b+5WMMO; spf=pass (google.com: domain of linux-kernel+bounces-7749-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7749-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 75D461F23B51 for ; Thu, 21 Dec 2023 02:21:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C8342104; Thu, 21 Dec 2023 02:21:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="eBwbc/vS"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="9b+5WMMO" 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 8BE451843; Thu, 21 Dec 2023 02:21:47 +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 A2DC55C02BB; Wed, 20 Dec 2023 21:21:46 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Wed, 20 Dec 2023 21:21:46 -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=1703125306; x=1703211706; bh=u4Mi26pZJKyRO9fetP7V1s8Zt2g/ERIujlW54YGgiXg=; b= eBwbc/vSeN+oifqqPfn4rQ/wC99kqiy8XKqgN9vcENnhpxuZ8mnCTDfv6tmg1C1h W2Nh7VL9JRYhls71S8OhCWLnNJ++aGMBEUjotmCXGdb5aqkeRtYcp9QRN2z5lbSf rvEPMkfELnbPokg7TndubGCSNpeX29e9WnA4b6rG6+xKBDtPzz1teZq5JHn7Lpii PU0Apxl8D2oifv4LqwVOW5+urQxuCi8xhvYW935HXzXypsC7iOzAho0T02PSgk02 kNE1Q6NTLzsaapCb1ftPAEc8/T+B3RqVuln7QpS0Gei1SKgbclBLGFvRhJrO0gsw 93Mt5Uy6HeZGcSI3exjUIQ== 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=1703125306; x= 1703211706; bh=u4Mi26pZJKyRO9fetP7V1s8Zt2g/ERIujlW54YGgiXg=; b=9 b+5WMMODPhB1eHvwmjFnIAKgsdqhCJoNNOMCKPcjBrCAxSwg8RAWkgs0O/zuGKtQ qDWqoc7fNqNuDxSnO+FDUaJpp1Nv/0OyYd0UVcgw4GJiFZSfDxhxJ1jdZmAD4PUU pILlpUJDDwb55rFNLJO9ZEMEY90qXqUevrgVzBV6KoQPe1HJ/R/Zy8gVXlBeGzsR NhWE22gslYkkzPTIgXTqiaJIL7m/djwFZHWFKLdm+7kQCrwCznWJF4LK59ch+JNW SiO50nvhFXU0osca0XuXBZcMpn5bHlgybkeRTugL8et5XhZ5veHY76xxLucQZ2Hd RwiumlKRu9NKuPPIzSsqw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddufedggeeiucetufdoteggodetrfdotf 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 5C2BD36A0076; Wed, 20 Dec 2023 21:21:46 -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: <96543d4c-f08e-443d-9a85-9257fc4f4b6c@app.fastmail.com> In-Reply-To: References: <20231029-mips_debug_ll-v1-0-d7a491e8c278@flygoat.com> Date: Thu, 21 Dec 2023 02:21:26 +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. To summarize how are we going to handle low-level debugging after this s= eries: 1. You are lucky enough that the problem happens after console system in= itialized and you have stack working: go earlycon, or on very few old platforms= with platform early_printk 2. You are debugging zboot: debug_ll 3. You are debugging SMP bootstrap code like cps-vec: debug_ll 4. Your kernel crashed at the middle of no where before trap_init: debug= _ll 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