[PATCH v2] s390: remove kvm_types.h from Kbuild

Randy Dunlap posted 1 patch 2 days, 2 hours ago
arch/s390/include/asm/Kbuild |    1 -
1 file changed, 1 deletion(-)
[PATCH v2] s390: remove kvm_types.h from Kbuild
Posted by Randy Dunlap 2 days, 2 hours ago
kvm_types.h is mandatory in include/asm-generic/Kbuild so having it
in another Kbuild file causes a warning. Remove it from the arch/
Kbuild file to fix the warning.

../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild: kvm_types.h

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: add more Cc:s

Cc: kvm@vger.kernel.org
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: linux-s390@vger.kernel.org

 arch/s390/include/asm/Kbuild |    1 -
 1 file changed, 1 deletion(-)

--- linux-next-20260202.orig/arch/s390/include/asm/Kbuild
+++ linux-next-20260202/arch/s390/include/asm/Kbuild
@@ -5,6 +5,5 @@ generated-y += syscall_table.h
 generated-y += unistd_nr.h
 
 generic-y += asm-offsets.h
-generic-y += kvm_types.h
 generic-y += mcs_spinlock.h
 generic-y += mmzone.h
Re: [PATCH v2] s390: remove kvm_types.h from Kbuild
Posted by Heiko Carstens 2 days, 2 hours ago
On Wed, Feb 04, 2026 at 11:31:19PM -0800, Randy Dunlap wrote:
> kvm_types.h is mandatory in include/asm-generic/Kbuild so having it
> in another Kbuild file causes a warning. Remove it from the arch/
> Kbuild file to fix the warning.
> 
> ../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild: kvm_types.h
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> v2: add more Cc:s
> 
> Cc: kvm@vger.kernel.org
> Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
> Cc: Sean Christopherson <seanjc@google.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Heiko Carstens <hca@linux.ibm.com>
> Cc: Vasily Gorbik <gor@linux.ibm.com>
> Cc: Alexander Gordeev <agordeev@linux.ibm.com>
> Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
> Cc: Sven Schnelle <svens@linux.ibm.com>
> Cc: linux-s390@vger.kernel.org

The additional cc's still miss Peter :)

https://lore.kernel.org/all/20260205074643.7870A22-hca@linux.ibm.com/
Re: [PATCH v2] s390: remove kvm_types.h from Kbuild
Posted by Peter Zijlstra 2 days, 1 hour ago
On Thu, Feb 05, 2026 at 08:51:44AM +0100, Heiko Carstens wrote:
> On Wed, Feb 04, 2026 at 11:31:19PM -0800, Randy Dunlap wrote:
> > kvm_types.h is mandatory in include/asm-generic/Kbuild so having it
> > in another Kbuild file causes a warning. Remove it from the arch/
> > Kbuild file to fix the warning.
> > 
> > ../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild: kvm_types.h
> > 
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > ---
> > v2: add more Cc:s
> > 
> > Cc: kvm@vger.kernel.org
> > Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
> > Cc: Sean Christopherson <seanjc@google.com>
> > Cc: Paolo Bonzini <pbonzini@redhat.com>
> > Cc: Heiko Carstens <hca@linux.ibm.com>
> > Cc: Vasily Gorbik <gor@linux.ibm.com>
> > Cc: Alexander Gordeev <agordeev@linux.ibm.com>
> > Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
> > Cc: Sven Schnelle <svens@linux.ibm.com>
> > Cc: linux-s390@vger.kernel.org
> 
> The additional cc's still miss Peter :)
> 
> https://lore.kernel.org/all/20260205074643.7870A22-hca@linux.ibm.com/

I managed to invoke the right b4 incantation and it should be applied to
tpi/perf/core.