From patchwork Sun Jan 31 11:13:07 2021 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: 1433841 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=RG9J4C21; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7kr08nFz9t2g for ; Sun, 31 Jan 2021 22:14:28 +1100 (AEDT) Received: from localhost ([::1]:33224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AgT-0002VA-Tp for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:14:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Afc-0001bW-3i; Sun, 31 Jan 2021 06:13:32 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:40980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Afa-0006J6-Hx; Sun, 31 Jan 2021 06:13:31 -0500 Received: by mail-wr1-x431.google.com with SMTP id p15so13409527wrq.8; Sun, 31 Jan 2021 03:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tDvXzkWLMFL+IUxoP4BeNAznJqzRaOp5XiuRopnwJGs=; b=RG9J4C21ulcBnb4iIf0uVpWt6zxp4h5tZBQGk6ttudggjuvc5rKyljqLRooHATvj+F Tin+5GAYqkQxUYw9EZCmA4jpVDlvUJUL/qhk5UYEZrWcjlo7mExMjnFxfypPa+jL1rxY V3hmqc37+kMAm9pDOnx8oW7o6JazRHiuC8MSGL7vJDLhDfFEXjGlakRvkHNDbtX0Lwic r02tOTqcndqQBDyGF/tuIgu8b9Ejny0K5jCi7XlpAjl1T/gH7ttxKgkemt2WD3TtpDNb 6UwPOn5Shf4y+xk2RHm7fhuw2wfCl8RTDeZmjdoC4F/82I5hesRlJUJxDvogNztJ01Wx Jt8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=tDvXzkWLMFL+IUxoP4BeNAznJqzRaOp5XiuRopnwJGs=; b=Yw4RH85bG5iQtkljGTY811E6YrqzBnc7CV3poy77BlxmVgJb6R6z41Mg80xnU2PY7x JzJFem9LdMOGd6zkEnea+LIx+uSJF4ikKKWjIz3ukPeSdeqJ5forzUzpQijE8pzNMFaa 09+KN0IAwtykMlu84ae9vgDWLrGaLr48FomPZcAVCGZvP9f6g1+BSq1Wel6GtwooL7Py WWmCxUI0BShW4cL1RcEvIzZGwXhxkrO3w3an5WCUcpqCGKwqb2zs1mY453MaGlHlUy9H BNM0Z/QF3+KSnbxcNxq+oG7NCtvp2p/IjLvDpY/hjkOn+FeDxDbPqLBT5cjoC6Sc+KLG CL3w== X-Gm-Message-State: AOAM533WhGUdX2OSBTvL6r0jEbIJPVVXlMaxdS9l76ZIYFYsFs3mx/XN 3mkzTM+GQUnFO8Xum+PxzlgZxHySvU0= X-Google-Smtp-Source: ABdhPJwznvVVdPq4EYOauNSJGoo7Z+nlh8KGHlt6gDiDD/E4ojM4kgoWmoAglfTmwXFeXP0sQq8yGQ== X-Received: by 2002:a5d:4d0b:: with SMTP id z11mr13340402wrt.388.1612091607218; Sun, 31 Jan 2021 03:13:27 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id b13sm21667614wrt.31.2021.01.31.03.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:13:26 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 01/10] hw/sh4/Kconfig: Rename CONFIG_SH4 -> CONFIG_SH4_PERIPHERALS Date: Sun, 31 Jan 2021 12:13:07 +0100 Message-Id: <20210131111316.232778-2-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We want to be able to use the 'SH4' config for architecture specific features. As CONFIG_SH4 is only used to select peripherals, rename it CONFIG_SH4_PERIPHERALS. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- hw/block/meson.build | 2 +- hw/char/meson.build | 2 +- hw/intc/meson.build | 2 +- hw/sh4/Kconfig | 6 +++--- hw/timer/meson.build | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/block/meson.build b/hw/block/meson.build index 602ca6c8541..7f24b42c283 100644 --- a/hw/block/meson.build +++ b/hw/block/meson.build @@ -12,7 +12,7 @@ softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c')) softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c')) softmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c')) -softmmu_ss.add(when: 'CONFIG_SH4', if_true: files('tc58128.c')) +softmmu_ss.add(when: 'CONFIG_SH4_PERIPHERALS', if_true: files('tc58128.c')) softmmu_ss.add(when: 'CONFIG_NVME_PCI', if_true: files('nvme.c', 'nvme-ns.c')) specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c')) diff --git a/hw/char/meson.build b/hw/char/meson.build index 196ac91fa29..3b8cb6a2f5b 100644 --- a/hw/char/meson.build +++ b/hw/char/meson.build @@ -31,7 +31,7 @@ softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_aux.c')) softmmu_ss.add(when: 'CONFIG_RENESAS_SCI', if_true: files('renesas_sci.c')) softmmu_ss.add(when: 'CONFIG_SIFIVE_UART', if_true: files('sifive_uart.c')) -softmmu_ss.add(when: 'CONFIG_SH4', if_true: files('sh_serial.c')) +softmmu_ss.add(when: 'CONFIG_SH4_PERIPHERALS', if_true: files('sh_serial.c')) softmmu_ss.add(when: 'CONFIG_STM32F2XX_USART', if_true: files('stm32f2xx_usart.c')) softmmu_ss.add(when: 'CONFIG_MCHP_PFSOC_MMUART', if_true: files('mchp_pfsoc_mmuart.c')) diff --git a/hw/intc/meson.build b/hw/intc/meson.build index 53cba115690..b05bab2f4b6 100644 --- a/hw/intc/meson.build +++ b/hw/intc/meson.build @@ -47,7 +47,7 @@ specific_ss.add(when: 'CONFIG_RX_ICU', if_true: files('rx_icu.c')) specific_ss.add(when: 'CONFIG_S390_FLIC', if_true: files('s390_flic.c')) specific_ss.add(when: 'CONFIG_S390_FLIC_KVM', if_true: files('s390_flic_kvm.c')) -specific_ss.add(when: 'CONFIG_SH4', if_true: files('sh_intc.c')) +specific_ss.add(when: 'CONFIG_SH4_PERIPHERALS', if_true: files('sh_intc.c')) specific_ss.add(when: 'CONFIG_SIFIVE_CLINT', if_true: files('sifive_clint.c')) specific_ss.add(when: 'CONFIG_SIFIVE_PLIC', if_true: files('sifive_plic.c')) specific_ss.add(when: 'CONFIG_XICS', if_true: files('xics.c')) diff --git a/hw/sh4/Kconfig b/hw/sh4/Kconfig index 4cbce3a0ed5..fbac8c09152 100644 --- a/hw/sh4/Kconfig +++ b/hw/sh4/Kconfig @@ -9,16 +9,16 @@ config R2D select USB_OHCI_PCI select PCI select SM501 - select SH4 + select SH4_PERIPHERALS config SHIX bool select SH7750 - select SH4 + select SH4_PERIPHERALS config SH7750 bool -config SH4 +config SH4_PERIPHERALS bool select PTIMER diff --git a/hw/timer/meson.build b/hw/timer/meson.build index be343f68fed..d3f53dce400 100644 --- a/hw/timer/meson.build +++ b/hw/timer/meson.build @@ -30,7 +30,7 @@ softmmu_ss.add(when: 'CONFIG_PUV3', if_true: files('puv3_ost.c')) softmmu_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_timer.c')) softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_systmr.c')) -softmmu_ss.add(when: 'CONFIG_SH4', if_true: files('sh_timer.c')) +softmmu_ss.add(when: 'CONFIG_SH4_PERIPHERALS', if_true: files('sh_timer.c')) softmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_timer.c')) softmmu_ss.add(when: 'CONFIG_STM32F2XX_TIMER', if_true: files('stm32f2xx_timer.c')) softmmu_ss.add(when: 'CONFIG_XILINX', if_true: files('xilinx_timer.c')) From patchwork Sun Jan 31 11:13:08 2021 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: 1433845 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Aww7BaJV; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7qb3KRhz9sWK for ; Sun, 31 Jan 2021 22:18:35 +1100 (AEDT) Received: from localhost ([::1]:44130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AkT-0007KY-BH for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:18:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Afi-0001p2-QB; Sun, 31 Jan 2021 06:13:38 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:38484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Afh-0006Lr-8o; Sun, 31 Jan 2021 06:13:38 -0500 Received: by mail-wr1-x42e.google.com with SMTP id s7so10458145wru.5; Sun, 31 Jan 2021 03:13:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5db0rN0b61TISoVih9RU0w7I/BYMbyVo0fCfumLvBJU=; b=Aww7BaJVjb3/wyQ8XZfjMO3ZwTQmiv8Fb0Bvp3LixGTGjtGCxZa8bbnvvzcOA1n9bv O/nqUBYrOzk4y9L79PIff8LUUhy3qEA3laziY0kpTAqPTFT1C4h+5WhtihDidiL+CnGz 2IXrZ7q1dAll+C430eQgDJmqDeHmAiu4YExvjtLYbcBM2dXLPS07mDKX0/lTKCNa2koN bTFKf7PsO8nNuotwcZyJRxUtl+g4GvQXsiMvpfXw2kfKw4+j9nl8xvSxzNUPvTnW6Pkj d7+bqu2BwHuKMywtKMYRhPo93RTuFW569BMmNm/eGUNrkGCMmPFeIvyGnpaQ/2XhTVIG 0ltw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=5db0rN0b61TISoVih9RU0w7I/BYMbyVo0fCfumLvBJU=; b=ndYm5z+tNcQAbg7UaNZAm9F3k7z0omeaGgXAIjSpHSH36JTv+XqKnTE7a7xAjt418z IpuqL/O0vaeTssVVIpXD+JqsIlh+miRzTXTNp0WQUL16bdn+NYIyo2OTvLru/YRyUkcr I7zbizDW7xN/UpgGTLTjLRtu+AVdftzrox+CNQs4XfIAdRScDlkhMMkdW59KAoyEyoC0 GPUK2xbrtQR+NKnni2pcUrKWfkgANCfeOIkmcwxN7genoLAhNbtt/vzx5Q05Yymo3oZ4 BFA/Z4fW19xgKAvKHGVwbIXA4uelHIw2ELKGCINUrCATWGVgf8dWUP2ssNdnhZOmdd/P +BTA== X-Gm-Message-State: AOAM532FMFu4ijm1Sm5iewXwIynAxRWiZqdj8XVggo4yeyAOQ8vtaVjj Ep0nTeEXnF076fEwHSloD4obH48TdrQ= X-Google-Smtp-Source: ABdhPJxW502J2p3wHoVx/d3AqodhoKgPwvsaUlx4hMLKseNtd9yxDGw+BCbNjHqPUg3olzHpsoB/sQ== X-Received: by 2002:a5d:6a85:: with SMTP id s5mr12728710wru.283.1612091614116; Sun, 31 Jan 2021 03:13:34 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id s19sm25233016wrf.72.2021.01.31.03.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:13:33 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 02/10] hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards Date: Sun, 31 Jan 2021 12:13:08 +0100 Message-Id: <20210131111316.232778-3-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We want to be able to use the 'LM32' config for architecture specific features. Introduce CONFIG_LM32_EVR to select the lm32-evr / lm32-uclinux boards. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- default-configs/devices/lm32-softmmu.mak | 2 +- hw/lm32/Kconfig | 6 +++++- hw/lm32/meson.build | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/default-configs/devices/lm32-softmmu.mak b/default-configs/devices/lm32-softmmu.mak index 115b3e34c98..1bce3f6e8b6 100644 --- a/default-configs/devices/lm32-softmmu.mak +++ b/default-configs/devices/lm32-softmmu.mak @@ -8,5 +8,5 @@ CONFIG_SEMIHOSTING=y # Boards: # -CONFIG_LM32=y +CONFIG_LM32_EVR=y CONFIG_MILKYMIST=y diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index ed2e3060b04..20c36edc402 100644 --- a/hw/lm32/Kconfig +++ b/hw/lm32/Kconfig @@ -1,7 +1,6 @@ config LM32 bool select PTIMER - select PFLASH_CFI02 config MILKYMIST bool @@ -12,3 +11,8 @@ config MILKYMIST select FRAMEBUFFER select SD select USB_OHCI + +config LM32_EVR + bool + select LM32 + select PFLASH_CFI02 diff --git a/hw/lm32/meson.build b/hw/lm32/meson.build index 8caf0a727ff..42d6f8db3d9 100644 --- a/hw/lm32/meson.build +++ b/hw/lm32/meson.build @@ -1,6 +1,6 @@ lm32_ss = ss.source_set() # LM32 boards -lm32_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_boards.c')) +lm32_ss.add(when: 'CONFIG_LM32_EVR', if_true: files('lm32_boards.c')) lm32_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist.c')) hw_arch += {'lm32': lm32_ss} From patchwork Sun Jan 31 11:13:09 2021 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: 1433843 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=VtsFlqIB; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7mb2mMhz9sWK for ; Sun, 31 Jan 2021 22:15:59 +1100 (AEDT) Received: from localhost ([::1]:37512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Ahx-0004Q4-81 for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:15:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Afp-00026B-KN; Sun, 31 Jan 2021 06:13:45 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:34143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Afn-0006Og-TN; Sun, 31 Jan 2021 06:13:45 -0500 Received: by mail-wm1-x32c.google.com with SMTP id o10so9598517wmc.1; Sun, 31 Jan 2021 03:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fYQAVaNNfllVHQX0jOIMlQzoC4zDZBjKHd4G1bFe6gE=; b=VtsFlqIBtqo1kXig1EeJWLBVRMox9I8WX2P/8PRWsWkbAckwzpSZIZoFEczXG6Wgnb 6SlPCptAu7PFm3akwbHlaYFbePl01zvC4eLGG4ahfyOye7dl6CjxQG9/jWwiXEXCwy4L dtWnpYz97KrNvOFHlKNsDfYtBehZOBkcb+HScuBj9Wf6aezOwyKRQ9pbeA+hkuCnRBfR 5qPKsGkUfJxuuRsgpjNRxZ6hMnOoJnqHu+Arh2e5cJnS5kl8bRmds/aqfboawpLoczrl F7GoyE9FJyOqHTjCdvVg5KKNA6+XWYVt/aivp0giwV6JgDm1J+v0aKkfHzXE7d2EKpoa go5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=fYQAVaNNfllVHQX0jOIMlQzoC4zDZBjKHd4G1bFe6gE=; b=tjMQJCCWMmnl2OJ0aX/ht8I5AZEiJCLMoO/u2r3ce2vlI/yY6igJyKv1RoyFObHR1u jL25MEZ0xLpHm46pZB2eSmnj2oBzP+9qkMnTiNNQbK10qxD/xdvs7AMCWAs38/ajIl8G cxLRBgS4PTqyols+b5gojEL1es+ysT1YzBY7uqnjfZJkF0WNMxIuopY1XYOfXABnVcTr tJ4twgeMH0oMOqpF+tSTgdJVW3cDDZv2holp/g9gVPU2tGuoq8C/c+LZY82OTOdTjGCA pcxr7JviB9Ksx/U4UhdVA12ALLDOrgEdIu+6kYdzfvEno3VpYbQtn6wUhL3/4uKQU7nP gTjw== X-Gm-Message-State: AOAM530eDU5yWGxwzNbG+bIVaLZQsh/SkrdSPjRTDM8lynBmbvGK3crQ Wma3OK3X3OfLdyyDGE/YLS6KYYyR0mo= X-Google-Smtp-Source: ABdhPJygYyM+WH/1+ddpYuuvNeuUZ11kFCnNJRQVgkKeFFsZxyw0wUwCZKD+WJAIXr4jn58+npJiTQ== X-Received: by 2002:a05:600c:4fc2:: with SMTP id o2mr10585388wmq.90.1612091620427; Sun, 31 Jan 2021 03:13:40 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id x81sm18641566wmg.40.2021.01.31.03.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:13:39 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 03/10] hw/sh4/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_PERIPHERALS Date: Sun, 31 Jan 2021 12:13:09 +0100 Message-Id: <20210131111316.232778-4-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We want to be able to use the 'LM32' config for architecture specific features. As CONFIG_LM32 is only used to select peripherals, rename it CONFIG_LM32_PERIPHERALS. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- hw/char/meson.build | 4 ++-- hw/intc/meson.build | 2 +- hw/lm32/Kconfig | 4 ++-- hw/timer/meson.build | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/char/meson.build b/hw/char/meson.build index 3b8cb6a2f5b..b05dcc41c59 100644 --- a/hw/char/meson.build +++ b/hw/char/meson.build @@ -8,8 +8,8 @@ softmmu_ss.add(when: 'CONFIG_IPACK', if_true: files('ipoctal232.c')) softmmu_ss.add(when: 'CONFIG_ISA_BUS', if_true: files('parallel-isa.c')) softmmu_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugcon.c')) -softmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_juart.c')) -softmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_uart.c')) +softmmu_ss.add(when: 'CONFIG_LM32_PERIPHERALS', if_true: files('lm32_juart.c')) +softmmu_ss.add(when: 'CONFIG_LM32_PERIPHERALS', if_true: files('lm32_uart.c')) softmmu_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist-uart.c')) softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_uart.c')) softmmu_ss.add(when: 'CONFIG_PARALLEL', if_true: files('parallel.c')) diff --git a/hw/intc/meson.build b/hw/intc/meson.build index b05bab2f4b6..bfaab908ac7 100644 --- a/hw/intc/meson.build +++ b/hw/intc/meson.build @@ -14,7 +14,7 @@ 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')) softmmu_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic_common.c')) -softmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_pic.c')) +softmmu_ss.add(when: 'CONFIG_LM32_PERIPHERALS', if_true: files('lm32_pic.c')) softmmu_ss.add(when: 'CONFIG_OPENPIC', if_true: files('openpic.c')) softmmu_ss.add(when: 'CONFIG_PL190', if_true: files('pl190.c')) softmmu_ss.add(when: 'CONFIG_PUV3', if_true: files('puv3_intc.c')) diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index 20c36edc402..5867f4db0cf 100644 --- a/hw/lm32/Kconfig +++ b/hw/lm32/Kconfig @@ -1,4 +1,4 @@ -config LM32 +config LM32_PERIPHERALS bool select PTIMER @@ -14,5 +14,5 @@ config MILKYMIST config LM32_EVR bool - select LM32 + select LM32_PERIPHERALS select PFLASH_CFI02 diff --git a/hw/timer/meson.build b/hw/timer/meson.build index d3f53dce400..36ca0d34942 100644 --- a/hw/timer/meson.build +++ b/hw/timer/meson.build @@ -19,7 +19,7 @@ softmmu_ss.add(when: 'CONFIG_I8254', if_true: files('i8254_common.c', 'i8254.c')) softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_epit.c')) softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_gpt.c')) -softmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_timer.c')) +softmmu_ss.add(when: 'CONFIG_LM32_PERIPHERALS', if_true: files('lm32_timer.c')) softmmu_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist-sysctl.c')) softmmu_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_gictimer.c')) softmmu_ss.add(when: 'CONFIG_MSF2', if_true: files('mss-timer.c')) From patchwork Sun Jan 31 11:13:10 2021 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: 1433849 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ToTCx2jW; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7x55fpgz9t8j for ; Sun, 31 Jan 2021 22:23:21 +1100 (AEDT) Received: from localhost ([::1]:56924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Ap5-0004WJ-Od for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:23:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Afv-0002MV-IV; Sun, 31 Jan 2021 06:13:51 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:34148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Afu-0006Sd-3T; Sun, 31 Jan 2021 06:13:51 -0500 Received: by mail-wm1-x331.google.com with SMTP id o10so9598650wmc.1; Sun, 31 Jan 2021 03:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VZ5JZwzpktnbjFuf/ncaeAAbDJxYH2JCDDvtVQgdW+w=; b=ToTCx2jWckWjHNwpEOz5wdo/JJkak9+T2kGHTPB3H9cUsSWYIJ2j0m0wd6ZXLfgxm/ npiF4nB+90iU4FCLw2dxO9FGjYxk7sqqOKNPgbnT43up9MT3+TqVcO1dzfS5nC30YWsb SmW/ud6ZCvRzxnycN0tOgYoFcQKL6HTXZlNopN7UPbBXEYJQRYkrmDTygLyZixrodMtU uBmILEY/oCg/GOX2dzjcq5QWWrpK1Q/kqNiziD08GehDKl/Ls9OGkVq3NNt8CNgoNTvU Pqb8qpC0WBbuifL4S2EngyrN/0+LMivv3LKHDfCnICIuLegny6Vgj+AjlyrXJ9Px23Vb 6zSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VZ5JZwzpktnbjFuf/ncaeAAbDJxYH2JCDDvtVQgdW+w=; b=Wn4ZuQ2lgrC50LB+Ik4vsjc2eoQR830A+UP3hdpDw4WfzliavjJG6NrvnXKDl96bn/ VQCqDnEYGeYPKrSya+AT9otduawVt+Kxc4CNMB95EgoycNnV39YdDI95NzWDoBU+gazB f2WRv7HTINgct7LJ8tGK3W1TCnDOz52fyvqmxt+n0EXAz1o2lrw5AjE0oOHdmhbKYn7G Dnz/ZcD7YccfsG0cz0wsVXCmFxkbP81llLv4wbxFpnypChHwaa+Q669fc+WGNQFTOrh6 37OmtPqhlghZILN/cyUsjxckj40OivCqxI2VkCks0lePM2OTQqOs+jNcL6Za3LeOaFML 82wA== X-Gm-Message-State: AOAM533kajLV+a6rDV0u9tEnzf9lvo1g0SiWhWVWPxt/gwNfyVmZ7ou7 /5qmlL2NYo1fFgUy1fmzYYwHmdb/Vug= X-Google-Smtp-Source: ABdhPJxUb54MNnNR5jLVD0xKsErUHIn07Vu6OqovQ7PCBXAlfVBhNXjdpq2WzDgjRc+LEHv7SAEXbA== X-Received: by 2002:a1c:f604:: with SMTP id w4mr10918232wmc.39.1612091626857; Sun, 31 Jan 2021 03:13:46 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id u14sm17326317wmq.45.2021.01.31.03.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:13:46 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 04/10] hw/lm32/Kconfig: Have MILKYMIST select LM32_PERIPHERALS Date: Sun, 31 Jan 2021 12:13:10 +0100 Message-Id: <20210131111316.232778-5-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The Milkymist board requires more than the PTIMER. Directly select the LM32_PERIPHERALS. This fixes: /usr/bin/ld: libqemu-lm32-softmmu.fa.p/target_lm32_gdbstub.c.o: in function `lm32_cpu_gdb_read_register': target/lm32/gdbstub.c:46: undefined reference to `lm32_pic_get_im' target/lm32/gdbstub.c:48: undefined reference to `lm32_pic_get_ip' libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function `helper_wcsr_im': target/lm32/op_helper.c:107: undefined reference to `lm32_pic_set_im' libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function `helper_wcsr_ip': target/lm32/op_helper.c:114: undefined reference to `lm32_pic_set_ip' libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function `helper_wcsr_jtx': target/lm32/op_helper.c:120: undefined reference to `lm32_juart_set_jtx' libqemu-lm32-softmmu.fa.p/target_lm32_op_helper.c.o: in function `helper_wcsr_jrx': target/lm32/op_helper.c:125: undefined reference to `lm32_juart_set_jrx' libqemu-lm32-softmmu.fa.p/target_lm32_translate.c.o: in function `lm32_cpu_dump_state': target/lm32/translate.c:1161: undefined reference to `lm32_pic_get_ip' target/lm32/translate.c:1161: undefined reference to `lm32_pic_get_im' Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- hw/lm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index 5867f4db0cf..38ad22c54e4 100644 --- a/hw/lm32/Kconfig +++ b/hw/lm32/Kconfig @@ -6,11 +6,11 @@ config MILKYMIST bool # FIXME: disabling it results in compile-time errors select MILKYMIST_TMU2 if OPENGL && X11 - select PTIMER select PFLASH_CFI01 select FRAMEBUFFER select SD select USB_OHCI + select LM32_PERIPHERALS config LM32_EVR bool From patchwork Sun Jan 31 11:13:11 2021 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: 1433844 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MLzvE4Bz; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7pH3Sryz9sWK for ; Sun, 31 Jan 2021 22:17:27 +1100 (AEDT) Received: from localhost ([::1]:42060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AjN-0006SG-Ci for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:17:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Ag3-0002Vl-Lw; Sun, 31 Jan 2021 06:13:59 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:34147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Ag1-0006Ve-BH; Sun, 31 Jan 2021 06:13:58 -0500 Received: by mail-wm1-x32f.google.com with SMTP id o10so9598771wmc.1; Sun, 31 Jan 2021 03:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fKIfvtq/P4RYttCZaDmgRPWiT/b+dH3aZ+07k+ffCOU=; b=MLzvE4BzySHsO5ful+O0CcZLDsEHwdwzcg2n6/ilNkD5bzPOaPGXvVpsJINZOmaNna 6hRCefkv49UGlXkG3As92xVTPXRowhugUYyKFFyXhd6ohD4Ca4i37c3nYREYQG7Uvope Sl3v8rCvwDhLtx3sxZ9gdgP20BYQc7mOhGZWRqxLWif6+j0h5pubGnrFVo+eD/hiZnBh tjd77Va79EqJgK5c/DcyDmBRwo3WiBPvgEZP2k4o0g53j2rKofN+N2kuFRgK/9Ooy6px J2Vw4/4HW6lDZa9nH9KPr/uN4lgnkNT+uQwSwEAyzSQW+sT4yzl4dLTEx8WjpS6ri7fs CjuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=fKIfvtq/P4RYttCZaDmgRPWiT/b+dH3aZ+07k+ffCOU=; b=nryPKtbZD1wLmpVZblksun1h3hGAx4aIVlOzxascjt+yCZdwaGjFE72arDcBJ4vCW6 B0MsJTZnREjUVBkPXdf6fUM7ngSTpKhiN6dGyp8Trje3qPKFUrlLUVAs/IqSCKqyg/3s 9RsPXpyT4t3jOtUcwMNqi+qLFE7CVUBkFBG+7gSYEl5Birp4GaqviCc6Tx6yy1YDmxbh o738kd02X3bF7jI2/qoyCJDR6R/u6AgAV6YLt+etU7ff/YqIt6hcAoXxmeg6RCp89OND yS+iX1z7n+QHalAWxIWaVNTpDqJZQnk3i5TW+fhyTNKPh0ePkEBoJD0LvQ61Pe3xcjj+ 3JzQ== X-Gm-Message-State: AOAM533QQuGg6LVlXO4bxZhJOUbo1B/2J6CaqS27VAwIT6VNYE4OFe9n RCp6KRZnU+WNAWOMbt+6f+bDdGC5rec= X-Google-Smtp-Source: ABdhPJxJn7I1TqZqFnPB4jxTvDpNmaOxrth0ldzvkIsEXfvQ4D1kiB4Cf1sD8aIGlvuN1yHxEdasFw== X-Received: by 2002:a1c:7402:: with SMTP id p2mr10614546wmc.43.1612091633442; Sun, 31 Jan 2021 03:13:53 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id o13sm24191897wrh.88.2021.01.31.03.13.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:13:52 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 05/10] meson: Introduce target-specific Kconfig Date: Sun, 31 Jan 2021 12:13:11 +0100 Message-Id: <20210131111316.232778-6-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Add a target-specific Kconfig. Target foo now has CONFIG_FOO defined. Two architecture have a particularity, ARM and MIPS: their 64-bit version include the 32-bit subset. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Artyom Tarasenko --- I suppose X86_64 should also select I386? No clue about PPC/RISCV. --- meson.build | 3 ++- Kconfig | 1 + target/Kconfig | 23 +++++++++++++++++++++++ target/alpha/Kconfig | 2 ++ target/arm/Kconfig | 6 ++++++ target/avr/Kconfig | 2 ++ target/cris/Kconfig | 2 ++ target/hppa/Kconfig | 2 ++ target/i386/Kconfig | 5 +++++ target/lm32/Kconfig | 2 ++ target/m68k/Kconfig | 2 ++ target/microblaze/Kconfig | 2 ++ target/mips/Kconfig | 6 ++++++ target/moxie/Kconfig | 2 ++ target/nios2/Kconfig | 2 ++ target/openrisc/Kconfig | 2 ++ target/ppc/Kconfig | 5 +++++ target/riscv/Kconfig | 5 +++++ target/rx/Kconfig | 2 ++ target/s390x/Kconfig | 2 ++ target/sh4/Kconfig | 2 ++ target/sparc/Kconfig | 5 +++++ target/tilegx/Kconfig | 2 ++ target/tricore/Kconfig | 2 ++ target/unicore32/Kconfig | 2 ++ target/xtensa/Kconfig | 2 ++ 26 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 target/Kconfig create mode 100644 target/alpha/Kconfig create mode 100644 target/arm/Kconfig create mode 100644 target/avr/Kconfig create mode 100644 target/cris/Kconfig create mode 100644 target/hppa/Kconfig create mode 100644 target/i386/Kconfig create mode 100644 target/lm32/Kconfig create mode 100644 target/m68k/Kconfig create mode 100644 target/microblaze/Kconfig create mode 100644 target/mips/Kconfig create mode 100644 target/moxie/Kconfig create mode 100644 target/nios2/Kconfig create mode 100644 target/openrisc/Kconfig create mode 100644 target/ppc/Kconfig create mode 100644 target/riscv/Kconfig create mode 100644 target/rx/Kconfig create mode 100644 target/s390x/Kconfig create mode 100644 target/sh4/Kconfig create mode 100644 target/sparc/Kconfig create mode 100644 target/tilegx/Kconfig create mode 100644 target/tricore/Kconfig create mode 100644 target/unicore32/Kconfig create mode 100644 target/xtensa/Kconfig diff --git a/meson.build b/meson.build index f00b7754fd4..a2dda0ce95e 100644 --- a/meson.build +++ b/meson.build @@ -1322,7 +1322,8 @@ command: [minikconf, get_option('default_devices') ? '--defconfig' : '--allnoconfig', config_devices_mak, '@DEPFILE@', '@INPUT@', - host_kconfig, accel_kconfig]) + host_kconfig, accel_kconfig, + 'CONFIG_' + config_target['TARGET_ARCH'].to_upper() + '=y']) config_devices_data = configuration_data() config_devices = keyval.load(config_devices_mak) diff --git a/Kconfig b/Kconfig index bf694c42afe..c01e261e4e9 100644 --- a/Kconfig +++ b/Kconfig @@ -1,4 +1,5 @@ source Kconfig.host source backends/Kconfig source accel/Kconfig +source target/Kconfig source hw/Kconfig diff --git a/target/Kconfig b/target/Kconfig new file mode 100644 index 00000000000..a6f719f223a --- /dev/null +++ b/target/Kconfig @@ -0,0 +1,23 @@ +source alpha/Kconfig +source arm/Kconfig +source avr/Kconfig +source cris/Kconfig +source hppa/Kconfig +source i386/Kconfig +source lm32/Kconfig +source m68k/Kconfig +source microblaze/Kconfig +source mips/Kconfig +source moxie/Kconfig +source nios2/Kconfig +source openrisc/Kconfig +source ppc/Kconfig +source riscv/Kconfig +source rx/Kconfig +source s390x/Kconfig +source sh4/Kconfig +source sparc/Kconfig +source tilegx/Kconfig +source tricore/Kconfig +source unicore32/Kconfig +source xtensa/Kconfig diff --git a/target/alpha/Kconfig b/target/alpha/Kconfig new file mode 100644 index 00000000000..267222c05b8 --- /dev/null +++ b/target/alpha/Kconfig @@ -0,0 +1,2 @@ +config ALPHA + bool diff --git a/target/arm/Kconfig b/target/arm/Kconfig new file mode 100644 index 00000000000..3f3394a22b2 --- /dev/null +++ b/target/arm/Kconfig @@ -0,0 +1,6 @@ +config ARM + bool + +config AARCH64 + bool + select ARM diff --git a/target/avr/Kconfig b/target/avr/Kconfig new file mode 100644 index 00000000000..155592d3537 --- /dev/null +++ b/target/avr/Kconfig @@ -0,0 +1,2 @@ +config AVR + bool diff --git a/target/cris/Kconfig b/target/cris/Kconfig new file mode 100644 index 00000000000..3fdc309fbbd --- /dev/null +++ b/target/cris/Kconfig @@ -0,0 +1,2 @@ +config CRIS + bool diff --git a/target/hppa/Kconfig b/target/hppa/Kconfig new file mode 100644 index 00000000000..395a35d799c --- /dev/null +++ b/target/hppa/Kconfig @@ -0,0 +1,2 @@ +config HPPA + bool diff --git a/target/i386/Kconfig b/target/i386/Kconfig new file mode 100644 index 00000000000..ce6968906ee --- /dev/null +++ b/target/i386/Kconfig @@ -0,0 +1,5 @@ +config I386 + bool + +config X86_64 + bool diff --git a/target/lm32/Kconfig b/target/lm32/Kconfig new file mode 100644 index 00000000000..09de5b703a3 --- /dev/null +++ b/target/lm32/Kconfig @@ -0,0 +1,2 @@ +config LM32 + bool diff --git a/target/m68k/Kconfig b/target/m68k/Kconfig new file mode 100644 index 00000000000..23debad519a --- /dev/null +++ b/target/m68k/Kconfig @@ -0,0 +1,2 @@ +config M68K + bool diff --git a/target/microblaze/Kconfig b/target/microblaze/Kconfig new file mode 100644 index 00000000000..a5410d9218d --- /dev/null +++ b/target/microblaze/Kconfig @@ -0,0 +1,2 @@ +config MICROBLAZE + bool diff --git a/target/mips/Kconfig b/target/mips/Kconfig new file mode 100644 index 00000000000..6adf1453548 --- /dev/null +++ b/target/mips/Kconfig @@ -0,0 +1,6 @@ +config MIPS + bool + +config MIPS64 + bool + select MIPS diff --git a/target/moxie/Kconfig b/target/moxie/Kconfig new file mode 100644 index 00000000000..52391bbd289 --- /dev/null +++ b/target/moxie/Kconfig @@ -0,0 +1,2 @@ +config MOXIE + bool diff --git a/target/nios2/Kconfig b/target/nios2/Kconfig new file mode 100644 index 00000000000..1529ab8950d --- /dev/null +++ b/target/nios2/Kconfig @@ -0,0 +1,2 @@ +config NIOS2 + bool diff --git a/target/openrisc/Kconfig b/target/openrisc/Kconfig new file mode 100644 index 00000000000..e0da4ac1dfc --- /dev/null +++ b/target/openrisc/Kconfig @@ -0,0 +1,2 @@ +config OPENRISC + bool diff --git a/target/ppc/Kconfig b/target/ppc/Kconfig new file mode 100644 index 00000000000..3ff152051a3 --- /dev/null +++ b/target/ppc/Kconfig @@ -0,0 +1,5 @@ +config PPC + bool + +config PPC64 + bool diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig new file mode 100644 index 00000000000..b9e5932f13f --- /dev/null +++ b/target/riscv/Kconfig @@ -0,0 +1,5 @@ +config RISCV32 + bool + +config RISCV64 + bool diff --git a/target/rx/Kconfig b/target/rx/Kconfig new file mode 100644 index 00000000000..aceb5ed28fe --- /dev/null +++ b/target/rx/Kconfig @@ -0,0 +1,2 @@ +config RX + bool diff --git a/target/s390x/Kconfig b/target/s390x/Kconfig new file mode 100644 index 00000000000..72da48136c6 --- /dev/null +++ b/target/s390x/Kconfig @@ -0,0 +1,2 @@ +config S390X + bool diff --git a/target/sh4/Kconfig b/target/sh4/Kconfig new file mode 100644 index 00000000000..2397c860280 --- /dev/null +++ b/target/sh4/Kconfig @@ -0,0 +1,2 @@ +config SH4 + bool diff --git a/target/sparc/Kconfig b/target/sparc/Kconfig new file mode 100644 index 00000000000..70cc0f3a210 --- /dev/null +++ b/target/sparc/Kconfig @@ -0,0 +1,5 @@ +config SPARC + bool + +config SPARC64 + bool diff --git a/target/tilegx/Kconfig b/target/tilegx/Kconfig new file mode 100644 index 00000000000..aad882826ab --- /dev/null +++ b/target/tilegx/Kconfig @@ -0,0 +1,2 @@ +config TILEGX + bool diff --git a/target/tricore/Kconfig b/target/tricore/Kconfig new file mode 100644 index 00000000000..93134093093 --- /dev/null +++ b/target/tricore/Kconfig @@ -0,0 +1,2 @@ +config TRICORE + bool diff --git a/target/unicore32/Kconfig b/target/unicore32/Kconfig new file mode 100644 index 00000000000..62c9d10b38f --- /dev/null +++ b/target/unicore32/Kconfig @@ -0,0 +1,2 @@ +config UNICORE32 + bool diff --git a/target/xtensa/Kconfig b/target/xtensa/Kconfig new file mode 100644 index 00000000000..a3c8dc7f6d7 --- /dev/null +++ b/target/xtensa/Kconfig @@ -0,0 +1,2 @@ +config XTENSA + bool From patchwork Sun Jan 31 11:13:12 2021 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: 1433847 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=H1VKl/jL; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7t63Kdbz9sWK for ; Sun, 31 Jan 2021 22:20:46 +1100 (AEDT) Received: from localhost ([::1]:48980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AmY-00010W-L0 for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:20:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Ag8-0002e8-Qm; Sun, 31 Jan 2021 06:14:04 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:39608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Ag7-0006Y0-70; Sun, 31 Jan 2021 06:14:04 -0500 Received: by mail-wr1-x435.google.com with SMTP id a1so13468735wrq.6; Sun, 31 Jan 2021 03:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UVDP5iZ65cycEwd/7jK5GwJYW+9woRIPB0EI+jBBZJo=; b=H1VKl/jLoZuALreDrzHs6jlJJtI4s79PnyL65Fvkl559kD9TTO17/wUhjhNnr5kScT QqnnPVAbLkjv+sAPUcEO3jmvccBu7FAqhvC/PefidCgeN43qeMjJhE4UfOfJ+N5ZkUSY iVefVaiXTReTEkXxOt+JPv4rKLBeA5QwprmR22cZugwbQVarE2SdF7/af7EcRv2stro2 zNFRLWlS8MFXPRxBSDbeXVwVKUBcC7aNs1LnH47iw42iRmvEuvpDatknxNCuor1qiwLF gQKcDvDFASkjrOgQaHZdRgwAHx6m3Qc3lsKOJ7Et81s8nsly93n4nGXuUKlr8CWszXeP oyPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=UVDP5iZ65cycEwd/7jK5GwJYW+9woRIPB0EI+jBBZJo=; b=TIShEJeep7wyb+AAaIK6YZFA4VVHFyNY4V27+qGVNpYAbbsp34j2aiHqlUcZy1B8B8 IfN2k9NFp7hP+IbOB4dQWJO2wHm4NOTMWaLY4iuMElAmkqc4C2b5mZRHzW25Gp0Mx74N 6oOaNADpcXhm3N98g5uqXNOnaRQBzUs31vLbYD8fPL8JfvWqF/2CiIyseIGQ+JqvAehe E2aZQMB6rQM+Z3Ov+AXRWRr3hTVVVi0jRYUiFekOSw/GtFHnJcp3dBJygbnUNzDIY2wM GtpVJcGbg8JOYUkFU4dM/8QyCUFtfjWw8nlHTPyf0bX9/lEqlb1Znd3ybqUMsfQyVB1v WYxQ== X-Gm-Message-State: AOAM53179OoogfdEtn/Ww9fAx0FMYCHHVtnvIpGlcwmv41y4q6DDhOxK XKVmRCO3KOuiLNwONHy3MeZV0Sc1eac= X-Google-Smtp-Source: ABdhPJxkPyi7k+bbTRrGn1kJUzqknXAJNH+OD/SNSOUMw81yzPYOXWCbbKwCfP44+Y2JXFpoeOojDw== X-Received: by 2002:adf:9148:: with SMTP id j66mr13801208wrj.28.1612091639958; Sun, 31 Jan 2021 03:13:59 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id l11sm21775517wrt.23.2021.01.31.03.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:13:59 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 06/10] target/i386: Move SEV feature to target Kconfig Date: Sun, 31 Jan 2021 12:13:12 +0100 Message-Id: <20210131111316.232778-7-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" SEV is an architecture feature, move its declaration to target/i386/. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- hw/i386/Kconfig | 4 ---- target/i386/Kconfig | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 7f91f30877f..3d67c172dab 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -1,7 +1,3 @@ -config SEV - bool - depends on KVM - config PC bool imply APPLESMC diff --git a/target/i386/Kconfig b/target/i386/Kconfig index ce6968906ee..27c76c554c7 100644 --- a/target/i386/Kconfig +++ b/target/i386/Kconfig @@ -3,3 +3,7 @@ config I386 config X86_64 bool + +config SEV + bool + depends on KVM && I386 From patchwork Sun Jan 31 11:13:13 2021 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: 1433848 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=qG77/DVN; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7vF4sCGz9t2g for ; Sun, 31 Jan 2021 22:21:45 +1100 (AEDT) Received: from localhost ([::1]:51988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AnX-0002PJ-HM for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:21:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6AgF-0002uz-1v; Sun, 31 Jan 2021 06:14:11 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:36620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6AgD-0006cE-Ig; Sun, 31 Jan 2021 06:14:10 -0500 Received: by mail-wm1-x32e.google.com with SMTP id i9so10727339wmq.1; Sun, 31 Jan 2021 03:14:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Eh0nPPe+ccMxW9Cb/jr3NHaD25Nxmw47W22jriJyAa0=; b=qG77/DVNuWObaYdxvSPXp5aG31DRU/wwuuwJi7XpKzBbIN+GO30SCqSe+Ev8IPFx+J 7AOHuOBnnOi2Mu1p26bxIbkAg7mNr8kTMVGj/d1RRoOyYaqlCOwSAECWsxACrs55ND4j XBxBOZ+46U6R2MmtCyyv/rI3TwxL8+lpwzo9N4P0iCRcWIv6FhslDGiBGYJzyyNRJOJM 0Fya/lNgbOvAl16FrnWD4NIAPg8hdSNvc03xmCdsePxHZDJIexs3p+Kfa5NsO5eQ1ydy FFXy9x/slDkUf+t14rafYvKY3wcV5qpkcGGfm9UC6tWBQth6w+81RT82O9phB5VVKoFr h6JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Eh0nPPe+ccMxW9Cb/jr3NHaD25Nxmw47W22jriJyAa0=; b=lwlOKu226O6K1Mlo0Pc4ZYAxJPHocrCzADWgba3R/JHDlhIgy0gYHuO9cr1rxsa37v rTvrhKsOwUuEemKkyfharDXXbRkCjLm8/zxfZULAUHHGIQNCXQ6XMVAKtGKBqkpwd/yK 0dpvDfju0vKDEY18Er3iUwOgkv/Mu/81Fag8+i33B4ga9QriXbIMyMLNN3q/lHUQ1jX6 ytNyRagOJK9QoXpn9O+EArpA+yNjkxpiX3elUBeuc9+vAMG3iPdPw/63y0OmNDnW/Y+L 0e8c5Vw5VlqeHSlTVM6eIk/cU8wJaYC5gY+R4x13mpqd/yO0KV870h2Fe3Qyy0DEL0hX xAyQ== X-Gm-Message-State: AOAM5303aIAQtfS5z1//CBDcJZWFPq4d8Jvm6T46jMqTFNF2LhjpjLLk 7biATAL5KSbyH11DMz/udI+1G4YhaF4= X-Google-Smtp-Source: ABdhPJz4doJnrW/LDttNtT/C/l19beETvSJdy/mFd/0h+4oo2oFT/uS3U7LQJZd1vVQMdWC5gHeIMw== X-Received: by 2002:a1c:4107:: with SMTP id o7mr10703980wma.33.1612091646092; Sun, 31 Jan 2021 03:14:06 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id p15sm22584734wrt.15.2021.01.31.03.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:14:05 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 07/10] target/arm: Move V7M feature to target Kconfig Date: Sun, 31 Jan 2021 12:13:13 +0100 Message-Id: <20210131111316.232778-8-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" V7M is an architecture feature, move its declaration to target/arm/. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- hw/arm/Kconfig | 4 ---- target/arm/Kconfig | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 09298881f2f..f3ecb73a3d8 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -292,10 +292,6 @@ config ZYNQ select XILINX_SPIPS select ZYNQ_DEVCFG -config ARM_V7M - bool - select PTIMER - config ALLWINNER_A10 bool select AHCI diff --git a/target/arm/Kconfig b/target/arm/Kconfig index 3f3394a22b2..1f05de47ca6 100644 --- a/target/arm/Kconfig +++ b/target/arm/Kconfig @@ -4,3 +4,7 @@ config ARM config AARCH64 bool select ARM + +config ARM_V7M + bool + select PTIMER From patchwork Sun Jan 31 11:13:14 2021 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: 1433850 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=leLcc6pF; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7yQ30vRz9t2g for ; Sun, 31 Jan 2021 22:24:30 +1100 (AEDT) Received: from localhost ([::1]:60754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AqB-00068N-Mo for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:24:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6AgL-0003D5-7h; Sun, 31 Jan 2021 06:14:17 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:39697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6AgJ-0006hB-LK; Sun, 31 Jan 2021 06:14:16 -0500 Received: by mail-wm1-x331.google.com with SMTP id u14so10707749wmq.4; Sun, 31 Jan 2021 03:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GDkI+rwKtjNKilVNRpLbahjwFzHqXAoDQm6Y6hyZ/4A=; b=leLcc6pFkG2sud5rWI+np/GSNmk62nWtvomlIRSzn4Ps4W4u0zcCv9+YPncGta2nOk zojnlppJSKiqHsmhu4SMXg9Sqb3Nho20dwRvOZu88vHcEoIyLCwBIwgwPC6qkGR8SGjL mDOi057bPcyru2ek9N1L9V9YoqMQiiYOVJ7P1lRvK0U/qB5QmOkczRl7tbDXxThWuHvg NDUxTIVV1kg0sYo20cJ/D46E6W/6YFEUGy5kZmYktcCAwspqomi+1r5IuzzJ7dlfnJR4 jSraOTY7DNRBaBcm24oskY1FGrU55g878fdQuGIoCSgpemOyATgpaDpx8l/aG/31ITJ+ fC1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=GDkI+rwKtjNKilVNRpLbahjwFzHqXAoDQm6Y6hyZ/4A=; b=IdGasWBdK5lAJyBApByBrFM5fZ5u3qEp5ONkwDsAhPVbYvF3A8keVuabTDuWDAJEMu 2a1NkOKpeSUoWN1VRbEXU7i/8pd+xQpn9VAOrzu8MpR4X5/yl4rB7vyl4Lepl/xMFx91 ih6b0ovBJ99iotECYobYGyT/Ww2VxMcL+u8kBvv1Dv0mmOHzlw0oiqCrPwqm8UEEpsRB ZxxZ8PlJCJykKkOTvo8KvZlmSZHZACUlyzwfAczZbamfAcOdQ98pVhs0qwNpBdOwela1 QlgvnMEeZO7vkdErYDboUek7CFfPtNZCdfDOeMPrTR3F5qnYJLzjb3U9STgQ3UldeuHr 07OQ== X-Gm-Message-State: AOAM5310ylY9zqicyjctH/iSUpPrQjSDTtdTsXAHjX6K87YqlE/v2R6R fa0Ro7rB6K1MIrcPS5NhUP3+Kf+TBxc= X-Google-Smtp-Source: ABdhPJxnjopGFqmpUKqaP8zHmFxUTRSBU1pnTi6CbH65zn6PNcQ5hIQXrup6Ok2s8PWmQ9nwRghYPw== X-Received: by 2002:a7b:c08f:: with SMTP id r15mr10912239wmh.22.1612091652608; Sun, 31 Jan 2021 03:14:12 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id h1sm23178056wrr.73.2021.01.31.03.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:14:11 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 08/10] default-configs: Remove unnecessary SEMIHOSTING selection Date: Sun, 31 Jan 2021 12:13:14 +0100 Message-Id: <20210131111316.232778-9-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Commit 56b5170c87e ("semihosting: Move ARM semihosting code to shared directories") selected ARM_COMPATIBLE_SEMIHOSTING which already selects SEMIHOSTING. No need to select it again. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Reviewed-by: Alistair Francis --- default-configs/devices/arm-softmmu.mak | 1 - default-configs/devices/riscv32-softmmu.mak | 1 - default-configs/devices/riscv64-softmmu.mak | 1 - 3 files changed, 3 deletions(-) diff --git a/default-configs/devices/arm-softmmu.mak b/default-configs/devices/arm-softmmu.mak index 0500156a0c7..341d439de6f 100644 --- a/default-configs/devices/arm-softmmu.mak +++ b/default-configs/devices/arm-softmmu.mak @@ -41,6 +41,5 @@ CONFIG_MICROBIT=y CONFIG_FSL_IMX25=y CONFIG_FSL_IMX7=y CONFIG_FSL_IMX6UL=y -CONFIG_SEMIHOSTING=y CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y CONFIG_ALLWINNER_H3=y diff --git a/default-configs/devices/riscv32-softmmu.mak b/default-configs/devices/riscv32-softmmu.mak index d847bd5692e..5c9ad2590ef 100644 --- a/default-configs/devices/riscv32-softmmu.mak +++ b/default-configs/devices/riscv32-softmmu.mak @@ -3,7 +3,6 @@ # Uncomment the following lines to disable these optional devices: # #CONFIG_PCI_DEVICES=n -CONFIG_SEMIHOSTING=y CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y # Boards: diff --git a/default-configs/devices/riscv64-softmmu.mak b/default-configs/devices/riscv64-softmmu.mak index d5eec75f05e..d5b2e25b6df 100644 --- a/default-configs/devices/riscv64-softmmu.mak +++ b/default-configs/devices/riscv64-softmmu.mak @@ -3,7 +3,6 @@ # Uncomment the following lines to disable these optional devices: # #CONFIG_PCI_DEVICES=n -CONFIG_SEMIHOSTING=y CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y # Boards: From patchwork Sun Jan 31 11:13:15 2021 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: 1433842 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=F7xvz2a4; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7lT3pcjz9t2g for ; Sun, 31 Jan 2021 22:15:01 +1100 (AEDT) Received: from localhost ([::1]:35454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Ah1-0003Vx-F6 for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:14:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6AgR-0003SF-Hv; Sun, 31 Jan 2021 06:14:23 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6AgQ-0006nV-0d; Sun, 31 Jan 2021 06:14:23 -0500 Received: by mail-wr1-x42d.google.com with SMTP id a1so13469233wrq.6; Sun, 31 Jan 2021 03:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E+U3nLCLAwB5cFSUB8M9sBsCoJgPFLGLn3AiQdETqYc=; b=F7xvz2a4Av9sQ1J9xlj0W/SmUCWPaAf/0CAl9b76xFlgd3Ytn6xlEVysgmoLA//gwV Fz6eLoh2H2dcE3xuCpdg1Sr/HLsW6AwUAL2lf9WxOf4LqraNJIuuSS4XH5L/nwBaSaMy 9YuQhbCAK/xKKMe6SUWazsFHadNxZSika87+p8A5uNbHdcvWxNIqlkja8JCP+LeZzAld Cm7PLKH7OfOOSGzDus7KJeYeCUz/xY4HV+VXd6tNnqqVWTJ0GfPLCuy8/yuxt9iA82Yi dCSD2p24tt4KAyc+WvQz9fFx4qOQ4dy8o6Vdj9NHFJ4/PCpZM+qYfH4MLJi0OBFAlw5Y 7HHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=E+U3nLCLAwB5cFSUB8M9sBsCoJgPFLGLn3AiQdETqYc=; b=d28Y88VWh57Q1LBQmB4uE4YVbU+cdyt/W0FgQ484CRs/9obFjLpH8ltkO5dtNx75Jh Ndq2gwg9nRvRy5vIPtfn1IHtKTP3ZbgDBA4sXuOXsa7V83m279ZXDhiZMl4C5qNvY4BZ FS+Sn6zM7oJ/R15iSzXdzSFkzMIHlEAd2Y0Iz9V+jCL8RoZ3RKfJsIFsbI7pRODhndHr a8uTqUT3rMSMrNbjJXpLkWvjCwip8QBy75pjojqAKm2GSuKdyVISq9ymN6O0BhGhJ/gY hM49Dok/8bH1RIlEXZTHqMm9bN3CB+yMGb55Bh5E7hqVS05RJABgnBsKqEUNkpcK6tC+ OB5w== X-Gm-Message-State: AOAM530/C473gX9pmJh5R+jWouxtSKQxyShNlzNiT8jFfG3v1YFEe7t7 ju8w/CkpwsZW1I7pkfb3YoKKRX6Tz0s= X-Google-Smtp-Source: ABdhPJy30l58DKSg0ZGp97k54Lb3Vy3dgfEEA0Qiy7Cu/d9Ok8KuwBLumNkzx3d49+pKEvKyVuELcw== X-Received: by 2002:adf:f606:: with SMTP id t6mr13317727wrp.360.1612091658986; Sun, 31 Jan 2021 03:14:18 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id i15sm11407947wmq.26.2021.01.31.03.14.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:14:18 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 09/10] target: Move ARM_COMPATIBLE_SEMIHOSTING feature to target Kconfig Date: Sun, 31 Jan 2021 12:13:15 +0100 Message-Id: <20210131111316.232778-10-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" ARM_COMPATIBLE_SEMIHOSTING is an architecture feature, move its declaration to each target/ARCH/. Note, we do not modify the linux-user targets, as user-mode builds don't use Kconfig. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Reviewed-by: Alistair Francis --- default-configs/devices/arm-softmmu.mak | 1 - default-configs/devices/riscv32-softmmu.mak | 1 - default-configs/devices/riscv64-softmmu.mak | 1 - target/arm/Kconfig | 1 + target/riscv/Kconfig | 2 ++ 5 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default-configs/devices/arm-softmmu.mak b/default-configs/devices/arm-softmmu.mak index 341d439de6f..0824e9be795 100644 --- a/default-configs/devices/arm-softmmu.mak +++ b/default-configs/devices/arm-softmmu.mak @@ -41,5 +41,4 @@ CONFIG_MICROBIT=y CONFIG_FSL_IMX25=y CONFIG_FSL_IMX7=y CONFIG_FSL_IMX6UL=y -CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y CONFIG_ALLWINNER_H3=y diff --git a/default-configs/devices/riscv32-softmmu.mak b/default-configs/devices/riscv32-softmmu.mak index 5c9ad2590ef..94a236c9c25 100644 --- a/default-configs/devices/riscv32-softmmu.mak +++ b/default-configs/devices/riscv32-softmmu.mak @@ -3,7 +3,6 @@ # Uncomment the following lines to disable these optional devices: # #CONFIG_PCI_DEVICES=n -CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y # Boards: # diff --git a/default-configs/devices/riscv64-softmmu.mak b/default-configs/devices/riscv64-softmmu.mak index d5b2e25b6df..76b61956489 100644 --- a/default-configs/devices/riscv64-softmmu.mak +++ b/default-configs/devices/riscv64-softmmu.mak @@ -3,7 +3,6 @@ # Uncomment the following lines to disable these optional devices: # #CONFIG_PCI_DEVICES=n -CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y # Boards: # diff --git a/target/arm/Kconfig b/target/arm/Kconfig index 1f05de47ca6..ae89d05c7e5 100644 --- a/target/arm/Kconfig +++ b/target/arm/Kconfig @@ -1,5 +1,6 @@ config ARM bool + select ARM_COMPATIBLE_SEMIHOSTING config AARCH64 bool diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig index b9e5932f13f..c3b9d8a1cf1 100644 --- a/target/riscv/Kconfig +++ b/target/riscv/Kconfig @@ -1,5 +1,7 @@ config RISCV32 bool + select ARM_COMPATIBLE_SEMIHOSTING config RISCV64 bool + select ARM_COMPATIBLE_SEMIHOSTING From patchwork Sun Jan 31 11:13:16 2021 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: 1433846 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=kGMjQPgg; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DT7rk71CVz9sWK for ; Sun, 31 Jan 2021 22:19:34 +1100 (AEDT) Received: from localhost ([::1]:46002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6AlQ-000899-OL for incoming@patchwork.ozlabs.org; Sun, 31 Jan 2021 06:19:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6AgZ-0003nG-2o; Sun, 31 Jan 2021 06:14:31 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:33637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6AgX-0006qG-Ad; Sun, 31 Jan 2021 06:14:30 -0500 Received: by mail-wr1-x42d.google.com with SMTP id 7so13472851wrz.0; Sun, 31 Jan 2021 03:14:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=G4MEjoHCumEr6ZmgdVDdQeeb4uA9ELO8JMQqAxzVyEA=; b=kGMjQPgg+PuwWLXGyfFpAH63DQkfaoEntKmcDz1/HZ9D/AtSihntOewrXVzp7HFMPn FkoHU+MLckF0Mbzyocu5SZqX+nDDx2bn4b1AKSWcAs9tmxWmoA36iMin6KW+E1QhmA7R Wnh2f8X5qRZ+R+KHroUdSn+8wJoL2v4Ku33SP2lMN37u6T+KWIOdR0Cwus3wEKO746jR RM4GWWLBT/DrZlNHWoVUqMFzu9ZkEmlX/CEkHQltWE/jRPJjcHnN5Vxe6tDdSe4vmYpV S9Yu/uB8iH3boeEwvSLm4lLnBzSmoXvAO90kaD3drrLDEU56y4FHpyHwUN5BIdKSEYzh UbcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=G4MEjoHCumEr6ZmgdVDdQeeb4uA9ELO8JMQqAxzVyEA=; b=W70u+igidiT5zzFC3mMP5WBBg9ERvXaRWjEc8oTnYRexxQJr1qgzZBpIYbpTLS7g1B 4ixjY4zUniY/osrCtf3Yp4l7wJLKivqxpugqGpsHEomYhjsRSnRkBMKrleOZZXB+354l h84jdzyfjvcbW5EWvXXctpCRHRyvbvasHgX69B+M6SUd6KVgCAkjHUAacNt6Ku8G6DCt iuuJbzkCZel/6MCcJGsM0a0j6Bc25sCpphxtVRBxiephBx/KUuBFwn377tVEYm4LQNe3 90GMAhliuRS3FSom9OrTz87v4+NcZrchgAS7ixahs2VPS8/BnvHxpBiBqgCuPAlenKJh 6dQw== X-Gm-Message-State: AOAM533Tvrnq17rkOAKUzgWg3iBjmyCbiJuWP4tfGFnMKN5ErcIYf0jb jNbyZSf+qBoT5bEeGA4QTiJtwYPTKKc= X-Google-Smtp-Source: ABdhPJzivnxdg4uwYTO9s34IycaEKC0liscUg/7SHIKGsTpDu0hLg9F4T5rLfBlKWXqlg0yGSirx9g== X-Received: by 2002:a5d:6847:: with SMTP id o7mr13249603wrw.216.1612091666004; Sun, 31 Jan 2021 03:14:26 -0800 (PST) Received: from localhost.localdomain (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id 36sm23685585wrj.97.2021.01.31.03.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 03:14:25 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PATCH 10/10] target: Move SEMIHOSTING feature to target Kconfig Date: Sun, 31 Jan 2021 12:13:16 +0100 Message-Id: <20210131111316.232778-11-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131111316.232778-1-f4bug@amsat.org> References: <20210131111316.232778-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sarah Harris , Cornelia Huck , Sagar Karandikar , "Michael S. Tsirkin" , Anthony Green , Mark Cave-Ayland , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Max Filippov , Alistair Francis , "Edgar E. Iglesias" , Guan Xuetao , Marek Vasut , qemu-block@nongnu.org, David Hildenbrand , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Artyom Tarasenko , Aleksandar Rikalo , Eduardo Habkost , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Michael Rolnik , Stafford Horne , Palmer Dabbelt , David Gibson , Kevin Wolf , qemu-riscv@nongnu.org, Yoshinori Sato , Bastian Koppelmann , Chris Wulff , Laurent Vivier , Max Reitz , Michael Walle , qemu-ppc@nongnu.org, Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" SEMIHOSTING is an architecture feature, move its declaration to each target/ARCH/. Signed-off-by: Philippe Mathieu-Daudé --- default-configs/devices/lm32-softmmu.mak | 2 -- default-configs/devices/m68k-softmmu.mak | 2 -- default-configs/devices/mips-softmmu-common.mak | 3 --- default-configs/devices/nios2-softmmu.mak | 2 -- default-configs/devices/unicore32-softmmu.mak | 1 - default-configs/devices/xtensa-softmmu.mak | 2 -- target/lm32/Kconfig | 1 + target/m68k/Kconfig | 1 + target/mips/Kconfig | 1 + target/nios2/Kconfig | 1 + target/unicore32/Kconfig | 1 + target/xtensa/Kconfig | 1 + 12 files changed, 6 insertions(+), 12 deletions(-) diff --git a/default-configs/devices/lm32-softmmu.mak b/default-configs/devices/lm32-softmmu.mak index 1bce3f6e8b6..1f69795b749 100644 --- a/default-configs/devices/lm32-softmmu.mak +++ b/default-configs/devices/lm32-softmmu.mak @@ -4,8 +4,6 @@ # #CONFIG_MILKYMIST_TMU2=n # disabling it actually causes compile-time failures -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_LM32_EVR=y diff --git a/default-configs/devices/m68k-softmmu.mak b/default-configs/devices/m68k-softmmu.mak index 6629fd2aa33..4fef4bd731d 100644 --- a/default-configs/devices/m68k-softmmu.mak +++ b/default-configs/devices/m68k-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for m68k-softmmu -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_AN5206=y diff --git a/default-configs/devices/mips-softmmu-common.mak b/default-configs/devices/mips-softmmu-common.mak index ea78fe72759..af652ec7bdd 100644 --- a/default-configs/devices/mips-softmmu-common.mak +++ b/default-configs/devices/mips-softmmu-common.mak @@ -1,8 +1,5 @@ # Common mips*-softmmu CONFIG defines -# CONFIG_SEMIHOSTING is always required on this architecture -CONFIG_SEMIHOSTING=y - CONFIG_ISA_BUS=y CONFIG_PCI=y CONFIG_PCI_DEVICES=y diff --git a/default-configs/devices/nios2-softmmu.mak b/default-configs/devices/nios2-softmmu.mak index 1bc4082ea99..e130d024e62 100644 --- a/default-configs/devices/nios2-softmmu.mak +++ b/default-configs/devices/nios2-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for nios2-softmmu -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_NIOS2_10M50=y diff --git a/default-configs/devices/unicore32-softmmu.mak b/default-configs/devices/unicore32-softmmu.mak index 899288e3d71..0bfce48c6da 100644 --- a/default-configs/devices/unicore32-softmmu.mak +++ b/default-configs/devices/unicore32-softmmu.mak @@ -3,4 +3,3 @@ # Boards: # CONFIG_PUV3=y -CONFIG_SEMIHOSTING=y diff --git a/default-configs/devices/xtensa-softmmu.mak b/default-configs/devices/xtensa-softmmu.mak index 4fe1bf00c94..49e4c9da88c 100644 --- a/default-configs/devices/xtensa-softmmu.mak +++ b/default-configs/devices/xtensa-softmmu.mak @@ -1,7 +1,5 @@ # Default configuration for Xtensa -CONFIG_SEMIHOSTING=y - # Boards: # CONFIG_XTENSA_SIM=y diff --git a/target/lm32/Kconfig b/target/lm32/Kconfig index 09de5b703a3..286710fd47b 100644 --- a/target/lm32/Kconfig +++ b/target/lm32/Kconfig @@ -1,2 +1,3 @@ config LM32 bool + select SEMIHOSTING diff --git a/target/m68k/Kconfig b/target/m68k/Kconfig index 23debad519a..9eae71486ff 100644 --- a/target/m68k/Kconfig +++ b/target/m68k/Kconfig @@ -1,2 +1,3 @@ config M68K bool + select SEMIHOSTING diff --git a/target/mips/Kconfig b/target/mips/Kconfig index 6adf1453548..eb19c94c7d4 100644 --- a/target/mips/Kconfig +++ b/target/mips/Kconfig @@ -1,5 +1,6 @@ config MIPS bool + select SEMIHOSTING config MIPS64 bool diff --git a/target/nios2/Kconfig b/target/nios2/Kconfig index 1529ab8950d..c65550c861a 100644 --- a/target/nios2/Kconfig +++ b/target/nios2/Kconfig @@ -1,2 +1,3 @@ config NIOS2 bool + select SEMIHOSTING diff --git a/target/unicore32/Kconfig b/target/unicore32/Kconfig index 62c9d10b38f..c699d5238ea 100644 --- a/target/unicore32/Kconfig +++ b/target/unicore32/Kconfig @@ -1,2 +1,3 @@ config UNICORE32 bool + select SEMIHOSTING diff --git a/target/xtensa/Kconfig b/target/xtensa/Kconfig index a3c8dc7f6d7..5e46049262d 100644 --- a/target/xtensa/Kconfig +++ b/target/xtensa/Kconfig @@ -1,2 +1,3 @@ config XTENSA bool + select SEMIHOSTING