Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1881688ybh; Fri, 17 Jul 2020 03:54:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb+cL8DKfeJYiai5fbrp9Puff/y6ajyUHBflIarc5Ld0HVJH5mG1w552KyVAsZa7IRCbgp X-Received: by 2002:a05:6402:b79:: with SMTP id cb25mr8395953edb.154.1594983258028; Fri, 17 Jul 2020 03:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594983258; cv=none; d=google.com; s=arc-20160816; b=p15Y+Yvrgl3oT2qvfztw1jnfBZ8T8KuYh/Tsz65CIwtUYLcOw0WSbHKZFYUTKtOfOp WNOKmTFadfXIS8gweLFn4D5Vl5TY4MtAksynFkk3gWk6VID59OIiOhJ2s1tFK28OOIft KZnpMh+DwXybSYYkXUimO0BbZHKCQ8WZRIyXAKbXflEtezbgYroxJKeff4Tfz/eq3ko3 4MKMyElIFEUE35jINaDql1xGKUdpWGudtDUtSRTHctUabq3X+n9SN59zzEgSprwQzs+o 6vU7korzDyU2hqmrzW8RfxTvtWSuX8+dAMdCM1Jw9/Nrsxl4BpqhmEqkzyEnKFPWKXn4 nxHA== 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:from:date :dkim-signature; bh=2bwXFrznnY2iWmla93PUebHr1KkoR2fOrK6BbwNy124=; b=rg+FCOeG+Nkq43JMV1bLwaYlLHXl6WO2DRex4udWhc8pdgOJ+cmceyJoBgN8T9+kAw glxzcaLs6RI3au8RzbRNA1n2WXiCtzQg34zaLidgBGHadnImMLfzW1tVEcHfj3uMG+6R 36WMGt8p4kOeCfnXY8PUdCIwaN8WO8Sy8bKmc9bSmFUKlf+rLCvPMtgh7ZELxlPe1o/5 NrqCaUkSxn5NQiQVANf4FItXute/JfwT6qoOXqHbLJMedqXQtZJgIgmQXHIioO9IFXnN KgZk0t9LhyH7hqnwvF/3JZrtAvBBDNHuYk6+YWyluQWNjaJ/5NQtPO71ovb6nrNd+bd4 SIjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cdXNAgiO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j23si4981821edy.251.2020.07.17.03.53.55; Fri, 17 Jul 2020 03:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cdXNAgiO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726221AbgGQKxk (ORCPT + 99 others); Fri, 17 Jul 2020 06:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbgGQKxj (ORCPT ); Fri, 17 Jul 2020 06:53:39 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE00C061755; Fri, 17 Jul 2020 03:53:39 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id u185so5231101pfu.1; Fri, 17 Jul 2020 03:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2bwXFrznnY2iWmla93PUebHr1KkoR2fOrK6BbwNy124=; b=cdXNAgiOel5unZSTS0T6oRHYNG4z9RMO+Eat77I1s/hrZVFdyC/kgyrRUvGLWjLFf1 GROIyA+diXw+9ZAF4p+5U2G/Qh4mC2cOCw3CloxHpbQWWkxWzij6AicaD86K/Qxtu2nE re4wo1h2RV5+IVjrx+G8FQTJ5ihDIvIt9FW7U9pc5/2uaL3O5higUNsA5MG/VNWuMxYG NJqfOQYHDIJwe8qCs1UAcHg+vjviWQOB+UfTHDhVkwTzyxVJ2QbayW4R8ooBW/H47q05 SBYKFy4TFS+RPFzLxrvtLvpOxKHKeVTMspCVEMQl7H+FCz88F2KaVaEkJe2VeplXeqof ooBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2bwXFrznnY2iWmla93PUebHr1KkoR2fOrK6BbwNy124=; b=alYKamqd7qEdpm055tdQOpfFkGoi456Spep1NE3QyijSvRlJujsH3Gmz8s5pjHx9e1 fQNLig4FOIgJXHEzVywf/7/H3A4wPEBIL9IWBigWyuniDgthqfQeM2HP93xN7V30fPdl 5q+JxDrKmsPgVEhiFQIYONjby/9jFS4x60fpvE6x+UA+hW0T5lIDCxMw9S8zVrlj8jwY 4SHzwZLI+D4iwq6uR609p53DVupvrhSBpZuYgUOCFg0iopH+ELXwVq9Vmy+hTW56UHJT kZXUX5TSVmyY+n2WOtG1h/KJjDrWz1M3QmnsL5UmFpoT/fvmvvyKtG1XtC0CEZA6tY9+ dmyw== X-Gm-Message-State: AOAM532P1aNa6mUkA1C8RmYKY0R8qV9+PRb3kfQ2sAfnP/dBKdioXJvj +7RTYf7WN1/rzYuuhhqosew= X-Received: by 2002:a63:338c:: with SMTP id z134mr7935521pgz.245.1594983218830; Fri, 17 Jul 2020 03:53:38 -0700 (PDT) Received: from gmail.com ([103.105.153.67]) by smtp.gmail.com with ESMTPSA id y6sm7617934pfp.7.2020.07.17.03.53.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 03:53:38 -0700 (PDT) Date: Fri, 17 Jul 2020 16:21:57 +0530 From: Vaibhav Gupta To: Hans Verkuil Cc: linux-media@vger.kernel.org, Bjorn Helgaas , Vaibhav Gupta , Mauro Carvalho Chehab , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan Subject: Re: [PATCH v2 4/6] cx88: use generic power management Message-ID: <20200717105157.GA453960@gmail.com> References: <20200717035608.97254-5-vaibhavgupta40@gmail.com> <202007171515.gDbDZtkQ%lkp@intel.com> <20200717072440.GA217230@gmail.com> <20200717103105.GA452501@gmail.com> <1b3303cb-31c1-f7a6-d6eb-c64cd6f40db6@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1b3303cb-31c1-f7a6-d6eb-c64cd6f40db6@xs4all.nl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 17, 2020 at 12:49:43PM +0200, Hans Verkuil wrote: > On 17/07/2020 12:31, Vaibhav Gupta wrote: > > On Fri, Jul 17, 2020 at 12:54:40PM +0530, Vaibhav Gupta wrote: > >> On Fri, Jul 17, 2020 at 03:14:28PM +0800, kernel test robot wrote: > >>> Hi Vaibhav, > >>> > >>> Thank you for the patch! Yet something to improve: > >>> > >>> [auto build test ERROR on linuxtv-media/master] > >>> [also build test ERROR on pci/next v5.8-rc5 next-20200716] > >>> [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] > >>> > >>> url: https://github.com/0day-ci/linux/commits/Vaibhav-Gupta/pci-use-generic-power-management/20200717-120145 > >>> base: git://linuxtv.org/media_tree.git master > >>> config: s390-allmodconfig (attached as .config) > >>> compiler: s390-linux-gcc (GCC) 9.3.0 > >>> reproduce (this is a W=1 build): > >>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > >>> chmod +x ~/bin/make.cross > >>> # save the attached .config to linux build tree > >>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 > >>> > >>> If you fix the issue, kindly add following tag as appropriate > >>> Reported-by: kernel test robot > >>> > >>> All errors (new ones prefixed by >>): > >>> > >>> drivers/media/pci/cx88/cx88-video.c: In function 'cx8800_suspend': > >>>>> drivers/media/pci/cx88/cx88-video.c:1564:3: error: implicit declaration of function 'stop_video_dma'; did you mean 'start_video_dma'? [-Werror=implicit-function-declaration] > >>> 1564 | stop_video_dma(dev); > >>> | ^~~~~~~~~~~~~~ > >>> | start_video_dma > >>> drivers/media/pci/cx88/cx88-video.c: In function 'cx8800_resume': > >>>>> drivers/media/pci/cx88/cx88-video.c:1600:3: error: implicit declaration of function 'restart_video_queue'; did you mean 'start_video_dma'? [-Werror=implicit-function-declaration] > >>> 1600 | restart_video_queue(dev, &dev->vidq); > >>> | ^~~~~~~~~~~~~~~~~~~ > >>> | start_video_dma > >>> cc1: some warnings being treated as errors > >>> > >>> vim +1564 drivers/media/pci/cx88/cx88-video.c > >>> > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1553 > >>> 3bdbfebc5677cf drivers/media/pci/cx88/cx88-video.c Vaibhav Gupta 2020-07-17 1554 static int __maybe_unused cx8800_suspend(struct device *dev_d) > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1555 { > >>> 3bdbfebc5677cf drivers/media/pci/cx88/cx88-video.c Vaibhav Gupta 2020-07-17 1556 struct cx8800_dev *dev = dev_get_drvdata(dev_d); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1557 struct cx88_core *core = dev->core; > >>> 5ddfbbb9ca2e74 drivers/media/pci/cx88/cx88-video.c Alexey Khoroshilov 2013-04-13 1558 unsigned long flags; > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1559 > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1560 /* stop video+vbi capture */ > >>> 5ddfbbb9ca2e74 drivers/media/pci/cx88/cx88-video.c Alexey Khoroshilov 2013-04-13 1561 spin_lock_irqsave(&dev->slock, flags); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1562 if (!list_empty(&dev->vidq.active)) { > >>> 65bc2fe86e6670 drivers/media/pci/cx88/cx88-video.c Mauro Carvalho Chehab 2016-11-13 1563 pr_info("suspend video\n"); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 @1564 stop_video_dma(dev); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1565 } > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1566 if (!list_empty(&dev->vbiq.active)) { > >>> 65bc2fe86e6670 drivers/media/pci/cx88/cx88-video.c Mauro Carvalho Chehab 2016-11-13 1567 pr_info("suspend vbi\n"); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1568 cx8800_stop_vbi_dma(dev); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1569 } > >>> 5ddfbbb9ca2e74 drivers/media/pci/cx88/cx88-video.c Alexey Khoroshilov 2013-04-13 1570 spin_unlock_irqrestore(&dev->slock, flags); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1571 > >>> 13595a51c0da8e drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2007-10-01 1572 if (core->ir) > >>> 92f4fc10d7ba01 drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2010-03-31 1573 cx88_ir_stop(core); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1574 /* FIXME -- shutdown device */ > >>> e52e98a7eccfb0 drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2005-09-09 1575 cx88_shutdown(core); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1576 > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1577 dev->state.disabled = 1; > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1578 return 0; > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1579 } > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1580 > >>> 3bdbfebc5677cf drivers/media/pci/cx88/cx88-video.c Vaibhav Gupta 2020-07-17 1581 static int __maybe_unused cx8800_resume(struct device *dev_d) > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1582 { > >>> 3bdbfebc5677cf drivers/media/pci/cx88/cx88-video.c Vaibhav Gupta 2020-07-17 1583 struct cx8800_dev *dev = dev_get_drvdata(dev_d); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1584 struct cx88_core *core = dev->core; > >>> 5ddfbbb9ca2e74 drivers/media/pci/cx88/cx88-video.c Alexey Khoroshilov 2013-04-13 1585 unsigned long flags; > >>> 08adb9e20be83b drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2005-09-09 1586 > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1587 dev->state.disabled = 0; > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1588 > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1589 /* FIXME: re-initialize hardware */ > >>> e52e98a7eccfb0 drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2005-09-09 1590 cx88_reset(core); > >>> 13595a51c0da8e drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2007-10-01 1591 if (core->ir) > >>> 92f4fc10d7ba01 drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2010-03-31 1592 cx88_ir_start(core); > >>> 13595a51c0da8e drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2007-10-01 1593 > >>> 13595a51c0da8e drivers/media/video/cx88/cx88-video.c Mauro Carvalho Chehab 2007-10-01 1594 cx_set(MO_PCI_INTMSK, core->pci_irqmask); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1595 > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1596 /* restart video+vbi capture */ > >>> 5ddfbbb9ca2e74 drivers/media/pci/cx88/cx88-video.c Alexey Khoroshilov 2013-04-13 1597 spin_lock_irqsave(&dev->slock, flags); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1598 if (!list_empty(&dev->vidq.active)) { > >>> 65bc2fe86e6670 drivers/media/pci/cx88/cx88-video.c Mauro Carvalho Chehab 2016-11-13 1599 pr_info("resume video\n"); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 @1600 restart_video_queue(dev, &dev->vidq); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1601 } > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1602 if (!list_empty(&dev->vbiq.active)) { > >>> 65bc2fe86e6670 drivers/media/pci/cx88/cx88-video.c Mauro Carvalho Chehab 2016-11-13 1603 pr_info("resume vbi\n"); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1604 cx8800_restart_vbi_queue(dev, &dev->vbiq); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1605 } > >>> 5ddfbbb9ca2e74 drivers/media/pci/cx88/cx88-video.c Alexey Khoroshilov 2013-04-13 1606 spin_unlock_irqrestore(&dev->slock, flags); > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1607 > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1608 return 0; > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1609 } > >>> ^1da177e4c3f41 drivers/media/video/cx88/cx88-video.c Linus Torvalds 2005-04-16 1610 > >>> > >>> --- > >>> 0-DAY CI Kernel Test Service, Intel Corporation > >>> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > >> > >> Got it. Thanks! > >> Fixed in v3. > >> > >> --Vaibhav Gupta > > > > I fixed the error reported, in this v2 patch-series, by Kbuild and floated v3 > > in the mailing list. > > But then I got notification from "[linux-media] Patchwork". It has applied my > > v2 patch series. Please use v3. > > The message you got should say that is was superseded, not accepted. yes. > > I only marked v2 as Superseded, it wasn't applied. Okay. Thanks for clarification! :) --Vaibhav Gupta > > Regards, > > Hans > > > > > --Vaibhav Gupta > > >