From patchwork Fri Dec 9 15:15:27 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: 632263 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp917935pvb; Fri, 9 Dec 2022 07:18:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf6kDkkdszstVm+yoEGG1uXmglxhoRGayUCwqaBS+CStPeVfI2WxSt3UIjEtKwhkhz7Ntxtp X-Received: by 2002:a05:622a:99a:b0:3a5:6af6:38a8 with SMTP id bw26-20020a05622a099a00b003a56af638a8mr9193791qtb.48.1670599086921; Fri, 09 Dec 2022 07:18:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670599086; cv=none; d=google.com; s=arc-20160816; b=G6lFirBdzwzc7CCu76sLKIjdteErBtxN5oDlldeazxNGqk3b2ZQcXV2DLcOZkybheS VIyp9g9bPrSZd+fDsCaAgu4jhrFnZFZ8SuOkIMUY07hxSIJf5YNaqzIqz479cSoqWs5W 6LaUS28+VPpBgrUaffGuxhguwgMANFQqNJCofovKNy70I/Zu6Nvjb+EpDfTsOhqwhcvX Wq12NDecm5KeZ3EpFWnSYm1F74YpB2ftcqJxOUdLiTN+5DV9RYq4NPO6Hp3oJWeJtwYr 9+/hx8rjn6Qkn4eSz3DO4qVyYZWDdodDQiCi7AaIqx8gX1lpxr+M28JB19eXXVOKOnq0 Dqag== 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=ykkaTaAV+4CtMofJZ4MlHHQhTvxgfANUb/q5AOZUgp4=; b=ptFhi1ZLzNjDGLSd70i/4ZcSr1U7qNU59WVtmpC3tQfqKKs3F2YKnQhb2Yg5fv9Tsg J2rrYafZZCpieO5fqjfoptc0tx2Zxgo+jFB795BgCvsLZpdC4dpWJdpYSpat+BYmpVY2 fXxwZP75XhsUxwJtc/Zw9MmJXhqa3DZ/hC5wiLPHKI+Na4tWrbaK8vKl3y3V4w9jpDtr fxkW68Tpj4Tf5rUCBUNrTQ4TN3q78N6rnOmtYDK+bWTytc61muXCGCOZ61BQw6i67/bz IvnyYRdDH+3cG8uJyM/yTvSKIXJnP0CeZBcw7VcgGMkvo3zSO8nYQ8c9n0qr0I9KX7pB I0KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y5dwiRje; 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 cj7-20020a05622a258700b003a563efcf70si878288qtb.779.2022.12.09.07.18.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Dec 2022 07:18:06 -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=Y5dwiRje; 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 1p3f6N-0004rg-ID; Fri, 09 Dec 2022 10:15:51 -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 1p3f6H-0004o8-FE for qemu-devel@nongnu.org; Fri, 09 Dec 2022 10:15:45 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3f6E-00084R-FS for qemu-devel@nongnu.org; Fri, 09 Dec 2022 10:15:44 -0500 Received: by mail-wr1-x42c.google.com with SMTP id co23so5528576wrb.4 for ; Fri, 09 Dec 2022 07:15:41 -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=ykkaTaAV+4CtMofJZ4MlHHQhTvxgfANUb/q5AOZUgp4=; b=Y5dwiRjeeAxqJSrVCOPetbOZupdl7X39f6QfpnGhxipcTt9Gas5rQZmnsb8mrYPVjA ZBJz+hNUYsQR0RL0z/oZeQUckl2IMaJ/bm7CJQtir/irBBrW8WIftV1W62rhr3Nn8XF3 ssKOFizW+7T80JFvKIcG6js6l49uSrBukbF/tuRz2ODOewYDvx6kuT2XZclhGFzRhG4f ZuM2ClYUCJ4NkK+TFaDr5CF+LF+I+w44X1z4cZpLJPDdWr7G4DJX5z6iEmpaRSqHQtik NyNJU34gz5++YHkqpigxcg9rdjtEuvIlEx2eIkDIljR6gqFEnItNF1nJkl2prbstrzPs jQbA== 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=ykkaTaAV+4CtMofJZ4MlHHQhTvxgfANUb/q5AOZUgp4=; b=ZJlKBbE+d/oZl5E6OyPWjVJbZ3KQMiPG9hB9ndEfufww4/Bxr2njU2WUaveKUaMH4n CMjm92XGf/C0EHxQtOqK1Rg6iRvf1WhH25JyoZtEmVD4YcCwdZTPdxdgYzP01kQ8RIbH boy4OhFSSHDZgXrtE1LyK4SZhhO4ZB5L//fZxrMMMVq3zPyD/3oqSIndpz6GDHIs9Lk1 S4kCED+Q46bwVq/aWGnFvd4sQb4M68nr/g9cLQDn3PcNnI0zxEmzjqctOXCupywsh1CI G7AzcEqE1Q+G6mti76iNK7LxmQ2lgBsVsKvNotyAwVUZCxwkK3QDEmL5+dXAjyZTFgyA krpw== X-Gm-Message-State: ANoB5pmIVAZeS80612HasxbK2MAKVIOpmh6t8HkE6mdGavoyb+Vz0Mzp AdrZQjCUvFfQuBlVL/ZguEGDeGjcoXYw6th5eic= X-Received: by 2002:adf:ebc3:0:b0:237:45f1:7f12 with SMTP id v3-20020adfebc3000000b0023745f17f12mr5158085wrn.39.1670598940485; Fri, 09 Dec 2022 07:15:40 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id ba17-20020a0560001c1100b0024245e543absm1687214wrb.88.2022.12.09.07.15.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 07:15:40 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Jiaxun Yang , Bernhard Beschow , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Thomas Huth , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH-for-8.0 1/7] hw/mips/Kconfig: Introduce CONFIG_GT64120 to select gt64xxx_pci.c Date: Fri, 9 Dec 2022 16:15:27 +0100 Message-Id: <20221209151533.69516-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209151533.69516-1-philmd@linaro.org> References: <20221209151533.69516-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philmd@linaro.org; helo=mail-wr1-x42c.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 Reviewed-by: Bernhard Beschow 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