Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp168930ybb; Thu, 9 Apr 2020 20:08:13 -0700 (PDT) X-Google-Smtp-Source: APiQypLEeDwuGG59VULsdl6CphYwLAIy/5JZD1qDG1Np8ZCL5blL0+ugipwboWInpeJc9ZDaJK0H X-Received: by 2002:a0c:a8e9:: with SMTP id h41mr3329492qvc.235.1586488093357; Thu, 09 Apr 2020 20:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586488093; cv=none; d=google.com; s=arc-20160816; b=fnbMlD0UA0xKiD+HMlKSJvsSCbEWnQY+HYL8skWOW9vccEnW15dGTHuSrgDQPQlDUb AkPu4X+XtcLVUnqIs1f8W/j0wviO4K66H/7jZsyYpHeo+YemZpeECuda/eM/BM87j24N Vm09X9IW+RDAk4cTzjMTBvsJ14dk5S9ZMYumakI6mulAwCp7HvKtPWc9QffWwSWUN1V/ iBNoMBZngfCynBczR26+HPWX15Q7OgDs1ip+UqanKBKPTAFCnAY3xSIim9QL18F/xDmK fqsehB0L0AAunQTBnMTYOOekxUe3HV/3qfQzJ3Y26IMfgzYwRraIRm/nTQHd2FwVgSjP tSHw== 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:date:from :dkim-signature; bh=3yUNcbv0islnmYqkqeF/uP+mdb2JR14P5vkgcv9DY0c=; b=MpCkD4nR2Y5uxebKfz2SM7eutt7w6kjbWgl6i/0nthDpU7uCnf4Ytna2KjzDKb3aE8 qE6rdbVNhO/5z7yvlbu8ipsqOwSuINu11N65xccHYnxBmqpf1l0nbKQghbNS+u/QiGcj Hkb8DVvQFiFv3dG6FLXkuZLnmucGtYC8ibhsHG6C59QZ8XIY/5B76FVOBqb3Z0LCszlU yJib9NmCFG3ClKSg1kcYPErHuL4wz50URCP3umLXHamdWoGnozAgDvzzBzficXywEQG0 Gd4/i49c3UqCHP/gBbMfTkYeENCqsKSBSUOOc30tN3WwJHsuyZ3uW81+bwcKW4u1nyjl t76Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VJkyy99g; 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 q15si450387qtf.321.2020.04.09.20.07.58; Thu, 09 Apr 2020 20:08:13 -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=VJkyy99g; 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 S1726659AbgDJDHL (ORCPT + 99 others); Thu, 9 Apr 2020 23:07:11 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:46410 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbgDJDHK (ORCPT ); Thu, 9 Apr 2020 23:07:10 -0400 Received: by mail-pl1-f196.google.com with SMTP id x2so229053plv.13 for ; Thu, 09 Apr 2020 20:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3yUNcbv0islnmYqkqeF/uP+mdb2JR14P5vkgcv9DY0c=; b=VJkyy99gnCAfDC7NDrLPj1S2EvIFVYgS5Kxx7pK7s7XeI27On6F4uDUx5xxFEnFUPr v0kjAw88vqEfj+UevpIILgrDWKsNsUpnZi5DsYiDrb3OoAIrOXnx1TztOWGrZW1JDoCw RGma0Bv/f1l+Xp+fltV6pFY7do5Lz2YAMcpJOIqYs/kjvoiHq4Ku6zi0gTFGuw2jd8kp EO3Ypv205K1CRPhPRCbC/B81yQ5m+tVGgM01Ctthnl3z65EsoqYUhkJp7xdfFObK48DI ZRTuGdrGn9iikmCzeaM/fc6ZRxrGkPzQp8rRgOMzb5pJTyS5ig68LjFN3R7/D0JljCOz 2mlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3yUNcbv0islnmYqkqeF/uP+mdb2JR14P5vkgcv9DY0c=; b=bmrFWj8LlHiofOFT5wEnMRz4rhQADRnoX8FtgpwcyGQKT94ckKwyofW/nI2+/6to9p fi1dF6g5KQ1oggnH55P0WG6rdsvaDABC4ih7ro0kH03FkPbnoIrRcJnGDdkLmR0k1ABm nC9dpRlJ/PS9Mjjf0HowH6Ya8Zg7S57aMhXPsYKrAT4bHW9aOcQssz9ZcpSFFUVL6HQv EJzkd7aPCnMyCLvoZTn9jEiTkXyHuBNlFlkbzUldtC8Fo9PuP3bvFHPoh2tBNEjZ1sXM xzpZDUU1wAx7mlR1EKwjEccNrS8Z1QiNBt1YhdSlE4WT7p93/2gdJY5TuJeNBn7vFnSy 32BA== X-Gm-Message-State: AGi0PuZxUMb527h0HAL8msbyhKi0OixxJq/XPWH7W78gf1s0w+Ga7Ef4 c4sD1ICyctiUSTwz52OS6Mo= X-Received: by 2002:a17:902:dc83:: with SMTP id n3mr2674301pld.133.1586488028335; Thu, 09 Apr 2020 20:07:08 -0700 (PDT) Received: from localhost (181.56.30.125.dy.iij4u.or.jp. [125.30.56.181]) by smtp.gmail.com with ESMTPSA id a2sm469455pja.44.2020.04.09.20.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 20:07:07 -0700 (PDT) From: Sergey Senozhatsky X-Google-Original-From: Sergey Senozhatsky Date: Fri, 10 Apr 2020 12:07:04 +0900 To: Simon Kirby Cc: Sergey Senozhatsky , Greg Kroah-Hartman , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , linux-kernel@vger.kernel.org, Lech Perczak , Theodore Ts'o , John Ogness , Jann Horn Subject: Re: [PATCHv2] printk: queue wake_up_klogd irq_work only if per-CPU areas are ready Message-ID: <20200410030704.GA20227@jagdpanzerIV.localdomain> References: <20200303113002.63089-1-sergey.senozhatsky@gmail.com> <20200304152159.2p7d7dnztf433i24@pathway.suse.cz> <20200305013014.GA174444@google.com> <20200305185348.GB2141048@kroah.com> <20200409192543.GA30816@hostway.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200409192543.GA30816@hostway.ca> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/04/09 12:25), Simon Kirby wrote: > This causes "dmesg -w" or "cat /dev/kmsg" to not print new messages after > dumping the current ring. I hit this on v5.5.9, v5.5.15, v5.6.3, and > Linus HEAD. This prints no "hi": > > (sleep 1;echo hi > /dev/kmsg)& dmesg -w > > ...curiously, "strace dmesg -w" shows the data received once ^C is hit. > > Jann pointed me to this patch. Applying it or reverting 1b710b1b10eff9d4 > does fix it for me. However, Linus HEAD is still broken and, AFAICS, > remains unreverted and unfixed in stable/linux-5.4.y through linux-5.6.y. > It was introduced in 5.6 but backported to those, not just the LTS above. I'm trying to land this patch. Give me a moment, I'll come back to you shortly. -ss