From patchwork Fri Dec 9 17:00:40 2022 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: 632266 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp978323pvb; Fri, 9 Dec 2022 09:02:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf63XUIiVZX4vSGRES9GHGkz3uDxiP1wuQuys0SEIme0mcRsVhZEurAwbkAk8BJsYmFznRyN X-Received: by 2002:ac8:4d8f:0:b0:3a6:8922:b71b with SMTP id a15-20020ac84d8f000000b003a68922b71bmr7599083qtw.55.1670605332774; Fri, 09 Dec 2022 09:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670605332; cv=none; d=google.com; s=arc-20160816; b=WA5GRiePN5UA7QAON4bQwejY5CP2haxGj/o2FwqSX2rqBg/2ioeERxQLEAefwlO5Bh bYWEiV9HYL5ISzw1rQbIHBSlJnRnl+6v/J3UGIe3pmw92hm3Cnv7gWhtZFGPYDVgW/hV 6csOGjisRYkSNC54eejzOrqTOdJT1J1EVhp3AE38oVnFoOfLmE7jkQgy9pqxhlXfGHYE aKk3z8ozupHjSwalPbFTvpDI8ES5nhrpqe5yo+n8MTCGQ2u/OdAr2F6CF7jvOxYDRMYH K20EnIxITbzHt7JVd/qJ8AlFQ8/+7552uRY9uAtt3CjfTjO9GF1Zq+gHIp29WTH4lYfu vW6A== 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=4HvWuonDFMYSygKevdOVH1hFRJX7SHrA9K478xa1gmU=; b=VDlk3/0qCrnGPoFbUjyymVB9d+rTtN0enDXRUCzeVTXoy7Iq9grb6V0l0RHd6mU2lK IdMwN1eYX1vAg8bjDs+wHdrR9XTyJoAQrNarHUxnAA94VMs4NKM0y/3byEwACLfNfP8r sudxYjECw1F7au2Q6Go5tTAbt7vonXVZf9WaVgzcdeUTRV3N2GlrAqYhGlNY9i2CYDEC Y21zXtvKGzuhc/itJwcc1HzHt2DiQVc/6lpRlFqcDfVXC1oVEQVzF+OYS7QT/rwQCUBG Cno8CHfQsn7SJi5Q44KCFvNljLt5mNVSb7/bfSiEgfprtuhrymdDesvHERMOOzGEdCbf 3JYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q3F4okP0; 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 v10-20020ac8578a000000b003a7e23783casi1277995qta.759.2022.12.09.09.02.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Dec 2022 09:02:12 -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=q3F4okP0; 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 1p3gkK-0000se-Em; Fri, 09 Dec 2022 12:01:20 -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 1p3gk6-0000op-JY for qemu-devel@nongnu.org; Fri, 09 Dec 2022 12:01:00 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3gk2-00055G-HN for qemu-devel@nongnu.org; Fri, 09 Dec 2022 12:00:56 -0500 Received: by mail-wm1-x334.google.com with SMTP id h8-20020a1c2108000000b003d1efd60b65so307193wmh.0 for ; Fri, 09 Dec 2022 09:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=4HvWuonDFMYSygKevdOVH1hFRJX7SHrA9K478xa1gmU=; b=q3F4okP0rLas6AI7c7OGgAl+wcgMEE4v1JqZEdafjH1UZpiWVNyMVNTgftYTzQgmsQ tW9TxJgDLVSUkbtf4WvwmQ4mYxup69bVr+s4utfpGuwi6uCS/hsLubSBzNZhz5Nvsg5M i36de/F45FicPeWuzOT+CjL81B73VJeBIwWWy9+mwB1Ud9sZNc5nMASPS3LA1neGSjYE IzYxwg21pvwWl5z348t6tnMQbWUEGWZc97sAyzkt1Sl4Yoi82RSA/3+gcBVeqrjzIX3I ljHzklZk8QrzG1DBwvTKcTEWDT3jSDCB105n/DcgyDp3ep4flUxzqL7ZnDSQ5Z3782Ja QomQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=4HvWuonDFMYSygKevdOVH1hFRJX7SHrA9K478xa1gmU=; b=BYQdolQnbvyNpC1y1dqNa76nwnJyhVsVA0Cy9UplQBjky0zZSlf1bERpQaGXeDDEbI pvsAFGYjS1hcj940sVx7B/tvpRu0+SjaubWauGTw4U/2wCzvQ8COCRLYPP942hhCdCBy 0jNygsTa18OWX6oaS9XpSAcFP0V/kXgHSoKj9oW5uML3ztaoa0MiQr45lACIrOVuQs/j 1WqunBoDUbAUpPT1Iq4znUst47CTA129iwj1+5QUyg7vUhi1Sb3ZYCnEpucx/bTRt4pg Pi4o3ukDKmZxOAOe2BJz0H9bNr7ao0qu11gA5oSRQ6dcMkIRVTKDn5GcgjsLHpuCA9Xu 28rQ== X-Gm-Message-State: ANoB5pkn30OeWgvt88JpFS/ceCL0YwWCFRbIpj/DP/E9SsqWApmtNZzK hT3BiQmGCYmWJZkR5ZYVQBBZ8mqU3cNAaqxnKEc= X-Received: by 2002:a05:600c:654e:b0:3d0:6a57:66a5 with SMTP id dn14-20020a05600c654e00b003d06a5766a5mr5788807wmb.0.1670605249457; Fri, 09 Dec 2022 09:00:49 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id k62-20020a1ca141000000b003b492753826sm259365wme.43.2022.12.09.09.00.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 09:00:49 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Berger , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 1/3] hw/display: Move omap_lcdc.c out of target-specific source set Date: Fri, 9 Dec 2022 18:00:40 +0100 Message-Id: <20221209170042.71169-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209170042.71169-1-philmd@linaro.org> References: <20221209170042.71169-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; 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, 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 While only used by the ARM targets, this device can be built once for all. Signed-off-by: Philippe Mathieu-Daudé --- hw/display/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/meson.build b/hw/display/meson.build index 7a725ed80e..2cab7a8ff2 100644 --- a/hw/display/meson.build +++ b/hw/display/meson.build @@ -111,7 +111,7 @@ if config_all_devices.has_key('CONFIG_VIRTIO_VGA') hw_display_modules += {'virtio-vga-gl': virtio_vga_gl_ss} endif -specific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_lcdc.c')) +softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_lcdc.c')) softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('acpi-vga-stub.c')) modules += { 'hw-display': hw_display_modules } From patchwork Fri Dec 9 17:00:41 2022 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: 632267 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp978324pvb; Fri, 9 Dec 2022 09:02:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf5G5OnGJZ4lpp/5NV51RKF4UDdnMQmtG2Qm3/eFKjUFupR5oUJTOlWgxO90lQjLRnjhmrYD X-Received: by 2002:a05:6871:a68e:b0:143:75da:35be with SMTP id wh14-20020a056871a68e00b0014375da35bemr3521748oab.50.1670605332774; Fri, 09 Dec 2022 09:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670605332; cv=none; d=google.com; s=arc-20160816; b=IyMHg2Lpl8gpxyrtg8cVdBMmYh16XOL9qMyiPFdmkFvzoyInMaT8sjZYvTeWgVREAR 9lu/tUy/xmswLZzTnitpCM6v+0i09HX8jY+J9R74S+8wrI3X/OrfBz/5Jf99Tyn4JBbx 3fnvpYFT2C/VuGnLlUnVTBQDf2PMp1Y1xPGEixePRLbDKS+EX+mkrL+QLQdnrEbdk/Ll Hzdm1wXyKk8VwXSfLD0Nwo+UEgD/twcW3QPfnXHN5zMFP+wkfHCfeDkF13/c6MpYqFGf 2XiQEOC8upM9HganaY0OuH2ALA4cYrFRCD0d/oiMa1zWcbX4N+hMEvsI90C4YgT+TCZq 63Ng== 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=NyRVy4kGd1CBNGiegqnPBW94HKs6xXQbwkS3kH7rClY=; b=qXNmmNCHnKtKOyeoU/Lp2p2+XbL6KOSg8UFgPrPHkwv52UOaz9T7QAvU3LDrQ42+2Z +Vhy9x3oD3XpVB+5apbwuUDIhuo2nbI9hWMUBWNH1pQ5DdiGlCQRCt03/8CyTFWqUPFt plrgt3RiY7aP0OjrLG2W8Rj/zMY8xHUKuv1Lsgoy4/4DATIM1E98uuYnKqpHUXfdOwKE 0ncoVd7pmPmfh1KpLXnu0T7G0h57pOHBTOqnpWbdGq5jG1uWa3ci4bLbYtj+0Db0CLu3 u1id5VZuy4E+7C3mIhoWJ7ZdlUWpRtBZMV+FxALnmjPadAPwiQOYhQ62QnFcmvD1caOP NK1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L6CQpOYj; 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 j3-20020a05620a288300b006fec74e92e8si160162qkp.435.2022.12.09.09.02.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Dec 2022 09:02:12 -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=L6CQpOYj; 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 1p3gkX-0000xN-CK; Fri, 09 Dec 2022 12:01:25 -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 1p3gk8-0000p9-Ho for qemu-devel@nongnu.org; Fri, 09 Dec 2022 12:01:00 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3gk4-000563-E9 for qemu-devel@nongnu.org; Fri, 09 Dec 2022 12:00:59 -0500 Received: by mail-wm1-x32e.google.com with SMTP id ja4-20020a05600c556400b003cf6e77f89cso6262254wmb.0 for ; Fri, 09 Dec 2022 09:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=NyRVy4kGd1CBNGiegqnPBW94HKs6xXQbwkS3kH7rClY=; b=L6CQpOYjf4IojBrudVOtBJFR2qYBU7FUgQRGuX8cpCm42+sdqKUw/xfn+37PzWqs27 Isp81l5LJ3ZVI3yYkDnO+Ajs5e0SnB6O226xsyZ1Rgu7UMPYmymDuURFonmuBv65fKkt oYUSqFcFfUEyHPjm09r8mquklg31dsOwaNE9OpppMEzQ3ubL9DTk+h8GZufZDdlLYVOh nv1p83shDrHTbgN++0IG57JtOOQm6oC/vKj8us374Zmmma52kY6X53FR57L39E7Ecx76 /gn1W1WO9H9KTqw0h/H0by2ZRFKNKxvTLlilXIre4Oq2C9XQ6BZhVXroQ5AVVE9pj5ZY Q8Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=NyRVy4kGd1CBNGiegqnPBW94HKs6xXQbwkS3kH7rClY=; b=1m8EtSd/bgyjf+26SEvat2MA1YLwNRyCkzwNrPgHOkuyvqA0jzIG3XzsUBUxKY7HPf Xqp7WCnCADiP67vx0I8+XB4pPSg/3EppZ00cYH4p51JckTt4HrUf/EmgVPzMLMTis8Y2 1UTvowZDc+wFcZGBrIUqLF9Q07mwCwH5pFr4sSPWm23sbimHknxzVhrVwBvorOrMe7AK V7ccnl5f6IiCpHBPIpimRQh4YTpdklhWJg3BlP8bBAlDcVHW8cV4kQ1VnUILR2kiegKf RCo1/OKhpEbRNoSfZQtc4+4iI4wVVS1ljeo1GXU/joE9BlPIrv8B7slXZ+H8JSajcL1o iKfQ== X-Gm-Message-State: ANoB5pk0aiTRPDy+30Z0pexNhdTvmsVA+m1mYCSkd9oQ1VzQRTPAXzCn IBFfcbTdd4A+eQlEd5dbKf72GmfUi5uRYTZTdWs= X-Received: by 2002:a05:600c:3d06:b0:3c6:e60f:3f55 with SMTP id bh6-20020a05600c3d0600b003c6e60f3f55mr5735345wmb.12.1670605254121; Fri, 09 Dec 2022 09:00:54 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id p25-20020a05600c205900b003a6125562e1sm238587wmg.46.2022.12.09.09.00.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 09:00:53 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Berger , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 2/3] hw/intc: Move omap_lcdc.c out of target-specific source set Date: Fri, 9 Dec 2022 18:00:41 +0100 Message-Id: <20221209170042.71169-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209170042.71169-1-philmd@linaro.org> References: <20221209170042.71169-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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 The Goldfish interrupt controller is not target specific. While the Exynos interrupt combiner is only used by the ARM targets, we can build this device once for all. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- hw/intc/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/intc/meson.build b/hw/intc/meson.build index bcbf22ff51..2ad8648366 100644 --- a/hw/intc/meson.build +++ b/hw/intc/meson.build @@ -13,6 +13,8 @@ softmmu_ss.add(when: 'CONFIG_ARM_GICV3_TCG', if_true: files( 'arm_gicv3_redist.c', )) softmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_pic.c')) +softmmu_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_combiner.c')) +softmmu_ss.add(when: 'CONFIG_GOLDFISH_PIC', if_true: files('goldfish_pic.c')) softmmu_ss.add(when: 'CONFIG_HEATHROW_PIC', if_true: files('heathrow_pic.c')) softmmu_ss.add(when: 'CONFIG_I8259', if_true: files('i8259_common.c', 'i8259.c')) softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_avic.c', 'imx_gpcv2.c')) @@ -33,7 +35,7 @@ specific_ss.add(when: 'CONFIG_ARM_GIC_KVM', if_true: files('arm_gic_kvm.c')) specific_ss.add(when: ['CONFIG_ARM_GIC_KVM', 'TARGET_AARCH64'], if_true: files('arm_gicv3_kvm.c', 'arm_gicv3_its_kvm.c')) specific_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_nvic.c')) specific_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_vic.c')) -specific_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_gic.c', 'exynos4210_combiner.c')) +specific_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_gic.c')) specific_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_irqmp.c')) specific_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c')) specific_ss.add(when: 'CONFIG_LOONGSON_LIOINTC', if_true: files('loongson_liointc.c')) @@ -60,7 +62,6 @@ specific_ss.add(when: 'CONFIG_PSERIES', if_true: files('xics_spapr.c', 'spapr_xi specific_ss.add(when: 'CONFIG_XIVE', if_true: files('xive.c')) specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_XIVE'], if_true: files('spapr_xive_kvm.c')) -specific_ss.add(when: 'CONFIG_GOLDFISH_PIC', if_true: files('goldfish_pic.c')) specific_ss.add(when: 'CONFIG_M68K_IRQC', if_true: files('m68k_irqc.c')) specific_ss.add(when: 'CONFIG_NIOS2_VIC', if_true: files('nios2_vic.c')) specific_ss.add(when: 'CONFIG_LOONGARCH_IPI', if_true: files('loongarch_ipi.c')) From patchwork Fri Dec 9 17:00:42 2022 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: 632268 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp979153pvb; Fri, 9 Dec 2022 09:03:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf62Lu4Wsn5tBLjm/AeIO8ItGRPX9Hw8a/+SprdXSKc546qoyW9c1bPodmfaTGXTKl473rj5 X-Received: by 2002:a05:7500:3c10:b0:e0:3817:43c with SMTP id lt16-20020a0575003c1000b000e03817043cmr554088gab.9.1670605389984; Fri, 09 Dec 2022 09:03:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670605389; cv=none; d=google.com; s=arc-20160816; b=mDdnh694OWPRMh2+VY+so4QpeyT8IS9gJhir2pHsvKMAKeSmxl1uHKHcqCQQz4plKH zGYyT4COZXg0aqW8eQn2EvrTwlptPscWDzVFKpy/9yUSuUZ0QHysLrfbFM0gaRxK7oCK aO4itqmwn3mIwCqQ3URi1Jqp7MEDFTeBLpVAUmg9ueJ+OskJKLfLm+fZ6Q1nM9BALDPs mA7+rUaDW4qx+WOUAE7QWvrW/h5OcrEEKhSkuBbasgBLN3Sjn+iGoxxibOylX34vxrr9 oo6uPmTZpzLHDqPwt/MLQ/qlQVW9qnVqnyigvGl4mmhmJLiLzsrSfg0u+46T61u6Iaf1 x3Ag== 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=JDrTynuhE3D242jgYLaA9iTdbHmcB3pb00lIlByxkno=; b=xOPXktcZuXNzXtjhv4hIa1aCHyRyxoK4vAa/xg2RrnfcmUnTcBVLkFVhirLatDNir5 1mhjb6BUknJns2KpeBhSVWR+y8RcfaMGvcSxpbwLMHkgJX/ItLDNnqfG2v0D+EGvkg0Q HYw0IHtQFNMQM6UR08lW1pzBV1iGBJjndfnYRFil4lJngjyl5QdHduDknOBMebPc5Kob GlzfZ7O0y+e7ALbSCAQ4EOK69oXXRvMOa1vP/y7I6GmndlLbhpPJ4AYSLemt5jqOV3Mb TQNQN118OvS2aipjgrTvQHcjTI5XG27mjpmpEsaWygua6Bn7m9uLQu0KPM4eT2QpbpCy wEHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sthz8JM1; 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 br18-20020a05620a461200b006f9df1f5f5dsi209535qkb.95.2022.12.09.09.03.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Dec 2022 09:03:09 -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=sthz8JM1; 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 1p3gkk-00012b-VQ; Fri, 09 Dec 2022 12:01:39 -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 1p3gkA-0000qi-0v for qemu-devel@nongnu.org; Fri, 09 Dec 2022 12:01:09 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3gk8-00056t-Ak for qemu-devel@nongnu.org; Fri, 09 Dec 2022 12:01:01 -0500 Received: by mail-wr1-x429.google.com with SMTP id o5so5834612wrm.1 for ; Fri, 09 Dec 2022 09:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=JDrTynuhE3D242jgYLaA9iTdbHmcB3pb00lIlByxkno=; b=sthz8JM1FZ0DLAS6HZZ3a+qE7aOfOZ0I3dxXnXEY32r13yprH387/eIAbYOVN4tEBQ ACTaI0V1xpVvM3aMyIa/JX7sIjPukTbl+CpDq8T04bmCG1zeJMRBN1CaAR/Tn6MO18JB 0aTVm/yM/gGtFu6vPSKCTgg1Sye9JfAHzSTu0cG9ifjsQTpfoJWEfSf1IgmjDZd1fjv8 K0Y9h4Wo/ijpKv49hBCeKunq4UVUscUe0xaeQcM2BdSHWD8r6qC++0tseibudfscftyR Jr1092zPiUQhdxSVcysX2roddYXNsrrTR0mefwXaubZat8HV46sKa5x1qwiwZiuwGBX5 F5CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=JDrTynuhE3D242jgYLaA9iTdbHmcB3pb00lIlByxkno=; b=w4gN4RhxTcbcW3r3LbALGXGI2qOdNVP5xnrTdjS1Y+RFgi14JkAWb+cM9+TeBjkXit pMbFUCTFifx9u9dAusoV75UpNaFwzLzCESY99/gGIYmXkM12cwqtjvyn5iZDd5RdiLuQ tLSfDzjud9s1AIIx5fTw/HxwSKisot48O6gyZsgbWzepKWZXZVIQ1h8A1lX6jMrocOAR RV4LEhck4JwbQdQf55rvBWiTL3+Mx79GXkuZqb5isAomZpRfxN76DW2B1lAnLxY76P4z aZRaAM7y3DPfqOznz6fIjldUNvP8PYMo2B/zD9hpcTgszJf/cOqkWc3DY1jlof1gVDhz x+Dw== X-Gm-Message-State: ANoB5pm/QEZx0nDfzYPJSQkLPgyFG3gWq5zy1cE+JPJwKf882XdzrX6j HQl0uvoe9P8iE600Zd4y/CU6B/bgjMFEGkL12zY= X-Received: by 2002:adf:dcc7:0:b0:242:4c5c:a696 with SMTP id x7-20020adfdcc7000000b002424c5ca696mr4547036wrm.33.1670605258737; Fri, 09 Dec 2022 09:00:58 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id bv28-20020a0560001f1c00b002423620d356sm1868089wrb.35.2022.12.09.09.00.57 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 09:00:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Berger , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 3/3] hw/tpm: Move tpm_ppc.c out of target-specific source set Date: Fri, 9 Dec 2022 18:00:42 +0100 Message-Id: <20221209170042.71169-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209170042.71169-1-philmd@linaro.org> References: <20221209170042.71169-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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 The TPM Physical Presence Interface is not target specific. Build this file once for all targets. Signed-off-by: Philippe Mathieu-Daudé --- hw/tpm/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/tpm/meson.build b/hw/tpm/meson.build index 1c68d81d6a..3eacbe8c5d 100644 --- a/hw/tpm/meson.build +++ b/hw/tpm/meson.build @@ -3,6 +3,6 @@ softmmu_ss.add(when: 'CONFIG_TPM_TIS_ISA', if_true: files('tpm_tis_isa.c')) softmmu_ss.add(when: 'CONFIG_TPM_TIS_SYSBUS', if_true: files('tpm_tis_sysbus.c')) softmmu_ss.add(when: 'CONFIG_TPM_CRB', if_true: files('tpm_crb.c')) -specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_TIS'], if_true: files('tpm_ppi.c')) -specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_CRB'], if_true: files('tpm_ppi.c')) +softmmu_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_TIS'], if_true: files('tpm_ppi.c')) +softmmu_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_CRB'], if_true: files('tpm_ppi.c')) specific_ss.add(when: 'CONFIG_TPM_SPAPR', if_true: files('tpm_spapr.c'))