Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3489280rdh; Thu, 28 Sep 2023 13:13:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyMv3LxlInvT8f4ySLHp3/ulzObEvWEnprBItht5uhulJUEVaSn+UpmaQwerI2uEP+lPcX X-Received: by 2002:a05:6a21:4985:b0:140:c838:2b2e with SMTP id ax5-20020a056a21498500b00140c8382b2emr2271254pzc.22.1695932028547; Thu, 28 Sep 2023 13:13:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695932028; cv=none; d=google.com; s=arc-20160816; b=hekeWtWMpEiQAkPkFj8B4FkBetUETTj4Lq3LfrUrO6qfdpr43hUfX31cw+F9M/wXkf 8xK6BrMagYQc28IdQmyaZMjvSiIbMpIdwulRJkefog7GJc4YwQ3MmoeHVUM0HZnI2r5V k0anLP6AqwMq0J7var/z5+Nk7JTfg0dK4tFyY2MHLA/7nip2bSTWmnP5KaMycuIhS39W EFkBmnAGflqdUegbSSP3J3fq23t6Xtyj0Ekapl88slZt2fEacQAduBcVKsfSaBuShEFV vgfSYLsMCEGGjf+wG17Uzenh9gnKHeL/0mvafCg+36+wHIJKjnDDbgov239mmKkiQUo+ 7PVA== 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:dkim-signature; bh=Cd3o4/MZL5nFvwsUESk0jY+OkLRC0vR+0TEV4hrlXKQ=; fh=gHONHtPVlew5OPUv6lCtAfaZ3LWAu6zQ4Yb3C6M5FlE=; b=y/L5+K6abRWmbnL1EDfKjfVceHA9ML3e7+PnNTrbNPEjD/qBjEnrzpCzVzbfa2FeMk KbwwOaYxJznXDv7zxu8fj3jXwtdWPKfU6HFV5RxtSJmusUWH7duEwh7SJTciVVkhY3F8 La+d8NqvgDf8oXsJkP2Tvcuu4mcqfdN6YaE9yZicOyFRxxV55McxG8OnPVmvcHtl/e/V uOKgTsZKre1VhXZoOWAlQLCnYF0AzY/uAtKRe0d13xBlCMO3rq/ufU0V1Fx8W3jVewxY 3oRE/43DSua7rCJFvOFDf4Zezhdlr2Gx8a2gdyuvAktmpMnfeCjkuHVBwLC5famDBU2V MMFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KRb4v11d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c21-20020a17090aa61500b002776c8df9b7si9612315pjq.144.2023.09.28.13.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 13:13:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KRb4v11d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 07E8D819458F; Thu, 28 Sep 2023 11:13:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231696AbjI1SNf (ORCPT + 99 others); Thu, 28 Sep 2023 14:13:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbjI1SNe (ORCPT ); Thu, 28 Sep 2023 14:13:34 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B2F019E; Thu, 28 Sep 2023 11:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695924812; x=1727460812; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oWG7lOLK2ncHmaeq7gB1uceRdN0w6sIbgk+5a3Wz1lk=; b=KRb4v11da51cbBB1CPfUkNTmo2fFJkA3o86jYJ9Q9c/tbpHdMztlsOs+ Bd/Rvwm2wHwB1TtiYkvm7cjrxulLuOhPxrDw9FRZevoGpDHqxw4ff8XLw w5Dv0ZGzsyaz8E9JyanljZyDvNG3xfbcO6DaUMqHADK3405PZWE1HVuqd 8jiMGsuRWK7QCY64KNu6W31Fjeei8B98nqUCtm8hQcTJzdKxfTNc6fd28 fZbFANBj8Ii9LBVl09nrSbii8NjsMTWqw+tZtncZys/19RZ8eJ4O6HRty D3hjF9aR03cEiNXQ/LJu/MvXFsIhnxVHP6+hzJLa2Xstk0PCb2kZsXQuD A==; X-IronPort-AV: E=McAfee;i="6600,9927,10847"; a="362378478" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="362378478" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 11:12:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10847"; a="753094219" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="753094219" Received: from lkp-server02.sh.intel.com (HELO c3b01524d57c) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 28 Sep 2023 11:12:20 -0700 Received: from kbuild by c3b01524d57c with local (Exim 4.96) (envelope-from ) id 1qlvUo-0001n3-0x; Thu, 28 Sep 2023 18:12:18 +0000 Date: Fri, 29 Sep 2023 02:11:40 +0800 From: kernel test robot To: Tony Lindgren , Greg Kroah-Hartman , Jiri Slaby Cc: oe-kbuild-all@lists.linux.dev, Andy Shevchenko , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH] serial: 8250_omap: Drop pm_runtime_irq_safe() Message-ID: <202309290255.uEGVqQAE-lkp@intel.com> References: <20230928080358.2693-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230928080358.2693-1-tony@atomide.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Thu, 28 Sep 2023 11:13:50 -0700 (PDT) Hi Tony, kernel test robot noticed the following build warnings: [auto build test WARNING on tty/tty-testing] [also build test WARNING on tty/tty-next tty/tty-linus usb/usb-testing usb/usb-next usb/usb-linus linus/master v6.6-rc3 next-20230928] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Tony-Lindgren/serial-8250_omap-Drop-pm_runtime_irq_safe/20230928-160501 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing patch link: https://lore.kernel.org/r/20230928080358.2693-1-tony%40atomide.com patch subject: [PATCH] serial: 8250_omap: Drop pm_runtime_irq_safe() config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20230929/202309290255.uEGVqQAE-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230929/202309290255.uEGVqQAE-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309290255.uEGVqQAE-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/tty/serial/8250/8250_omap.c: In function 'omap8250_irq': >> drivers/tty/serial/8250/8250_omap.c:688:1: warning: label 'out_runtime_put' defined but not used [-Wunused-label] 688 | out_runtime_put: | ^~~~~~~~~~~~~~~ vim +/out_runtime_put +688 drivers/tty/serial/8250/8250_omap.c 651 652 lsr = serial_port_in(port, UART_LSR); 653 iir = serial_port_in(port, UART_IIR); 654 ret = serial8250_handle_irq(port, iir); 655 656 /* 657 * On K3 SoCs, it is observed that RX TIMEOUT is signalled after 658 * FIFO has been drained, in which case a dummy read of RX FIFO 659 * is required to clear RX TIMEOUT condition. 660 */ 661 if (priv->habit & UART_RX_TIMEOUT_QUIRK && 662 (iir & UART_IIR_RX_TIMEOUT) == UART_IIR_RX_TIMEOUT && 663 serial_port_in(port, UART_OMAP_RX_LVL) == 0) { 664 serial_port_in(port, UART_RX); 665 } 666 667 /* Stop processing interrupts on input overrun */ 668 if ((lsr & UART_LSR_OE) && up->overrun_backoff_time_ms > 0) { 669 unsigned long delay; 670 671 /* Synchronize UART_IER access against the console. */ 672 uart_port_lock(port); 673 up->ier = port->serial_in(port, UART_IER); 674 if (up->ier & (UART_IER_RLSI | UART_IER_RDI)) { 675 port->ops->stop_rx(port); 676 } else { 677 /* Keep restarting the timer until 678 * the input overrun subsides. 679 */ 680 cancel_delayed_work(&up->overrun_backoff); 681 } 682 uart_port_unlock(port); 683 684 delay = msecs_to_jiffies(up->overrun_backoff_time_ms); 685 schedule_delayed_work(&up->overrun_backoff, delay); 686 } 687 > 688 out_runtime_put: 689 pm_runtime_mark_last_busy(port->dev); 690 pm_runtime_put(port->dev); 691 692 return IRQ_RETVAL(ret); 693 } 694 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki