Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6074251ybe; Tue, 17 Sep 2019 19:35:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzU/M/HG7hSwqHfCIcdy/ifEo2n7DEqnJupFzBBNLnM9l4i12hpCXj2/Hty5YJ9QzfmsIDJ X-Received: by 2002:a05:6402:2cb:: with SMTP id b11mr7983555edx.285.1568774112735; Tue, 17 Sep 2019 19:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568774112; cv=none; d=google.com; s=arc-20160816; b=NXxunO9Ur4wOI58KnvTz7N66pXCOziKJoSy9pM4c+pXMzxL46jmeBWV4TnSdXhDzeL W2LTIEDWtiK3DE89+ZWBFWR9vpS8mIHtFKd5t8fCAg+JXtOOpMPcRygDcvZf35Hhkmwi d9Rs2SLMDq+eunMm2GnDWhVQV2uwdGntP2SN0q1zig2lGTAHTd6v3SMia3jrGtLnQIMH kpQKN39ixRcnPHSx7dLhkrBpgdd0fI5105wLBE9npThBJMMclS60WIzv/9k8eS/q5BDp ZnQxnOZ1daon19Ei8ZflMwfEVbvQxHTZiaQSBsTUgzbsbxoMyZitM7D3xUTyQ0bjXg3p lYKg== 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:dkim-signature; bh=qTucIh8q1fOUaY+KKBj6aQtvZjzoQVm4j1aVcrELJdg=; b=RiSdlyYbsdILB2Km2eNMwzLM6O5LcT5rWfvsDYUQo446NRhrpPzHAQ4b6TQIwVL8vM a4Ek6wnpZyqO8IusrRD3ckzZVdi3sphd9AtTuG/BWitumWIPm1B8Nu7jK+EC3eNHtn+a RNK2zeGyC6rK5qISQHrAR9vKiIuUWs0FVXTvMm7zL/eutP31bzAKv28A04v976vaWNuV uvgm/SBgbxRbYfJJkAOvyMRUo75eT9fya+13mIiWZ9K6MJc4BYzM04aE2pcRlVg48P5U zas+bFWgi0eCo2OBnBaX4LVNVlIARIEHZcQcFDmp6yNDHSG6nmOeRilYSg1Irgx0PmlZ Zh6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qOFgBadN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si2048868ejd.277.2019.09.17.19.34.48; Tue, 17 Sep 2019 19:35:12 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qOFgBadN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728577AbfIRBZw (ORCPT + 99 others); Tue, 17 Sep 2019 21:25:52 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:35507 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbfIRBZw (ORCPT ); Tue, 17 Sep 2019 21:25:52 -0400 Received: by mail-pf1-f194.google.com with SMTP id 205so3268895pfw.2 for ; Tue, 17 Sep 2019 18:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qTucIh8q1fOUaY+KKBj6aQtvZjzoQVm4j1aVcrELJdg=; b=qOFgBadN95TeEZ2PDXgkMFaZWHVt7J+pDCghlwm67uc+HMVkwhEZUk7ljnEeLICS3c bMta2W4onT6TXa+2i/KCYf0Ha/+rmpBZIQD6bSj5aZuZLg4Q8wxougqLHYm1s2BS018C yA9RPfAOmKAsMXANo4hI3MWc7sGJHH/ueUR3ko8PmniU/BAx/+KDIPGOlXYwJM/vipC7 lVPeUVtk8I+mD1l3+wGZqKHcHdhzyfpZWzi7LvOMxmGNyOnRtc4JEaTFPlTSkAk2bO0H gH5UpL1BjudRLTATUcUaVgZ5ysnNo1cwpSwX9/a0peagmssIRLdb3KdEXxBU+yPqKELF mQag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qTucIh8q1fOUaY+KKBj6aQtvZjzoQVm4j1aVcrELJdg=; b=sKytYddV4y95dP1gNJZzOGT3O0RKhmBDdGk/SycIJW1wI5x+Y/gHTgjWsImx0RCv11 eL1cnWSReVNRnvxbg7TaXq2HpYpZkM3j6sSgw1rRfeCHt4mtKedgn2RZcaI7YIJYcQKX dySLTgXMvAs3vBHJmiUZLR/9Ix1Jjo+Y7coUX/Ozx5xOhIGwLGQgQPxliqS5IBCU8awR 2tdkdauxUBaFT6GE3YDNh9z/0pabaEFAcrBn5QDKPvafrgO/Kh8K8M4bOvwh9vCWaVhJ SBOA8pKly7WnCDADNE0i7eL40wJy9QuVFv/4tlUaCjEXPK9LlKJel+68xgCMpt6GHRVT 3ogQ== X-Gm-Message-State: APjAAAWKjjZje5JugUyv90ZZfkn2UTRiLlHnZYPjS/20yaoOyaIlBrbz r5IrNeNWpxNxpvQSQw0KCTE= X-Received: by 2002:a62:834c:: with SMTP id h73mr1420640pfe.183.1568769951670; Tue, 17 Sep 2019 18:25:51 -0700 (PDT) Received: from localhost ([175.223.34.14]) by smtp.gmail.com with ESMTPSA id q2sm5322354pfg.144.2019.09.17.18.25.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 18:25:50 -0700 (PDT) Date: Wed, 18 Sep 2019 10:25:46 +0900 From: Sergey Senozhatsky To: John Ogness Cc: Linus Torvalds , Thomas Gleixner , Steven Rostedt , Peter Zijlstra , Petr Mladek , Andrea Parri , Sergey Senozhatsky , Sergey Senozhatsky , Brendan Higgins , Greg Kroah-Hartman , LKML , Theodore Ts'o , Paul Turner , Daniel Vetter , Prarit Bhargava Subject: Re: printk meeting at LPC Message-ID: <20190918012546.GA12090@jagdpanzerIV> References: <20190807222634.1723-1-john.ogness@linutronix.de> <20190904123531.GA2369@hirez.programming.kicks-ass.net> <20190905130513.4fru6yvjx73pjx7p@pathway.suse.cz> <20190905143118.GP2349@hirez.programming.kicks-ass.net> <20190905121101.60c78422@oasis.local.home> <87k1acz5rx.fsf@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k1acz5rx.fsf@linutronix.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (09/13/19 15:26), John Ogness wrote: > 2. A kernel thread will be created for each registered console, each > responsible for being the sole printers to their respective > consoles. With this, console printing is _fully_ decoupled from printk() > callers. sysrq over serial? What we currently have is hacky, but, as usual, is a "best effort": >> serial driver IRQ serial_handle_irq() [console driver] uart_handle_sysrq_char() handle_sysrq() printk() call_console_drivers() serial_write() [re-enter console driver] offloading this to kthread may be unreliable. -ss