Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5620855ybp; Tue, 8 Oct 2019 05:59:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwT2ymNEA+UI1IePKevERCDi5geX9LtTEprS9bkUofMYdaUxlzwTDk6p2wO18ne4vunp3Z6 X-Received: by 2002:a05:6402:120e:: with SMTP id c14mr6708627edw.272.1570539559050; Tue, 08 Oct 2019 05:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570539559; cv=none; d=google.com; s=arc-20160816; b=aV7iL0g2aVqUFp3c7xkR7rdP7yfZRQf6jiPTP3XUnxpumH0/I7QFMHuTUE2bVDmFiZ vG0iGnOs5YI6UCvDRH9HcDtRvAUVbkolaNZ6HqboO7v1iWWDESJLXYV25+2x9BTbWcQZ RUDAZvguaqZfV445At3Yid9BB10wAHW9b1lzj+3W+5Xg80jjodIVnlDFD9FFN4rVP6iI AXHbXFMx0FwnUg5MQR8AZW+SrA23/8v3r1GtJYe0yZH7oNmZHpVgmSeyGFSEqYpQxbxM n/lBY9h98GlD4aCSqD0SjQ8XYC1PrTwAFBmeTxt5NZrloxgZesy2qHj9pBHwoK3izQa4 S9xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=GfvsO4/d+Aty+AebeEsW364ybAjW+zeAPcXCiQNi3OY=; b=GJn1ggyVeBkdZTEr/k15hgDBobF52LUB63+AeUePHeUJaL+1bR0vNjvcAdLq2f9Pfk qTUwzUF/tgkUrkkUk1y4XmccDnpj0dzyaZ3PqRmXP6NPjsG4tBymKPuxSrPGtRT0U8up 8dyhM6fBzv612kcuQ9GPfcKsCxiOctCL5ZOF0onUiH1zQDLiIEsIT/xt4hdA8Ohd+uXK 4Dl2XdYlVS/4yrWOWUcWOpAg1DAC4+m4EFZHPRmrWSnYPo2oh1UB5oHciFj5KLqueCfD VQFlGIT6bezWMC0g2Y6oQSxUEpTcJSqz2rYH4U14kD8B7ycCgQ4USqM1046SSIFrwJmg S0Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=au8NF5xY; 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 u3si8884363ejj.47.2019.10.08.05.58.54; Tue, 08 Oct 2019 05:59:19 -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=au8NF5xY; 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 S1730925AbfJHM6n (ORCPT + 99 others); Tue, 8 Oct 2019 08:58:43 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54116 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730317AbfJHM6n (ORCPT ); Tue, 8 Oct 2019 08:58:43 -0400 Received: by mail-wm1-f67.google.com with SMTP id i16so3044093wmd.3 for ; Tue, 08 Oct 2019 05:58:41 -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; bh=GfvsO4/d+Aty+AebeEsW364ybAjW+zeAPcXCiQNi3OY=; b=au8NF5xYwMDXKLOX11L7FwEpPZ4rNyVtbiLvU9GJnkTZiesvqWaTqlfaUzrc5+jmld GCjNf3/+0KqE2CLGxVJ6PmRWNLTBcDm+BWd3oBmLpcLwYbLtqRcy+FWlcWlSbskjy5Qk PDC08Tw0s01bDJBUZ4H+glTABJshk5jt67rD0Fiue4l5TXj5oLQZz6nxlpPe6vz/BZhM GtWLYQaSrwaSY3fEw26Gd/0mLfYEN6NqNt8a1kYowZf0tmsgxwbY9Y+WvInlZJoPqX90 bKmtHLcA+4O7SBbMUeItG4uzgDxQh9aT57Af4d6j4mOteBTGqFILqYgAtUr2hILfh0OH P8dg== 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; bh=GfvsO4/d+Aty+AebeEsW364ybAjW+zeAPcXCiQNi3OY=; b=g5ISTt5IKPwmD3lX0yG0nmQ0Msmgo5UqZNgbwHRoYlbawv2yjkt9Ckqgu2MCyDTy5Z I8m0UnEPj+8uknWdBOe0GalV9y8RZaLE6Xb1yAoDlxP3Y7tRwLqRpZsHxQkqtp/XTtC7 t/GUybq70nal65OwttTfm1bLi0ukseDK6RZrsEYXzmIMKvW5d+pUlpSJvxjn3pIX26WZ BQZKuKaZKVuyBCB9HMzYKtHpJmRdXmf9PwQbEU3TcYycX9QNIE9+VmWckNsly5DGpLYf v3Qb9VKX//O2NcXCsRvGCfT60r4JrgyoTXHduE7gGM4aAONt8ZQkUcSVijSZ5+MPKbYB J2oQ== X-Gm-Message-State: APjAAAUwFHmBnLXxDsdEwcatAh7+IdbeK3147YwkqsVx5DrIBJN34lsa mWgI3ygnLmScbcXj5fajdX23CMpuAQj/W9Mt X-Received: by 2002:a1c:7c15:: with SMTP id x21mr3422779wmc.36.1570539520447; Tue, 08 Oct 2019 05:58:40 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id o4sm38444938wre.91.2019.10.08.05.58.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Oct 2019 05:58:39 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Kuldeep Dave , Albert Ou , Bharat Kumar Gogada , Bjorn Helgaas , Firoz Khan , Greg Kroah-Hartman , Masahiro Yamada , Palmer Dabbelt , Paul Walmsley , Will Deacon , linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2] PCI/MSI: Enable PCI_MSI_IRQ_DOMAIN support for Microblaze Date: Tue, 8 Oct 2019 14:58:35 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kuldeep Dave Add Microblaze as an arch that supports PCI_MSI_IRQ_DOMAIN and add generation of msi.h in the Microblaze arch. The same change has been done by commit 251a44888183 ("riscv: include generic support for MSI irqdomains") and by commit 2a9af0273c1c ("PCI/MSI: Enable PCI_MSI_IRQ_DOMAIN support for RISC-V"). Signed-off-by: Kuldeep Dave Signed-off-by: Bharat Kumar Gogada Signed-off-by: Michal Simek --- Changes in v2: - Squash patches together https://lkml.org/lkml/2019/10/8/277 https://lkml.org/lkml/2019/10/8/283 Please take it directly via pci tree. --- arch/microblaze/include/asm/Kbuild | 1 + drivers/pci/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/microblaze/include/asm/Kbuild b/arch/microblaze/include/asm/Kbuild index e5c9170a07fc..83417105c00a 100644 --- a/arch/microblaze/include/asm/Kbuild +++ b/arch/microblaze/include/asm/Kbuild @@ -25,6 +25,7 @@ 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/drivers/pci/Kconfig b/drivers/pci/Kconfig index a304f5ea11b9..9d259372fbfd 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -52,7 +52,7 @@ config PCI_MSI If you don't know what to do here, say Y. config PCI_MSI_IRQ_DOMAIN - def_bool ARC || ARM || ARM64 || X86 || RISCV + def_bool ARC || ARM || ARM64 || X86 || RISCV || MICROBLAZE depends on PCI_MSI select GENERIC_MSI_IRQ_DOMAIN -- 2.17.1