Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2886503pxa; Tue, 25 Aug 2020 06:11:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/qFi+52rD9wi7bPBtSPKBQwPPCCGU7HrceGmg/6ehfMZ+v9y1ubjM4Jo/a/jTSRbQmuhr X-Received: by 2002:a17:906:37d3:: with SMTP id o19mr9948935ejc.62.1598361115901; Tue, 25 Aug 2020 06:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598361115; cv=none; d=google.com; s=arc-20160816; b=Nf6ad2FfRgoF2x1+9GodUy50UE3xuz5St9tibcnrh41njcpXog4UrMGGthg7eDZDd2 vhvC/ZDOVE64GkoXKIk+7WgtFnb/waIJkHuSY/gCOJgJkiBJd2iJ3+i4GB3p14A/xjb4 LsnXq5bdUhz3US0Kf0K4QNe9IreuzlsxkLiK8Y1sz6SXaACh5iryoEp44EHwl85JH4X/ 0xTnemNtpMNw0YxRr04eUfXlzZ9HaPmkpLZdxAjovST/CSILlkGRKkkD+Vl34+4wNfx/ FR7MV+fN6q6sHTU43E/3O4tjxcgh1x3inU7FM7NWx/M8v06AJDzDlClN6kn/zq2EDZlB 1KRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2WInHTcMOqfSaM3YzXXmWh5z/4kTIPYIW0A6XxfoPzo=; b=YA6KSRC2ZCtimVlVH8X8g07IhHk6zuaPxdWlGh4wR7SUQn4QKfBPoEwboxzB4enPiI vo4l+ctibImIBeB+Csx5zBbA8gTCUxaRLPklYfGTRYA/bWCLedwo/WSQ7PHLuFd/uIv6 OZ5YHpVdpmVi8O02N56YSEqNySrPscV8eZm3elW1lbsk0xGQX0GZjz1mUdshlzmF3Q0N 2hmW+YO/n5oOfRnJj98VkybAO0f2ArcEwV+qcvurbaUkbjYXwCndK1Qzg2wjmArLFypW LBvSDBaLwqyGmWgFBnWB7zcGA/7UsQDcmYQo9m7jPVUBZ3bouOziWNhKXwWo9czMFZC+ EncA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z1si6267590edi.50.2020.08.25.06.11.33; Tue, 25 Aug 2020 06:11:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbgHYMft (ORCPT + 99 others); Tue, 25 Aug 2020 08:35:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:54598 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726429AbgHYMfp (ORCPT ); Tue, 25 Aug 2020 08:35:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C521BAF8A; Tue, 25 Aug 2020 12:36:14 +0000 (UTC) Date: Tue, 25 Aug 2020 14:35:42 +0200 From: Petr Mladek To: Kieran Bingham , Andrew Morton Cc: Jan Kiszka , John Ogness , Baoquan He , Dave Young , Vivek Goyal , Jonathan Corbet , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2][next] update gdb scripts for lockless printk ringbuffer Message-ID: <20200825123542.GU4353@alley> References: <20200814212525.6118-1-john.ogness@linutronix.de> <20200821080813.GM4353@alley> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2020-08-24 10:20:53, Kieran Bingham wrote: > Hi Petr, > > On 21/08/2020 09:55, Jan Kiszka wrote: > > On 21.08.20 10:08, Petr Mladek wrote: > >> On Fri 2020-08-14 23:31:23, John Ogness wrote: > >>> Hi, > >>> > >>> When we brought in the new lockless printk ringbuffer, we overlooked the gdb > >>> scripts. Here are a set of patches to implement gdb support for the new > >>> ringbuffer. > >>> > >>> John Ogness (2): > >>> scripts/gdb: add utils.read_ulong() > >>> scripts/gdb: update for lockless printk ringbuffer > >> > >> I am not fluent in the gdb macros and python so I did not try any > >> deep review. But both patches work for me: > >> > >> Tested-by: Petr Mladek > >> > >> I am going to give it few more days before pushing just in case there is > >> another feedback. > > Before 'pushing' ? > > What context do you mean here? These patches go through AKPM don't they? > Did I miss some update to procedures? Both patches should go into mainline together with the lockless printk ring buffer. It is already in linux-next via printk/linux.git, branch printk-rework. The plan is to get it into mainline when pr_cont() handling is solved. It is more complicated than we hoped for, see https://lore.kernel.org/r/20200824103538.31446-1-john.ogness@linutronix.de It is still not clear whether it will be ready for 5.10. Andrew, would you mind when I take the three gdb/lockless-printk related changes via printk tree to avoid synchronization problems? Best Regards, Petr