Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2480851rwo; Thu, 3 Aug 2023 09:59:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFNqH4MSn1dVUdIjVQ1bC0XLdaDy8iVXoak2+KVHQjP6BOaJMU4Evyx7hOHRNEO91YTWrVX X-Received: by 2002:a17:90a:db87:b0:268:21f0:65e7 with SMTP id h7-20020a17090adb8700b0026821f065e7mr14214099pjv.49.1691081957449; Thu, 03 Aug 2023 09:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691081957; cv=none; d=google.com; s=arc-20160816; b=0gccrxqvNZVjvkLGqQbSQBqdbcyi2RU5z+JR2LEpvcxkHP5qH85eYuzqOaBbtzFHC8 GpANBTNaU4DwkJCyFJbiLG/A5DotWO/7GP/A/2RgL9FNipKjMd6mhs0es8EapxN2xvsN bCycAlRJ+u8AkrPWXH74a7KPhuJ0uu+oWy0hI7hKP26JEvkXp5yKVilqvc3pqU7mgYnu Lsox7FTueScSiIpCXD7Z2m1iBl/MHqsf960YZCqLMMuQCP6mpv4b2iGhAzyvEIsKK6sW 8/2iQH3vma1LpurAfe3YSmaN9r6KRo0uNTKzE5B9g6WJEXB2bEAvS5JJ2N0V7WE8KctW hneg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:cc:to:from:message-id; bh=BLznv4A0DyfHJ2Nkz32oUkKVBmlz7KEnximbDphUDTo=; fh=L0ZqzW7GwOLez6XBp3XjJwHGaxcfgFtpy0DCthPU+Ns=; b=Hj+CDmxuQngQp0a+ZWXZf7w0Gdm9+fR+BqKVOa+TWXz2y3OHYplkcaYFpTzQmUMhL9 4XWCkK2JN+OTrlqvuVx5dwfut6anM/VQiZqZ2lVo0RmagLD/DDTXAOg48uCohvHLrVbV 38SMu8Ka8J61ndBOnkqn/LPZt7gW7tsor+h27xrtS1xjTlAIQLWauUK79bBODxPGcuBi ldcLSAqAORnfeozlQUvHlsNfll6Wxzd+DdcSOOaKdqaofvt/z6UFsLgLuVjcAsbK8Ro5 FfKluCavM7bXISxr8+YJO5/QFX0Ve+hnHIqzRtOelTNM3T6zN4g3zh/I3XB+l/bkNO0A vg2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s61-20020a17090a2f4300b00263fa42fdcbsi3459386pjd.107.2023.08.03.09.58.55; Thu, 03 Aug 2023 09:59:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Message-ID: <64cbdce5.170a0220.c9c45.28faSMTPIN_ADDED_BROKEN@mx.google.com> X-Google-Original-Message-ID: <20230803071034.25571-1-tony@atomide.com> (raw) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237163AbjHCPeh (ORCPT + 99 others); Thu, 3 Aug 2023 11:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237162AbjHCPee (ORCPT ); Thu, 3 Aug 2023 11:34:34 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7575C3582; Thu, 3 Aug 2023 08:34:29 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.01,252,1684767600"; d="scan'208";a="175498302" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 04 Aug 2023 00:34:26 +0900 Received: from localhost.localdomain (unknown [10.226.93.128]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6B58E4008496; Fri, 4 Aug 2023 00:34:21 +0900 (JST) From: Biju Das To: tony@atomide.com Cc: andriy.shevchenko@intel.com, andriy.shevchenko@linux.intel.com, bigeasy@linutronix.de, d-gole@ti.com, gregkh@linuxfoundation.org, ilpo.jarvinen@linux.intel.com, jirislaby@kernel.org, johan@kernel.org, john.ogness@linutronix.de, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, oliver.sang@intel.com, vigneshr@ti.com, linux-renesas-soc@vger.kernel.org, Biju Das Subject: [PATCH v2 1/1] serial: core: Fix serial_base_match() after fixing controller port name Date: Thu, 3 Aug 2023 16:34:17 +0100 X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230803071034.25571-1-tony@atomide.com> References: <20230803071034.25571-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi, > While fixing DEVNAME to be more usable, I broke serial_base_match() as the > ctrl and port prefix for device names seemed unnecessary. > The prefixes are still needed by serial_base_match() to probe the serial > base controller port, and serial tx is now broken. > Let's fix the issue by checking against dev->type and drv->name instead > of the prefixes that are no longer in the DEVNAME. > Fixes: 1ef2c2df1199 ("serial: core: Fix serial core controller port name to show controller id") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-lkp/202308021529.35b3ad6c-oliver.sang@intel.com > Signed-off-by: Tony Lindgren This patch fixes the boot issue on RZ/G2L SMARC EVK since yesterday. Tested-by: Biju Das