From patchwork Thu Oct 19 07:06:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raman X-Patchwork-Id: 155338 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp206479vqb; Thu, 19 Oct 2023 00:08:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZ/JS5jgEE52W0PUPD0PSBN+MQHr81Ha1t1vqVbxbMWjAELPZnfGff7bbDGS9DdTto6y/q X-Received: by 2002:a05:6830:410c:b0:6aa:ecb5:f186 with SMTP id w12-20020a056830410c00b006aaecb5f186mr2142580ott.7.1697699297120; Thu, 19 Oct 2023 00:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697699297; cv=none; d=google.com; s=arc-20160816; b=ti1wnXw/Ug1YkpsipQeokDc/fwqn+9V/VWLly32gGL+67XJnL5tpAxM0YE5PrCDlzu x4acZ2wNcUBkMqU5tS56xb7trabb6pmcJCVZjXn+PY67B+Jq1jYUn1d4vQB1mO1NNljH Mu9eA8CpffxeoLvWUpx8WzZ3n1AukhfQ7YcWplAldW7SMNSZ1F1iJCva2fYiAEGxsUDP Bwz+jcKsLsYCMZSOeX9yN5dOGXaYHNcn/ZXKOjk8sTj47J345Fjg8o9pKDlxa7val+fF y7TJzj+cTW4M38oTwQuhGtP9UuGxOiwAhkvQb1KGIKBUKw61/Vkm2SC6PT1PvXwM2Cm/ Mh7A== 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=ao+X2jqaQcL9q0XLo0Hodo/QFxd7Yjk81LvB4bGD0Nk=; fh=UrpkSxacRnNe3pAqpeGIIGAGFrEOZ8ZAHCW+EatPIvM=; b=a4rOk1glSdESECQeAlr+d+nTF083mh6stlh3fW97X+lnAfrMigWbEg8yNYwyOu32F0 c1h1OZIBvI7Csxpddf5UM7HuEbHC475v8wdjYxnBFDK39q6fFFItksJPA+ozzv2YL8c3 ixS0ey/X+XStRAS9DFE/YPsgrDhMtt9IgBOFRoF4r3gYxtnTNsLrzH7qd40TqJl7n9A3 YUXezTLgzmrYlyFECk45fCwFsxBP5VARmuij5VncnUprZ09lXxTd7GBFHo04RxdjkVHU a49hAJ9g/CTW65YzVlYMnGrDS6ssH5qNTBpLdYUwTkfQu7JWf+HjaI5GTPQFgDBeM8un DZ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=A5IUwtXy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id t5-20020a634445000000b0057047d68837si3904693pgk.869.2023.10.19.00.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=A5IUwtXy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id AD7BA810CAB7; Thu, 19 Oct 2023 00:08:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344859AbjJSHHa (ORCPT + 24 others); Thu, 19 Oct 2023 03:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233049AbjJSHHY (ORCPT ); Thu, 19 Oct 2023 03:07:24 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B7D5130; Thu, 19 Oct 2023 00:07:22 -0700 (PDT) Received: from localhost.localdomain (unknown [103.93.195.74]) (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 374276607323; Thu, 19 Oct 2023 08:07:17 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697699240; bh=vbXFJqs6f9vWXJOJeYHMKeu0F4lZ6PYsF44zuVrL1N8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A5IUwtXyNPJ+AQjJZ9ntYT5l9DZsGwEMbLWSPtLIgu47F6dJw/smT6npZMhHBbCgm n+j0EXoyvLVPRTL1OrYUTEQm7OCb0A8qYoWUa84P2sBrEaSqyEh7c8/o55ya0s2QS1 vAlz8SSmTfTRB8XHvPqeuN0iQCHpiXx3MTKgksEttpOQwsM4EDOY8b417dVZBPP3cs /VqPCnhM78RyxSrFahCzrK0/6fx2+lSKeVoG9aobmuA6HCxHSKKGyePpyyTu3hj8u8 i1HsfoJ/3OP7JSw/ZK8lIgaKo173uFwQzil083BzxrVWEdlDShKjQQ0fpx6AhQd81e ud1aJphVKslJg== 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 v5 2/9] drm: ci: Force db410c to host mode Date: Thu, 19 Oct 2023 12:36:43 +0530 Message-Id: <20231019070650.61159-3-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231019070650.61159-1-vignesh.raman@collabora.com> References: <20231019070650.61159-1-vignesh.raman@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 00:08:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780166737951571550 X-GMAIL-MSGID: 1780166737951571550 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/cb72a629b8c15c80a54dda510743cefd1c4b65b8 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 chaanges --- 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 740b5008be2e..b1ea9b458922 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 a94af2f99d75..9d58c0e3bbab 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