{"id":2197023,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2197023/?format=json","project":{"id":69,"url":"http://patchwork.ozlabs.org/api/1.0/projects/69/?format=json","name":"QEMU powerpc development","link_name":"qemu-ppc","list_id":"qemu-ppc.nongnu.org","list_email":"qemu-ppc@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260216213121.47122-1-philmd@linaro.org>","date":"2026-02-16T21:31:13","name":"[v2,0/8] system: Absorb globals-target.c within common globals.c","submitter":{"id":85046,"url":"http://patchwork.ozlabs.org/api/1.0/people/85046/?format=json","name":"Philippe Mathieu-Daudé","email":"philmd@linaro.org"},"series":[{"id":492354,"url":"http://patchwork.ozlabs.org/api/1.0/series/492354/?format=json","date":"2026-02-16T21:31:13","name":"system: Absorb globals-target.c within common globals.c","version":2,"mbox":"http://patchwork.ozlabs.org/series/492354/mbox/"}],"headers":{"Return-Path":"<qemu-ppc-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=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=iDRo5U1/;\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-ppc-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 4fFGF61gHzz1xwC\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 08:31: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-ppc-bounces@nongnu.org>)\n\tid 1vs6Bw-0007a3-Fm; Mon, 16 Feb 2026 16:31:40 -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 <philmd@linaro.org>) id 1vs6Bn-0007NV-Gq\n for qemu-ppc@nongnu.org; Mon, 16 Feb 2026 16:31:38 -0500","from mail-wm1-x334.google.com ([2a00:1450:4864:20::334])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1vs6Bh-0003wR-Dy\n for qemu-ppc@nongnu.org; Mon, 16 Feb 2026 16:31:31 -0500","by mail-wm1-x334.google.com with SMTP id\n 5b1f17b1804b1-482f2599980so39271765e9.0\n for <qemu-ppc@nongnu.org>; Mon, 16 Feb 2026 13:31:25 -0800 (PST)","from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4836aa0847asm497175955e9.3.2026.02.16.13.31.22\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Mon, 16 Feb 2026 13:31:22 -0800 (PST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1771277484; x=1771882284; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=cCPH3IMkM+pPTIgeZK/yAg32MsXi9GhNEv/F9XKgdBc=;\n b=iDRo5U1/GAkqtYRnkhICN8aEp6Sdfk1XEaba6YA5a3TowH6c7DUGhiJ22/IqvA3tME\n Xn/YBs1wPg4dutLufQt64XsOP7f8pnf1ljyvmriPUvFdrimIsb31FTj2tAhr8bvISbrX\n Az1eRhwtjwu6oynMS5vyAZv7WxtT7AE+9G+L0aTGsivmBVal6i3Hhr4JiqjQP6+NKM26\n SeAWV/Obl3yjYKO2WaSIOGYlmlNL1P/TPX4e+11aPCMAvElI4YCXNle/ah3TjIBHji3q\n gmYPXvlZQoylNgUODByQADNYjR3x1m9rtV3ZvGWJLSE5GALYL7ecPjPsl4Ce4OJzsfd+\n fRiA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771277484; x=1771882284;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=cCPH3IMkM+pPTIgeZK/yAg32MsXi9GhNEv/F9XKgdBc=;\n b=GN1Vh0tsHU+E8IJqelwAp1+TUTJRbxGGZdG4sbA2lWT44lq1abHUlAUSgfWR1/OkYh\n 3fIjnwXiy9si+ZyK480o/WevhtVDvyi7en2Ls5y2F7doMIXeHJo+5Vrit+5hIS4hTgdS\n n8PyCoFt4BiA2SZzfDuBTLNx5qaRUmUKCaVWt2rHrn5N4anzvkUcWbGI8EsvvJkvFb9M\n w0SLDwOESbNfVh5yBAR910jnpEDudEH0OVa4FqKP30ES6luHwGalr4uUnGST+/gXuFo3\n qPWQ3j1Qbenex99j9oEQ1cfVuLgmQ5SPcIQlfCAHIIfFD9A/fwQP/F5EgBm8CvXwWftX\n Qi4Q==","X-Forwarded-Encrypted":"i=1;\n AJvYcCXGxiJAhYOBh8/ynFHsdnGwsBfntcnjncHgO2T9yxNUhAW1wYNIRDMjUT4axp50It0+b+0CxI5hLg==@nongnu.org","X-Gm-Message-State":"AOJu0YwJQH5NrkdUNpksw9dp3F2mp7rI0KMV91bgd3eiwnFf8Cb9Uxst\n eMXca5HKYQS1QSKDNnqE0FysWnJPtA7HSsvQYGRTPWF9iT8mHHl7Xl1ngnOFKG7wYXY=","X-Gm-Gg":"AZuq6aLcgw5Qb303BESQAxIxIaAt9/xXhhiYtnu3JzBmEgNGcn4Fj3lbYDPd+bsp+vQ\n u8lTAs5eWB8bPDk4nwzHlwN0/MkgRSsQtx9fikoupexArXlAdhwAypr0sKLxprGhASben7+S05L\n p8hvCCimQRKx3D3isXM5qLPnPUoT53xKOj+YKOlolebMfg0fi2wNFnjNnCEkiP2oGu7ulEtOAyC\n 2MWMIIuvbwFTFMR5CFMPT6OuxGvdQR6UFf6+j4HiiNzKHpNCltUUHiGGLDAUkXRocJm/PbpbkNM\n ZilfwSprAT28ptEOa3GgBrqQplX62j96eQSDsc5xxSC3l8qFCh6FYdb4vLtzey33yCQtnlMSyHU\n RIZml5wFdbCKWCfNECh3Sw07PUl2dJ+ZHc5Bp1CoP7cESE3KaYGq2itYOY9e/FUXTv2gyMFHz/U\n fUGpk+aAeSzDKf3El/EmMnTyQBEUeMEzQ4B+oMRCP6Chl3w6oRUx/mFPxrGd1Y80krMC5W+Hm6","X-Received":"by 2002:a05:600c:4f4b:b0:477:98f7:2aec with SMTP id\n 5b1f17b1804b1-48373a160b8mr229270625e9.3.1771277483722;\n Mon, 16 Feb 2026 13:31:23 -0800 (PST)","From":"=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>","To":"qemu-devel@nongnu.org","Cc":"Nicholas Piggin <npiggin@gmail.com>,\n =?utf-8?q?Herv=C3=A9_Poussineau?= <hpoussin@reactos.org>,\n Paolo Bonzini <pbonzini@redhat.com>, Chinmay Rath <rathc@linux.ibm.com>,\n Artyom Tarasenko <atar4qemu@gmail.com>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Laurent Vivier <laurent@vivier.eu>, qemu-ppc@nongnu.org,\n Harsh Prateek Bora <harshpb@linux.ibm.com>,\n Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, =?utf-8?q?Philippe_Mathie?=\n\t=?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org>","Subject":"[PATCH v2 0/8] system: Absorb globals-target.c within common\n globals.c","Date":"Mon, 16 Feb 2026 22:31:13 +0100","Message-ID":"<20260216213121.47122-1-philmd@linaro.org>","X-Mailer":"git-send-email 2.52.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=2a00:1450:4864:20::334;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x334.google.com","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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-ppc@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<qemu-ppc.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-ppc>","List-Post":"<mailto:qemu-ppc@nongnu.org>","List-Help":"<mailto:qemu-ppc-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"Missing review: #7\n\nSince v1:\n- Inlined PPC code in patch #7 (Mark)\n\nSlightly rework how the graphic dimension variables for\nthe M68k / PPC / SPARC targets are initialized, removing\nthe need for the target-specific globals-target.c file.\n\nPrevious discussion:\nhttps://lore.kernel.org/qemu-devel/e514d6db-781d-4afe-b057-9046c70044dc@redhat.com/\n\nPhilippe Mathieu-Daudé (8):\n  hw/display/macfb: Constify macfb_sense_table[] array\n  hw/display/macfb: Constify macfb_mode_table[] array\n  hw/m68k/q800: Use MacFbMode fields in q800_machine_init()\n  hw/m68k/q800: Set MACFB_DISPLAY_APPLE_21_COLOR within MacFrameBuffer\n  hw/m68k: Set graphic display dimensions generically\n  hw/sparc: Set graphic display dimensions generically\n  hw/ppc: Set graphic display dimensions generically\n  system/globals: Build as common code\n\n include/hw/display/macfb.h |  2 +-\n hw/display/macfb.c         | 18 +++++++++++-------\n hw/m68k/q800.c             | 17 ++++++-----------\n hw/ppc/mac_newworld.c      |  9 +++++++++\n hw/ppc/mac_oldworld.c      |  9 +++++++++\n hw/ppc/prep.c              |  9 +++++++++\n hw/ppc/spapr.c             |  9 +++++++++\n hw/sparc/sun4m.c           |  9 +++++++++\n hw/sparc64/sun4u.c         | 10 ++++++++++\n system/globals-target.c    | 24 ------------------------\n system/globals.c           |  3 +++\n system/meson.build         |  4 ----\n 12 files changed, 76 insertions(+), 47 deletions(-)\n delete mode 100644 system/globals-target.c"}