All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: qemu-devel@nongnu.org, Richard Henderson <richard.henderson@linaro.org>
Cc: Helge Deller <deller@gmx.de>, Sven Schnelle <svens@stackframe.org>
Subject: [PATCH v2 2/6] hw/hppa: Allow up to 16 emulated CPUs
Date: Mon, 31 Jan 2022 22:35:25 +0100	[thread overview]
Message-ID: <20220131213529.17404-3-deller@gmx.de> (raw)
In-Reply-To: <20220131213529.17404-1-deller@gmx.de>

This brings the hppa_hardware.h file in sync with the copy in the
SeaBIOS-hppa sources.

In order to support up to 16 CPUs, it's required to move the HPA for
MEMORY_HPA out of the address space of the 16th CPU.

Signed-off-by: Helge Deller <deller@gmx.de>
---
 hw/hppa/hppa_hardware.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hw/hppa/hppa_hardware.h b/hw/hppa/hppa_hardware.h
index bc258895c9..5edf577563 100644
--- a/hw/hppa/hppa_hardware.h
+++ b/hw/hppa/hppa_hardware.h
@@ -25,7 +25,7 @@
 #define LASI_GFX_HPA    0xf8000000
 #define ARTIST_FB_ADDR  0xf9000000
 #define CPU_HPA         0xfffb0000
-#define MEMORY_HPA      0xfffbf000
+#define MEMORY_HPA      0xfffff000

 #define PCI_HPA         DINO_HPA        /* PCI bus */
 #define IDE_HPA         0xf9000000      /* Boot disc controller */
@@ -43,9 +43,10 @@
 #define PORT_SERIAL1    (DINO_UART_HPA + 0x800)
 #define PORT_SERIAL2    (LASI_UART_HPA + 0x800)

-#define HPPA_MAX_CPUS   8       /* max. number of SMP CPUs */
+#define HPPA_MAX_CPUS   16      /* max. number of SMP CPUs */
 #define CPU_CLOCK_MHZ   250     /* emulate a 250 MHz CPU */

 #define CPU_HPA_CR_REG  7       /* store CPU HPA in cr7 (SeaBIOS internal) */
+#define PIM_STORAGE_SIZE 600	/* storage size of pdc_pim_toc_struct (64bit) */

 #endif
--
2.34.1



  parent reply	other threads:[~2022-01-31 21:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 21:35 [PATCH v2 0/6] Fixes and updates for hppa target Helge Deller
2022-01-31 21:35 ` [PATCH v2 1/6] seabios-hppa: Update SeaBIOS-hppa to VERSION 3 Helge Deller
2022-01-31 21:35 ` Helge Deller [this message]
2022-01-31 22:05   ` [PATCH v2 2/6] hw/hppa: Allow up to 16 emulated CPUs Richard Henderson
2022-02-01  9:37     ` Helge Deller
2022-01-31 21:35 ` [PATCH v2 3/6] hppa: Add support for an emulated TOC/NMI button Helge Deller
2022-01-31 22:06   ` Richard Henderson
2022-01-31 23:56   ` Philippe Mathieu-Daudé via
2022-01-31 21:35 ` [PATCH v2 4/6] hw/display/artist: rewrite vram access mode handling Helge Deller
2022-01-31 21:35 ` [PATCH v2 5/6] hw/display/artist: Mouse cursor fixes for HP-UX Helge Deller
2022-01-31 21:35 ` [PATCH v2 6/6] hw/display/artist: Fix draw_line() artefacts Helge Deller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220131213529.17404-3-deller@gmx.de \
    --to=deller@gmx.de \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=svens@stackframe.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.