All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes
@ 2021-03-27  2:18 Logan Devine
  2021-03-27  2:25 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Logan Devine @ 2021-03-27  2:18 UTC (permalink / raw)
  To: linux-kernel

Compiling the kernel for the second time, and now kvm/hyperv.c is 
failing to build:


   AR      kernel/built-in.a
   CC [M]  arch/x86/kvm/ioapic.o
   CC [M]  arch/x86/kvm/irq_comm.o
   CC [M]  arch/x86/kvm/cpuid.o
   CC [M]  arch/x86/kvm/pmu.o
   CC [M]  arch/x86/kvm/mtrr.o
   CC [M]  arch/x86/kvm/hyperv.o
   CC [M]  arch/x86/kvm/debugfs.o
   CC [M]  arch/x86/kvm/mmu/mmu.o
   CC [M]  arch/x86/kvm/mmu/page_track.o
arch/x86/kvm/hyperv.c: In function ‘kvm_hv_send_ipi.isra’:
arch/x86/kvm/hyperv.c:1799:1: error: the frame size of 1048 bytes is 
larger than 1024 bytes [-Werror=frame-larger-than=]
  1799 | }
       | ^
   CC [M]  arch/x86/kvm/mmu/spte.o
   CC [M]  arch/x86/kvm/mmu/tdp_iter.o
   CC [M]  arch/x86/kvm/mmu/tdp_mmu.o
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:271: arch/x86/kvm/hyperv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:514: arch/x86/kvm] Error 2
make: *** [Makefile:1851: arch/x86] Error 2
   CC [M]  kernel/kheaders.o


(Sorry if I did this wrong, it's my first time on the list.)


I'm on gregkh/staging branch staging-testing.


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

* Re: arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes
  2021-03-27  2:18 arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes Logan Devine
@ 2021-03-27  2:25 ` Randy Dunlap
  2021-03-27  3:51   ` Logan Devine
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-03-27  2:25 UTC (permalink / raw)
  To: Logan Devine, linux-kernel

On 3/26/21 7:18 PM, Logan Devine wrote:
> Compiling the kernel for the second time, and now kvm/hyperv.c is failing to build:
> 
> 
>   AR      kernel/built-in.a
>   CC [M]  arch/x86/kvm/ioapic.o
>   CC [M]  arch/x86/kvm/irq_comm.o
>   CC [M]  arch/x86/kvm/cpuid.o
>   CC [M]  arch/x86/kvm/pmu.o
>   CC [M]  arch/x86/kvm/mtrr.o
>   CC [M]  arch/x86/kvm/hyperv.o
>   CC [M]  arch/x86/kvm/debugfs.o
>   CC [M]  arch/x86/kvm/mmu/mmu.o
>   CC [M]  arch/x86/kvm/mmu/page_track.o
> arch/x86/kvm/hyperv.c: In function ‘kvm_hv_send_ipi.isra’:
> arch/x86/kvm/hyperv.c:1799:1: error: the frame size of 1048 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
>  1799 | }
>       | ^
>   CC [M]  arch/x86/kvm/mmu/spte.o
>   CC [M]  arch/x86/kvm/mmu/tdp_iter.o
>   CC [M]  arch/x86/kvm/mmu/tdp_mmu.o
> cc1: all warnings being treated as errors
> make[2]: *** [scripts/Makefile.build:271: arch/x86/kvm/hyperv.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [scripts/Makefile.build:514: arch/x86/kvm] Error 2
> make: *** [Makefile:1851: arch/x86] Error 2
>   CC [M]  kernel/kheaders.o
> 
> 
> (Sorry if I did this wrong, it's my first time on the list.)
> 
> 
> I'm on gregkh/staging branch staging-testing.


Hi,
Just edit the kernel .config file and change
CONFIG_FRAME_WARN=1024
to
CONFIG_FRAME_WARN=2048

and it will be good.

-- 
~Randy


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

* Re: arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes
  2021-03-27  2:25 ` Randy Dunlap
@ 2021-03-27  3:51   ` Logan Devine
  0 siblings, 0 replies; 3+ messages in thread
From: Logan Devine @ 2021-03-27  3:51 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel

Thank you!

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

end of thread, other threads:[~2021-03-27  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27  2:18 arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes Logan Devine
2021-03-27  2:25 ` Randy Dunlap
2021-03-27  3:51   ` Logan Devine

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.