Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1893750rda; Tue, 24 Oct 2023 06:39:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh+XgZHJ6roNQ4divvvE5qzd3zqu62atoq3fQEJ3VjUj5ldSKSM4r7NnOF0OaG7JVghJoZ X-Received: by 2002:a05:6359:709a:b0:168:e522:2b55 with SMTP id ub26-20020a056359709a00b00168e5222b55mr4381205rwb.22.1698154754574; Tue, 24 Oct 2023 06:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698154754; cv=none; d=google.com; s=arc-20160816; b=OkIqyRzupQeURB7Ne7ag0uQxZ8UNswXZnD/PyB3VBgJ8mSACvRaWeBUbrDsi3aAt4g ztJmKv7GM7uBtYWub0QbIBXrIbPrLoOiWCDgryL8/6+5g9ia/6SemVgWiHw174lUXnk0 D0AktOZiUXZLuXPXrfCL9KJB4yvFb5yJL1GL39Iw2wfYmFrzbKFgoJ7McEFdDl1LXzsu yzxlzzCaJHpIjdoxJXLM4WaFIUMIanPR47as+63dqwWVQntGfJUhCDdo4KKd35MvX+TR 4oHlZJHMx4U7WRyU0kioQLQLxKc4E9q6/Guf6GdxSORnrCaw73yrxK8HLLIPFWAE0b7M 426w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=2iqKT6CKfDi4u8g8VNouAmTOz/TzTG5hI1/pGW0UaBM=; fh=FryNr98imyoiXcT9qrqBF0XSFesspcfkZROd3xhYfhs=; b=MkHeREs/r/fc4iamS7BlbiVCGPYax12Rs/HTbP9ONEsf/p5LCbnf9yN9xBVLCrDo8C sM4DDg1/Po43h4fXiexZNvVIrRoXWsTpc8EohAdx7g69Ll4DZndPNmxqIRzUPNdH2h0L FOlNGUzbZqfsAUBoldqrI3kftC23ZuOCCR8ExSqqJ5ft1YPJG4uOO3mYG5GkMBOi8Qic zPKqdj7SOt66jV68rtTfWBnO+YNp0Rpcc8CEkOmeuSAuAdZe6QvBgi16ed/8lHGLsJJY WdbrL6QLOgmCvspGZLVLgLbq9rYBWarML4JY3km2eYz5S3CoN4htqsHG6oVzbWXP9JyV nUoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x64-20020a638643000000b005b8817e562dsi7612123pgd.92.2023.10.24.06.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 06:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 38424802C8E5; Tue, 24 Oct 2023 06:39:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343595AbjJXNjL (ORCPT + 99 others); Tue, 24 Oct 2023 09:39:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343650AbjJXNjA (ORCPT ); Tue, 24 Oct 2023 09:39:00 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 718E83273; Tue, 24 Oct 2023 06:37:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C955280AA; Tue, 24 Oct 2023 13:37:45 +0000 (UTC) Date: Tue, 24 Oct 2023 16:37:44 +0300 From: Tony Lindgren To: Johan Hovold Cc: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Andy Shevchenko , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Maximilian Luz Subject: Re: [RFC PATCH 1/2] serial: core: Move tty and serdev to be children of serial core port device Message-ID: <20231024133744.GN34982@atomide.com> References: <20231024113624.54364-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 06:39:13 -0700 (PDT) * Johan Hovold [231024 12:48]: > Looks like this patch breaks the wakeup-irq hack in uart_suspend_port(): > > tty_dev = device_find_child(uport->dev, &match, serial_match_port); > if (tty_dev && device_may_wakeup(tty_dev)) { > enable_irq_wake(uport->irq); > put_device(tty_dev); > mutex_unlock(&port->mutex); > return 0; > } > > There may be more of these hard-coded assumptions, this one I happened > to be aware of. OK thanks I'll take a look. Regards, Tony