{"id":2197866,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2197866/?format=json","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.0/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260218-hppa-c3600-v3-0-b37ad58a20dd@rev.ng>","date":"2026-02-18T19:48:57","name":"[v3,0/4] hppa: Add simple C3600 machine with PA-8600 CPU","submitter":{"id":92408,"url":"http://patchwork.ozlabs.org/api/1.0/people/92408/?format=json","name":"Anton Johansson","email":"anjo@rev.ng"},"series":[{"id":492595,"url":"http://patchwork.ozlabs.org/api/1.0/series/492595/?format=json","date":"2026-02-18T19:48:58","name":"hppa: Add simple C3600 machine with PA-8600 CPU","version":3,"mbox":"http://patchwork.ozlabs.org/series/492595/mbox/"}],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=rev.ng header.i=@rev.ng header.a=rsa-sha256\n header.s=dkim header.b=ro8Ujcuu;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fGRq275Z6z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 19 Feb 2026 06:46:54 +1100 (AEDT)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1vsnUk-0008BW-03; Wed, 18 Feb 2026 14:45:58 -0500","from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <anjo@rev.ng>) id 1vsnUf-0008AG-Rw\n for qemu-devel@nongnu.org; Wed, 18 Feb 2026 14:45:55 -0500","from rev.ng ([94.130.142.21])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <anjo@rev.ng>) id 1vsnUb-0001vo-9N\n for qemu-devel@nongnu.org; Wed, 18 Feb 2026 14:45:53 -0500"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=rev.ng;\n s=dkim; h=Cc:To:Content-Transfer-Encoding:Content-Type:MIME-Version:\n Message-Id:Date:Subject:From:Sender:Reply-To:Content-ID:Content-Description:\n Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n List-Post:List-Owner:List-Archive:List-Unsubscribe:List-Unsubscribe-Post:\n List-Help; bh=OEI/CPt0rXBbUcqbP7Zb9ZnDlP7RuRsnTZ+m6rdHDSY=; b=ro8UjcuuHhiZsH8\n aNCQKU2OInNRUN8jvMNvzJLFErBR+LbAIk8dhxpfnNm+uhsW3hvJm2DlYvUF8d9w3gCWhnwBr+qFx\n 4tuPmIERFFstKk35xm0g9jCLE3uCl/A9GLnE8LNDXcq149/qgmasdC1POYx+xBtabG/7AiDMdpeWL\n 08=;","Subject":"[PATCH v3 0/4] hppa: Add simple C3600 machine with PA-8600 CPU","Date":"Wed, 18 Feb 2026 20:48:57 +0100","Message-Id":"<20260218-hppa-c3600-v3-0-b37ad58a20dd@rev.ng>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAAAAAAAC/3WPQQ6CMBREr0K6tua3UAqsvIcxppZf6AZqi42Ec\n HcrJLrR5UzyXmYWEtBbDKTJFuIx2mDHIYX8kBHdq6FDatuUCQdeAmdAe+cU1XkJQE0FlZSASgh\n JEuA8GvvcZOfLnj3eH8k57eVX2WRJKBiDgrp+DlfVtp7ewBQSVQ6sUE0syNvR2zCNft72RbZJf\n k2JjAJVTKIWlQGRm1M6cxy6zRH5f44nrtYKal2mK4x/uHVdX+/EEsMdAQAA","X-Change-ID":"20260210-hppa-c3600-f808770ea557","To":"qemu-devel@nongnu.org","Cc":"Richard Henderson <richard.henderson@linaro.org>,\n Helge Deller <deller@gmx.de>, Anton Johansson <anjo@rev.ng>","X-Developer-Signature":"v=1; a=ed25519-sha256; t=1771444170; l=2483;\n i=anjo@rev.ng; s=20260210; h=from:subject:message-id;\n bh=W+nV1VrVAL5I2eH1GBCRVyz//GMlUMY90+lWD5vzsSY=;\n b=m5nmN81Lj140Il3XDBgW2tr3IMO1Ln9JGUd4tulhOonf67L1qD4wgcCi4f70ych89TEk+TDS2\n tbPR9SmT3KtC01lkizsLHQaSnyZWlqQi5ZnqPSzZIgvcJZyQvVinvnO","X-Developer-Key":"i=anjo@rev.ng; a=ed25519;\n pk=dKsZvj/g3kgDxnV1/SWg8a0YNGSpWtFGNsWIepQYKow=","Received-SPF":"pass client-ip=94.130.142.21; envelope-from=anjo@rev.ng;\n helo=rev.ng","X-Spam_score_int":"-20","X-Spam_score":"-2.1","X-Spam_bar":"--","X-Spam_report":"(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Reply-to":"Anton Johansson <anjo@rev.ng>","From":"Anton Johansson via qemu development <qemu-devel@nongnu.org>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"This patchset tries to address a discrepancy between the C3700 machine\nin QEMU/SeaBIOS and the documentation (chapter 5)\n\n  http://ftp.parisc-linux.org/docs/whitepapers/PA-8700wp.pdf\n\nwhere 40 bits of physical address space are used in SeaBIOS compared\nto the 44 bits specified in the documentation.\n\nA PA-8600 CPU with 40 bits of physical address space is added along with\na C3600 machine using it by default.  AFAICT there are no major\ndifferences from QEMUs side between the PA-8600 and 8700 aside from the\nphysical address space size.  The PA-8700 machine can then be\nmoved to using 44 bits.  To account for the discrepancy with SeaBIOS, the\nfunctional tests now run a C3700 but with a PA-8600 CPU.\n\nCPU model definitions now inherit from a TYPE_HPPA_CPU base class and\nuse a HPPACPUDef struct to provide model specifics, similar to the SPARC\nand RISCV targets.  This hopefully makes it easier to add other models,\nsuch as the 8800/8900.\n\nBased on:\n  [PATCH v6 0/8] single-binary: Drop TARGET_PHYS_ADDR_SPACE_BITS\n  (20260218-phys_addr-v6-0-a603bf363218@rev.ng)\n\nSigned-off-by: Anton Johansson <anjo@rev.ng>\n---\nChanges in v3:\n- Fixed spelling in commit message/comment\n- Rebased\n- Dropped if statement in hppa_cpu_class_base_init() (patch\n  \"hppa: Introduce HPPACPUDef\").  Not needed as it will simply\n  be set to NULL for the abstract base class anyway.\n- Link to v2: https://lore.kernel.org/qemu-devel/20260210-hppa-c3600-v2-0-9ca09c677012@rev.ng\n\nChanges in v2:\n- Missed a reference to the old \"hppa\" CPU model, updated to\n  \"pa-7300lc\".\n- Link to v1: https://lore.kernel.org/qemu-devel/20260210-hppa-c3600-v1-0-a17ec58f053f@rev.ng\n\n---\nAnton Johansson (4):\n      hppa: Prepare for additional CPU models\n      hppa: Introduce HPPACPUDef\n      hppa: Get physical address space bits from HPPACPUDef\n      hppa: Add C3600 machine with PA-8600 CPU\n\n target/hppa/cpu-qom.h                 |  8 ++++-\n target/hppa/cpu.h                     | 35 +++++++++++++++----\n hw/hppa/machine.c                     | 64 +++++++++++++++++++++++++++--------\n hw/pci-host/astro.c                   |  2 +-\n linux-user/hppa/elfload.c             |  2 +-\n target/hppa/cpu.c                     | 50 ++++++++++++++++++++-------\n target/hppa/mem_helper.c              | 40 +++++++---------------\n tests/qtest/machine-none-test.c       |  2 +-\n tests/functional/hppa/test_seabios.py |  3 ++\n 9 files changed, 141 insertions(+), 65 deletions(-)"}