Re: Build regressions/improvements in v6.8-rc1

2024-02-13 Thread Andreas Larsson
On 2024-01-23 15:21, Arnd Bergmann wrote:
>>>  + /kisskb/src/arch/sparc/include/asm/floppy_64.h: error: no previous 
>>> prototype for 'sparc_floppy_irq' [-Werror=missing-prototypes]:  => 200:13
>>>  + /kisskb/src/arch/sparc/include/asm/floppy_64.h: error: no previous 
>>> prototype for 'sun_pci_fd_dma_callback' [-Werror=missing-prototypes]:  => 
>>> 437:6
>>
>> sparc64-gcc{5,11,12,13}/sparc64-allmodconfig
> 
> Andrew Morton did a patch for the sparc warnings, and Andreas Larsson
> is joining as a maintainer, so hopefully he can pick that up soon.
Which patch do you refer to here? I can not seem to find a patch fixing
these ones in particular on lore.kernel.org.

Thanks,
Andreas



Re: Build regressions/improvements in v6.8-rc1

2024-02-05 Thread Jesse Brandeburg
On 1/23/2024 3:45 AM, Geert Uytterhoeven wrote:
> in drivers/net/ethernet/intel/ice/ice_base.c
> 
> powerpc-gcc5/ppc32_allmodconfig
> in drivers/net/ethernet/intel/ice/ice_nvm.c
> 
> aarcharm64-gcc5/arm64-allmodconfig
> powerpc-gcc5/ppc32_allmodconfig
> powerpc-gcc5/powerpc-allmodconfig
> powerpc-gcc5/ppc64le_allmodconfig
> 
> in drivers/net/ethernet/intel/ice/ice_common.c
> 
> arm64-gcc5/arm64-allmodconfig
> powerpc-gcc5/ppc32_allmodconfig
> 
> in drivers/net/ethernet/intel/i40e/i40e_dcb.c
> 
> powerpc-gcc5/powerpc-allmodconfig
> powerpc-gcc5/ppc32_allmodconfig
> powerpc-gcc5/ppc64_book3e_allmodconfig
> 
> 
> arm64-gcc5/arm64-allmodconfig
> powerpc-gcc5/powerpc-all{mod,yes}config
> powerpc-gcc5/ppc{32,64le,64_book3e}_allmodconfig
> 

Fixes for intel/i40e and intel/ice posted here:
https://lore.kernel.org/lkml/20240206022906.2194214-1-jesse.brandeb...@intel.com/





Re: Build regressions/improvements in v6.8-rc1

2024-01-23 Thread Arnd Bergmann
On Tue, Jan 23, 2024, at 12:45, Geert Uytterhoeven wrote:

>> 68 error regressions:
>
>>  + /kisskb/src/arch/powerpc/sysdev/udbg_memcons.c: error: no previous 
>> prototype for 'memcons_getc' [-Werror=missing-prototypes]:  => 80:5
>>  + /kisskb/src/arch/powerpc/sysdev/udbg_memcons.c: error: no previous 
>> prototype for 'memcons_getc_poll' [-Werror=missing-prototypes]:  => 57:5
>>  + /kisskb/src/arch/powerpc/sysdev/udbg_memcons.c: error: no previous 
>> prototype for 'memcons_putc' [-Werror=missing-prototypes]:  => 44:6
>
> powerpc-gcc{5,12,13}/ppc64_book3e_allmodconfig

I now sent patches for powerpc booke warnings

>>  + /kisskb/src/arch/sh/kernel/cpu/init.c: error: no previous prototype for 
>> 'l2_cache_init' [-Werror=missing-prototypes]:  => 99:29
>
> sh4-gcc1[123]/se7{619,750}_defconfig
> sh4-gcc1[123]/sh-{all{mod,no,yes},def}config
> sh4-gcc11/sh-allnoconfig

I assume the sh maintainers will eventually get to that

>>  + /kisskb/src/arch/sparc/include/asm/floppy_64.h: error: no previous 
>> prototype for 'sparc_floppy_irq' [-Werror=missing-prototypes]:  => 200:13
>>  + /kisskb/src/arch/sparc/include/asm/floppy_64.h: error: no previous 
>> prototype for 'sun_pci_fd_dma_callback' [-Werror=missing-prototypes]:  => 
>> 437:6
>
> sparc64-gcc{5,11,12,13}/sparc64-allmodconfig

Andrew Morton did a patch for the sparc warnings, and Andreas Larsson
is joining as a maintainer, so hopefully he can pick that up soon.
> sparc64-gcc{5,1[123]}/sparc64-allmodconfig
>
>>  + /kisskb/src/arch/sparc/vdso/vclock_gettime.c: error: no previous 
>> prototype for '__vdso_clock_gettime' [-Werror=missing-prototypes]:  => 254:1
>>  + /kisskb/src/arch/sparc/vdso/vclock_gettime.c: error: no previous 
>> prototype for '__vdso_clock_gettime_stick' [-Werror=missing-prototypes]:  => 
>> 282:1
>>  + /kisskb/src/arch/sparc/vdso/vclock_gettime.c: error: no previous 
>> prototype 

