Skip to contentSkip to conversation

linux-next: build failure in the staging tree (Was: kisskb: FAILED linux-next/s390-allmodconfig/s390x Mon Jul 31, 17:24)

DISCUSSION Stephen Rothwell 3 participants 10 messages Jul 31, 2017 – Aug 14, 2017 1 message not in the archive Linux-next tree

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20170731072425.1.95853@222023911cb9

#1 lore raw

Hi all,

Quoted 9 lines · On Mon, 31 Jul 2017 07:24:25 -0000 [email protected] wrote:

FAILED linux-next/s390-allmodconfig/s390x Mon Jul 31, 17:24

http://kisskb.ellerman.id.au/kisskb/buildresult/13110910/

Commit: Add linux-next specific files for 20170731

          742f220ee69c8102eabea45e45d92aa18721fab1

Compiler: s390x-linux-gcc (GCC) 4.6.3

Quoted 7 lines

Possible errors
---------------

include/linux/msi.h:196:21: fatal error: asm/msi.h: No such file or directory make[2]: *** [arch/s390/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2

Caused by commit

03274850279c ("staging: fsl-mc: allow the driver compile multi-arch")

I will revert that commit tomorrow unless it if fixed in the mean time.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Hi Stephen,

That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not all arches implement the support for the option. I can submit a patch that adds explicit dependencies on arches that it was build-tested (x86, arm, powerpc, all both 32 and 64 bits) similar to how it's done here [1]. Let me know if you're ok with this fix and i'll submit the fix to staging.

---
Thanks & Best Regards, Laurentiu

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/Kconfig#n28

Quoted 26 lines · Stephen Rothwell

Hi all,

Quoted 9 lines · On Mon, 31 Jul 2017 07:24:25 -0000 [email protected] wrote:

FAILED linux-next/s390-allmodconfig/s390x Mon Jul 31, 17:24

https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fkisskb.ellerman.id.au%2Fkisskb%2Fbuildresult%2F13110910%2F&data=01%7C01%7Claurentiu.tudor%40nxp.com%7C0b58775ead154830f76f08d4d7f78d99%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=A84bbMQe7VRz9OPK13PzaidBEfjm43Ik%2FbfCDJ89ZzM%3D&reserved=0

Commit: Add linux-next specific files for 20170731

           742f220ee69c8102eabea45e45d92aa18721fab1

Compiler: s390x-linux-gcc (GCC) 4.6.3

Quoted 7 lines

Possible errors
---------------

include/linux/msi.h:196:21: fatal error: asm/msi.h: No such file or directory make[2]: *** [arch/s390/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2

Caused by commit

03274850279c ("staging: fsl-mc: allow the driver compile multi-arch")

I will revert that commit tomorrow unless it if fixed in the mean time.

#3 lore raw
Quoted 8 lines · Laurentiu Tudor

Hi Stephen,

That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not all arches implement the support for the option. I can submit a patch that adds explicit dependencies on arches that it was build-tested (x86, arm, powerpc, all both 32 and 64 bits) similar to how it's done here [1]. Let me know if you're ok with this fix and i'll submit the fix to staging.

Ugh, you should not be selecting that option, but rather depending on the option, right?

thanks,

greg k-h

#4 lore raw
Quoted 10 lines · Greg KH
Quoted 8 lines · Laurentiu Tudor

Hi Stephen,

That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not all arches implement the support for the option. I can submit a patch that adds explicit dependencies on arches that it was build-tested (x86, arm, powerpc, all both 32 and 64 bits) similar to how it's done here [1]. Let me know if you're ok with this fix and i'll submit the fix to staging.

Quoted 2 lines

Ugh, you should not be selecting that option, but rather depending on the option, right?

All users in the kernel use "select", so i don't think so. An interesting use that adds explicit dependencies on architectures can be seen here [1], in the generic code. I've proposed a patch [2] that does a similar thing for mc-bus. I think it's a good approach as it keeps things under control by explicitly specifying the architectures on which the driver was compile-tested.

---
Best Regards, Laurentiu

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/Kconfig#n28
[2] https://patchwork.kernel.org/patch/9871861/

#5 lore raw

Hi all,

Quoted 22 lines · On Tue, 1 Aug 2017 08:29:31 +0000 Laurentiu Tudor <[email protected]>…
Quoted 10 lines · Greg KH
Quoted 8 lines · Laurentiu Tudor

Hi Stephen,

That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not all arches implement the support for the option. I can submit a patch that adds explicit dependencies on arches that it was build-tested (x86, arm, powerpc, all both 32 and 64 bits) similar to how it's done here [1]. Let me know if you're ok with this fix and i'll submit the fix to staging.

Quoted 2 lines

Ugh, you should not be selecting that option, but rather depending on the option, right?

All users in the kernel use "select", so i don't think so. An interesting use that adds explicit dependencies on architectures can be seen here [1], in the generic code. I've proposed a patch [2] that does a similar thing for mc-bus. I think it's a good approach as it keeps things under control by explicitly specifying the architectures on which the driver was compile-tested.

Quoted 6 lines

---
Best Regards, Laurentiu

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/Kconfig#n28
[2] https://patchwork.kernel.org/patch/9871861/

Any resolution of this?

Signature · 2 lines
Cheers,
Stephen Rothwell
#6 lore raw

Hi all,

Quoted 23 lines · On Mon, 7 Aug 2017 10:22:08 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 21 lines · On Tue, 1 Aug 2017 08:29:31 +0000 Laurentiu Tudor <[email protected]>…
Quoted 11 lines · Greg KH
Quoted 7 lines · Laurentiu Tudor

That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not all arches implement the support for the option. I can submit a patch that adds explicit dependencies on arches that it was build-tested (x86, arm, powerpc, all both 32 and 64 bits) similar to how it's done here [1]. Let me know if you're ok with this fix and i'll submit the fix to staging.

Ugh, you should not be selecting that option, but rather depending on the option, right?

All users in the kernel use "select", so i don't think so. An interesting use that adds explicit dependencies on architectures can be seen here [1], in the generic code. I've proposed a patch [2] that does a similar thing for mc-bus. I think it's a good approach as it keeps things under control by explicitly specifying the architectures on which the driver was compile-tested.

Quoted 8 lines
Quoted 6 lines

---
Best Regards, Laurentiu

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/Kconfig#n28
[2] https://patchwork.kernel.org/patch/9871861/

Any resolution of this?

Ping?

Signature · 2 lines
Cheers,
Stephen Rothwell
#7 lore raw
Quoted 29 lines · Stephen Rothwell

Hi all,

Quoted 26 lines · On Mon, 7 Aug 2017 10:22:08 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 24 lines · On Tue, 1 Aug 2017 08:29:31 +0000 Laurentiu Tudor <[email protected]>…
Quoted 11 lines · Greg KH
Quoted 7 lines · Laurentiu Tudor

That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not all arches implement the support for the option. I can submit a patch that adds explicit dependencies on arches that it was build-tested (x86, arm, powerpc, all both 32 and 64 bits) similar to how it's done here [1]. Let me know if you're ok with this fix and i'll submit the fix to staging.

Ugh, you should not be selecting that option, but rather depending on the option, right?

All users in the kernel use "select", so i don't think so. An interesting use that adds explicit dependencies on architectures can be seen here [1], in the generic code. I've proposed a patch [2] that does a similar thing for mc-bus. I think it's a good approach as it keeps things under control by explicitly specifying the architectures on which the driver was compile-tested.

---
Best Regards, Laurentiu

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/Kconfig#n28
[2] https://patchwork.kernel.org/patch/9871861/

Any resolution of this?

Ping?

I have a patch in my queue, somewhere, that should resolve this, I think. I have 600+ staging patches in my todo queue right now, that's what I get for trying to have a vacation...

I'll get to it soon, it's not lost, thanks.

greg k-h

#8 lore raw

Hi Greg,

Quoted 6 lines · On Thu, 10 Aug 2017 16:48:42 -0700 Greg KH <[email protected]> wrote:

I have a patch in my queue, somewhere, that should resolve this, I think. I have 600+ staging patches in my todo queue right now, that's what I get for trying to have a vacation...

I'll get to it soon, it's not lost, thanks.

No worries, just checking.

Signature · 2 lines
Cheers,
Stephen Rothwell
#9 lore raw
Quoted 11 lines · Stephen Rothwell

Hi Greg,

Quoted 6 lines · On Thu, 10 Aug 2017 16:48:42 -0700 Greg KH <[email protected]> wrote:

I have a patch in my queue, somewhere, that should resolve this, I think. I have 600+ staging patches in my todo queue right now, that's what I get for trying to have a vacation...

I'll get to it soon, it's not lost, thanks.

No worries, just checking.

Ok, should now be fixed in my tree.

thanks,

greg k-h

#10 lore raw

Hi Greg,

Quoted 10 lines · On Mon, 14 Aug 2017 15:19:29 -0700 Greg KH <[email protected]> wrote:
Quoted 8 lines · Stephen Rothwell

Hi Greg,

Quoted 5 lines · On Thu, 10 Aug 2017 16:48:42 -0700 Greg KH <[email protected]> wrote:

I have a patch in my queue, somewhere, that should resolve this, I think. I have 600+ staging patches in my todo queue right now, that's what I get for trying to have a vacation...

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I'll get to it soon, it's not lost, thanks.

No worries, just checking.

Ok, should now be fixed in my tree.

Thank for letting me know.

Signature · 2 lines
Cheers,
Stephen Rothwell