Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4925279rdh; Wed, 29 Nov 2023 15:07:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4fjHRNTm+GMT5eY1EaqfR8Wa0tsdPc1OlDfFdzX8wsAXfHArq5RorHypL5oaL6yHJOqQw X-Received: by 2002:a05:6808:1910:b0:3b8:5bee:6ba7 with SMTP id bf16-20020a056808191000b003b85bee6ba7mr22800074oib.7.1701299238431; Wed, 29 Nov 2023 15:07:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701299238; cv=none; d=google.com; s=arc-20160816; b=BaGL5NV36bJrCvzeLv/UFS2Nds6lH6AqDyhiPclWCFblTaeYoSgKszf2wYAOzSkT2y 7gvsy+Q8Gsu8np8ThQ2hooSxR9UdyNKcd0hV3oB9uSUGV488Adyy0XQv8HjllATg0UDY rH7W8mBDQKkNnsIE6bnor+fmWEWT83vCN9Ahs2x4SM21ONYwKhiNuLggz4w9oIexMCLf k8fdxSL3naG1zAPdLKEmKVgMrIz6ii3jB8eav89//wjI2C2QtPVX6XmjE8LM98Y5ZLgb 4cyPJGBdqxVU7sUJJ6VBdcfqmj5AKeyeCeJrEChd8yq2tsVnHtJ0TO8rgg8Rqw7l/y6S AXhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5EtTO3AiJZIh+ohuhwcaazLQ1Rbrh9edX7/ihmjL2l4=; fh=w06FwtCxtgIybpkmhD2sahtITDiCdOCerwC+VVULAsI=; b=Vj1TTqkzi3OH/SIUBfWLXBZJL75TqTQaiA9uN3AUoBiVwPULGAkLEp1s4uspNFQzxa 5QBFviPmAs4D8A38nCHWuKg0wrvdE7HVwrLSvb+RX0CWuwKTntoDSeOQgb4wn8qZFZUs MKsHfN7to8JZxIjwnLcZM5SVYkWQCak5jDeeaOKbkRNhCte5mJCzg973zKN+UjWdoU8q gDeNN7i8dSeT8n7eIS173i+8krrnz47IJTJEFAivPiXbhWNbFtG0YtX6dNctP4Xi+paL Euqd9mQvazIOZ/InFGUGEiA0yBMxv/IZ5mKvMICB921TPeKv+dhAOnVnATZD8LVW73ue PXUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=PN4mgVDN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id t8-20020a63d248000000b005b90b2d9178si15631294pgi.796.2023.11.29.15.07.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 15:07:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=PN4mgVDN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EBFB5803D001; Wed, 29 Nov 2023 15:07:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343567AbjK2XG0 (ORCPT + 99 others); Wed, 29 Nov 2023 18:06:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjK2XGZ (ORCPT ); Wed, 29 Nov 2023 18:06:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46142D5E for ; Wed, 29 Nov 2023 15:06:31 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 934F7C433C8; Wed, 29 Nov 2023 23:06:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1701299190; bh=/WgUayWWWkxbFck8hTcs1QOiZXOjLOOEvYOvKvwD0iE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PN4mgVDNZWOM3Mt13aA18yzTp+QM/mNKDN/09Nhq5W+eUSveBnuef43Nqosb9pBkG 9iAMbd20kI1HdnnWI3rgqxfSOJaquDyQSR2L3HkGlSwHGbLSDuNwLNg9QpRVBQ/1Lk CC/lJITRwxVcvgIrsNaknnVa+vZd/er4eL4fgkvI= Date: Wed, 29 Nov 2023 15:06:29 -0800 From: Andrew Morton To: Florian Fainelli Cc: "linux-kernel@vger.kernel.org" , Jan Kiszka , Kieran Bingham , Shanker Donthineni , Kuan-Ying Lee , AngeloGioacchino Del Regno Subject: Re: No care given to GDB scripts.. Message-Id: <20231129150629.0a82efbfc1494972e4e4f8cb@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 15:07:16 -0800 (PST) On Wed, 29 Nov 2023 14:48:02 -0800 Florian Fainelli wrote: > Hello, > > It is quite clear that there are zero cares being given to making sure > that GDB scripts continue to work after making changes to core kernel > code, and why would you, because you probably did not know those > existed, but they do and they are used, and useful. > > A recent example that was fixed by Kuan-Ying is this: > > and now of course, "lx-interupts" also stopped working altogether after > this change: > > https://lore.kernel.org/r/20230519134902.1495562-4-sdonthineni@nvidia.com > > and who knows what else I could not test that is also broken. > > We really need to find a better way to stop breaking GDB scripts, they > break way too often to be even remotely usable, and this is really sad. > > It is also quite clear that we do not have enough continuous integration > and regression testing to ensure those breakages are caught ahead of time... > This isn't terribly surprising - the gdb scripts are a pretty remote corner and are peculiarly sensitive to getting damaged by routine kernel development. Is there any way of scripting the scripts so we can have some sort of automated testing down under tools/testing/selftests/?