There are prototypes in include/vdso/gettime.h that should be
used here, but unfortunately the sparc implementation does
not match the prototypes because sparc is missing the gettime64
support.

> sparc64-gcc{5,12,13}/sparc64-{allno,def}config
> sparc64-gcc11/sparc64-{all{mod,no},def}config
>
>>  + /kisskb/src/arch/x86/um/shared/sysdep/kernel-offsets.h: error: no 
>> previous prototype for ‘foo’ [-Werror=missing-prototypes]:  => 9:6
>
> um-x86_64-gcc12/um-{all{mod,yes},def}config

I made a patch for arch/um yesterday.

> sparc64-gcc1[12]/sparc64-allmodconfig
>
>>  + /kisskb/src/drivers/scsi/mpi3mr/mpi3mr_transport.c: error: the frame size 
>> of 1680 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]:  => 
>> 1818:1

I sent a patch in November when the regression started, missed
the reply about needing another change
https://lore.kernel.org/all/cafdvvoxh4uqjww4124e2ttutgknzkhopxvsfoqglfov_dka...@mail.gmail.com/

>>  + {standard input}: Error: displacement to undefined symbol .L105 overflows 
>> 8-bit field :  => 590, 593
>>  + {standard input}: Error: displacement to undefined symbol .L135 overflows 
>> 8-bit field :  => 603
>>  + {standard input}: Error: displacement to undefined symbol .L140 overflows 
>> 8-bit field :  => 606
>>  + {standard input}: Error: displacement to undefined symbol .L76 overflows 
>> 12-bit field:  => 591, 594
>>  + {standard input}: Error: displacement to undefined symbol .L77 overflows 
>> 8-bit field : 607 => 607, 582, 585
>>  + {standard input}: Error: displacement to undefined symbol .L97 overflows 
>> 12-bit field:  => 607
>>  + {standard input}: Error: pcrel too far: 604, 590, 577, 593, 572, 569, 
>> 598, 599, 596, 610 => 610, 574, 599, 569, 598, 596, 601, 590, 604, 595, 572, 
>> 577, 593
>
> SH ICE crickets

Linus did a patch for the syscall, and I sent another one for
arch/sh to prevent this from happening again:

https://lore.kernel.org/all/CAHk-=wjh6cypo8wc-mcxgszcaou3uxccxb+7pvesugr8ajc...@mail.gmail.com/
https://lore.kernel.org/all/07d8877b-d933-46f4-8ca4-c10ed602f...@app.fastmail.com/

Resent mine now.

  Arnd


Re: Build regressions/improvements in v6.8-rc1

2024-01-23 Thread Geert Uytterhoeven

On Tue, 23 Jan 2024, Geert Uytterhoeven wrote:

Below is the list of build error/warning regressions/improvements in
v6.8-rc1[1] compared to v6.7[2].

Summarized:
 - build errors: +68/-18
 - build warnings: +129/-1487

Happy fixing! ;-)

Thanks to the linux-next team for providing the build service.

[1] 
http://kisskb.ellerman.id.au/kisskb/branch/linus/head/6613476e225e090cc9aad49be7fa504e290dd33d/
 (all 239 configs)
[2] 
http://kisskb.ellerman.id.au/kisskb/branch/linus/head/0dd3ee31125508cd67f7e7172247f05b7fd1753a/
 (all 239 configs)


*** ERRORS ***

68 error regressions:



 + /kisskb/src/arch/powerpc/sysdev/udbg_memcons.c: error: no previous prototype 
for 'memcons_getc' [-Werror=missing-prototypes]:  => 80:5
 + /kisskb/src/arch/powerpc/sysdev/udbg_memcons.c: error: no previous prototype 
for 'memcons_getc_poll' [-Werror=missing-prototypes]:  => 57:5
 + /kisskb/src/arch/powerpc/sysdev/udbg_memcons.c: error: no previous prototype 
for 'memcons_putc' [-Werror=missing-prototypes]:  => 44:6


powerpc-gcc{5,12,13}/ppc64_book3e_allmodconfig


 + /kisskb/src/arch/sh/kernel/cpu/init.c: error: no previous prototype for 
'l2_cache_init' [-Werror=missing-prototypes]:  => 99:29


sh4-gcc1[123]/se7{619,750}_defconfig
sh4-gcc1[123]/sh-{all{mod,no,yes},def}config
sh4-gcc11/sh-allnoconfig


 + /kisskb/src/arch/sh/math-emu/math.c: error: no previous prototype for 
'do_fpu_inst' [-Werror=missing-prototypes]:  => 492:5


