From patchwork Fri Sep 15 16:20:40 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: 723123 Delivered-To: patch@linaro.org Received: by 2002:adf:f0d1:0:b0:31d:da82:a3b4 with SMTP id x17csp476813wro; Fri, 15 Sep 2023 09:21:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUv1wd5avSRrO/scOuliuCyfkJbx4KIoLKoZyxZNoO8TieZvM8rzi+SFnptfMrpkXCbBP/ X-Received: by 2002:a05:6808:64a:b0:3a9:cfb5:462a with SMTP id z10-20020a056808064a00b003a9cfb5462amr1984780oih.36.1694794875348; Fri, 15 Sep 2023 09:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694794875; cv=none; d=google.com; s=arc-20160816; b=Dh8bcOfe5SQSNu+fQYV4TUYxIDtR8xNd5eWSuDXj/O3aqhOd/mplM8sU4AIxrj0c5H RXZmfaV8R5FZtB1dQOktm8uu1GKJmqpAi6PdMwv2MLt8LVopg5X9KY+RYWF8ommjqPBy 2xJ/Gc7eXP6I/0rBdM+WfL/PHFrCXs2G1nGMFPThmSJmxy8uwyJJTMgU+cyIE8YqcTX2 t4B3IRgWMWOHlxGRbAB5fCWB2Sbx/jb2S8kHoOD4qXZx2NOsTOxqQHS8XIGpMTBH8Wk1 5vWv0Mn528BJym1gkd6f1hGKhppxb2hK4NpfakDM/cyBWssG+wokHpokTgqgF/UMA4Mp bcXw== 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=6temGotEx2ub12Rc+wYsnVX/4TWqLZ5ZPmR47kI0Rw0=; fh=Gmfj+/HHPXfJ2ZMFio+eUbPUWnJmNnzWllvzf8cym6Y=; b=pazzJ1SpJX6X0osBfSsnNRe/scIB6zVOOSJ4+HT8DcYamY14AFY7eBrPqe5BnRf7Do CE5t1kffnS4c22pgU5RYZZoSXdCcy3Zeqp/V7NZ9nYAAvnOJCf+cyOq1mdMdw+Hi+/9P Kax3q1pY84P1ZSCEoAnsyZBvKWUt261I4TjNHCQzAZkv5ouI5EAk5l/AYODvF3Nqtvrm U+74vmugeJbFBNO3cYZrSNnQan6TR+31UEzE4kXYmfxRPhF0WhhjbJPaA250mTtMlklz uXpu/UE0Jd1IFQtbHxMLIi9Wra0ODuYsyZqj4h/3bmkjdq4DqpYPqq6houJd2KZO47Uy usAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iO5KypNt; 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 s18-20020a05622a179200b004135f61ede2si2642569qtk.311.2023.09.15.09.21.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Sep 2023 09:21:15 -0700 (PDT) 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=iO5KypNt; 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 1qhBYq-0005Vq-6v; Fri, 15 Sep 2023 12:20:52 -0400 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 1qhBYo-0005Us-2K for qemu-devel@nongnu.org; Fri, 15 Sep 2023 12:20:50 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhBYm-0000Vd-Iz for qemu-devel@nongnu.org; Fri, 15 Sep 2023 12:20:49 -0400 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-52fe27898e9so2688236a12.0 for ; Fri, 15 Sep 2023 09:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694794845; x=1695399645; 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=6temGotEx2ub12Rc+wYsnVX/4TWqLZ5ZPmR47kI0Rw0=; b=iO5KypNtljoemqGRj2xNtyhVDj8pCs+xHGfwp9fFrLxCAvPv6rJv9R56rqylonxgSO Ixg78GsMDgaX+zco6GHNamW5tYZNFa6d+waJXDqzzbv+j+E044gYdc1vlGKWmBcJW/65 hYlZ1iUCx9Kl1NXya7cqve6yU+yKBWaGfjzHn0kk77+rxP6I7nZoOUxEYXvofi00ikma LBmVAZSBBUOTUeGDUyDPZmcdpt/PwpjkLBMJUimV9KoYdH9u2K6b/DCgI9Pwbc8n7IDg OU5/aYbjS5ctGKIlr8fDs+KI3NBygrxavYzpGP11XgJAy0zLbenv6WLyqFM4mst/rYHA ZVcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694794845; x=1695399645; 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=6temGotEx2ub12Rc+wYsnVX/4TWqLZ5ZPmR47kI0Rw0=; b=AJfJg9s0XEM3FJ4SnyDi3U5ACBwEJRfy0j97pEpjdPZIRJXy218GiVibh9TVKlS6Gl MayHVaRcgK70jVsiQfYJY5S6UdvKDbIGEALYcSgVNVwmXe+nb/9kfvB8ciBiOGRJK890 tjr4PEA6upsKp5x5dqHHs77uN7iJpaA6Bbj2idmd4JyncHlVDAOCaF0fi5Qo2Gpe2xbf yqwwp9t47ipp6mJdKhAc+c6mIrzO/RDNB7sDyj3Bd0lrAHnDgLedAB9eHPwhAUlfeoC0 TUbnZuqg+6v50Zu8osqHxNhNiUos/5bLciQU/wifyv9wEbyoKwfPC5xas6ZVCsXQxhsm Xmdw== X-Gm-Message-State: AOJu0YyTlZqGtjFgw6X0XvynNtIe60SAA3RfJHzj4whSxoPfkZLjhfBn 8ES9ysojhtipEUtQ55D59cc3C4haasDCPrwF7VM= X-Received: by 2002:a50:fa85:0:b0:529:fa63:ef7d with SMTP id w5-20020a50fa85000000b00529fa63ef7dmr2118320edr.7.1694794845703; Fri, 15 Sep 2023 09:20:45 -0700 (PDT) Received: from m1x-phil.lan (6lp61-h01-176-171-209-234.dsl.sta.abo.bbox.fr. [176.171.209.234]) by smtp.gmail.com with ESMTPSA id bm10-20020a0564020b0a00b005236410a16bsm2478385edb.35.2023.09.15.09.20.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 15 Sep 2023 09:20:45 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Bernhard Beschow , "Michael S. Tsirkin" , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 0/2] hw/intc/apic: QOM cleanup Date: Fri, 15 Sep 2023 18:20:40 +0200 Message-ID: <20230915162042.55890-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::536; envelope-from=philmd@linaro.org; helo=mail-ed1-x536.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 Minor cleanup extracted from a bigger series touching x86_cpu_realizefn(). Philippe Mathieu-Daudé (2): target/i386: Only realize existing APIC device hw/intc/apic: Pass CPU using QOM link property hw/intc/apic_common.c | 2 ++ target/i386/cpu-sysemu.c | 20 +++++++++----------- target/i386/cpu.c | 8 +++++--- 3 files changed, 16 insertions(+), 14 deletions(-)