[Qemu-devel] [PATCH] riscv/Kconfig: enable PCI_DEVICES

David Abdurachmanov posted 1 patch 6 years, 8 months ago
Test asan failed
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190311091256.18385-1-david.abdurachmanov@gmail.com
Maintainers: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Alistair Francis <Alistair.Francis@wdc.com>, Palmer Dabbelt <palmer@sifive.com>, Sagar Karandikar <sagark@eecs.berkeley.edu>
hw/riscv/Kconfig | 3 +++
1 file changed, 3 insertions(+)
[Qemu-devel] [PATCH] riscv/Kconfig: enable PCI_DEVICES
Posted by David Abdurachmanov 6 years, 8 months ago
Re-enable PCI_DEVICES for RISC-V.
The patch is based on other <arch>/Kconfig.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
Fixes: 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
---
 hw/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
index e0ee3043a6..8c7fc1f31d 100644
--- a/hw/riscv/Kconfig
+++ b/hw/riscv/Kconfig
@@ -26,6 +26,9 @@ config SPIKE
 
 config RISCV_VIRT
     bool
+    imply PCI_DEVICES
+    imply TEST_DEVICES
+    select PCI
     select HART
     select SERIAL
     select VIRTIO_MMIO
-- 
2.20.1


Re: [Qemu-devel] [PATCH] riscv/Kconfig: enable PCI_DEVICES
Posted by Thomas Huth 6 years, 8 months ago
On 11/03/2019 10.12, David Abdurachmanov wrote:
> Re-enable PCI_DEVICES for RISC-V.
> The patch is based on other <arch>/Kconfig.
> 
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
> Fixes: 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
> ---
>  hw/riscv/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
> index e0ee3043a6..8c7fc1f31d 100644
> --- a/hw/riscv/Kconfig
> +++ b/hw/riscv/Kconfig
> @@ -26,6 +26,9 @@ config SPIKE
>  
>  config RISCV_VIRT
>      bool
> +    imply PCI_DEVICES
> +    imply TEST_DEVICES
> +    select PCI
>      select HART
>      select SERIAL
>      select VIRTIO_MMIO
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>

Re: [Qemu-devel] [PATCH] riscv/Kconfig: enable PCI_DEVICES
Posted by Paolo Bonzini 6 years, 8 months ago
On 11/03/19 13:46, Thomas Huth wrote:
> On 11/03/2019 10.12, David Abdurachmanov wrote:
>> Re-enable PCI_DEVICES for RISC-V.
>> The patch is based on other <arch>/Kconfig.
>>
>> Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
>> Fixes: 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
>> ---
>>  hw/riscv/Kconfig | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
>> index e0ee3043a6..8c7fc1f31d 100644
>> --- a/hw/riscv/Kconfig
>> +++ b/hw/riscv/Kconfig
>> @@ -26,6 +26,9 @@ config SPIKE
>>  
>>  config RISCV_VIRT
>>      bool
>> +    imply PCI_DEVICES
>> +    imply TEST_DEVICES
>> +    select PCI
>>      select HART
>>      select SERIAL
>>      select VIRTIO_MMIO
>>
> 
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> 

Queued, thanks.

Paolo

Re: [Qemu-devel] [PATCH] riscv/Kconfig: enable PCI_DEVICES
Posted by Palmer Dabbelt 6 years, 8 months ago
On Mon, 11 Mar 2019 06:52:33 PDT (-0700), pbonzini@redhat.com wrote:
> On 11/03/19 13:46, Thomas Huth wrote:
>> On 11/03/2019 10.12, David Abdurachmanov wrote:
>>> Re-enable PCI_DEVICES for RISC-V.
>>> The patch is based on other <arch>/Kconfig.
>>>
>>> Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
>>> Fixes: 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
>>> ---
>>>  hw/riscv/Kconfig | 3 +++
>>>  1 file changed, 3 insertions(+)
>>>
>>> diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
>>> index e0ee3043a6..8c7fc1f31d 100644
>>> --- a/hw/riscv/Kconfig
>>> +++ b/hw/riscv/Kconfig
>>> @@ -26,6 +26,9 @@ config SPIKE
>>>
>>>  config RISCV_VIRT
>>>      bool
>>> +    imply PCI_DEVICES
>>> +    imply TEST_DEVICES
>>> +    select PCI
>>>      select HART
>>>      select SERIAL
>>>      select VIRTIO_MMIO
>>>
>>
>> Reviewed-by: Thomas Huth <thuth@redhat.com>
>>
>
> Queued, thanks.

Thanks for picking this up!