All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sam Ravnborg <sam@ravnborg.org>,
	David S Miller <davem@davemloft.net>,
	sparclinux@vger.kernel.org, Andreas Larsson <andreas@gaisler.com>,
	Arnd Bergmann <arnd@kernel.org>
Cc: kbuild-all@lists.01.org, Alexey Dobriyan <adobriyan@gmail.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Anshuman Khandual <anshuman.khandual@arm.com>,
	Arvind Sankar <nivedita@alum.mit.edu>
Subject: Re: [PATCH v1 02/13] sparc32: Drop floppy support
Date: Sat, 19 Dec 2020 19:15:38 +0000	[thread overview]
Message-ID: <202012200335.PjrHqmoF-lkp@intel.com> (raw)
In-Reply-To: <20201218184347.2180772-3-sam@ravnborg.org>

[-- Attachment #1: Type: text/plain, Size: 3582 bytes --]

Hi Sam,

I love your patch! Perhaps something to improve:

[auto build test WARNING on soc/for-next]
[also build test WARNING on sparc/master v5.10 next-20201218]
[cannot apply to sparc-next/master]
[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/Sam-Ravnborg/sparc32-sunset-sun4m-and-sun4d/20201219-025354
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-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
        # https://github.com/0day-ci/linux/commit/00216b8cb055593d3f761d58e2f167ef4b425871
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Sam-Ravnborg/sparc32-sunset-sun4m-and-sun4d/20201219-025354
        git checkout 00216b8cb055593d3f761d58e2f167ef4b425871
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/block/floppy.c:251:
>> arch/sparc/include/asm/floppy.h:200:13: warning: no previous prototype for 'sparc_floppy_irq' [-Wmissing-prototypes]
     200 | irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie)
         |             ^~~~~~~~~~~~~~~~
   In file included from drivers/block/floppy.c:251:
>> arch/sparc/include/asm/floppy.h:437:6: warning: no previous prototype for 'sun_pci_fd_dma_callback' [-Wmissing-prototypes]
     437 | void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie)
         |      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/sparc_floppy_irq +200 arch/sparc/include/asm/floppy.h

   199	
 > 200	irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie)
   201	{
   202		if (likely(doing_pdma)) {
   203			void __iomem *stat = (void __iomem *) fdc_status;
   204			unsigned char *vaddr = pdma_vaddr;
   205			unsigned long size = pdma_size;
   206			u8 val;
   207	
   208			while (size) {
   209				val = readb(stat);
   210				if (unlikely(!(val & 0x80))) {
   211					pdma_vaddr = vaddr;
   212					pdma_size = size;
   213					return IRQ_HANDLED;
   214				}
   215				if (unlikely(!(val & 0x20))) {
   216					pdma_vaddr = vaddr;
   217					pdma_size = size;
   218					doing_pdma = 0;
   219					goto main_interrupt;
   220				}
   221				if (val & 0x40) {
   222					/* read */
   223					*vaddr++ = readb(stat + 1);
   224				} else {
   225					unsigned char data = *vaddr++;
   226	
   227					/* write */
   228					writeb(data, stat + 1);
   229				}
   230				size--;
   231			}
   232	
   233			pdma_vaddr = vaddr;
   234			pdma_size = size;
   235	
   236			/* Send Terminal Count pulse to floppy controller. */
   237			val = readb(auxio_register);
   238			val |= AUXIO_AUX1_FTCNT;
   239			writeb(val, auxio_register);
   240			val &= ~AUXIO_AUX1_FTCNT;
   241			writeb(val, auxio_register);
   242	
   243			doing_pdma = 0;
   244		}
   245	
   246	main_interrupt:
   247		return floppy_interrupt(irq, dev_cookie);
   248	}
   249	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67961 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v1 02/13] sparc32: Drop floppy support
Date: Sun, 20 Dec 2020 03:15:38 +0800	[thread overview]
Message-ID: <202012200335.PjrHqmoF-lkp@intel.com> (raw)
In-Reply-To: <20201218184347.2180772-3-sam@ravnborg.org>

