public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu
@ 2020-07-02 13:02 Corentin Labbe
  2020-07-02 13:27 ` Julian Calaby
  2020-07-02 19:58 ` Mark Cave-Ayland
  0 siblings, 2 replies; 4+ messages in thread
From: Corentin Labbe @ 2020-07-02 13:02 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, sparclinux, Corentin Labbe

The sparc64 qemu machines uses pcnet32 network hardware by default, so for
simple boot testing using qemu, having PCNET32 is useful.
Same for its storage which is a PATA_CMD64.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 arch/sparc/configs/sparc64_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig
index bde4d21a8ac8..61073f48a7a1 100644
--- a/arch/sparc/configs/sparc64_defconfig
+++ b/arch/sparc/configs/sparc64_defconfig
@@ -236,3 +236,6 @@ CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRC16=m
 CONFIG_LIBCRC32C=m
 CONFIG_VCC=m
+CONFIG_ATA=y
+CONFIG_PATA_CMD64X=y
+CONFIG_PCNET32=y
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu
  2020-07-02 13:02 [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu Corentin Labbe
@ 2020-07-02 13:27 ` Julian Calaby
  2020-07-02 19:58 ` Mark Cave-Ayland
  1 sibling, 0 replies; 4+ messages in thread
From: Julian Calaby @ 2020-07-02 13:27 UTC (permalink / raw)
  To: Corentin Labbe; +Cc: David S. Miller, LKML, sparclinux

Hi Corentin,

On Thu, Jul 2, 2020 at 11:03 PM Corentin Labbe <clabbe@baylibre.com> wrote:
>
> The sparc64 qemu machines uses pcnet32 network hardware by default, so for
> simple boot testing using qemu, having PCNET32 is useful.
> Same for its storage which is a PATA_CMD64.
>
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
> ---
>  arch/sparc/configs/sparc64_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig
> index bde4d21a8ac8..61073f48a7a1 100644
> --- a/arch/sparc/configs/sparc64_defconfig
> +++ b/arch/sparc/configs/sparc64_defconfig
> @@ -236,3 +236,6 @@ CONFIG_CRYPTO_TWOFISH=m
>  CONFIG_CRC16=m
>  CONFIG_LIBCRC32C=m
>  CONFIG_VCC=m
> +CONFIG_ATA=y
> +CONFIG_PATA_CMD64X=y
> +CONFIG_PCNET32=y

FWIW the CMD640 is the IDE controller used on the Ultra 5/10 machines.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu
  2020-07-02 13:02 [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu Corentin Labbe
  2020-07-02 13:27 ` Julian Calaby
@ 2020-07-02 19:58 ` Mark Cave-Ayland
  2020-07-03  5:55   ` LABBE Corentin
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Cave-Ayland @ 2020-07-02 19:58 UTC (permalink / raw)
  To: Corentin Labbe, davem; +Cc: linux-kernel, sparclinux

On 02/07/2020 14:02, Corentin Labbe wrote:

> The sparc64 qemu machines uses pcnet32 network hardware by default, so for
> simple boot testing using qemu, having PCNET32 is useful.
> Same for its storage which is a PATA_CMD64.

Which version of QEMU are you using? qemu-system-sparc64 switched to using a hme NIC
by default in version 2.11 (see
https://wiki.qemu.org/Documentation/Platforms/SPARC#Changes_to_sun4u_machine_from_2.11_onwards)
which is well over 2 years ago...


ATB,

Mark.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu
  2020-07-02 19:58 ` Mark Cave-Ayland
@ 2020-07-03  5:55   ` LABBE Corentin
  0 siblings, 0 replies; 4+ messages in thread
From: LABBE Corentin @ 2020-07-03  5:55 UTC (permalink / raw)
  To: Mark Cave-Ayland; +Cc: davem, linux-kernel, sparclinux

On Thu, Jul 02, 2020 at 08:58:40PM +0100, Mark Cave-Ayland wrote:
> On 02/07/2020 14:02, Corentin Labbe wrote:
> 
> > The sparc64 qemu machines uses pcnet32 network hardware by default, so for
> > simple boot testing using qemu, having PCNET32 is useful.
> > Same for its storage which is a PATA_CMD64.
> 
> Which version of QEMU are you using? qemu-system-sparc64 switched to using a hme NIC
> by default in version 2.11 (see
> https://wiki.qemu.org/Documentation/Platforms/SPARC#Changes_to_sun4u_machine_from_2.11_onwards)
> which is well over 2 years ago...
> 

You are right, I verfied in the code and it is sunhme by default.
So I will verify it works and send a v2.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-03  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-02 13:02 [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu Corentin Labbe
2020-07-02 13:27 ` Julian Calaby
2020-07-02 19:58 ` Mark Cave-Ayland
2020-07-03  5:55   ` LABBE Corentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox