From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04E8D801 for ; Wed, 11 Jun 2025 00:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749600660; cv=none; b=auMujdVu6DssEAfK693rtV5c3EUOOM733GWfCCsvYlh8KbQn5sht6PPog7brHbcL/LZs0ce+RDBIVs016YpPyHbOdGY3mPA0zc2/v4fnTbaE6EMzHIIwisK5S3GZCOf5HnnPwWxbcZlPAXVubWpHDgpBSOicLl3tr6ML5NmhNRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749600660; c=relaxed/simple; bh=KbvpWBmaAbSh8Vh7bcMGuAO93v+FYmozT636NWdRWts=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=dtmmV6dtdB52TDDaShpovFeq9kdbm+m2agRFqDCM8340NdYj6DW3DMYQzNX9f+wq4YiA/RAN9s/X8cWtAhJNcOj3aFXOLH0RVg7cP/6G+18dgunSkX5UFwJe809hLvoeANPqqQUNj3Z52stLwiKVwxHIhdRsSWex59sbpyGejg4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=lFy4PPMC; arc=none smtp.client-ip=209.85.215.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lFy4PPMC" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-b26cdc70befso4024503a12.1 for ; Tue, 10 Jun 2025 17:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1749600657; x=1750205457; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=VlZgeHA644QawbjAzxLvevk+0CPgkFNL80WvPP4oWa8=; b=lFy4PPMChNXXDTWtWIqS2PCjHXULZVQTDeur0OFhwhye3A37OpwxlA+BWEBn5GgTbH Su3fLJBIDF40xXd0ETY4WaSZXbvNMs/2oQa1rFwCn/QimUfmVwTis0JROJHr0tg649Sp VLuLu/Xt0km46L7sIkuL7k2t8iOyltddpfE5FbjeORITgg1TOJZiCMZ0Ww5s12Imu7jm Z4wT9LDGrBKJ56ozAduuPn9xK1xZBA20jwZfwLG99d1tL9lTkMuOR6wU+tE0GahVObOc oGz8C5Gk5moebua7oYLChm7eNFZlGfKlhjt9ycFHxZgVGDRDTVj2gNUn+xJ76uYW52fi JchQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749600657; x=1750205457; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VlZgeHA644QawbjAzxLvevk+0CPgkFNL80WvPP4oWa8=; b=lmp9rppogQFfSu2Y19eGj8p2CUR+XqJvXz2LzUfeDjSqyy8452QddNWy6qrqzpbp+8 yexuGh+163Vv3D5UIFheIXvrRl0odPOquuPLPR90Zz2bp25VrzI5G9bF/bFt8zn9IabF VYsIgleIYzNDcuzaSzaK2ggSs0X4ZaVjiwnnVw6aM/SI+TPx3qaOeQZS+FCIXUNg1RL5 1WAfs2mzPoxo3FgAH67IoHhYv0SLBQp1VuhHYEZThRrj1TahsThgXKqwvklsZb4rXiMf moGN/+cpfzikRXZmk9vFiZ9MX0L7LXFM9Q9mb2rPgTF7esjtgA/+vvspZ4EDSMn+f+pP 3qcQ== X-Forwarded-Encrypted: i=1; AJvYcCWxjJmu+WUYf9io2woGRA5XV75+VvjFByw0oDntX1yPR3BxIESSE5lAOfQrTsJd3DRMOef9IufgebtB@vger.kernel.org X-Gm-Message-State: AOJu0YwHsJGM0tRphQb8v9O53XeUZC4hCsq6wHGrRsfX3SCHgjYmMp8j 92bkBTvA4jQRuP5z/3sVzBHDpUDCS9rEvbkcLvRGciG/ZY+tH+Z7KawytJbNaFk/mrwp+/IJ7Ah AJ4tKyw== X-Google-Smtp-Source: AGHT+IEo+A1iKKp/d15/c3Y8CK62vwTvYQUmq5gUOhKzuXVKftWt1+9sRfxp1GZ6dnQl+d5j2tHzGoYEsqQ= X-Received: from pjboh5.prod.google.com ([2002:a17:90b:3a45:b0:2fb:fa85:1678]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:2643:b0:312:29e:9ec9 with SMTP id 98e67ed59e1d1-313af1dd043mr2232849a91.24.1749600657225; Tue, 10 Jun 2025 17:10:57 -0700 (PDT) Reply-To: Sean Christopherson Date: Tue, 10 Jun 2025 17:10:41 -0700 In-Reply-To: <20250611001042.170501-1-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250611001042.170501-1-seanjc@google.com> X-Mailer: git-send-email 2.50.0.rc0.642.g800a2b2222-goog Message-ID: <20250611001042.170501-8-seanjc@google.com> Subject: [PATCH 7/8] KVM: s390: Stop adding virt/kvm to the arch include path From: Sean Christopherson To: Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Madhavan Srinivasan , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Sean Christopherson , Paolo Bonzini Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anish Ghulati , Colton Lewis , Thomas Huth Content-Type: text/plain; charset="UTF-8" Don't add virt/kvm to KVM s390's include path, the headers in virt/kvm are intended to be used only by other code in virt/kvm, i.e. are "private" to the core KVM code. It's not clear that s390 *ever* included a header from virt/kvm, i.e. odds are good the "-Ivirt/kvm" was copied from a x86's Makefile when s390 support was first added. The only headers in virt/kvm at the time were the x86 specific ioapic.h, and iodev.h, neither of which shows up as an #include in the diff for the commit range 37817f2982d0f..e976a2b997fc4. Acked-by: Claudio Imbrenda Reviewed-by: Thomas Huth Signed-off-by: Sean Christopherson --- arch/s390/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kvm/Makefile b/arch/s390/kvm/Makefile index 9a723c48b05a..b742e08c036b 100644 --- a/arch/s390/kvm/Makefile +++ b/arch/s390/kvm/Makefile @@ -5,7 +5,7 @@ include $(srctree)/virt/kvm/Makefile.kvm -ccflags-y := -Ivirt/kvm -Iarch/s390/kvm +ccflags-y := -Iarch/s390/kvm kvm-y += kvm-s390.o intercept.o interrupt.o priv.o sigp.o kvm-y += diag.o gaccess.o guestdbg.o vsie.o pv.o gmap-vsie.o -- 2.50.0.rc0.642.g800a2b2222-goog