linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support
@ 2019-01-23 22:50 Palmer Dabbelt
  2019-01-23 22:50 ` [PATCH 1/3] RISC-V: defconfig: Move CONFIG_PCI{,E_XILINX} Palmer Dabbelt
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Palmer Dabbelt @ 2019-01-23 22:50 UTC (permalink / raw)
  To: linux-riscv, Alistair Francis, Paul Walmsley

This bounced around on the mailing list a handful of times.  If there's
no opposition then I'll go ahead and put this in my next PR.  I know the
split is a bit pedantic, but since everyone depends on defconfig I want
to be explicit about the changes.



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH 1/3] RISC-V: defconfig: Move CONFIG_PCI{,E_XILINX}
  2019-01-23 22:50 [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Palmer Dabbelt
@ 2019-01-23 22:50 ` Palmer Dabbelt
  2019-01-23 22:50 ` [PATCH 2/3] RISC-V: defconfig: Enable Generic PCIE by default Palmer Dabbelt
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Palmer Dabbelt @ 2019-01-23 22:50 UTC (permalink / raw)
  To: linux-riscv, Alistair Francis, Paul Walmsley; +Cc: Palmer Dabbelt

eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci")
reorganized the PCI-related Kconfig entries and resulted in a diff in
our defconfig.  This simply removes the diff.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
---
 arch/riscv/configs/defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index f399659d3b8d..658be23fa2c6 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -13,8 +13,6 @@ CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
 CONFIG_BPF_SYSCALL=y
 CONFIG_SMP=y
-CONFIG_PCI=y
-CONFIG_PCIE_XILINX=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 CONFIG_NET=y
@@ -28,6 +26,8 @@ CONFIG_IP_PNP_DHCP=y
 CONFIG_IP_PNP_BOOTP=y
 CONFIG_IP_PNP_RARP=y
 CONFIG_NETLINK_DIAG=y
+CONFIG_PCI=y
+CONFIG_PCIE_XILINX=y
 CONFIG_DEVTMPFS=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_VIRTIO_BLK=y
-- 
2.18.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH 2/3] RISC-V: defconfig: Enable Generic PCIE by default
  2019-01-23 22:50 [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Palmer Dabbelt
  2019-01-23 22:50 ` [PATCH 1/3] RISC-V: defconfig: Move CONFIG_PCI{,E_XILINX} Palmer Dabbelt
@ 2019-01-23 22:50 ` Palmer Dabbelt
  2019-01-23 22:50 ` [PATCH 3/3] RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y Palmer Dabbelt
  2019-02-12  7:05 ` [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Christoph Hellwig
  3 siblings, 0 replies; 5+ messages in thread
From: Palmer Dabbelt @ 2019-01-23 22:50 UTC (permalink / raw)
  To: linux-riscv, Alistair Francis, Paul Walmsley
  Cc: Palmer Dabbelt, Alistair Francis

From: Alistair Francis <Alistair.Francis@wdc.com>

Enable generic PCIe by default in the RISC-V defconfig, this allows us
to use QEMU's PCIe support out of the box.  CONFIG_RAS=y is
automatically selected by generic PCIe, so it has been dropped from
the defconfig.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
[Palmer: Split out PCIE_XILINX and CRYPTO_DEV_VIRTIO]
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
---
 arch/riscv/configs/defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 658be23fa2c6..01fe50707d98 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -27,6 +27,8 @@ CONFIG_IP_PNP_BOOTP=y
 CONFIG_IP_PNP_RARP=y
 CONFIG_NETLINK_DIAG=y
 CONFIG_PCI=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_PCI_HOST_GENERIC=y
 CONFIG_PCIE_XILINX=y
 CONFIG_DEVTMPFS=y
 CONFIG_BLK_DEV_LOOP=y
@@ -63,7 +65,6 @@ CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
 CONFIG_VIRTIO_MMIO=y
 CONFIG_SIFIVE_PLIC=y
-CONFIG_RAS=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
 CONFIG_AUTOFS4_FS=y
-- 
2.18.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* [PATCH 3/3] RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y
  2019-01-23 22:50 [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Palmer Dabbelt
  2019-01-23 22:50 ` [PATCH 1/3] RISC-V: defconfig: Move CONFIG_PCI{,E_XILINX} Palmer Dabbelt
  2019-01-23 22:50 ` [PATCH 2/3] RISC-V: defconfig: Enable Generic PCIE by default Palmer Dabbelt
@ 2019-01-23 22:50 ` Palmer Dabbelt
  2019-02-12  7:05 ` [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Christoph Hellwig
  3 siblings, 0 replies; 5+ messages in thread
From: Palmer Dabbelt @ 2019-01-23 22:50 UTC (permalink / raw)
  To: linux-riscv, Alistair Francis, Paul Walmsley; +Cc: Palmer Dabbelt

This allows acceleration of cryptography inside QEMU.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 01fe50707d98..2fd3461e50ab 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -78,5 +78,6 @@ CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_CRYPTO_USER_API_HASH=y
+CONFIG_CRYPTO_DEV_VIRTIO=y
 CONFIG_PRINTK_TIME=y
 # CONFIG_RCU_TRACE is not set
-- 
2.18.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support
  2019-01-23 22:50 [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Palmer Dabbelt
                   ` (2 preceding siblings ...)
  2019-01-23 22:50 ` [PATCH 3/3] RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y Palmer Dabbelt
@ 2019-02-12  7:05 ` Christoph Hellwig
  3 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2019-02-12  7:05 UTC (permalink / raw)
  To: Palmer Dabbelt; +Cc: linux-riscv, Alistair Francis, Paul Walmsley

On Wed, Jan 23, 2019 at 02:50:22PM -0800, Palmer Dabbelt wrote:
> This bounced around on the mailing list a handful of times.  If there's
> no opposition then I'll go ahead and put this in my next PR.  I know the
> split is a bit pedantic, but since everyone depends on defconfig I want
> to be explicit about the changes.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2019-02-12  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 22:50 [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Palmer Dabbelt
2019-01-23 22:50 ` [PATCH 1/3] RISC-V: defconfig: Move CONFIG_PCI{,E_XILINX} Palmer Dabbelt
2019-01-23 22:50 ` [PATCH 2/3] RISC-V: defconfig: Enable Generic PCIE by default Palmer Dabbelt
2019-01-23 22:50 ` [PATCH 3/3] RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y Palmer Dabbelt
2019-02-12  7:05 ` [PATCH 0/3] RISC-V: defconfig: Cleanups and Generic PCIe Support Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).