From patchwork Tue Jan 7 13:57:37 2025 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: 855480 Delivered-To: patch@linaro.org Received: by 2002:adf:8b05:0:b0:385:e875:8a9e with SMTP id n5csp226463wra; Tue, 7 Jan 2025 05:58:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWhDtcPBrEQW5gSITw+Dx/FlpBWhXwmK5waJuUdUxg+bvk3v2fULmh+C8vaGIwNTgOPVfRZlw==@linaro.org X-Google-Smtp-Source: AGHT+IHYu3tI9ahkocmhnIr70tYKkrjpoKjM/zsRQGqrlmwuKJDtT+1iUjJC+V7pRUD1fMgZlXaB X-Received: by 2002:a05:6214:d0d:b0:6d8:9124:878d with SMTP id 6a1803df08f44-6dd2330c4dcmr1050766196d6.2.1736258310726; Tue, 07 Jan 2025 05:58:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736258310; cv=none; d=google.com; s=arc-20240605; b=eBhwK1TbIiz//AxKsMsKeTRU5wjFE1GTA6/rgn0B7r2MRre2ntw/w2t5U0VP0JHDEb lMQ7i0Rt9JQrEK6zMBktBe8YkVkY1QOhXVXrYfZ2WR7EV3WZio5dLiUsATXouEeFIeF1 H0biN7iy3E3nVDmW0D2Z6Zw8Q4OZCb1XxmZ7SX19zNve0P9Ui3troCrT3f9TEPkZyvxn BBz+6q/2m8v+Ioe1U5JFgvPlFROo/ff7fA/9GzR6I6lSryjrjFimKIZjIDE/zUmY2A9X P8UsC4Bde3fD5yc/g8H3NMaJ6WS0VFK1HYDNX5CcL7CEwyXVYi7Kzqy8FYuQW9FiE9kF d8MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=eYDkVruTPbeywuSuzwkP1y/8rZYhZBrKATsH8FXrn2Y=; fh=cKk/FKmpwJDDeBHE+DZH14fTbSregPi5f5xtCzS3xN8=; b=P2NNn50MSJfzguJYwEkhevD45VU5j3aWrreFsb2ypJbx2u1ZXRQSRTEgHYG6FL4pX4 LYn6Jx/Umo7nMarLdF8Dj4K3fhfK7uP1ye2PrY43vZvjhp2Q7megCRiCd+nN0yNhnaKq DR6ar8H7GQrXqhvIH6UyUpYEu/QcFFEkegmu4jf630tN/O/ysSFmgWBrHdW6yw7nIdt9 lBGAwHMpesrFvA8A7yMYAMfgqzSpg0PiwupPi4nMGNF5zGWOV1VZGutWzZeJ/x5HSDeS htY7fN1kcfCBre8Zu8q5u32sWRKHnPgxVIn+RpZWyLoskLxXIz+qN1cjrw7dVJ/sm/AR YnAw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gal7tPPh; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dd182369d8si478778456d6.241.2025.01.07.05.58.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jan 2025 05:58:30 -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=Gal7tPPh; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVA5c-0005zn-6v; Tue, 07 Jan 2025 08:57:48 -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 1tVA5a-0005za-AP for qemu-devel@nongnu.org; Tue, 07 Jan 2025 08:57:46 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVA5Y-0007MX-Kj for qemu-devel@nongnu.org; Tue, 07 Jan 2025 08:57:46 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43618283dedso154590135e9.3 for ; Tue, 07 Jan 2025 05:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736258262; x=1736863062; 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=eYDkVruTPbeywuSuzwkP1y/8rZYhZBrKATsH8FXrn2Y=; b=Gal7tPPhhaOUi+as0JXGkZc1/RwfnBpgraRIUHFCfvfZFcTnzCRwZX1QwPb2ZtyF9b QcCG1ydqq91l3ZDWxlteGNgGPPvxtA6tpBfxoV94abFaD9SWxaeV0y4TWstEBhSQ44QF CSxilQ49uYSuuLUxeZuhQ/cUX6ORDPlII15siDIIq01okbf1flec4Lgr1lS2e3iN00BU JJNTomgE9ieShPlvvEckwxLyE8B3mDWmxv/UMMzBmi1U8OAw7a6z1IXn/TrreSax8LUB VFVbIW2cyMdWeLwhSOPhTJMQmnNXiJ2kkBOj02+7ue48TQ2ZhUuJNW6snrJhKfDdHUFN 5TcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736258262; x=1736863062; 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=eYDkVruTPbeywuSuzwkP1y/8rZYhZBrKATsH8FXrn2Y=; b=iqMph6BRjTzD7mctkuTCgf6woYTsDca/i8guhm72CQWRD37AyGqZhOAhFWyu5PqFJB PUy7XxDBS+56v91R3W9Nl9O2v08uoYhtX7OBjizsD/taSh+m0lChlTESqbGncrVIsnFM gYRouwKavWmw6jV4bpWRJJbzV4E668CdXs4zlUsAwTGgjjLMAmoUFsi1UrErb0XUnP/b caL1aatbiT7/M/9l7MTydYsISCYIEsJWWCGmLPtCi04TdrqWGK6Yp8rUWkGd3Tm36Q3x 1H9cl+k9RDMntO+b7FVzzvYpYNzduVTUh3PNa6vXqlESzw/BAlcBhLXMPEiGwhImz8ZB n47A== X-Gm-Message-State: AOJu0YzXFO6VHrzWlige3Uar+nwzp2amxmn0gHmqKjTqhWS/R5jDP2zN g6VrhbzEquSTBdXOQs/cG/lRgfYMQ1r4a6+NwA/6c4Pvuxi3Crxg/kkiEiuS5rMFqZ0UciuTGCF mk8s= X-Gm-Gg: ASbGncsrK7wm59V1K7L71mBxuiOp4j6TfY9QMKkGAiUv+uHK1SnCycFFwHqGmkb1PHP itSumpPtilYLvg/QVYcI3t4PgFiux3crI8WCS30yLGQtoOvH610cKpJnQuhaT0jaBVH8Io2AfNN 7GqlvHdKJa7DeEge6Qey7RZfYI3xcowhXUx0I58H2JsnHcJx+0LJvunDvDoZZ13XRGPatI3DK9E zdxAq/BtKRaaVhjxXcArTy1UAGT/hdgonyNNnQkJnKNZcuV0hnu5922e5crIXj2iODjEzoC2/9q pYfs9djoIr1ZG11Yizwr8xbGg5TX3Pc= X-Received: by 2002:a05:600c:4f03:b0:435:1a2:2633 with SMTP id 5b1f17b1804b1-43668645cf5mr580286485e9.15.1736258261724; Tue, 07 Jan 2025 05:57:41 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8472casm51290740f8f.45.2025.01.07.05.57.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 07 Jan 2025 05:57:41 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Marcel Apfelbaum , Daniel Henrique Barboza , Anton Johansson , Alistair Francis , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-arm@nongnu.org, Yanan Wang , Zhao Liu , Thomas Huth , "Edgar E . Iglesias" , Paolo Bonzini , Eduardo Habkost , Peter Maydell Subject: [PATCH v2 0/2] target/arm/arm-powerctl: Restrict to ARM cores Date: Tue, 7 Jan 2025 14:57:37 +0100 Message-ID: <20250107135739.48324-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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 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 Since v1: - Factor cpu_is_of_type() out Philippe Mathieu-Daudé (2): cpus: Introduce cpu_is_of_type() helper target/arm/arm-powerctl: Restrict to ARM cores include/hw/core/cpu.h | 9 +++++++++ cpu-common.c | 5 +++++ target/arm/arm-powerctl.c | 6 ++++-- 3 files changed, 18 insertions(+), 2 deletions(-) Reviewed-by: Richard Henderson