From nobody Mon Feb 9 19:06:04 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1621100273; cv=none; d=zohomail.com; s=zohoarc; b=BnBaG62yfMMcwgUpcZlAwRyvhOYJYDbua/dFbjdUrq+aoSpkGW+g4UvgggEHb3m3AugkKfCq2NFmHiiksV1eLLkZW2yn2dTkwTPXb1rBhT6cSruk4ndCpGpcS6P7YaPW0tpRi+ZW0Z9SHSkZ6CwlBQ/yPnFsHuRTYdfr0ylRrUU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621100273; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=oapXbLTqf6jmlB2c8yI8R/Rxrd0PQpmzXNP57+j3KT8=; b=IR4LnaOa3MtDv7ZFhkg+4Rd62kimX12dIszzpJmw+hKnEz6NFABHp5eAqOOCNB8IZBzcfOlhKOsAhZ7GYreilodpckvkmTO6O5BGehKW2HUX80krsOD1edY53p9bvKNwZ7lUHZsNpJUbkk1o9wOI1OdvC9zt1J16VffRGZB0ex4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1621100273644526.0041128173566; Sat, 15 May 2021 10:37:53 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-342-6-x3d090Ogya7VMsZx6-Eg-1; Sat, 15 May 2021 13:37:48 -0400 Received: by mail-wm1-f69.google.com with SMTP id j128-20020a1c55860000b02901384b712094so1666414wmb.2 for ; Sat, 15 May 2021 10:37:48 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id d9sm10234096wrp.47.2021.05.15.10.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 10:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621100272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oapXbLTqf6jmlB2c8yI8R/Rxrd0PQpmzXNP57+j3KT8=; b=Y8qSBUf2v2eH0ubsYFqBX6VDUZd8CjzGKPxcKhIeddGU7XJyjS//22N/1lFzjBqmOaeVXh hjxwsx3/ojXRmOWCkl18OAhyt5bVTMFcbve0/IbDgbx7wQPNUzbNUu3LPk+GIZFlOqts0o H/r8ezvxuPucKId1G5p+0/nZwGZO5aY= X-MC-Unique: 6-x3d090Ogya7VMsZx6-Eg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oapXbLTqf6jmlB2c8yI8R/Rxrd0PQpmzXNP57+j3KT8=; b=V5bfi6pwOwN4iuQB7w/G/rVwo52Ncoy4xqDQj9miRzqYzSliSXFwVKvqPfgNs5yKKH zzVyQX9FjAMBwE6/RhtzYvh1XWeMtxbo+y9rvOPAL42k3CuoZU6yVKZgo/ATvcqv10VU XXWnpZ4T7oIvTA/36xMmu6Icn3iM4EoLqZucJKjK6xHMBcMI7Mqa/0CqVumTflGtCoQJ LJp3eX/k+RrY5fp0hIYsxxSYfNFqVv6X+TpL2LUEPhM7EMkHJvyWxf2bSZffildC9M9x PrmGapIqxRSc4C2igXprylBRB/xyH8KbDC12gihf/E+otHOIQ8E4lMDZNkRYHSzaytVF d3TQ== X-Gm-Message-State: AOAM532Oj9Yi5DanyNDhJFXSWHVoZJ5aEttLwwq79tNa8uLXHhAc1MMw 4dCHAVONTEkeuR0iSwAWc0ba7bNLRNK1zejKhCYNa2fld1FDkGSnr/r/BURbXdBJIWGv8Yw7GFV HZHUjTuWLPSSbXA== X-Received: by 2002:a5d:6d88:: with SMTP id l8mr23733770wrs.185.1621100267676; Sat, 15 May 2021 10:37:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzF4bawh4kel9iuIamVbm1PNlABSKwFlGKejs+jqDOchip+fxGFi0iYCbS25sCIV5UINTj1Hg== X-Received: by 2002:a5d:6d88:: with SMTP id l8mr23733747wrs.185.1621100267514; Sat, 15 May 2021 10:37:47 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Bin Meng , Paolo Bonzini , qemu-riscv@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, BALATON Zoltan , David Gibson , Alistair Francis , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PATCH v2 06/12] hw/riscv/Kconfig: Add missing dependency MICROCHIP_PFSOC -> SERIAL Date: Sat, 15 May 2021 19:37:10 +0200 Message-Id: <20210515173716.358295-7-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210515173716.358295-1-philmd@redhat.com> References: <20210515173716.358295-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Commit a8fb0a500a6 ("hw/char: Add Microchip PolarFire SoC MMUART emulation") added a dependency on the SERIAL model, but forgot to add the Kconfig selector. Add the dependency to the MCHP_PFSOC_MMUART symbol to fix when building the MICROCHIP_PFSOC machine stand-alone: /usr/bin/ld: libcommon.fa.p/hw_char_mchp_pfsoc_mmuart.c.o: in function `m= chp_pfsoc_mmuart_create': hw/char/mchp_pfsoc_mmuart.c:79: undefined reference to `serial_mm_init' Fixes: a8fb0a500a6 ("hw/char: Add Microchip PolarFire SoC MMUART emulation") Acked-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis Reviewed-by: Bin Meng --- Cc: Bin Meng Cc: Alistair Francis --- hw/char/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/char/Kconfig b/hw/char/Kconfig index 4cf36ac637b..2e4f620b13e 100644 --- a/hw/char/Kconfig +++ b/hw/char/Kconfig @@ -61,6 +61,7 @@ config AVR_USART =20 config MCHP_PFSOC_MMUART bool + select SERIAL =20 config SIFIVE_UART bool --=20 2.26.3