Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp214738imm; Tue, 19 Jun 2018 19:36:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJpW080BkxqDzIc5t9UPVobBVNmoVKadXmbUMCBCnW9ThwHIdyr/RlEPr5yzYAxtcqOapTp X-Received: by 2002:a17:902:8b86:: with SMTP id ay6-v6mr21661314plb.295.1529462167858; Tue, 19 Jun 2018 19:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529462167; cv=none; d=google.com; s=arc-20160816; b=t20IMzDelKMz7KSJ2jHRTQVUhX9CURaTlBGwJp6JLi5y3LvOUmgN1lUNvoqpOZJAnS 2tD6YA0J0lPP+sWPzmC5htNJjRe263IHx3Db9F2xccpdhMpyHVlKnwimxnKMLvTpKk4D Fje3MYzoXSxttHGYsHT/hxprLvcYCPOe9GcdWUZKTydMR/3x96kDNnnWZPt/bwbuZuij 3d8/8DPmkLoqNzj2ABNiBDpRqy7bjfP+NegiehF+hv9vKHP4ZmZbDj1+DspKy9ICUIuo 3JpL+yJHN/7edEcNOBh0+OOJnfMQShLIHxJemLmXnanIshYdKlZSSbStyJj7iu57KGuZ 8UlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=xGo9+jyiAkXJdsd3Vw0jzxY4ApuhJBcu9uEfOrLHtGk=; b=x1+WL0n48qqPV9QRjW3ny01k5UQOuxZcL5+9PloWWq+aeL3i3oVPXyoBSPg5FTnyNn r5aj4vGswBCL/A4Z0todosC7v2i6IsNcCjEOqRBI9f8CXuzNZINPofa2Fg+E0kgzXdt4 Sgc9jtx0sjPda+AsdidsIAa5Zd3N+ytW94oP7PdzhbM/U08cKSaPeQ+bNtDLS4ykBXdu WYRr/1qGahG8KpAmsR01eXa52foJFPcp+U4Z5Hw2s12nWekdsUBlKlWfi/o5SKPJFNNd P3DN4aBrJ/CvswEmogXX08MLOY6zLXh14zsQFVRbJYjALfbnEaKJDBFtx9uYVGVqTp3Y 05Rg== ARC-Authentication-Results: i=1; mx.google.com; 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 g14-v6si1192801plq.41.2018.06.19.19.35.53; Tue, 19 Jun 2018 19:36:07 -0700 (PDT) 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; 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 S1754243AbeFTCex (ORCPT + 99 others); Tue, 19 Jun 2018 22:34:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:49778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754012AbeFTCev (ORCPT ); Tue, 19 Jun 2018 22:34:51 -0400 Received: from vmware.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 7081D205C9; Wed, 20 Jun 2018 02:34:49 +0000 (UTC) Date: Tue, 19 Jun 2018 22:34:47 -0400 From: Steven Rostedt To: Linus Torvalds Cc: Petr Mladek , Sergey Senozhatsky , One Thousand Gnomes , Greg Kroah-Hartman , Jiri Slaby , Peter Zijlstra , Andrew Morton , Dmitry Vyukov , Linux Kernel Mailing List , linux-serial , SergeySenozhatsky Subject: Re: [RFC][PATCH 0/6] Use printk_safe context for TTY and UART port locks Message-ID: <20180619223447.4369748b@vmware.local.home> In-Reply-To: References: <20180615093919.559-1-sergey.senozhatsky@gmail.com> <20180618143818.50b2f2f9@alans-desktop> <20180619005308.GA405@jagdpanzerIV> <20180619083021.4avsgvcqjrpkat6s@pathway.suse.cz> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 Jun 2018 11:01:49 +0900 Linus Torvalds wrote: > There is no valid reason why an UART driver should do a printk() of > any sort inside the critical region where the console is locked. > > Just remove those printk's, don't add new crazy locking. Perhaps we should do an audit of the console drivers and remove all printk, pr_* , WARN*, BUG* from them. -- Steve