mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the fsl tree
@ 2026-07-10 12:08 Mark Brown
  2026-07-11  7:45 ` Christophe Leroy (CS GROUP)
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2026-07-10 12:08 UTC (permalink / raw)
  To: Christophe Leroy; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the fsl tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

/tmp/next/build/drivers/usb/host/fhci-hcd.c:32:10: fatal error: 'asm/fsl_gtm.h' file not found
   32 | #include <asm/fsl_gtm.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/usb/host/fhci-hcd.o] Error 1
make[6]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/drivers/usb/host/fhci-q.c:22:
/tmp/next/build/drivers/usb/host/fhci.h:449:9: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  449 |         return in_be16(&fhci->pram->frame_num) & 0x07ff;
      |                ^
1 error generated.
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/usb/host/fhci-q.o] Error 1
In file included from /tmp/next/build/drivers/usb/host/fhci-hub.c:24:
/tmp/next/build/drivers/usb/host/fhci.h:449:9: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  449 |         return in_be16(&fhci->pram->frame_num) & 0x07ff;
      |                ^
/tmp/next/build/drivers/usb/host/fhci-hub.c:95:2: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   95 |         out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk);
      |         ^
/tmp/next/build/drivers/usb/host/fhci-hub.c:156:9: error: call to undeclared function 'in_8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  156 |         mode = in_8(&fhci->regs->usb_usmod);
      |                ^
/tmp/next/build/drivers/usb/host/fhci-hub.c:157:2: error: call to undeclared function 'out_8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  157 |         out_8(&fhci->regs->usb_usmod, mode & (~USB_MODE_EN));
      |         ^
/tmp/next/build/drivers/usb/host/fhci-hub.c:160:9: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  160 |         mask = in_be16(&fhci->regs->usb_usbmr);
      |                ^
/tmp/next/build/drivers/usb/host/fhci-hub.c:161:2: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  161 |         out_be16(&fhci->regs->usb_usbmr, mask & (~USB_E_IDLE_MASK));
      |         ^
6 errors generated.
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/usb/host/fhci-hub.o] Error 1
In file included from /tmp/next/build/drivers/usb/host/fhci-mem.c:21:
/tmp/next/build/drivers/usb/host/fhci.h:449:9: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  449 |         return in_be16(&fhci->pram->frame_num) & 0x07ff;
      |                ^
1 error generated.
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/usb/host/fhci-mem.o] Error 1
/tmp/next/build/drivers/usb/host/fhci-sched.c:25:10: fatal error: 'asm/fsl_gtm.h' file not found
   25 | #include <asm/fsl_gtm.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/usb/host/fhci-sched.o] Error 1
In file included from /tmp/next/build/drivers/usb/host/fhci-tds.c:22:
/tmp/next/build/drivers/usb/host/fhci.h:449:9: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  449 |         return in_be16(&fhci->pram->frame_num) & 0x07ff;
      |                ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:85:19: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   85 |                 u16 td_status = in_be16(&ep->empty_td->status);
      |                                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:87:3: error: call to undeclared function 'out_be32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   87 |                 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:213:3: error: call to undeclared function 'out_be32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  213 |                 out_be32(&td->buf_ptr, 0);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:214:3: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  214 |                 out_be16(&td->status, 0);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:220:2: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  220 |         out_be16(&td->status, TD_W); /* for last TD set Wrap bit */
      |         ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:248:2: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  248 |         out_be16(&usb->fhci->regs->usb_usep[0],
      |         ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:258:2: error: call to undeclared function 'out_8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  258 |         out_8(&ep->ep_pram_ptr->rx_func_code, rt);
      |         ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:265:2: error: call to undeclared function 'out_be32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  265 |         out_be32(&ep->ep_pram_ptr->tx_state, 0);
      |         ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:294:15: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  294 |                 td_status = in_be16(&td->status);
      |                             ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:296:9: error: call to undeclared function 'in_be32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  296 |                 buf = in_be32(&td->buf_ptr);
      |                       ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:307:3: error: call to undeclared function 'clrbits16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  307 |                 clrbits16(&td->status, ~TD_W);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:308:3: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  308 |                 out_be16(&td->length, 0);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:309:3: error: call to undeclared function 'out_be32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  309 |                 out_be32(&td->buf_ptr, 0);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:393:14: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  393 |         td_status = in_be16(&td->status);
      |                     ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:405:2: error: call to undeclared function 'out_be32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  405 |         out_be32(&td->buf_ptr, virt_to_phys(pkt->data));
      |         ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:421:2: error: call to undeclared function 'out_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  421 |         out_be16(&td->extra, extra_data);
      |         ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:462:3: error: call to undeclared function 'out_8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  462 |                 out_8(&usb->fhci->regs->usb_uscom, USB_CMD_STR_FIFO);
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-tds.c:476:15: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  476 |                 td_status = in_be16(&td->status);
      |                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/usb/host/fhci-tds.o] Error 1
In file included from /tmp/next/build/drivers/usb/host/fhci-dbg.c:20:
/tmp/next/build/drivers/usb/host/fhci.h:449:9: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  449 |         return in_be16(&fhci->pram->frame_num) & 0x07ff;
      |                ^
/tmp/next/build/drivers/usb/host/fhci-dbg.c:49:3: error: call to undeclared function 'in_8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   49 |                 in_8(&regs->usb_usmod), in_8(&regs->usb_usadr),
      |                 ^
/tmp/next/build/drivers/usb/host/fhci-dbg.c:50:27: error: call to undeclared function 'in_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   50 |                 in_8(&regs->usb_uscom), in_be16(&regs->usb_usep[0]),
      |                                         ^
3 errors generated.

Caused by commit

  4b265b93b4e0e (powerpc: Move CONFIG_QE_GPIO to SoC)

I have used the tree from next-20260709 instead.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build failure after merge of the fsl tree
  2026-07-10 12:08 linux-next: build failure after merge of the fsl tree Mark Brown
@ 2026-07-11  7:45 ` Christophe Leroy (CS GROUP)
  0 siblings, 0 replies; 4+ messages in thread