[-- Attachment #1: Type: text/plain, Size: 3681 bytes --]

Hi Sam,

I love your patch! Perhaps something to improve:

[auto build test WARNING on soc/for-next]
[also build test WARNING on sparc/master v5.10 next-20201218]
[cannot apply to sparc-next/master]
[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/Sam-Ravnborg/sparc32-sunset-sun4m-and-sun4d/20201219-025354
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-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
        # https://github.com/0day-ci/linux/commit/00216b8cb055593d3f761d58e2f167ef4b425871
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Sam-Ravnborg/sparc32-sunset-sun4m-and-sun4d/20201219-025354
        git checkout 00216b8cb055593d3f761d58e2f167ef4b425871
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/block/floppy.c:251:
>> arch/sparc/include/asm/floppy.h:200:13: warning: no previous prototype for 'sparc_floppy_irq' [-Wmissing-prototypes]
     200 | irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie)
         |             ^~~~~~~~~~~~~~~~
   In file included from drivers/block/floppy.c:251:
>> arch/sparc/include/asm/floppy.h:437:6: warning: no previous prototype for 'sun_pci_fd_dma_callback' [-Wmissing-prototypes]
     437 | void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie)
         |      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/sparc_floppy_irq +200 arch/sparc/include/asm/floppy.h

   199	
 > 200	irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie)
   201	{
   202		if (likely(doing_pdma)) {
   203			void __iomem *stat = (void __iomem *) fdc_status;
   204			unsigned char *vaddr = pdma_vaddr;
   205			unsigned long size = pdma_size;
   206			u8 val;
   207	
   208			while (size) {
   209				val = readb(stat);
   210				if (unlikely(!(val & 0x80))) {
   211					pdma_vaddr = vaddr;
   212					pdma_size = size;
   213					return IRQ_HANDLED;
   214				}
   215				if (unlikely(!(val & 0x20))) {
   216					pdma_vaddr = vaddr;
   217					pdma_size = size;
   218					doing_pdma = 0;
   219					goto main_interrupt;
   220				}
   221				if (val & 0x40) {
   222					/* read */
   223					*vaddr++ = readb(stat + 1);
   224				} else {
   225					unsigned char data = *vaddr++;
   226	
   227					/* write */
   228					writeb(data, stat + 1);
   229				}
   230				size--;
   231			}
   232	
   233			pdma_vaddr = vaddr;
   234			pdma_size = size;
   235	
   236			/* Send Terminal Count pulse to floppy controller. */
   237			val = readb(auxio_register);
   238			val |= AUXIO_AUX1_FTCNT;
   239			writeb(val, auxio_register);
   240			val &= ~AUXIO_AUX1_FTCNT;
   241			writeb(val, auxio_register);
   242	
   243			doing_pdma = 0;
   244		}
   245	
   246	main_interrupt:
   247		return floppy_interrupt(irq, dev_cookie);
   248	}
   249	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 67961 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Sam Ravnborg <sam@ravnborg.org>,
	David S Miller <davem@davemloft.net>,
	sparclinux@vger.kernel.org, Andreas Larsson <andreas@gaisler.com>,
	Arnd Bergmann <arnd@kernel.org>
Cc: kbuild-all@lists.01.org, Alexey Dobriyan <adobriyan@gmail.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Anshuman Khandual <anshuman.khandual@arm.com>,
	Arvind Sankar <nivedita@alum.mit.edu>
Subject: Re: [PATCH v1 02/13] sparc32: Drop floppy support
Date: Sun, 20 Dec 2020 03:15:38 +0800	[thread overview]
Message-ID: <202012200335.PjrHqmoF-lkp@intel.com> (raw)
In-Reply-To: <20201218184347.2180772-3-sam@ravnborg.org>

[-- Attachment #1: Type: text/plain, Size: 3582 bytes --]

Hi Sam,

I love your patch! Perhaps something to improve:

[auto build test WARNING on soc/for-next]
[also build test WARNING on sparc/master v5.10 next-20201218]
[cannot apply to sparc-next/master]
[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/Sam-Ravnborg/sparc32-sunset-sun4m-and-sun4d/20201219-025354
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-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
        # https://github.com/0day-ci/linux/commit/00216b8cb055593d3f761d58e2f167ef4b425871
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Sam-Ravnborg/sparc32-sunset-sun4m-and-sun4d/20201219-025354
        git checkout 00216b8cb055593d3f761d58e2f167ef4b425871
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/block/floppy.c:251:
>> arch/sparc/include/asm/floppy.h:200:13: warning: no previous prototype for 'sparc_floppy_irq' [-Wmissing-prototypes]
     200 | irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie)
         |             ^~~~~~~~~~~~~~~~
   In file included from drivers/block/floppy.c:251:
>> arch/sparc/include/asm/floppy.h:437:6: warning: no previous prototype for 'sun_pci_fd_dma_callback' [-Wmissing-prototypes]
     437 | void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie)
         |      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/sparc_floppy_irq +200 arch/sparc/include/asm/floppy.h

   199	
 > 200	irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie)
   201	{
   202		if (likely(doing_pdma)) {
   203			void __iomem *stat = (void __iomem *) fdc_status;
   204			unsigned char *vaddr = pdma_vaddr;
   205			unsigned long size = pdma_size;
   206			u8 val;
   207	
   208			while (size) {
   209				val = readb(stat);
   210				if (unlikely(!(val & 0x80))) {
   211					pdma_vaddr = vaddr;
   212					pdma_size = size;
   213					return IRQ_HANDLED;
   214				}
   215				if (unlikely(!(val & 0x20))) {
   216					pdma_vaddr = vaddr;
   217					pdma_size = size;
   218					doing_pdma = 0;
   219					goto main_interrupt;
   220				}
   221				if (val & 0x40) {
   222					/* read */
   223					*vaddr++ = readb(stat + 1);
   224				} else {
   225					unsigned char data = *vaddr++;
   226	
   227					/* write */
   228					writeb(data, stat + 1);
   229				}
   230				size--;
   231			}
   232	
   233			pdma_vaddr = vaddr;
   234			pdma_size = size;
   235	
   236			/* Send Terminal Count pulse to floppy controller. */
   237			val = readb(auxio_register);
   238			val |= AUXIO_AUX1_FTCNT;
   239			writeb(val, auxio_register);
   240			val &= ~AUXIO_AUX1_FTCNT;
   241			writeb(val, auxio_register);
   242	
   243			doing_pdma = 0;
   244		}
   245	
   246	main_interrupt:
   247		return floppy_interrupt(irq, dev_cookie);
   248	}
   249	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67961 bytes --]

  parent reply	other threads:[~2020-12-19 19:15 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 18:43 [RFC PATCH 0/13] sparc32: sunset sun4m and sun4d Sam Ravnborg
2020-12-18 18:43 ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 01/13] sparc32: Drop sun4m/sun4d support from head_32.S Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:52   ` Jan Engelhardt
2020-12-18 18:52     ` Jan Engelhardt
2020-12-18 21:18     ` Sam Ravnborg
2020-12-18 21:18       ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 02/13] sparc32: Drop floppy support Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 20:57   ` Arnd Bergmann
2020-12-18 20:57     ` Arnd Bergmann
2020-12-18 21:16     ` Sam Ravnborg
2020-12-18 21:16       ` Sam Ravnborg
2020-12-19 19:15   ` kernel test robot [this message]
2020-12-19 19:15     ` kernel test robot
2020-12-19 19:15     ` kernel test robot
2020-12-18 18:43 ` [PATCH v1 03/13] sparc32: Drop sun4m specific led driver Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 04/13] sparc32: Drop auxio support Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 05/13] sparc32: Drop run-time patching of ipi trap Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 06/13] sparc32: Drop patching of interrupt vector Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 07/13] sparc32: Drop sun4m/sun4d specific irq handling Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 08/13] sparc32: Drop sun4d/sun4m smp support Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 09/13] sparc32: Drop pcic support Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 10/13] sparc32: Drop mbus support Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 11/13] sparc32: Drop unused mmu models Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-30  6:26   ` kernel test robot
2020-12-30  6:26     ` kernel test robot
2020-12-30  6:26     ` kernel test robot
2020-12-30  6:26   ` [PATCH] sparc32: fix badzero.cocci warnings kernel test robot
2020-12-30  6:26     ` kernel test robot
2020-12-30  6:26     ` kernel test robot
2020-12-18 18:43 ` [PATCH v1 12/13] sparc32: drop check for sparc_model Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 18:43 ` [PATCH v1 13/13] sparc32: drop use of sparc_config Sam Ravnborg
2020-12-18 18:43   ` Sam Ravnborg
2020-12-18 21:41 ` [RFC PATCH 0/13] sparc32: sunset sun4m and sun4d Arnd Bergmann
2020-12-18 21:41   ` Arnd Bergmann
2020-12-18 22:28 ` Kjetil Oftedal
2020-12-18 22:28   ` Kjetil Oftedal
2020-12-19 21:40 ` Sam Ravnborg
2020-12-19 21:40   ` Sam Ravnborg
2020-12-19 21:57   ` John Paul Adrian Glaubitz
2020-12-19 21:57     ` John Paul Adrian Glaubitz
2020-12-20  7:43   ` Romain Dolbeau
2020-12-20  7:43     ` Romain Dolbeau
2020-12-20  8:54     ` Julian Calaby
2020-12-20  8:54       ` Julian Calaby
2020-12-20  9:25       ` Romain Dolbeau
2020-12-20  9:25         ` Romain Dolbeau
2020-12-20  9:53         ` Julian Calaby
2020-12-20  9:53           ` Julian Calaby
2020-12-20 14:22       ` David Laight
2020-12-20 14:22         ` David Laight
2020-12-20 19:41 ` chase rayfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202012200335.PjrHqmoF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=andreas@gaisler.com \
    --cc=anshuman.khandual@arm.com \
    --cc=arnd@kernel.org \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=nivedita@alum.mit.edu \
    --cc=sam@ravnborg.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.