Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3261340rdb; Wed, 13 Sep 2023 07:06:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzolCaUvc7GOzR1fwiBeSI9/uZGIfHPPFGfFObb2KgYlGj3hST+kCFMEmB5j7rA5HfJpw4 X-Received: by 2002:a05:6a21:3289:b0:137:3eba:b81f with SMTP id yt9-20020a056a21328900b001373ebab81fmr2546720pzb.3.1694613989587; Wed, 13 Sep 2023 07:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694613989; cv=none; d=google.com; s=arc-20160816; b=q71ZX2hW8SB7BS9v4nkK4FVhlwCyo6t34JgRCsfWT9EOyxZudLEoF8a3hnzU+nLjKa MJ1pK4g7GiJPA8Uo5I5Swbg/ZBn/AI11a0/yP/ySIndeB1u+D+SXH8B6g7HVqGwWYtef S4MCFFXjhGauenoPg7P84p/Mw56RWg9I8JgojrlJkDoGqhb1yDehbrP6zQf1b9VCXpuV O7Kwybz/LLM4kNIMJBJRjqUWJ4u44DJzeEyVj6YKRStogZVkNUSty+UihyUMr4/xzfB1 HmRhSm2BI7831KyhFtUdGvByDYv8L/9/JhLr5Jqru+7GWE5j7Kptn7XKgyUn917Kxdi+ OPXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6o1thThd289wI9XIAJsdvOr7KGwAU5guEYMa1KCopzg=; fh=5MAJ6mBaP5kt6onR/gXZnJPUncV5bXMpz0XapGsjH+s=; b=avQEEioatHXUsj3mKpfDgMdF41m0WWFa+B8VbxJWODwavbQjCfIC3LtusgLgfVcaw5 djumRLgvzalHclAufRR745XZx0517qhpwLY0gVJVd48eaE55ITj5DxZpIWKVRHO2L1gZ eBLw5+BJ1cnafqHVVO3dfnVdY+5jHxvvO4cZfwmD2zeArdpfoPGqpdPgPHGo6maez4uo bTKHPnytU+y1gaVfPNqp9Ecu8TlPI6viF8ReB6U2h4FFn0iW6At10zglkIhRxZwzng4W f703CAfrGBRiMY2Hz8SXdrC0d28tLziE8n8lL7rzxwX6Xp3gZXvuq+zSnGQzWat/61Fc rCfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UpeqNcvS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l7-20020a17090a850700b00268307ac3cfsi1564645pjn.185.2023.09.13.07.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:06:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UpeqNcvS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id B5F0780309ED; Tue, 12 Sep 2023 09:52:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237099AbjILQwi (ORCPT + 99 others); Tue, 12 Sep 2023 12:52:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237084AbjILQwg (ORCPT ); Tue, 12 Sep 2023 12:52:36 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D161C10E9; Tue, 12 Sep 2023 09:52:32 -0700 (PDT) Received: from [192.168.0.106] (unknown [186.235.7.101]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: koike) by madras.collabora.co.uk (Postfix) with ESMTPSA id F1221660716C; Tue, 12 Sep 2023 17:52:23 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694537551; bh=igS9u76vL2oPeSqObcVgUtmTOkkby+Pw+fIrRSQSDjw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=UpeqNcvSWdUCXowwhN7YAh4SQxCJ4z3gCql/zXkdJ8kJu7G8lnp1IyPSKTWiPWjEE eBkh0Xej143eLTLObrQqfDBjEwmCJF3LspuubwXbss9yuWoIkVyxZIBEtLAxzxwaol 83pHxtG8BjSUwQx6iKbkfAGuZibLCXcbyy+NSwwWtILVj81biyqQ8gPgYfu28h4hc0 nCk/nWv68wpF9ZqrdoirBO8J3IIBrFB2o210wI6jGKxgNVNvshsKGcW890+fJNg6hP D1pxCSEyZQjRNokWQgLmT5+Bbg2j81pGo7LOsZhwRUh+YcOOqZ34qU92Y+Q8+G60DJ kj6gWE5vKpgCA== Message-ID: <3f28b185-07bf-3bc8-05bb-0af2e65d1677@collabora.com> Date: Tue, 12 Sep 2023 13:52:19 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v3 3/9] drm: ci: Force db410c to host mode Content-Language: en-US To: Vignesh Raman , dri-devel@lists.freedesktop.org Cc: guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com, david.heidelberg@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, angelogioacchino.delregno@collabora.com, emma@anholt.net, robclark@freedesktop.org, robdclark@google.com, anholt@google.com, robdclark@gmail.com, airlied@gmail.com, daniel@ffwll.ch, jani.nikula@linux.intel.com, mripard@kernel.org, dmitry.baryshkov@linaro.org, matthias.bgg@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org References: <20230908152225.432139-1-vignesh.raman@collabora.com> <20230908152225.432139-4-vignesh.raman@collabora.com> From: Helen Koike In-Reply-To: <20230908152225.432139-4-vignesh.raman@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 09:52:37 -0700 (PDT) On 08/09/2023 12:22, Vignesh Raman wrote: > 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 > > Compile the base device tree with overlay support and use fdtoverlay > command to merge base device tree with an overlay which contains the > fix for USB controllers to work in host mode. [suggested by Maxime Ripard] > > Suggested-by: Maxime Ripard > Signed-off-by: Vignesh Raman Acked-by: Helen Koike > --- > > 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 > > --- > drivers/gpu/drm/ci/build.sh | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh > index 7b014287a041..092c195af242 100644 > --- a/drivers/gpu/drm/ci/build.sh > +++ b/drivers/gpu/drm/ci/build.sh > @@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do > done > > if [[ -n ${DEVICE_TREES} ]]; then > - make dtbs > + make DTC_FLAGS=-@ dtbs > + if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then > + dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso > + fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo > + mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb > + fi > cp ${DEVICE_TREES} /lava-files/. > fi >