Linux-RISC-V Archive on lore.kernel.org
 help / Atom feed
* [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default
@ 2019-01-12  0:41 Alistair Francis
  2019-01-12  2:07 ` Paul Walmsley
  2019-01-15 15:26 ` Christoph Hellwig
  0 siblings, 2 replies; 5+ messages in thread
From: Alistair Francis @ 2019-01-12  0:41 UTC (permalink / raw)
  To: palmer, linux-riscv; +Cc: Alistair Francis, linux-kernel

Enable generic PCIe by default in the RISC-V defconfig, this allows us
to use QEMU's PCIe support out of the box.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 arch/riscv/configs/defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index f399659d3b8d..7c86bd71ae68 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -14,6 +14,8 @@ CONFIG_EXPERT=y
 CONFIG_BPF_SYSCALL=y
 CONFIG_SMP=y
 CONFIG_PCI=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_PCI_HOST_GENERIC=y
 CONFIG_PCIE_XILINX=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=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
@@ -77,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.19.1


_______________________________________________
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

* Re: [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default
  2019-01-12  0:41 [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default Alistair Francis
@ 2019-01-12  2:07 ` Paul Walmsley
  2019-01-15 15:26 ` Christoph Hellwig
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Walmsley @ 2019-01-12  2:07 UTC (permalink / raw)
  To: Alistair Francis; +Cc: linux-riscv, palmer, linux-kernel

On Sat, 12 Jan 2019, Alistair Francis wrote:

> Enable generic PCIe by default in the RISC-V defconfig, this allows us
> to use QEMU's PCIe support out of the box.
> 
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>


- Paul

_______________________________________________
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

* Re: [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default
  2019-01-12  0:41 [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default Alistair Francis
  2019-01-12  2:07 ` Paul Walmsley
@ 2019-01-15 15:26 ` Christoph Hellwig
  2019-01-15 17:45   ` Alistair Francis
  1 sibling, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2019-01-15 15:26 UTC (permalink / raw)
  To: Alistair Francis; +Cc: linux-riscv, palmer, linux-kernel

On Sat, Jan 12, 2019 at 12:41:26AM +0000, Alistair Francis wrote:
> Enable generic PCIe by default in the RISC-V defconfig, this allows us
> to use QEMU's PCIe support out of the box.
> 
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

Looks good:

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

Alistair, is there a ready-made qemu machine with riscv + pcie?
That would be really useful for testing..

_______________________________________________
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

* Re: [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default
  2019-01-15 15:26 ` Christoph Hellwig
@ 2019-01-15 17:45   ` Alistair Francis
  2019-01-15 17:52     ` hch
  0 siblings, 1 reply; 5+ messages in thread
From: Alistair Francis @ 2019-01-15 17:45 UTC (permalink / raw)
  To: hch; +Cc: linux-riscv, palmer, linux-kernel

On Tue, 2019-01-15 at 07:26 -0800, Christoph Hellwig wrote:
> On Sat, Jan 12, 2019 at 12:41:26AM +0000, Alistair Francis wrote:
> > Enable generic PCIe by default in the RISC-V defconfig, this allows
> > us
> > to use QEMU's PCIe support out of the box.
> > 
> > Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> 
> Looks good:
> 
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Thanks!

> 
> Alistair, is there a ready-made qemu machine with riscv + pcie?
> That would be really useful for testing..

Yep, if you use master QEMU (it isn't in a release yet) the virt
machine has PCIe support.

Alistair

_______________________________________________
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

* Re: [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default
  2019-01-15 17:45   ` Alistair Francis
@ 2019-01-15 17:52     ` hch
  0 siblings, 0 replies; 5+ messages in thread
From: hch @ 2019-01-15 17:52 UTC (permalink / raw)
  To: Alistair Francis; +Cc: hch, linux-riscv, palmer, linux-kernel

On Tue, Jan 15, 2019 at 05:45:34PM +0000, Alistair Francis wrote:
> > Alistair, is there a ready-made qemu machine with riscv + pcie?
> > That would be really useful for testing..
> 
> Yep, if you use master QEMU (it isn't in a release yet) the virt
> machine has PCIe support.

Cool.  Time to play around with the latest qemu tree..

_______________________________________________
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, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-12  0:41 [PATCH v4] RISC-V: defconfig: Enable Generic PCIE by default Alistair Francis
2019-01-12  2:07 ` Paul Walmsley
2019-01-15 15:26 ` Christoph Hellwig
2019-01-15 17:45   ` Alistair Francis
2019-01-15 17:52     ` hch

Linux-RISC-V Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-riscv/0 linux-riscv/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-riscv linux-riscv/ https://lore.kernel.org/linux-riscv \
		linux-riscv@lists.infradead.org infradead-linux-riscv@archiver.kernel.org
	public-inbox-index linux-riscv


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-riscv


AGPL code for this site: git clone https://public-inbox.org/ public-inbox