Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2021159ybf; Mon, 2 Mar 2020 00:05:06 -0800 (PST) X-Google-Smtp-Source: APXvYqx6efIrLjtYMsBk31YXRy2Af21OSeAuVnF8qjibCpx0o5WObi/T5DIddyKbbfDsT4sZ+0WM X-Received: by 2002:a9d:53c4:: with SMTP id i4mr12942315oth.48.1583136306549; Mon, 02 Mar 2020 00:05:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583136306; cv=none; d=google.com; s=arc-20160816; b=rpVaVTUa317celtzJGg0mLTXs3u1hACvJwMli4BWHSeVBYssyMukBHh1AotCr/0l6S 9e0gCaMj4e53seKK+jGvcMltGzD6zmRMyLqAgPj5gaNlmTg6rZpYupgtSU25yFLwDES/ QkTOL92Umw/3EoIsaFq+6TNKSpVmZSkoBx+dJ2ZY3wL8anBM2NOhfIzN1LXkgXNNtTwP j0xauhn3YiHx3WkPtOgXW3iN3eL+9x2OR4e5GwA2i4IMKydPFEgS4fMye3dCOBw9dCeB ijsmK6I/LCWmXuhfkOc38HK/hZ+qDJJnVVmqnurvmMLrO6/n9tmqCcL0WtWMhSsLzOWt wfQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ojFCd57OhGJBvrcqz0twPhLwr9HjrJ02uXdIwv5HegA=; b=Wqx9tEcoQc2rxTMDWv0DQ9oyZEByJVkhMrxY3bJD8arNFT3tznyFNkegCbSnb5EJMx CD8HzCLfusa9ZE4zBwV/7Z+w90T2vRs52r96bqB88KncPOa+r4Rlor6QcMRTxgKbxo3c sWG1XjnUORuYhUvE2hQzW8RT+Edp0gmhQOHk5H0ayMsz4r5cJE3UmQtvkx4wNcQdXWGH lEIbvl0B/QVihmaHOmXq1DxDJldsQOTk93naW4ZmGLTtYwhzkWzE4mqh8VibsL9RXM1Z ezIVozPs8yS6vCJ4JmkB97rYainvQoyJKSCnW8CZWFilnEqATQ6tCHWB++69P3AhTHQZ z+Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o4l33z2b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si5519710oih.231.2020.03.02.00.04.55; Mon, 02 Mar 2020 00:05:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o4l33z2b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727159AbgCBID7 (ORCPT + 99 others); Mon, 2 Mar 2020 03:03:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:53776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727173AbgCBID6 (ORCPT ); Mon, 2 Mar 2020 03:03:58 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C2A97246B4; Mon, 2 Mar 2020 08:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583136238; bh=c1yiLdMqLi4KqmYnpelgVsih3ng6Om7JOUW7LadwldM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o4l33z2bkSfTSwsTUn39q33FzQbB78MQLz4uPx9nIELOS03Zia+vWuDKrGUuLdxPT Qbq5Ymtda0HeWw40CivpXgWCLPHXUWztx7Mp65m5NEAVwRz4RPCkAHoi0JkpS3VtMG D0DllxCuM9DwLe0iU4ETCDfnKRMopUGl/Uf7IDtM= Date: Mon, 2 Mar 2020 09:03:53 +0100 From: "gregkh@linuxfoundation.org" To: "Rantala, Tommi T. (Nokia - FI/Espoo)" Cc: "stable@vger.kernel.org" , "pmladek@suse.com" , "linux-kernel@vger.kernel.org" Subject: Re: LTS "sysrq: Restore original console_loglevel when sysrq disabled" Message-ID: <20200302080353.GA1893929@kroah.com> References: <563356cd76b666048db40743c169152f4b6efb53.camel@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <563356cd76b666048db40743c169152f4b6efb53.camel@nokia.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2020 at 07:42:55AM +0000, Rantala, Tommi T. (Nokia - FI/Espoo) wrote: > Hi Greg, Sasha, > > Can you cherry-pick these two sysrq patches to LTS kernels? > They're introduced in v5.1-rc1 and should go to all prior LTS versions. > > > commit 075e1a0c50f59ea210561d0d0fedbd945615df78 > Author: Petr Mladek > Date: Fri Jan 11 13:45:15 2019 +0100 > > sysrq: Restore original console_loglevel when sysrq disabled > > The sysrq header line is printed with an increased loglevel > to provide users some positive feedback. > > The original loglevel is not restored when the sysrq operation > is disabled. This bug was introduced in 2.6.12 (pre-git-history) > by the commit ("Allow admin to enable only some of the Magic-Sysrq > functions"). > > > commit c3fee60908db4a8594f2e4a2131998384b8fa006 > Author: Petr Mladek > Date: Fri Jan 11 17:20:37 2019 +0100 > > sysrq: Remove duplicated sysrq message > > The commit 97f5f0cd8cd0a0544 ("Input: implement SysRq as a separate > input > handler") added pr_fmt() definition. It caused a duplicated message > prefix in the sysrq header messages, for example: > > [ 177.053931] sysrq: SysRq : Show backtrace of all active CPUs > [ 742.864776] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) > > Fixes: 97f5f0cd8cd0a05 ("Input: implement SysRq as a separate input > handler") > Both now queued up, thanks. greg k-h