Skip to contentSkip to conversation

RISC-V: defconfig: Cleanups and Generic PCIe Support

PATCH In review Palmer Dabbelt 2 participants 5 messages Jan 23, 2019 – Feb 12, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

cover RISC-V: defconfig: Cleanups and Generic PCIe Support

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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#1 lore raw

PATCH 1/3 RISC-V: defconfig: Move CONFIG_PCI{,E_XILINX}

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.

---
 arch/riscv/configs/defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/configs/defconfig +2 -2
index f399659d3b8d..658be23fa2c6 100644
@@ -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
Signature · 7 lines
2.18.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#2 lore raw

PATCH 2/3 RISC-V: defconfig: Enable Generic PCIE by default

In reply to Palmer Dabbelt

From: Alistair Francis <[email protected]>

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.

[Palmer: Split out PCIE_XILINX and CRYPTO_DEV_VIRTIO]
---
 arch/riscv/configs/defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/riscv/configs/defconfig +2 -1
index 658be23fa2c6..01fe50707d98 100644
@@ -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
Signature · 7 lines
2.18.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#3 lore raw

PATCH 3/3 RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y

In reply to Palmer Dabbelt

This allows acceleration of cryptography inside QEMU.

---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/configs/defconfig +1 -0
index 01fe50707d98..2fd3461e50ab 100644
@@ -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
Signature · 7 lines
2.18.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Reviewed-by on the v1 series
#4 lore raw
In reply to Palmer Dabbelt
Quoted 4 lines · Palmer Dabbelt

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:

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv