From patchwork Thu Dec 7 10:54:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 751067 Delivered-To: patch@linaro.org Received: by 2002:adf:a499:0:b0:333:3a04:f257 with SMTP id g25csp354428wrb; Thu, 7 Dec 2023 02:55:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9SDpKp03e8eYJYYalYgdtyo8qa6HS13vgBxQFvkgEDs1zs0x6zER/FXaUs7173z0rkJgF X-Received: by 2002:a05:620a:7f0:b0:77d:8e73:ff34 with SMTP id k16-20020a05620a07f000b0077d8e73ff34mr1332722qkk.29.1701946549606; Thu, 07 Dec 2023 02:55:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701946549; cv=none; d=google.com; s=arc-20160816; b=T0UsHEAurdBM606Y9TF6OJh9gSBkn/w38Ry2g9IuNltggRCbX+mLcDe3aRDL+NDzmn aln2ZYsgEXASKOtrFgOaKY9JAnUct93QUjIeDLWev3/oDZp1SGMC0RxhlvEdRLaYUGeD OQvhtGoAGErk8IXMzx8dQiNsiLqvXj/h4pMGdflnKC6+Hb39RlAAngVUeUbkpyOCgL// aM7bIjVZId9V563/qU0p6ucw5F+9Sib0hCguJ9bf8IVY3CcB65ur6OZZ5shUyFtFnY6Y W/19RvhPsAcivfSjLLwS7sg8i4dQQ+nEtCbGbUk/EM6/Y9XNN1y+DJGbG5scuVIREygi TE8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=VWib7g51s4LqF4o+fXWTb1K6zI11XXQH5HvJiK0NBFM=; fh=ZXDWg7hKG7Hj19AbRuutTLw+Zvn/B9RsGUUw/YagpFI=; b=HY7ORvwnrESBbQESaX41BIL1zN3MtVSXfRmpaVBDUABgpm2eG6m7ISNMXWoodP/4qB iI3IAykpI1az7qFln1VgaTypKulvzKz1mOrHZhRTHEqVNavRsgrHCya9+tzDdUIfQUsh sSzjHxHKsrj+KCnt/+esnj/W5OOWOtfloTcWLprdNXsMISiW6IdHLuuzWQvHLXyCBYKY VmkFPiGIyNyeWbu8ieJsmDxnP8H6jPz7xCIwK7xugIoZzrAFD11E16F7Iz9rAtyovsxb ZQtYbCcEbMBEXrj8Zo1WhUM4eYpjIohChWXhRO54Wo7pMOGLa7SJqTJKDDbdHM/7fdIG oP6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Opx7nHwP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s26-20020a05620a031a00b0077f10498a7bsi995542qkm.212.2023.12.07.02.55.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Dec 2023 02:55:49 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Opx7nHwP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBC1e-0006WI-9k; Thu, 07 Dec 2023 05:54:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBC1c-0006Va-5B for qemu-devel@nongnu.org; Thu, 07 Dec 2023 05:54:36 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBC1a-00076Y-Gs for qemu-devel@nongnu.org; Thu, 07 Dec 2023 05:54:35 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40bda47c489so8289925e9.3 for ; Thu, 07 Dec 2023 02:54:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701946469; x=1702551269; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VWib7g51s4LqF4o+fXWTb1K6zI11XXQH5HvJiK0NBFM=; b=Opx7nHwPHmxfqZaO+khkoN8b0yq5TOJ2reRISZbDrWPt4P2/VhIUTkrVT+LuL3jNqT cBVsf/+C2Dw3KbDaMs3NA3mw7AVSvDurYUtAO7RQZJJJcslgSzSx9k58f3H5xjxKxr9q TrgsIdjvUhYAMBjept9Bo3O3++7/OZINkD6mEv6t+UO6Tn3yoxoqD3XUTzYqKBUuYz2j SdhKOtsFhrTh4qUNpvw0xpME3e43DaJdeYRulYRjl9x9Kp2vNsa7SO2hXnSLK8mTpAtZ b22bP5dAI6S+ygfXuodjmvdKWbuT6ZT50oiaX/pjpsYmnutLdvGeY8zcSRaPotifclXX +KcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701946469; x=1702551269; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VWib7g51s4LqF4o+fXWTb1K6zI11XXQH5HvJiK0NBFM=; b=csdg1nG2cBo5PO5FwXnl9bvJiZoxEKdwg8XOQ1nrfIoHabwjgiLpHwwrkd3twNmqZA ongRWCWyMbfFFg2SREsIpsGjdSFQaeEawsP85LIdKSYkKsKvs8nmjpzDxlj/X/muzGrL fpAv+ddAJ+VrGbuLHe4oddj5sUdNQ8MaJjYwJvNxcsGMPZ6n2bE5VUZ+4IPOBOoTXDs+ RnVXnMNbUipCbObhAyQbaXIvWebMYiYvGrnW9SRAbou+WczpgFxPOY21u774A7q7kIpw 4GVntXWsFJBjagGrhecW5nI8pswMFgxG+OocRYcgyzukGT86iK0rOlkBoSiPXGTfhwi3 B08Q== X-Gm-Message-State: AOJu0YyjixiEeoElZkdw0VUR6WoSYex6NDClYFTDZVYjFG28bBrAwGrx +EjVpnC1nMumHCV+65kQMiNt+OLPYid1OQ1lDzI= X-Received: by 2002:a05:600c:4b27:b0:40c:22b6:ce9d with SMTP id i39-20020a05600c4b2700b0040c22b6ce9dmr1271799wmp.141.1701946469052; Thu, 07 Dec 2023 02:54:29 -0800 (PST) Received: from m1x-phil.lan ([176.187.202.111]) by smtp.gmail.com with ESMTPSA id l15-20020a05600c1d0f00b0040b540ff0a5sm1514033wms.19.2023.12.07.02.54.28 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 07 Dec 2023 02:54:28 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH 0/2] target/alpha: Only build sys_helper.c on system emulation Date: Thu, 7 Dec 2023 11:54:24 +0100 Message-ID: <20231207105426.49339-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Extract helper_load_pcc() to clk_helper.c so we can restrict sys_helper.c to system emulation. Philippe Mathieu-Daudé (2): target/alpha: Extract clk_helper.c from sys_helper.c target/alpha: Only build sys_helper.c on system emulation target/alpha/clk_helper.c | 32 ++++++++++++++++++++++++++++++++ target/alpha/sys_helper.c | 18 ------------------ target/alpha/meson.build | 7 +++++-- 3 files changed, 37 insertions(+), 20 deletions(-) create mode 100644 target/alpha/clk_helper.c Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson