From patchwork Fri Jan 13 15:44:51 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: 641993 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp285112pvb; Fri, 13 Jan 2023 08:04:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXtyiJLKgNR8u7JvvJ99G5deMoNH7EDMgv5tRGAYf1PgKljMVP+EGYDR6Nro3aVWFdOTDOEF X-Received: by 2002:a05:6808:bc4:b0:360:ea59:5931 with SMTP id o4-20020a0568080bc400b00360ea595931mr47469848oik.18.1673625864684; Fri, 13 Jan 2023 08:04:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673625864; cv=none; d=google.com; s=arc-20160816; b=R4W22fJdC/AOaIu1F/FhTEtsQYT+pp4PZAEXhaS8igEw6nb8BDk+S8rqajKy2Upjmw /T/jUPimiftw3/Vcx1bgA7HjITpyl7+OXSO7CsXBe5qv3ZxDBpcpWn93ZoJjN4pVyeMW dAb6bDUUSKxn0vBP/raIah6IsOOghzT4KxtcV66lmrojFp8tbK24COGXyMB4Fl1SUkT/ R+5ptzul4ZL2uX9XT3pYkRofIh2uXlo2RzQ07mU3sspd8Qva/r5dQ3HAdiIgrvqzJ5Ta B/t0eRQiAiWw0ylCIoQWgYE0hiioBuKwtXEnlqZu7xCIe6jxttS5yXOnnTwuRSpv6zJH Chmg== 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=bGCOa5oMG6crU1pmMt6tVFXX/xHui00CJSxQwvzSIuo=; b=S+0n8oYIEKlCHkoQYrR0hVW9M1g4jM49k7bOkv4/LoehIOK6ciRMungJCK82PtfatK JXh9LIvZFAvQQjfFovoYOqFPK6EI5bfoxNpy31EufjJ0ATPphmoz6wBOG17PlrAY8gpk +Qw9pfE3svpxqaTU8otE8raDUHxUVI/MVN2SwNa1CEY2SAdSCdDI3iv/b0kE65fR8E+m ijv7VCmmJUPN1dQxUBLULHoLmWw2jkzDeasQxm8iTZI5+h79vUZL90d/vWlURePziaLJ sQCMbjqiYEdz5Y1t0VLbYM391ZVESXaDfKO3LmQ4fpWurJNM8qlpdkrtICNQrWY6GYnc 808w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V1RvXB7E; 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 ESMTP id gu4-20020a056214260400b0053230372c51si9779128qvb.549.2023.01.13.08.04.24 for ; Fri, 13 Jan 2023 08:04:24 -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=V1RvXB7E; 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 1pGMFm-0001IB-8U; Fri, 13 Jan 2023 10:46:02 -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 1pGMFk-0001GV-Tb for qemu-devel@nongnu.org; Fri, 13 Jan 2023 10:46:00 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGMFj-0005li-BU for qemu-devel@nongnu.org; Fri, 13 Jan 2023 10:46:00 -0500 Received: by mail-wm1-x330.google.com with SMTP id j16-20020a05600c1c1000b003d9ef8c274bso13305054wms.0 for ; Fri, 13 Jan 2023 07:45:58 -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=bGCOa5oMG6crU1pmMt6tVFXX/xHui00CJSxQwvzSIuo=; b=V1RvXB7EgIq0a8MNr6MJH5VxJ8s6NkXf0AioHhUiivOz/Db3Nt58cb8kF45dLq9/Ev arHKHSanLoTzfw958qpSO/iS6Tm2xNGO/eq228zo4g1lBIzSPJihy/QHIkzYV8Lgwz2r jI97yXbKEuyT1Zkxwyy9r8JkHHQ8EvUxz49L83hf/cSfNc3grJmFUK9gkggxCuyInJqj 8aaXGI3WM7ed3KZ7NYIUxJJn8tEKoe/7zJTEQIVkEzWH9erjpotNuhBO8ntgQBHtn3CQ 86FQAXUlVuK5MB8x7aFf199wCyclw8V0/7h/8IBptMzDFd9J6OgPwN7wMJcCZG+ZXqSV yOAg== 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=bGCOa5oMG6crU1pmMt6tVFXX/xHui00CJSxQwvzSIuo=; b=XhpqZ5Mo4RExnSGVY/A8X7d8pHNy2VD8R9ZIDzxlb2L9SdRutc9a9hKDzzLCGNThYN xjTmyC1mvDDdzWmxmxDdz09C2mCg3PiGqlPL3HbqjmlPbIFu11hnlBI25uBsd7CWoMmR Y6jprmKoG8oFBrtNXdIfR5v28wc8bzTu28UtLf6gZA7MXfbG0lwCY0er2N0CO5qnUCG1 kJ9MxLRWOPWoegxlWRnE6h0DmKbceRESo9UgBIaNxeb7MjcO43swOX0V8WmZ46wNgJJX 0aUnEwuE5+5yMAMe7m8g4B3AIdPnwUFaoQd5JiTIX/YANxhYy0vEeb9KoHRFJm0ELnwS hvfQ== X-Gm-Message-State: AFqh2korRJTFhdcpPqsJSF4mnZEkI7BC0Xp7Eknthke4pkMBVdd84KX9 tcT7OyWmnF9XUIsgnIJewljZVXJnQWp7iZCN X-Received: by 2002:a05:600c:4f41:b0:3d9:f806:2f89 with SMTP id m1-20020a05600c4f4100b003d9f8062f89mr11405792wmq.41.1673624758473; Fri, 13 Jan 2023 07:45:58 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id ay13-20020a05600c1e0d00b003d34faca949sm25255510wmb.39.2023.01.13.07.45.57 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 13 Jan 2023 07:45:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Bernhard Beschow , Richard Henderson Subject: [PULL 05/46] hw/mips/Kconfig: Introduce CONFIG_GT64120 to select gt64xxx_pci.c Date: Fri, 13 Jan 2023 16:44:51 +0100 Message-Id: <20230113154532.49979-6-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230113154532.49979-1-philmd@linaro.org> References: <20230113154532.49979-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.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 From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Bernhard Beschow Message-Id: <20221209151533.69516-2-philmd@linaro.org> Reviewed-by: Richard Henderson --- hw/mips/Kconfig | 6 ++++++ hw/mips/meson.build | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig index 725525358d..d6bbbe7069 100644 --- a/hw/mips/Kconfig +++ b/hw/mips/Kconfig @@ -1,5 +1,6 @@ config MALTA bool + select GT64120 select ISA_SUPERIO config MIPSSIM @@ -59,3 +60,8 @@ config MIPS_BOSTON config FW_CFG_MIPS bool + +config GT64120 + bool + select PCI + select I8259 diff --git a/hw/mips/meson.build b/hw/mips/meson.build index dd0101ad4d..6ccd385df0 100644 --- a/hw/mips/meson.build +++ b/hw/mips/meson.build @@ -2,7 +2,8 @@ mips_ss = ss.source_set() mips_ss.add(files('bootloader.c', 'mips_int.c')) mips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c')) mips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c', 'loongson3_virt.c')) -mips_ss.add(when: 'CONFIG_MALTA', if_true: files('gt64xxx_pci.c', 'malta.c')) +mips_ss.add(when: 'CONFIG_MALTA', if_true: files('malta.c')) +mips_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64xxx_pci.c')) mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c')) if 'CONFIG_TCG' in config_all