From: Christophe Leroy (CS GROUP) @ 2026-07-11  7:45 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux Kernel Mailing List, Linux Next Mailing List



Le 10/07/2026 à 14:08, Mark Brown a écrit :
> Hi all,
> 
> After merging the fsl tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 

...

> 
> Caused by commit
> 
>    4b265b93b4e0e (powerpc: Move CONFIG_QE_GPIO to SoC)
> 
> I have used the tree from next-20260709 instead.

Thanks for letting me know. I have dropped this patch for now.

CONFIG_USB_FHCI_HCD depends on CONFIG_QE_GPIO but uses in_be16() etc ... 
helpers which are powerpc specific, so dependency to PPC needs to be 
kept for now.

Christophe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* linux-next: build failure after merge of the fsl tree
@ 2014-09-18  0:47 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2014-09-18  0:47 UTC (permalink / raw)
  To: Scott Wood; +Cc: linux-next, linux-kernel

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

Hi Scott,

After merging the fsl tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

arch/powerpc/kernel/built-in.o: In function `.dma_direct_alloc_coherent':
(.text+0x14bc8): undefined reference to `.dma_pfn_limit_to_zone'

Probably caused by commit 1c98025c6c95 ("powerpc: Dynamic DMA zone
limits").

I have used the fsl tree from next-20140917 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* linux-next: build failure after merge of the fsl tree
@ 2014-05-12  5:55 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2014-05-12  5:55 UTC (permalink / raw)
  To: Scott Wood; +Cc: linux-next, linux-kernel, Stuart Yoder

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

Hi Scott,

After merging the fsl tree, today's linux-next build (powerpc
allyesconfig) failed like this:

arch/powerpc/kernel/epapr_paravirt.c: In function 'epapr_idle_init':
arch/powerpc/kernel/epapr_paravirt.c:77:23: error: 'epapr_ev_idle' undeclared (first use in this function)
   ppc_md.power_save = epapr_ev_idle;
                       ^

Caused by commit 7762b1ed7aae ("powerpc: move epapr paravirt init of
power_save to an initcall").

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-11  7:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 12:08 linux-next: build failure after merge of the fsl tree Mark Brown
2026-07-11  7:45 ` Christophe Leroy (CS GROUP)
  -- strict thread matches above, loose matches on Subject: below --
2014-09-18  0:47 Stephen Rothwell
2014-05-12  5:55 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome