Message ID | 20240402142431.70700-10-philmd@linaro.org |
---|---|
State | Accepted |
Commit | aab1b3eeb4a2f6d82a6c4e463add2bfa19827b64 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp4964112wrt; Tue, 2 Apr 2024 07:29:30 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU+Xf8EMMEyWLNg3ImB6xgSNzQhm8Fgor+xxcv2/IjitWgbKdOg9ZaWEiJHttzqgq1DWiPD8Zv+ppVwb9YttHVC X-Google-Smtp-Source: AGHT+IG4qg7vxnOhTsAJKumml+/UzhPZOhkAkoSAJXwKb6tAMwFLCCbLbjcefHKunx2VFSdscWEF X-Received: by 2002:ae9:e641:0:b0:78d:3485:3fb0 with SMTP id x1-20020ae9e641000000b0078d34853fb0mr459983qkl.57.1712068170589; Tue, 02 Apr 2024 07:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712068170; cv=none; d=google.com; s=arc-20160816; b=QohMnkef/Gfki24aaxKcD4UtSwTdc9ICTkQ8TQ+4T4//meOYFegFmb55KbLhbfEwp8 k27vkAhvK1HtYqvF6496cI0r977SPMAGjds4a883VN1qjdMeVtI+UPTJhhPYjpOEJaLu JLTL18TaTOrbZBrXXmiRW4CK8Cqpwiw3CTOOXbVFMwgUv468okVMfmx/CM+NPXB99i3b pGTgHn1oAdcS2YUX8NKmjGzDb/4aP6qX0ualinKGWIqNTuoP9MCrD+FcBPsLAHd87O5A P9ZLER0y2WLLTJc8cJqUkohE/s2GXz90IUK1owQTRMSo/QNW44NDWUfpGZ+HMVBj37E5 Z5NQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kQNXAA1wuI9r1xEVFBSvxjPye1eCu2fvaop4AIt2tLo=; fh=LyXOWrHNlmvNefZxasdj8QLj7yGqOJ+gRmOTGGC7WqA=; b=Ck8HIK65XxBYVsVexX72MjQMeVia0WzXFu8iyQgK5aTHY4Hwr1iemSfEM+s/QSsE0l NxQOIcWKRllpe8yAU9VrNYwBb2J63ladgIhf0JD1cNLyADG7DCuj+BxgtjfFFTkRCGlk 4G6+QXZUmeHnykRXfCtUqlUIbtOTNlEEKiRb1YQWBzR9iSIeiGZrTAZeRN090Qk9pJbW 2oeenBCQ97vjtzQT/aQVnznKLWE8s8Fc5SvjdlvdADHM6767Vu+egqxXwMXP7ASc5D+k zayiKM16Aoy2qen/Bl+EM2yVURO45DWBKEpdr+P7Pxhxa0BhcTT6di+U9lDijCbSJbk/ gvVA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yt9ERwCR; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y21-20020a05620a44d500b0078a2678b5d3si13180233qkp.230.2024.04.02.07.29.30 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2024 07:29:30 -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=Yt9ERwCR; 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 <qemu-devel-bounces@nongnu.org>) id 1rrf53-0001eT-QL; Tue, 02 Apr 2024 10:25:41 -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 <philmd@linaro.org>) id 1rrf51-0001Zl-Jj for qemu-devel@nongnu.org; Tue, 02 Apr 2024 10:25:39 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1rrf4y-0008OJ-TX for qemu-devel@nongnu.org; Tue, 02 Apr 2024 10:25:39 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4156684ee9cso14166545e9.1 for <qemu-devel@nongnu.org>; Tue, 02 Apr 2024 07:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712067934; x=1712672734; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kQNXAA1wuI9r1xEVFBSvxjPye1eCu2fvaop4AIt2tLo=; b=Yt9ERwCRY5n/jJ7PAk7SKe2GNicxXTUNdVu62EJbua+QF+NjOzSHslPVKm+rldTdJp 8xIhRr8/Vj3JJOeC+dgCHhMhUcuoMyQzrKUjz9GVl83Vm/O2HQPV0eZoDMrHc4PECsOL pZxY6UNRA9A30TPz+9EJfhRvCZYaWFBCcAg2h4FTGwqtFC66z+5kGk7A+JHCbUdqjaQq qMrroyjV9UqqfxErd6+otvCPDGke79DgJdJFEQWyT7wCIluqRzzD9pekMOkSGuoN9gl7 TasMGYVH5Tu2OjZnJ3aKDMHxoSAyJQAwxcIh3qDH3cgbS0pgBdiulyGCvz7lUGQLueKF T/Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712067934; x=1712672734; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kQNXAA1wuI9r1xEVFBSvxjPye1eCu2fvaop4AIt2tLo=; b=v1n/q8D6VrimtpD2p8NjbbKpKK81VwTe5j7O1RSusIldozJHvlxchtJib3tQMCRUFr +ExX4j4IgRneP9R0v3U2Vc6kAfmFDK724y0r/L7aXnApCMu7SuNWNXX31MOMKe4Gz693 39W2g3C6AgtXRdxqXkPP/o+E0Iz6PsPUkWpJ/izW1zfp/UZpkpZQ/+bhovzBQKXbflWy ZoWX5ZROq9mJv1gd2pXsGW3c+pGENv7FM9m+1HV9rmUZkP59I3Rzeg5quFtf+zlSIruc OPgE80drugymHvsODlxfOFVpdPJjEPIknemlDZoNrmRnroNgQ83SL59CU+TmhSLLG8ss RA6g== X-Gm-Message-State: AOJu0YwpjRHLD8L25YAAMnhKNlrC9id2+YXbAlWJ6IzHHZzjoDo4+JSC eTS6ig3kmUuFT5n53ez1iidnn9FGinHzdgKcLSUS2VMpOAvZImmeZ/YBEpy0TUiieCNkqnzkvxh dLec= X-Received: by 2002:a1c:4b04:0:b0:415:f755:5a1f with SMTP id y4-20020a1c4b04000000b00415f7555a1fmr1630323wma.29.1712067934343; Tue, 02 Apr 2024 07:25:34 -0700 (PDT) Received: from m1x-phil.lan ([176.187.202.91]) by smtp.gmail.com with ESMTPSA id p12-20020a05600c468c00b00413eb5aa694sm18186167wmo.38.2024.04.02.07.25.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Apr 2024 07:25:33 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Subject: [PULL 09/15] hw/i386/pc: Restrict CXL to PCI-based machines Date: Tue, 2 Apr 2024 16:24:24 +0200 Message-ID: <20240402142431.70700-10-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240402142431.70700-1-philmd@linaro.org> References: <20240402142431.70700-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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=unavailable 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-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <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>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/15] accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE definition
|
expand
|
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index e80f02bef4..5c21b0c4db 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1738,7 +1738,9 @@ static void pc_machine_initfn(Object *obj) pcms->pcspk = isa_new(TYPE_PC_SPEAKER); object_property_add_alias(OBJECT(pcms), "pcspk-audiodev", OBJECT(pcms->pcspk), "audiodev"); - cxl_machine_init(obj, &pcms->cxl_devices_state); + if (pcmc->pci_enabled) { + cxl_machine_init(obj, &pcms->cxl_devices_state); + } pcms->machine_done.notify = pc_machine_done; qemu_add_machine_init_done_notifier(&pcms->machine_done);