From nobody Tue Feb 10 15:45:21 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.54 as permitted sender) client-ip=209.85.221.54; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f54.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1612792271; cv=none; d=zohomail.com; s=zohoarc; b=TaxXaZAt2yHgBCt7EuemvEPqVk+o7Pe8Df0BYl435XChnCRi6yM3yJkv6KvdGMFylUUczvkTzpynDUx1vkok7XiESQl5ozeUgNYOoX92CjqHCCY+a+RVfSDZTB/w6/NK7X93guNl0bTv03dlqXPKjsiwCisp3Y152kN0I3ce/v4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612792271; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=na17oWuPKTj+SU6c6Dkqcg8IZxkfU6eQT/pu9RwQ//c=; b=DYsVJVHX4vfbKYujCe5YwoewqAIVmTRH5EcTttXbL4tle5Rbsx1HLmQSZ3HrUC+hAs7/04jVfhWjzGgQ33kb/8rtEkJlAtqduA2WPiwqnPH30TNFlhzoOBAlm637ucNhR6K9mjLN8uDfnZLyW4UH90DPB+8xxfq76Ys1zgKon5U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.zohomail.com with SMTPS id 1612792271909456.7428849468897; Mon, 8 Feb 2021 05:51:11 -0800 (PST) Received: by mail-wr1-f54.google.com with SMTP id r21so980369wrr.9 for ; Mon, 08 Feb 2021 05:51:11 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (68.red-83-57-175.dynamicip.rima-tde.net. [83.57.175.68]) by smtp.gmail.com with ESMTPSA id l38sm4384680wmp.19.2021.02.08.05.51.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Feb 2021 05:51:09 -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=na17oWuPKTj+SU6c6Dkqcg8IZxkfU6eQT/pu9RwQ//c=; b=dSedH1SxplSrJIo17nt4Yjv0otJr09g7f7pDzGmziC5RxvP+vmlQEJKncGy3q+BUyY jCQlXX2Dm9eoQvJegJYDlWOuWOmvGlwLaRj+bRUNnygDCU2pnoDK9VjuoYhXVqMGwGbF GQg+FZXmj5LC4dUWpWC9BnH16L3jRz+RD+jZA36Bxv5AbBSI5ab4ko2ThLSnpLoIzmvE SQc1i2OjRC5m+QnjPGEP4uq2uFHIuxMvdw5PZaszfdIcfsPw8CTyGfYTaF1qe3eYZDrO ttzu9/TI9XIfcJILv0be74ybXgJ6MtPOKAx5WLUcGBZ4fCu166P6ZIamCwjchoJA+yYh /RMg== 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=na17oWuPKTj+SU6c6Dkqcg8IZxkfU6eQT/pu9RwQ//c=; b=KuXvbWF9pCXdrFc9crjBBRbTYDjBEmr6JkPdkZbdwy22uGwA2hxWJIsP4u4MkgK/NH 3oNVEGyQI4/roXAj7RsR3ZsvnYI9lw/hsCXFzBZwhp7thBz3Lk/ON48iP22ER3pHEr49 qXPWfYgpUSp4SlWhKzkhT1ONEtx0R/CgT3Ayr0VbOmSIONAtMbez5smjXOC0rPGuuqTx Pb/qj71ZP+Qqz5h6C/afs0eUyIy/bgLlM7vfY7UYwC5TSROwDUrvwKBFyQLq3uX0lo4l QXCqQoBmymi4qW6uAhuz+RrphBBdWflzDhehIfdtXMdLjqWRO70jz8QyyQ6odtbVTg5C xIVA== X-Gm-Message-State: AOAM532RTcQ8uDUVkai+bNaaYHCeRVP4AxSk8NUCJNXUNZF1+a1yQAqX +KWBKACTcd69AIDFzwiwAvM= X-Google-Smtp-Source: ABdhPJxOrrCsrJsNXlrOHytBJpUcWhTuAG8que3wTHno94u1TGkhMhVtjswH2PAX93477SX1KhswZg== X-Received: by 2002:adf:e805:: with SMTP id o5mr3091832wrm.227.1612792270221; Mon, 08 Feb 2021 05:51:10 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Max Reitz , Michael Walle , Yoshinori Sato , BALATON Zoltan , qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH 4/4] hw/lm32/Kconfig: Have MILKYMIST select LM32_DEVICES Date: Mon, 8 Feb 2021 14:50:48 +0100 Message-Id: <20210208135048.2601693-5-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210208135048.2601693-1-f4bug@amsat.org> References: <20210208135048.2601693-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) The Milkymist board requires more than the PTIMER. Directly select the LM32_DEVICES. 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_cp= u_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' Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/lm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index 518c84ed508..8ac94205d71 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_DEVICES =20 config LM32_EVR bool --=20 2.26.2