From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98C32C2BA83 for ; Fri, 14 Feb 2020 19:06:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69FB2222C2 for ; Fri, 14 Feb 2020 19:06:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387753AbgBNTGG (ORCPT ); Fri, 14 Feb 2020 14:06:06 -0500 Received: from muru.com ([72.249.23.125]:55378 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387398AbgBNTGG (ORCPT ); Fri, 14 Feb 2020 14:06:06 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 6B90C80E7; Fri, 14 Feb 2020 19:06:50 +0000 (UTC) Date: Fri, 14 Feb 2020 11:06:03 -0800 From: Tony Lindgren To: Andy Shevchenko Cc: Russell King - ARM Linux admin , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, Sebastian Andrzej Siewior Subject: Re: [PATCH v2 5/8] serial: 8250_port: Don't use power management for kernel console Message-ID: <20200214190603.GT16391@atomide.com> References: <20200214114339.53897-1-andriy.shevchenko@linux.intel.com> <20200214114339.53897-6-andriy.shevchenko@linux.intel.com> <20200214133918.GP25745@shell.armlinux.org.uk> <20200214171348.GP16391@atomide.com> <20200214180935.GP10400@smile.fi.intel.com> <20200214184251.GR16391@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200214184251.GR16391@atomide.com> Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org * Tony Lindgren [200214 10:42]: > OK. So far no luck getting console UART idled after detaching the > console with: > > # echo N > /sys/class/tty/ttyS2/console > > Any ideas what might be missing still? Looks like echo Y keeps increasing the usage count while echo N will never decrease it currently. Is port->dev maybe already NULL in serial8250_console_exit() or something? This is still without the series you listed as a dependency though. I need to test with that later on today when I get a chance. Regards, Tony