From patchwork Wed May 3 09:12:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 678809 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp946491wrs; Wed, 3 May 2023 02:14:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6OQppTI8iinUMy1JSURFjU2UYQbnW/DWtNBtjyZ1PFf6/sDt/NquKjz+ruzam63XNJvcy9 X-Received: by 2002:a05:6214:2a49:b0:5f5:51c4:fca5 with SMTP id jf9-20020a0562142a4900b005f551c4fca5mr9930315qvb.49.1683105246295; Wed, 03 May 2023 02:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683105246; cv=none; d=google.com; s=arc-20160816; b=KVtg1aaieeGC627O3ed7pxJwVLbbcVFed7SI4KfBRUHdNR8j+xGIrahmt5DyzzZ9dd jGP9JZdd9pC01LsQz0lyVJT4BfvDcceVX++3O/STV/WuKr72Z0dj6it7LlYm8EgIs/IR wYEeQHlMKxtrJOPKOl3HZE53dLylOfRH02HoV4Zg49vLnBM5/1pTOJFWIr0sJxA7IqWx vB4l+nHfk2+MOIzdUv3jRWg1Ouz6+d8cdF0VUZHPcf8EqBvZAjfyQeFtRXeq2xk/oa8M FqrBrwEkT77pyMfrot5fXIBu+9bBhzICLJSL1kifmfvAt/TIZwIokQXIHYl7SVFjXSoC lm4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Yi4DR69tbZyoPw+FTLcDv9TUw8qrCrvNefUXp2WvEkI=; b=SmnpDivDQVcfVkzfRJYEDGKQcgcMRuIM/jlFEdOi93h/N1rjMHDFM6Ft0smvHLOpem GOujbQEeUzxLPS1B5YTFuN/eTJXeQ249s7TtOln6Xzrv/alroJtP2oIRQlhGzx5L+t5c QFljKSgkkygNZUb00WMMyW4YjA1sfNA7f7NYNFajrhmkdUZtkIb4XIgisLsV1p0xZK5b Kyuj9XrAjPOJ6TgMc8BCBnrjtsq19uKeghY1EC8aILmPgtIksD1vGAR2sUxKMZzzeRT/ BO37XxcR1EWMsq0Wkkt1y+qhckyp+jk0O69UH+/cSQNHb3hVLAKcKAgov03J+TIDR2sa ZydA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dcV67XhF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6-20020a056214202600b0056ef8dad683si2911214qvf.290.2023.05.03.02.14.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2023 02:14:06 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dcV67XhF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pu8Xi-0003v4-FW; Wed, 03 May 2023 05:12:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pu8Xg-0003nZ-Bd for qemu-devel@nongnu.org; Wed, 03 May 2023 05:12:56 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pu8XZ-0005s9-Lc for qemu-devel@nongnu.org; Wed, 03 May 2023 05:12:55 -0400 Received: by mail-wm1-x343.google.com with SMTP id 5b1f17b1804b1-3f19afc4f60so30570475e9.1 for ; Wed, 03 May 2023 02:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683105168; x=1685697168; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Yi4DR69tbZyoPw+FTLcDv9TUw8qrCrvNefUXp2WvEkI=; b=dcV67XhFrthTa5KjylqP4ezGKVhYZ9yj0cpZ4MDRwpqKP5j2S/gpKw6AjvfGsllUdJ cD+kHpM2SeUhs94iYYhKoAxU6HwoC9V1TEyY84yIwlqACRphPFoNsMZnMcc90F+sUbyC quCmbs5pNQadqLbGVNMHE7rPGJOJpR2dX3zCCP10wJYRCEiF4f0GX9aerxW0vjF1+bpu BvnS/Qu383YiYlKsQqFgkwjsmTKRWzPHJF1+iu7BlgXfZVh3juJ/3i6bUimYJAXsL0a9 7zQ7x0BrvJAvJceQHw2K1Gx7C3KRVcHMUDo3ODFCRRKZsVAVTNdmYAdYToheucuANxY4 BndQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683105168; x=1685697168; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yi4DR69tbZyoPw+FTLcDv9TUw8qrCrvNefUXp2WvEkI=; b=hoY8mg8bTUhp5qiVCyJJAkFiUXFdCx52v7zAANF/zC9GRvspIo9z7YRu4DKwX9/tJ9 Joy3Uj38nqzT+E55WF9Tf23XsslWjIN4RlhgRev8+fqO/gaxmBuGpv7wyfUBQBuPv6HN jWju/cUdns1cO57EJ2YrpwfEa0f99DY7fVCoWd/dtisSEeUuLFnkt54kndUpbQIbmYgB yBFJso0Tn6SoR2W47T6Hog0EA/Aa0l3Q0V0Bi7tmW4yBYyzqQZWcvL58AnqiyURodOHt w16I0sqt+MNhyv5p3jK0a85z5c0slnKvejymvmyTEbhzlmqfXcjHQ8mnW/odunkcLFcH ux+w== X-Gm-Message-State: AC+VfDxH9TjZYtt2PdoiIKL8MfMyZSR83RJQig6y239Zb/trVAxvbxbA 8r8CEtO5YUo7G8nr1lLQsJYbdQ== X-Received: by 2002:a5d:4a50:0:b0:2fe:c8b5:b5d5 with SMTP id v16-20020a5d4a50000000b002fec8b5b5d5mr13302259wrs.2.1683105168244; Wed, 03 May 2023 02:12:48 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id q11-20020a5d574b000000b003049d7b9f4csm19181019wrw.32.2023.05.03.02.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 02:12:48 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BAAF91FFC1; Wed, 3 May 2023 10:12:45 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Laurent Vivier , Artyom Tarasenko , "Edgar E. Iglesias" , Wainer dos Santos Moschetta , Thomas Huth , Leif Lindholm , Paolo Bonzini , Gerd Hoffmann , Helge Deller , Xiaojuan Yang , Stefan Hajnoczi , Cleber Rosa , Peter Maydell , Eduardo Habkost , Juan Quintela , John Snow , Yoshinori Sato , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Ilya Leoshkevich , Pavel Dovgalyuk , Andrew Jeffery , qemu-s390x@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , qemu-arm@nongnu.org, Bastian Koppelmann , Beraldo Leal , Max Filippov , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Mark Cave-Ayland , Jiaxun Yang , Radoslaw Biernacki , Aurelien Jarno , David Hildenbrand , Markus Armbruster , Song Gao , Joel Stanley , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= , Fabiano Rosas Subject: [PATCH 07/22] hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine Date: Wed, 3 May 2023 10:12:29 +0100 Message-Id: <20230503091244.1450613-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230503091244.1450613-1-alex.bennee@linaro.org> References: <20230503091244.1450613-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x343.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Fabiano Rosas This machine hardcodes initialization of the USB device, so select the corresponding Kconfig. It is not enough to have it as "default y if XLNX_VERSAL" at usb/Kconfig because building --without-default-devices disables the default selection resulting in: $ ./qemu-system-aarch64 -M xlnx-zcu102 qemu-system-aarch64: missing object type 'usb_dwc3' Aborted (core dumped) Signed-off-by: Fabiano Rosas Signed-off-by: Alex Bennée Message-Id: <20230208192654.8854-8-farosas@suse.de> Reviewed-by: Richard Henderson Acked-by: Paolo Bonzini --- hw/arm/Kconfig | 1 + hw/usb/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 168c1e8089..cec7898bb7 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -439,6 +439,7 @@ config XLNX_VERSAL select OR_IRQ select XLNX_BBRAM select XLNX_EFUSE_VERSAL + select XLNX_USB_SUBSYS config NPCM7XX bool diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig index ce4f433976..0ec6def4b8 100644 --- a/hw/usb/Kconfig +++ b/hw/usb/Kconfig @@ -136,5 +136,4 @@ config USB_DWC3 config XLNX_USB_SUBSYS bool - default y if XLNX_VERSAL select USB_DWC3