From patchwork Wed May 10 15:06:58 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: 680522 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp2900095wrs; Wed, 10 May 2023 08:12:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6nPEK5HJN4Srp8+hrKJu7wtKYftB4o2XEl0pemO9p0bM1IpMTIiG2znJ8mAixOMF0vKgid X-Received: by 2002:ad4:5dcd:0:b0:5b4:89b4:1b0a with SMTP id m13-20020ad45dcd000000b005b489b41b0amr23417107qvh.10.1683731539755; Wed, 10 May 2023 08:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683731539; cv=none; d=google.com; s=arc-20160816; b=gZr2CEbkHGrAipWdtY3BQfkRZsXK8qHRmfN4uvt6U5ROVi+80sQ9XzW3x7qcT6E6FD VK4odQnZy6RQJ1FGp6UMj1WkEwo6E7gaHkUf23HtM95c8Ir24ITyY4NKXnbsnTdnHXHI wh9vy8FUFmZo2HDPJA1mEiEzwDfGrb/O4fqfVZ/pPL1oHrDjonM8Jwi74OMbPjXENyo6 CyWL7bF2N7E68k13cDV98nTrKwMOrfZ+rd4aBwBKuxGVwVsTsy0pZF6Xi8saWe7v7MQN NGq+w+l20L0xbtCjGHjcV8ubj1f0R9Dcy1MQ7rI5eymZrOTiob9Z7tV7rfChrs0xPK78 6lfg== 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=/PAoQoQ7BYCD+/Pqb98Lo7VCKddJs1izVetKE3RbLdc=; b=GeI51gTyKa334sD8G3UpEsa4ldY1QNMW+6rpR7ZEEPnA65eDofbnodEd5Kzp+9iS1A TCjRZ0wBOB19bmZihredi0wi7qrKTaByV2faNuxn+MUScCEpqiKGZFHC8bcgXMpyBHT5 3mcdoJ1WDIR7OHZg0g1rDH5uMSQNGccGOBlU47pQpv0QCh+zh1S9rSaKggUUCUzXHkWT fxZhRi1Xklz4MX6SNnBW6qm8Qh4x4RgvwDhlOvvCXzshx++0BtOz697PDITm9Bc68LSz hmcYgkzRroKQ8DoBwwptEmkuQYOnW6VqrOLNxQQAYsxonFr8gq2wvPzYKYD0Z5ZEh2Ab l46A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ovqNJXDn; 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 o20-20020a05622a139400b003e4ebb82e56si1871449qtk.529.2023.05.10.08.12.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 May 2023 08:12:19 -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=ovqNJXDn; 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 1pwlPG-0006tv-TZ; Wed, 10 May 2023 11:07:06 -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 1pwlPF-0006sf-CL for qemu-devel@nongnu.org; Wed, 10 May 2023 11:07:05 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwlPC-0001Vr-Q4 for qemu-devel@nongnu.org; Wed, 10 May 2023 11:07:05 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f42c865535so20311245e9.1 for ; Wed, 10 May 2023 08:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683731221; x=1686323221; 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=/PAoQoQ7BYCD+/Pqb98Lo7VCKddJs1izVetKE3RbLdc=; b=ovqNJXDnXOzVjK3zGipcALJchggDrVwt7AMVU6BnEAHz69/ZA+bifh8mul9Sx2M+MN IDM6l0WrWe8wqsKuHC9p7UlKYAOP6XMOIx40ajcmOOQXSuLzjV4HgK7XnbopIfdpiz1m e9lMNuwNlsqf9FmXFYjpKVV1V8mFSLsnCRdSeEeR3RpRCac7HiLwnXNJjiMduqbF6hY5 W/6qjwnuuL9DFpxov7L3hyqs8v3ThhiSaS8boE55S/xXHsOtL14780HuQybPPZJmdAPj Hi37VJKY5SgerlhlX+xNZPJ1E4xp56yCKtMsZ8PgIdk8vTk3k5zfk49lLxOoCCdEXBl/ rt1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683731221; x=1686323221; 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=/PAoQoQ7BYCD+/Pqb98Lo7VCKddJs1izVetKE3RbLdc=; b=dAMCHYzNE72+2Lbz6/CS4fpJSe3sprNd9Y93jQ/LenrhDbD/xcbnncJk/xreXtDuWG Y6vGMosfJ6NJ3ea+1Qm9L1bDZ8gxZk/0alC/Evgx1qYmSRsdlB3NWcLHTx2WHEt28yju UnOM/HGrFc051evy6Duc86ntainmXC2OvNRs75g+s64fucONyZxNNzkZzs/nuI17Y2TN Giah8gcSe88VrYR4v1jJdVhB16uJ/kQzlBDTHH6iSVlieLBnF28TkUruLxubsb9LLPGJ hfBctCEQ7XQLlEFu2IxqWQ5irBvU3Hek+spTsgVCIzKpyCiygDBRWudi/p+M5/ttlWuR cqKA== X-Gm-Message-State: AC+VfDynhvwk9o5U2QVeRH2pXBZx0D8SvTOxIXLBT9mABrsmxq99kndM upFBRyupsOkpskRpy2GrnkigDQ== X-Received: by 2002:a05:600c:209:b0:3f1:72ec:4015 with SMTP id 9-20020a05600c020900b003f172ec4015mr12445283wmi.13.1683731221247; Wed, 10 May 2023 08:07:01 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id v2-20020a1cf702000000b003f32f013c3csm23187052wmh.6.2023.05.10.08.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 May 2023 08:07:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 72E7D1FFC3; Wed, 10 May 2023 16:06:59 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, Fabiano Rosas , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Peter Maydell , Gerd Hoffmann , qemu-arm@nongnu.org (open list:ARM TCG CPUs) Subject: [PULL 8/8] hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine Date: Wed, 10 May 2023 16:06:58 +0100 Message-Id: <20230510150658.1399087-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230510150658.1399087-1-alex.bennee@linaro.org> References: <20230510150658.1399087-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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=unavailable 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> Message-Id: <20230503091244.1450613-8-alex.bennee@linaro.org> Acked-by: Paolo Bonzini Reviewed-by: Richard Henderson diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 2d7c457955..0f42c556d7 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -436,6 +436,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