Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp973821rdb; Fri, 1 Dec 2023 03:59:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHe/JYYYSMJW7BuIY0/iOYgmo/ef55Fi8zxlpjY6Qfr+9eBbmej8ZewMYCoIATg5e698V6A X-Received: by 2002:a05:6871:70a:b0:1fa:f463:c509 with SMTP id f10-20020a056871070a00b001faf463c509mr794466oap.47.1701431949720; Fri, 01 Dec 2023 03:59:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701431949; cv=none; d=google.com; s=arc-20160816; b=yFECrlFKB4w/rNkKR1e2hqFjVrkLsVU5REBXTXiPjWql+tGNSfh2TwnFVDqLCdJr79 1QaC3FVDT30zyGQ8pjaT6FEpMVLOE+VTEOTJ9gxS01aFctcbENYTSGNif0kFFnXdBWv7 32r3w3zoDMdqDbHlEXqLDiDaefEGiZrWSIxWPOdOZmPCQ1UKDrX0QVWvqKziHgY5p2Xg UjnTdDwHfruYksfX617dEqtG6seOK6foM/o6hWikLJVmcJrVgBNCDRItCtqkq2v+0M3J nP4I49WK/9A5fElf63XQfpoBy6NibEqBOFtksrlg/tbjPLhjwXn5l/tAqlYZW3GGlKsd kMFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=8sJJAwW3fvcdkz9kiX5KI4PX0G+t1oYo33Ha8laNn/c=; fh=M9vQgekG9ZVEUQ+J1KlkvCBxvlYXVJYm9DZvVpL0nmo=; b=BJOH2lHnMD5BrV5/hdaTPrUoWnU5QElQB+w5JMAF3qPLt5sQGUEkGcDpq0x5iTraG5 omBJU9AMt+X7/yG2eiq6jVO0F7HrPr1gKOfV+QZl6b1sJacjvgobYWqstnAE5jURjMdH YAllhMZhRfzEUasjqLaTTHLgkAPaL0Zwe+UdJPssvE0XpsfY6zjflcsQanP4dOlmyrXF OGymrjwOJtNazZvOO7LbCJSrb7ag6DgRhOe5i/7j6fp4ngEq2ik8XOSVKGS9HvlOrOcR jtzK5f/xx+LoIWo4q8Jb5ThV2cQo9qX0uCojCYtiNtYUPDJY/Faj3PHYMZL16h98YUob v3fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=HPwSQPZp; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=S+j2lw6W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 18-20020a630212000000b005be30c35ef7si3285584pgc.162.2023.12.01.03.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 03:59:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=HPwSQPZp; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=S+j2lw6W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E520681BE814; Fri, 1 Dec 2023 03:59:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378656AbjLAL6w (ORCPT + 99 others); Fri, 1 Dec 2023 06:58:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378625AbjLAL6v (ORCPT ); Fri, 1 Dec 2023 06:58:51 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 452681704; Fri, 1 Dec 2023 03:58:57 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 8C3DB3200B3B; Fri, 1 Dec 2023 06:58:56 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Fri, 01 Dec 2023 06:58:56 -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:sender:subject:subject:to:to; s=fm2; t= 1701431936; x=1701518336; bh=8sJJAwW3fvcdkz9kiX5KI4PX0G+t1oYo33H a8laNn/c=; b=HPwSQPZpYheqxKo/cVLb2867b/LQN0msH+ibE5ne/gQuj5UVeNs 02/1VeN5bSKLZ1k6cL/wXjekPMSmaptrI+dDSjQyreGxyNMYL8VyvFAUJshzObVR gkzKzhu02q0uTUrQIemEARitT5k31eHEGaRdYyU6CZq+PSlHO2CiveOT73RFQdsE tY74ABgcfoV+izsicdEaPk3jMLZzzz1tEDZrJjoX+pe8/um5i8EkRsVMZpr5IH8D bPcexuExOSX25wsOCtPjnVwc6JeW+SkCCAs+4W9IhvhtqBzmAKyD1XIC9mbfgEfF 1kOC9i7fgUSBAjmtcH+NTwvqTFJoyQkomvA== 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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701431936; x=1701518336; bh=8sJJAwW3fvcdkz9kiX5KI4PX0G+t1oYo33H a8laNn/c=; b=S+j2lw6WlSWXH3SDKaNF89IiiJcBVpYtlfCTfsG7bazXs36sxAb JkaeWQrIyB40i942Yh0USSGoXHlqjpgp9+K2c9FXTdeYGWWo6etR3SmyDlP0WOlh yIwPur7uhfS7oxIcfGXX7htHwygTw/zIu5jn4jrWlG0rfZa7QOCpLHDqH6K27e3X aJvlQhW3B0m8Bcg6UqGJOxDqGvIpmP4z/gHsXc3kE+LL0N4DmXERcB4J8D5dV+iF GjcVvR3wy0MuK5xP3WNrf7bz2/Cuv7H0JfHMN8GIMFXuyCA4/j7qRCHWJL3tErKY ctl5mlTL3OBTOF3SCmJwY5rgj2ybVqSJ5zw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeiledgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ihgrgihunhcujggrnhhgfdcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtoh hmqeenucggtffrrghtthgvrhhnpeekleevffehtdeigfekfefhffdtudffvdeuvedtffet heeuiefhgfetleekleekjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdih rghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id BD8A036A0075; Fri, 1 Dec 2023 06:58:55 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-Id: In-Reply-To: <20231029-mips_debug_ll-v1-0-d7a491e8c278@flygoat.com> References: <20231029-mips_debug_ll-v1-0-d7a491e8c278@flygoat.com> Date: Fri, 01 Dec 2023 11:58:34 +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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 01 Dec 2023 03:59:07 -0800 (PST) =E5=9C=A82023=E5=B9=B410=E6=9C=8829=E6=97=A5=E5=8D=81=E6=9C=88 =E4=B8=8A= =E5=8D=882:53=EF=BC=8CJiaxun Yang=E5=86=99=E9=81=93=EF=BC=9A > Hi all, Hi Thomas, A gentle ping on this series :-) I've got too much patch floating out there. Thanks - Jiaxun > > This is a attempt to bring all low-level debugging print functions > together and provide a arm-like low-level debugging interface and > a further function to debug early exceptions. > > The plan is to elimiate platform specific early_printk and > cps-vec-ns16550 by debug_ll and earlycon. > > cps-vec-ns16550 is leave unchanged for now due to pending patch[1]. > > Hope you'll find them handy :-) > > Happy hacking! > > Thanks > Jiaxun > > [1]:=20 > https://lore.kernel.org/linux-mips/20231027221106.405666-6-jiaxun.yang= @flygoat.com/ > > Signed-off-by: Jiaxun Yang > --- > Jiaxun Yang (8): > MIPS: asm: Move strings to .rodata.str section > MIPS: debug: Implement low-level debugging functions > MIPS: debug: Hook up DEBUG_LL with early printk > MIPS: debug: Provide an early exception vector for low-level deb= ugging > MIPS: debug_ll: Add Kconfig symbols for some 8250 uarts > MIPS: debug_ll: Implement support for Alchemy uarts > MIPS: debug_ll: Implement support for AR933X uarts > MIPS: zboot: Convert to use debug_ll facilities > > arch/mips/Kconfig | 12 +- > arch/mips/Kconfig.debug | 212 ++++++++++++++++++++++= +++++---- > arch/mips/boot/compressed/Makefile | 9 +- > arch/mips/boot/compressed/dbg.c | 37 ------ > arch/mips/boot/compressed/debug-vec.S | 3 + > arch/mips/boot/compressed/debug.S | 3 + > arch/mips/boot/compressed/decompress.c | 6 +- > arch/mips/boot/compressed/head.S | 6 + > arch/mips/boot/compressed/uart-16550.c | 47 ------- > arch/mips/boot/compressed/uart-alchemy.c | 7 - > arch/mips/boot/compressed/uart-ath79.c | 2 - > arch/mips/boot/compressed/uart-prom.c | 7 - > arch/mips/include/asm/asm.h | 2 +- > arch/mips/include/debug/8250.S | 60 +++++++++ > arch/mips/include/debug/alchemy.S | 46 +++++++ > arch/mips/include/debug/ar933x.S | 41 ++++++ > arch/mips/include/debug/uhi.S | 48 +++++++ > arch/mips/kernel/Makefile | 3 + > arch/mips/kernel/debug-vec.S | 194 ++++++++++++++++++++++= ++++++ > arch/mips/kernel/debug.S | 130 +++++++++++++++++++ > arch/mips/kernel/early_printk.c | 19 +++ > arch/mips/kernel/head.S | 4 + > 22 files changed, 750 insertions(+), 148 deletions(-) > --- > base-commit: 66f1e1ea3548378ff6387b1ce0b40955d54e86aa > change-id: 20231028-mips_debug_ll-ef9cce16767b > > Best regards, > --=20 > Jiaxun Yang --=20 - Jiaxun