Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3188713ybg; Thu, 24 Oct 2019 23:58:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyANCroKCO0sZrax4MlnJu7aQVvFEUC/VGctU4L+BN5p9p4YWQbBdtI9s18fQfCBWm9fWoR X-Received: by 2002:aa7:d60c:: with SMTP id c12mr1043715edr.14.1571986739210; Thu, 24 Oct 2019 23:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571986739; cv=none; d=google.com; s=arc-20160816; b=NZbqtFBkItUT2nKxoOEvWILIUCED0Z19swWFIHF3zKbWUWZ9rhh2jP6ERPK+/8A9zh eenrJjW/iuX76ysph1c759gE2RclsGgzt93/TwqefOXR6Rr0jbY6F/p0xrPEG4xQrvzp JTISUM05Jz/7Cu4xxcsqfG0RxkhCu907nNpKQUlhayJ7SrntsAT/bDQRuB6dXQv+GPA7 YVW4QVwr2hgEOSaWijSNYEoYLSPDIhehXFzfzzZj2PcWv5vvb6BTcc0UohQhYSYZlITY 1s9+ENhv3ezNK2okvdFnxfaRJ5IR0XfRmRCWJcKRW4CptKvzbxjHoExVKm/9mdCFjYtR LgKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=E0Qq1lNGBY9K/n1HNDcbzQvafIKVtTjxua78199y0Ag=; b=o62jYRVSRE4qkBMH9Y0nn5XBpy1p8oz/2xs2SI8NyC/3fKqEwucLX9VTfzudB/S/Fz Qgug973FPen+bbJJDhChN1xqPaulLF6b8bhwem+b4pe0pFL/B0M9uYfsWbiMaCRWiQza 2Hc0cTZQ0tPJm/LRrDn9//Z+8KZtTIxJll7wQALSJAfH043e5m3ih/iD4h0EMDdgjgQy /wh3DBJNeKaqZXKN1ON3Gz0+5eOA1cARIquLunLOFk6hrVbKNrlCXGqkPHCUODctjO7B mD/5GhUzVcb6RyyBgrjQEmlGNSl2BMkVyIGhvjoKiV2gUIIbhDaoqxQZUDhNtNTVQTGP EeHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=OtTWbUvV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ci9si652227ejb.60.2019.10.24.23.58.35; Thu, 24 Oct 2019 23:58:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=OtTWbUvV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392111AbfJXKNj (ORCPT + 99 others); Thu, 24 Oct 2019 06:13:39 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37289 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391875AbfJXKNX (ORCPT ); Thu, 24 Oct 2019 06:13:23 -0400 Received: by mail-wr1-f67.google.com with SMTP id e11so16696500wrv.4 for ; Thu, 24 Oct 2019 03:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=E0Qq1lNGBY9K/n1HNDcbzQvafIKVtTjxua78199y0Ag=; b=OtTWbUvVOM2iwHQpoOwwI1UnAhJtD/y62mQMVMkoYZ3ww+sDiC0C3IVG9ZscaJrkgn NiBnR4njWxQei6rPGKV8+iiYVsHt2ZkE68QaPZeRekFJJQspWgxtS6/IwwKIn6NsCN8J dUAjvOWvpMN1FNiWpaIKhxe/aCKbqfL7L5fzqvitsDciXZIG0QmnNnfhZyca12TzIUwo S6yOHYEz+joDlgRS8h3Z15r3Gm3TikUIL52QNvB4841Y3Wzp9yWt6P821bKvL3wfbr42 jxs0VqvaNcXG3yGTN28xAxP+cFltZXNyUMq9olcO2XQ03AfofbVSElP2koxuww1GtWEQ cesw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=E0Qq1lNGBY9K/n1HNDcbzQvafIKVtTjxua78199y0Ag=; b=n8wy5uUllRLkCpBbGKWdRM81z3cgo8F15z3cWslLBucqL1WC9Uy0o039sSnVWeFJQH czLkcLCWLOab7OT0LhGeUOja+ycym1Yf8EEIOE5UCy5Cd3KAP2Ktfvw/ZnnlNFk8e1RR EZw2QKTvHkubgG1nAqvES49EHdbWupElLRMDu3mjZLX3qGJ15wxx8uj7w3tDCyRWTvnI qGi/WlTO7nBf6vA3M/j+oAA3Skx/SmNcyU7LoJfTxKRyZvVxQRU32uHIJJk7hVu0VdD+ /t1ffKAXS+TzplVSgH4wkYKked4EYajCd11tIDG4D7tsWfCvvkSlp0PuKW/qNnSbvgjn 1thw== X-Gm-Message-State: APjAAAUXYkPxFfbsMobv8woBpjIbItRBRPbNEFfzwPJ9zqNvsLgI0EDr zDP+pzWaeKWaq/IwX4h5cfhj0AYwlxeFX0HG X-Received: by 2002:adf:fd8a:: with SMTP id d10mr2894178wrr.368.1571912000848; Thu, 24 Oct 2019 03:13:20 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id f204sm1273607wmf.32.2019.10.24.03.13.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Oct 2019 03:13:20 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, palmer@sifive.com, hch@infradead.org, longman@redhat.com, helgaas@kernel.org Cc: Paolo Bonzini , Arnd Bergmann , Jackie Liu , Wesley Terpstra , Firoz Khan , sparclinux@vger.kernel.org, Ingo Molnar , Catalin Marinas , Ard Biesheuvel , linux-riscv@lists.infradead.org, linux-arch@vger.kernel.org, James Hogan , Vineet Gupta , Greg Kroah-Hartman , Ralf Baechle , Paul Walmsley , "Peter Zijlstra (Intel)" , Will Deacon , Benjamin Herrenschmidt , Paul Burton , Cornelia Huck , Herbert Xu , Russell King , linux-arm-kernel@lists.infradead.org, Albert Ou , linux-snps-arc@lists.infradead.org, "David S. Miller" , Eric Biggers , Michael Ellerman , linux-mips@vger.kernel.org, Masahiro Yamada , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header Date: Thu, 24 Oct 2019 12:13:11 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org msi.h is generic for all architectures expect of x86 which has own version. Enabling MSI by including msi.h to architecture Kbuild is just additional step which doesn't need to be done. The patch was created based on request to enable MSI for Microblaze. Suggested-by: Christoph Hellwig Signed-off-by: Michal Simek --- https://lore.kernel.org/linux-riscv/20191008154604.GA7903@infradead.org/ --- arch/arc/include/asm/Kbuild | 1 - arch/arm/include/asm/Kbuild | 1 - arch/arm64/include/asm/Kbuild | 1 - arch/mips/include/asm/Kbuild | 1 - arch/powerpc/include/asm/Kbuild | 1 - arch/riscv/include/asm/Kbuild | 1 - arch/sparc/include/asm/Kbuild | 1 - include/asm-generic/Kbuild | 1 + 8 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index 393d4f5e1450..1b505694691e 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild @@ -17,7 +17,6 @@ generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += mmiowb.h -generic-y += msi.h generic-y += parport.h generic-y += percpu.h generic-y += preempt.h diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index 68ca86f85eb7..fa579b23b4df 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild @@ -12,7 +12,6 @@ generic-y += local.h generic-y += local64.h generic-y += mm-arch-hooks.h generic-y += mmiowb.h -generic-y += msi.h generic-y += parport.h generic-y += preempt.h generic-y += seccomp.h diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild index 98a5405c8558..bd23f87d6c55 100644 --- a/arch/arm64/include/asm/Kbuild +++ b/arch/arm64/include/asm/Kbuild @@ -16,7 +16,6 @@ generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += mmiowb.h -generic-y += msi.h generic-y += qrwlock.h generic-y += qspinlock.h generic-y += serial.h diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index c8b595c60910..61b0fc2026e6 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild @@ -13,7 +13,6 @@ generic-y += irq_work.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += msi.h generic-y += parport.h generic-y += percpu.h generic-y += preempt.h diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild index 64870c7be4a3..17726f2e46de 100644 --- a/arch/powerpc/include/asm/Kbuild +++ b/arch/powerpc/include/asm/Kbuild @@ -10,4 +10,3 @@ generic-y += local64.h generic-y += mcs_spinlock.h generic-y += preempt.h generic-y += vtime.h -generic-y += msi.h diff --git a/arch/riscv/include/asm/Kbuild b/arch/riscv/include/asm/Kbuild index 16970f246860..1efaeddf1e4b 100644 --- a/arch/riscv/include/asm/Kbuild +++ b/arch/riscv/include/asm/Kbuild @@ -22,7 +22,6 @@ generic-y += kvm_para.h generic-y += local.h generic-y += local64.h generic-y += mm-arch-hooks.h -generic-y += msi.h generic-y += percpu.h generic-y += preempt.h generic-y += sections.h diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild index b6212164847b..62de2eb2773d 100644 --- a/arch/sparc/include/asm/Kbuild +++ b/arch/sparc/include/asm/Kbuild @@ -18,7 +18,6 @@ generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += mmiowb.h generic-y += module.h -generic-y += msi.h generic-y += preempt.h generic-y += serial.h generic-y += trace_clock.h diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild index adff14fcb8e4..ddfee1bd9dc1 100644 --- a/include/asm-generic/Kbuild +++ b/include/asm-generic/Kbuild @@ -4,4 +4,5 @@ # (This file is not included when SRCARCH=um since UML borrows several # asm headers from the host architecutre.) +mandatory-y += msi.h mandatory-y += simd.h -- 2.17.1