diff mbox series

RISC-V: Add Plan 9 support to the defconfigs

Message ID 20190903233510.9846-1-palmer@sifive.com (mailing list archive)
State New, archived
Headers show
Series RISC-V: Add Plan 9 support to the defconfigs | expand

Commit Message

Palmer Dabbelt Sept. 3, 2019, 11:35 p.m. UTC
QEMU contains facilities for sharing directory trees between a guest and
host that are based on plan 9's network filesystem.  This patch adds the
relevant entries to our defconfigs to enable these, the most interesting
of which is probably CONFIG_VIRTIO_PCI.

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

Comments

Anup Patel Sept. 4, 2019, 3:35 a.m. UTC | #1
On Wed, Sep 4, 2019 at 5:06 AM Palmer Dabbelt <palmer@sifive.com> wrote:
>
> QEMU contains facilities for sharing directory trees between a guest and
> host that are based on plan 9's network filesystem.  This patch adds the
> relevant entries to our defconfigs to enable these, the most interesting
> of which is probably CONFIG_VIRTIO_PCI.
>
> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
> ---
>  arch/riscv/configs/defconfig      | 4 ++++
>  arch/riscv/configs/rv32_defconfig | 4 ++++
>  2 files changed, 8 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 3efff552a261..79ae1f932b2e 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -29,6 +29,8 @@ CONFIG_IP_PNP_DHCP=y
>  CONFIG_IP_PNP_BOOTP=y
>  CONFIG_IP_PNP_RARP=y
>  CONFIG_NETLINK_DIAG=y
> +CONFIG_NET_9P=y
> +CONFIG_NET_9P_VIRTIO=y
>  CONFIG_PCI=y
>  CONFIG_PCIEPORTBUS=y
>  CONFIG_PCI_HOST_GENERIC=y
> @@ -73,6 +75,7 @@ CONFIG_USB_STORAGE=y
>  CONFIG_USB_UAS=y
>  CONFIG_MMC=y
>  CONFIG_MMC_SPI=y
> +CONFIG_VIRTIO_PCI=y
>  CONFIG_VIRTIO_MMIO=y
>  CONFIG_EXT4_FS=y
>  CONFIG_EXT4_FS_POSIX_ACL=y
> @@ -86,6 +89,7 @@ CONFIG_NFS_V4=y
>  CONFIG_NFS_V4_1=y
>  CONFIG_NFS_V4_2=y
>  CONFIG_ROOT_NFS=y
> +CONFIG_9P_FS=y
>  CONFIG_CRYPTO_USER_API_HASH=y
>  CONFIG_CRYPTO_DEV_VIRTIO=y
>  CONFIG_PRINTK_TIME=y
> diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig
> index 7da93e494445..5bf9e919900a 100644
> --- a/arch/riscv/configs/rv32_defconfig
> +++ b/arch/riscv/configs/rv32_defconfig
> @@ -29,6 +29,8 @@ CONFIG_IP_PNP_DHCP=y
>  CONFIG_IP_PNP_BOOTP=y
>  CONFIG_IP_PNP_RARP=y
>  CONFIG_NETLINK_DIAG=y
> +CONFIG_NET_9P=y
> +CONFIG_NET_9P_VIRTIO=y
>  CONFIG_PCI=y
>  CONFIG_PCIEPORTBUS=y
>  CONFIG_PCI_HOST_GENERIC=y
> @@ -69,6 +71,7 @@ CONFIG_USB_OHCI_HCD=y
>  CONFIG_USB_OHCI_HCD_PLATFORM=y
>  CONFIG_USB_STORAGE=y
>  CONFIG_USB_UAS=y
> +CONFIG_VIRTIO_PCI=y
>  CONFIG_VIRTIO_MMIO=y
>  CONFIG_SIFIVE_PLIC=y
>  CONFIG_EXT4_FS=y
> @@ -83,6 +86,7 @@ CONFIG_NFS_V4=y
>  CONFIG_NFS_V4_1=y
>  CONFIG_NFS_V4_2=y
>  CONFIG_ROOT_NFS=y
> +CONFIG_9P_FS=y
>  CONFIG_CRYPTO_USER_API_HASH=y
>  CONFIG_CRYPTO_DEV_VIRTIO=y
>  CONFIG_PRINTK_TIME=y
> --
> 2.21.0
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv

This is already covered by the following patch:
https://lkml.org/lkml/2019/8/29/684

Regards,
Anup
Christoph Hellwig Sept. 4, 2019, 5:38 a.m. UTC | #2
On Tue, Sep 03, 2019 at 04:35:10PM -0700, Palmer Dabbelt wrote:
> QEMU contains facilities for sharing directory trees between a guest and
> host that are based on plan 9's network filesystem.  This patch adds the
> relevant entries to our defconfigs to enable these, the most interesting
> of which is probably CONFIG_VIRTIO_PCI.

