* [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: linux-kernel, Alistair Francis
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
^ permalink raw reply related [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: palmer, linux-riscv, 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
^ 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: palmer, linux-riscv, 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..
^ 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: palmer, linux-riscv, 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
^ 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, palmer, linux-riscv, 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..
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-01-15 17:52 UTC | newest]
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
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).