sh4-gcc1[123]/sh-all{mod,yes}config


 + /kisskb/src/arch/sh/mm/cache-sh2.c: error: no previous prototype for 
'sh2_cache_init' [-Werror=missing-prototypes]:  => 85:13


sh4-gcc1[123]/se7619_defconfig
sh4-gcc1[123]/sh-all{mod,yes}config


 + /kisskb/src/arch/sh/mm/nommu.c: error: no previous prototype for 
'kmap_coherent' [-Werror=missing-prototypes]:  => 80:7
 + /kisskb/src/arch/sh/mm/nommu.c: error: no previous prototype for 
'kmap_coherent_init' [-Werror=missing-prototypes]:  => 76:13
 + /kisskb/src/arch/sh/mm/nommu.c: error: no previous prototype for 
'kunmap_coherent' [-Werror=missing-prototypes]:  => 86:6


sh4-gcc1[123]/se7619_defconfig
sh4-gcc1[123]/sh-allnoconfig
sh4-gcc12/sh-allyesconfig


 + /kisskb/src/arch/sparc/include/asm/floppy_64.h: error: no previous prototype 
for 'sparc_floppy_irq' [-Werror=missing-prototypes]:  => 200:13
 + /kisskb/src/arch/sparc/include/asm/floppy_64.h: error: no previous prototype 
for 'sun_pci_fd_dma_callback' [-Werror=missing-prototypes]:  => 437:6


sparc64-gcc{5,11,12,13}/sparc64-allmodconfig


 + /kisskb/src/arch/sparc/kernel/traps_64.c: error: no previous prototype for 
'do_mcd_err' [-Werror=missing-prototypes]:  => 2035:6
 + /kisskb/src/arch/sparc/kernel/traps_64.c: error: no previous prototype for 
'is_no_fault_exception' [-Werror=missing-prototypes]:  => 253:6
 + /kisskb/src/arch/sparc/kernel/traps_64.c: error: no previous prototype for 
'sun4v_nonresum_error_user_handled' [-Werror=missing-prototypes]:  => 2153:6
 + /kisskb/src/arch/sparc/prom/misc_64.c: error: no previous prototype for 
'prom_get_mmu_ihandle' [-Werror=missing-prototypes]:  => 165:5
 + /kisskb/src/arch/sparc/prom/p1275.c: error: no previous prototype for 
'prom_cif_init' [-Werror=missing-prototypes]:  => 52:6
 + /kisskb/src/kernel/dma.c: error: no previous prototype for 'free_dma' 
[-Werror=missing-prototypes]:  => 88:6
 + /kisskb/src/kernel/dma.c: error: no previous prototype for 'request_dma' 
[-Werror=missing-prototypes]:  => 70:5


sparc64-gcc{5,1[123]}/sparc64-{all{mod,no},def}config


 + /kisskb/src/arch/sparc/lib/cmpdi2.c: error: no previous prototype for 
'__cmpdi2' [-Werror=missing-prototypes]:  => 6:11


sparc64-gcc{5,1[123]}/sparc-{all{mod,no},def}config


 + /kisskb/src/arch/sparc/mm/init_64.c: error: no previous prototype for 
'vmemmap_free' [-Werror=missing-prototypes]:  => 2644:6


sparc64-gcc{5,1[123]}/sparc64-{allmod,def}config


 + /kisskb/src/arch/sparc/power/hibernate.c: error: no previous prototype for 
'pfn_is_nosave' [-Werror=missing-prototypes]:  => 22:5
 + /kisskb/src/arch/sparc/power/hibernate.c: error: no previous prototype for 
'restore_processor_state' [-Werror=missing-prototypes]:  => 35:6
 + /kisskb/src/arch/sparc/power/hibernate.c: error: no previous prototype for 
'save_processor_state' [-Werror=missing-prototypes]:  => 30:6
 + /kisskb/src/drivers/gpu/drm/xe/xe_lrc.c: error: "CTX_VALID" redefined 
[-Werror]:  => 24, 24:0
 + /kisskb/src/drivers/mtd/maps/sun_uflash.c: error: no previous prototype for 
'uflash_devinit' [-Werror=missing-prototypes]:  => 50:5


sparc64-gcc{5,1[123]}/sparc64-allmodconfig


 + /kisskb/src/arch/sparc/vdso/vclock_gettime.c: error: no previous prototype for 
'__vdso_clock_gettime' [-Werror=missing-prototypes]:  => 254:1
 + /kisskb/src/arch/sparc/vdso/vclock_gettime.c: error: no previous prototype for 
'__vdso_clock_gettime_stick' [-Werror=missing-prototypes]:  => 282:1
 + /kisskb/src/arch/sparc/vdso/vclock_gettime.c: error: no previous prototype for 
'__vdso_gettimeofday' [-Werror=missing-prototypes]:  => 307:1
 + /kisskb/src/arch/