The subject line feels odd - it adds 9p support, which is the Plan 9
file system protocol (plus a lot of weird Linux extensions..)
Palmer Dabbelt Sept. 4, 2019, 5:39 p.m. UTC | #3
On Tue, 03 Sep 2019 20:35:12 PDT (-0700), anup@brainfault.org wrote:
> On Wed, Sep 4, 2019 at 5:06 AM Palmer Dabbelt <palmer@sifive.com> wrote:
>>
>> QEMU contains facilities for sharing directory trees between a guest and
>> host that are based on plan 9's network filesystem.  This patch adds the
>> relevant entries to our defconfigs to enable these, the most interesting
>> of which is probably CONFIG_VIRTIO_PCI.
>>
>> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
>> ---
>>  arch/riscv/configs/defconfig      | 4 ++++
>>  arch/riscv/configs/rv32_defconfig | 4 ++++
>>  2 files changed, 8 insertions(+)
>>
>> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
>> index 3efff552a261..79ae1f932b2e 100644
>> --- a/arch/riscv/configs/defconfig
>> +++ b/arch/riscv/configs/defconfig
>> @@ -29,6 +29,8 @@ CONFIG_IP_PNP_DHCP=y
>>  CONFIG_IP_PNP_BOOTP=y
>>  CONFIG_IP_PNP_RARP=y
>>  CONFIG_NETLINK_DIAG=y
>> +CONFIG_NET_9P=y
>> +CONFIG_NET_9P_VIRTIO=y
>>  CONFIG_PCI=y
>>  CONFIG_PCIEPORTBUS=y
>>  CONFIG_PCI_HOST_GENERIC=y
>> @@ -73,6 +75,7 @@ CONFIG_USB_STORAGE=y
>>  CONFIG_USB_UAS=y
>>  CONFIG_MMC=y
>>  CONFIG_MMC_SPI=y
>> +CONFIG_VIRTIO_PCI=y
>>  CONFIG_VIRTIO_MMIO=y
>>  CONFIG_EXT4_FS=y
>>  CONFIG_EXT4_FS_POSIX_ACL=y
>> @@ -86,6 +89,7 @@ CONFIG_NFS_V4=y
>>  CONFIG_NFS_V4_1=y
>>  CONFIG_NFS_V4_2=y
>>  CONFIG_ROOT_NFS=y
>> +CONFIG_9P_FS=y
>>  CONFIG_CRYPTO_USER_API_HASH=y
>>  CONFIG_CRYPTO_DEV_VIRTIO=y
>>  CONFIG_PRINTK_TIME=y
>> diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig
>> index 7da93e494445..5bf9e919900a 100644
>> --- a/arch/riscv/configs/rv32_defconfig
>> +++ b/arch/riscv/configs/rv32_defconfig
>> @@ -29,6 +29,8 @@ CONFIG_IP_PNP_DHCP=y
>>  CONFIG_IP_PNP_BOOTP=y
>>  CONFIG_IP_PNP_RARP=y
>>  CONFIG_NETLINK_DIAG=y
>> +CONFIG_NET_9P=y
>> +CONFIG_NET_9P_VIRTIO=y
>>  CONFIG_PCI=y
>>  CONFIG_PCIEPORTBUS=y
>>  CONFIG_PCI_HOST_GENERIC=y
>> @@ -69,6 +71,7 @@ CONFIG_USB_OHCI_HCD=y
>>  CONFIG_USB_OHCI_HCD_PLATFORM=y
>>  CONFIG_USB_STORAGE=y
>>  CONFIG_USB_UAS=y
>> +CONFIG_VIRTIO_PCI=y
>>  CONFIG_VIRTIO_MMIO=y
>>  CONFIG_SIFIVE_PLIC=y
>>  CONFIG_EXT4_FS=y
>> @@ -83,6 +86,7 @@ CONFIG_NFS_V4=y
>>  CONFIG_NFS_V4_1=y
>>  CONFIG_NFS_V4_2=y
>>  CONFIG_ROOT_NFS=y
>> +CONFIG_9P_FS=y
>>  CONFIG_CRYPTO_USER_API_HASH=y
>>  CONFIG_CRYPTO_DEV_VIRTIO=y
>>  CONFIG_PRINTK_TIME=y
>> --
>> 2.21.0
>>
>>
>> _______________________________________________
>> linux-riscv mailing list
>> linux-riscv@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-riscv
>
> This is already covered by the following patch:
> https://lkml.org/lkml/2019/8/29/684
>
> Regards,
> Anup

Thanks, let's drop mine.
diff mbox series

Patch

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 3efff552a261..79ae1f932b2e 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -29,6 +29,8 @@  CONFIG_IP_PNP_DHCP=y
 CONFIG_IP_PNP_BOOTP=y
 CONFIG_IP_PNP_RARP=y
 CONFIG_NETLINK_DIAG=y
+CONFIG_NET_9P=y
+CONFIG_NET_9P_VIRTIO=y
 CONFIG_PCI=y
 CONFIG_PCIEPORTBUS=y
 CONFIG_PCI_HOST_GENERIC=y
@@ -73,6 +75,7 @@  CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
 CONFIG_MMC=y
 CONFIG_MMC_SPI=y
+CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_MMIO=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
@@ -86,6 +89,7 @@  CONFIG_NFS_V4=y
 CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
+CONFIG_9P_FS=y
 CONFIG_CRYPTO_USER_API_HASH=y
 CONFIG_CRYPTO_DEV_VIRTIO=y
 CONFIG_PRINTK_TIME=y
diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig
index 7da93e494445..5bf9e919900a 100644
--- a/arch/riscv/configs/rv32_defconfig
+++ b/arch/riscv/configs/rv32_defconfig
@@ -29,6 +29,8 @@  CONFIG_IP_PNP_DHCP=y
 CONFIG_IP_PNP_BOOTP=y
 CONFIG_IP_PNP_RARP=y
 CONFIG_NETLINK_DIAG=y
+CONFIG_NET_9P=y
+CONFIG_NET_9P_VIRTIO=y
 CONFIG_PCI=y
 CONFIG_PCIEPORTBUS=y
 CONFIG_PCI_HOST_GENERIC=y
@@ -69,6 +71,7 @@  CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_HCD_PLATFORM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
+CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_MMIO=y
 CONFIG_SIFIVE_PLIC=y
 CONFIG_EXT4_FS=y
@@ -83,6 +86,7 @@  CONFIG_NFS_V4=y
 CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
+CONFIG_9P_FS=y
 CONFIG_CRYPTO_USER_API_HASH=y
 CONFIG_CRYPTO_DEV_VIRTIO=y
 CONFIG_PRINTK_TIME=y