From patchwork Thu Dec 7 09:18:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raman X-Patchwork-Id: 175045 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4651451vqy; Thu, 7 Dec 2023 01:19:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0OiE6ZWC+DRwcVv8OnZgv4e6C1BZ4AcQ6LA13J5H+4sK4VSBmtdSD24rrOc8wu+ob0TOs X-Received: by 2002:a17:90a:9a8d:b0:286:6cc1:28e with SMTP id e13-20020a17090a9a8d00b002866cc1028emr1920275pjp.89.1701940747765; Thu, 07 Dec 2023 01:19:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701940747; cv=none; d=google.com; s=arc-20160816; b=I90Qgs2i//P3eMdq9TzXXOzNysKkqQmUZHJCm5bIbkVHe3HdcLN1q8j4wB8moWMakm bQOKZol0Jzy2AaapAWRi7cyPuCbtbTOnNVtgaYZ74/Y4wCK3L01uRUlY6l0BDMg5FtKD aO/VT6dfkN+OEHuiUb+e/KHvATYATprKo/c6LScYOV2Ihn65qXhm26HHWaX6b/xgvtEg +D/ooVIS8vLE1YXKhrYRc4xxpb4zoUfkh486VUWgAoQmrZHa06tJh2NRbm4YW6+jTYb/ w3+/x0YsnRkkOBBtMbQD3r2LV9jg9I6arU7KvUsSq04XtuY7izh6aYnpwEtdK1s//9v+ CiQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=j/4Gvvrui3ZQpsidOsbN21FaZiSXJ52JyEoYkgc+qjM=; fh=UrpkSxacRnNe3pAqpeGIIGAGFrEOZ8ZAHCW+EatPIvM=; b=BLlaJnCBnLsh89LXTmvbmL08wrg8bFKhmUxafVo+6xgNgO94sA8Txpk25/9/fhN8IW WbQagYN4gXy5GXI17Z3cEMi2I3dWWlfV/sM9AQPOf2bkw9/jbqrUqQHu2zhyIbIzDPlP eQOQgHA8B9OgnV9dpE/mYdkfmMEdrnVq0nAdmu/kO6lRWzT/sEOnxCPZHp71nHJrrLJR vnvsCf4KLBPF0wizEvGNqBiu7HypgYSk9AdzXed18K0FgFCXYVBd6NJeEu3P9LecPNx8 lZBmVH1SVswri6uwqqwrop4XRkZmmkwGYpX3nOFRKyd0Hfb1lMX0ab4p3zbUxzIJ2qPq twJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QsPc7Kxq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x23-20020a17090abc9700b00286c80ac075si790800pjr.177.2023.12.07.01.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:19:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QsPc7Kxq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2F77E80269FF; Thu, 7 Dec 2023 01:19:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378554AbjLGJSv (ORCPT + 99 others); Thu, 7 Dec 2023 04:18:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378549AbjLGJSt (ORCPT ); Thu, 7 Dec 2023 04:18:49 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 191DCD57; Thu, 7 Dec 2023 01:18:53 -0800 (PST) Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by madras.collabora.co.uk (Postfix) with ESMTPSA id 78EBC6607391; Thu, 7 Dec 2023 09:18:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701940731; bh=s65wG8Xa27lvuBcW1EDiDAe4V6jKOd53wZ8KvwoHfkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QsPc7Kxq3aAUGD/hvopThSPKYvQYNQjAzDOZ5KwNnt+Zdv8yIKsaBwVZnIGWKGD9p Z3ajnMB6ZINiGzBt5trnRBXbQocOJR8rdfXO7MvlVUT9sk2Co8kP0wb9cvD8YnPknh L/8ilLPkWxZY3WYqdwgK8h5mTep8Vgjg37srAW+MYn2FVoQrKEgZOIEaUs/Bb4u2rn FhIL91KPVWte23fv/Fn0DpTiu2xJkWlmq0Sdk+Ze/R03VJ+aLbJrJzryKtXs6nYCL4 I6zVpCnWOtvlomnYszcrMOt+B5yGyH+JJgDBWjFMb5jwKDnPx6SNNxtXUwREuogkPM 6j7JS94bDrK8w== From: Vignesh Raman To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch Cc: david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v7 02/10] drm: ci: Force db410c to host mode Date: Thu, 7 Dec 2023 14:48:23 +0530 Message-Id: <20231207091831.660054-3-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231207091831.660054-1-vignesh.raman@collabora.com> References: <20231207091831.660054-1-vignesh.raman@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:19:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784614221497480790 X-GMAIL-MSGID: 1784614221497480790 Force db410c to host mode to fix network issue which results in failure to mount root fs via NFS. See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629 Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode. Acked-by: Helen Koike Signed-off-by: Vignesh Raman --- v2: - Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources v3: - drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support v4: - Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode. This patch depends on https://lore.kernel.org/lkml/20230911161518.650726-1-vignesh.raman@collabora.com/ v5: - No changes v6: - No changes v7: - Fix checkpatch style problems in commit message --- drivers/gpu/drm/ci/build.sh | 2 +- drivers/gpu/drm/ci/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh index e5c5dcedd108..e2260b4a1c67 100644 --- a/drivers/gpu/drm/ci/build.sh +++ b/drivers/gpu/drm/ci/build.sh @@ -19,7 +19,7 @@ if [[ "$KERNEL_ARCH" = "arm64" ]]; then DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb" - DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc.dtb" + DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8096-db820c.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtb" diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml index f285ed67eb3d..4af10f0ff82d 100644 --- a/drivers/gpu/drm/ci/test.yml +++ b/drivers/gpu/drm/ci/test.yml @@ -102,7 +102,7 @@ msm:apq8016: stage: msm variables: DRIVER_NAME: msm - BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc.dtb + BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc-usb-host.dtb GPU_VERSION: apq8016 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS" RUNNER_TAG: google-freedreno-db410c