From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by mx.groups.io with SMTP id smtpd.web10.1983.1600897565502269928 for ; Wed, 23 Sep 2020 14:46:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=V3T8mP0e; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.222.194, mailfrom: jdmason@kudzu.us) Received: by mail-qk1-f194.google.com with SMTP id d20so1306738qka.5 for ; Wed, 23 Sep 2020 14:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=THsVto49+0/driK22HzEFgKtO5dn4hUOirGs/a6DBK8=; b=V3T8mP0egNtsmEa1aJC+hPk/GhhFKJr4NDoht5qm4mya/XIy2W4cFuZ+pTt7Enlqqt 5cYw2n+KF9TQmfXjoxkg07poUjPkKJ6j6g/2dvlSbr08w5yx9meIJUNPgbdzw0IQr3TQ EX5kUJcpbcWXZ2NklfXabnUkeT7HghExlAL0tpYahxXdGiQz56eyxMQxWNTQuissxTRs In6pzgm15AiKaJLtWnTszJlkTDKN8dL2yiHE/10bD92bmCxRDPXERy/TakckAXGjhSVx uoKcL7XqU71m7wRG+JEKvrE9LUmP2T5s4NiTxXEZ1zspQ5nPS9DqWFRH/Vv0pbSkRY8I EELw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=THsVto49+0/driK22HzEFgKtO5dn4hUOirGs/a6DBK8=; b=Ac1rgZREPscDaQs+PQA/0to6GBOFlClZU8dKJTQn9F6TfLFN3Bk/oZOy/hb+dZ2d8S FLZs7RRgWCuGTVRnBoP2zI0IzonDvN0XQlJWsZ0tSyzHTzysRu4W52/TxBXOXAtpFtcv EFxSd7vLjdV6Mj3YMhZKnZviFPRU/sLshxK5fcSAdqhU8MCqjImF0boiGepjs45S5a/5 /A3Afp7OgUKmzX3tF4rs5HLXrSIFHXAalLiKWNoVJzQRmZcLY33Vxoe3pw0CSbQvsW+Z Crjxe+BMTbxk7xw7PnrQJ+jFv+YJcF9yWcplt69QnOMUaVRfpDOX+WEsl/dv1vSUxXb2 XJbg== X-Gm-Message-State: AOAM533muZdOh4rd6NV+IoW2kp90+9qaA55VL/G9sFIm5oiOWDVmuU9C QqMNwqkOK1AFtdSrZt+CO9EjVg== X-Google-Smtp-Source: ABdhPJwQxtnOPKidIpX0BDE3HwRtL4Ix+O2Y7Z1TuOOu99q8HjFkRYaV0Qhmr/hJoPJZi/wX1s+aFw== X-Received: by 2002:a05:620a:15e4:: with SMTP id p4mr1882775qkm.457.1600897564399; Wed, 23 Sep 2020 14:46:04 -0700 (PDT) Return-Path: Received: from kudzu.us ([136.56.1.171]) by smtp.gmail.com with ESMTPSA id 134sm834368qkj.53.2020.09.23.14.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 14:46:04 -0700 (PDT) Date: Wed, 23 Sep 2020 17:46:01 -0400 From: "Jon Mason" To: Usama Arif Cc: meta-arm@lists.yoctoproject.org, nd@arm.com Subject: Re: [meta-arm] [PATCH] arm-bsp/machine: move kernel version for tc0 to 5.4 Message-ID: <20200923214601.GA22622@kudzu.us> References: <20200923174105.54366-1-usama.arif@arm.com> MIME-Version: 1.0 In-Reply-To: <20200923174105.54366-1-usama.arif@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 23, 2020 at 06:41:05PM +0100, Usama Arif wrote: > As the ack-4.19 patches are no longer used, they can > be removed. > > Change-Id: Iecbfe86107b7b142f17af6bdfbee086b9590fc1a > Signed-off-by: Usama Arif I'm seeing the following warning with this patch applied: WARNING: linux-arm64-ack-5.4-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_ARM_SMMU' last val (y) and .config val (m) do not match [INFO]: CONFIG_ARM_SMMU : m ## .config: 6025 :configs///defconfig (y) [INFO]: raw config text: config ARM_SMMU tristate "ARM Ltd. System MMU (SMMU) Support" select IOMMU_API select IOMMU_IO_PGTABLE_LPAE select ARM_DMA_USE_IOMMU if ARM depends on (ARM64 || ARM) && MMU && (QCOM_SCM || !QCOM_SCM) && IOMMU_SUPPORT help Support for implementations of the ARM System MMU architecture versions 1 and 2. Say Y here if your SoC includes an IOMMU device implementing the ARM SMMU architecture. Config 'ARM_SMMU' has the following Direct dependencies (ARM_SMMU=m): ARM64(=y) || ARM(undefined/n) (=y) && MMU(=y) && QCOM_SCM(=m) || !QCOM_SCM(=m) (=m) && IOMMU_SUPPORT(=y) Parent dependencies are: MMU [y] IOMMU_SUPPORT [y] ARM [ARM] QCOM_SCM [m] ARM64 [y] Can you tweak the config to address this issue and send out a v2? Thanks, Jon > --- > meta-arm-bsp/conf/machine/tc0.conf | 2 +- > .../linux/linux-arm-platforms.inc | 5 - > ...m-Add-component-aware-simple-encoder.patch | 368 ------------------ > ...-red-and-blue-colors-in-HDLCD-driver.patch | 43 -- > .../linux/linux-arm64-ack_4.19.bbappend | 2 - > 5 files changed, 1 insertion(+), 419 deletions(-) > delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-4.19/tc0/0001-drm-Add-component-aware-simple-encoder.patch > delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-4.19/tc0/0002-swap-red-and-blue-colors-in-HDLCD-driver.patch > > diff --git a/meta-arm-bsp/conf/machine/tc0.conf b/meta-arm-bsp/conf/machine/tc0.conf > index 2de99cd..1eb3d87 100644 > --- a/meta-arm-bsp/conf/machine/tc0.conf > +++ b/meta-arm-bsp/conf/machine/tc0.conf > @@ -14,7 +14,7 @@ UBOOT_MACHINE ?= "total_compute_defconfig" > # Trusted firmware A v2.3 > PREFERRED_PROVIDER_virtual/trusted-firmware-a ?= "trusted-firmware-a" > PREFERRED_VERSION_trusted-firmware-a ?= "2.3%" > -PREFERRED_VERSION_linux-arm64-ack ?= "4.19" > +PREFERRED_VERSION_linux-arm64-ack ?= "5.4" > > EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a" > > diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc > index 79ef26e..ee720fd 100644 > --- a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc > +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc > @@ -76,8 +76,3 @@ COMPATIBLE_MACHINE_tc0 = "tc0" > KMACHINE_tc0 = "tc0" > KBUILD_DEFCONFIG_tc0 = "defconfig" > KCONFIG_MODE_tc0 = "--alldefconfig" > -SRC_URI_append_tc0 = " \ > - file://0001-drm-Add-component-aware-simple-encoder.patch \ > - file://0002-swap-red-and-blue-colors-in-HDLCD-driver.patch \ > - file://defconfig \ > - " > diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-4.19/tc0/0001-drm-Add-component-aware-simple-encoder.patch b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-4.19/tc0/0001-drm-Add-component-aware-simple-encoder.patch > deleted file mode 100644 > index 96cc651..0000000 > --- a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-4.19/tc0/0001-drm-Add-component-aware-simple-encoder.patch > +++ /dev/null > @@ -1,368 +0,0 @@ > -From 6fd66138c44107786879d0adebe78ca94cf6292f Mon Sep 17 00:00:00 2001 > -From: Liviu Dudau > -Date: Wed, 1 Apr 2020 12:10:14 +0100 > -Subject: [PATCH 1/2] drm: Add component-aware simple encoder > - > -This is a simple DRM encoder that gets its connector timings information > -from a OF subnode in the device tree and exposes that as a "discovered" > -panel. It can be used together with component-based DRM drivers in an > -emulated environment where no real encoder or connector hardware exists > -and the display output is configured outside the kernel. > - > -Signed-off-by: Liviu Dudau > -[Backported to gem5's 4.3 kernel] > -Signed-off-by: Andreas Sandberg > -[Ported to gem5's 4.9 kernel. Added dep. on VIDEOMODE_HELPERS.] > -Signed-off-by: Andreas Sandberg > -[Ported to gem5's 4.14 kernel.] > -Signed-off-by: Andreas Sandberg > -Upstream-Status: Backport > -Signed-off-by: Teo Couprie Diaz > ---- > - drivers/gpu/drm/Kconfig | 10 ++ > - drivers/gpu/drm/Makefile | 3 + > - drivers/gpu/drm/drm_virtual_encoder.c | 297 ++++++++++++++++++++++++++++++++++ > - 3 files changed, 310 insertions(+) > - create mode 100644 drivers/gpu/drm/drm_virtual_encoder.c > - > -diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig > -index e44e567..6e95357 100644 > ---- a/drivers/gpu/drm/Kconfig > -+++ b/drivers/gpu/drm/Kconfig > -@@ -255,6 +255,16 @@ config DRM_VKMS > - > - If M is selected the module will be called vkms. > - > -+config DRM_VIRT_ENCODER > -+ tristate "Virtual OF-based encoder" > -+ depends on DRM && OF > -+ select VIDEOMODE_HELPERS > -+ help > -+ Choose this option to get a virtual encoder and its associated > -+ connector that will use the device tree to read the display > -+ timings information. If M is selected the module will be called > -+ drm_vencoder. > -+ > - source "drivers/gpu/drm/exynos/Kconfig" > - > - source "drivers/gpu/drm/rockchip/Kconfig" > -diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile > -index a6771ce..733ad62 100644 > ---- a/drivers/gpu/drm/Makefile > -+++ b/drivers/gpu/drm/Makefile > -@@ -46,6 +46,9 @@ drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o > - obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o > - obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/ > - > -+drm_vencoder-y := drm_virtual_encoder.o > -+obj-$(CONFIG_DRM_VIRT_ENCODER) += drm_vencoder.o > -+ > - obj-$(CONFIG_DRM) += drm.o > - obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o > - obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o > -diff --git a/drivers/gpu/drm/drm_virtual_encoder.c b/drivers/gpu/drm/drm_virtual_encoder.c > -new file mode 100644 > -index 00000000..2e2c51d > ---- /dev/null > -+++ b/drivers/gpu/drm/drm_virtual_encoder.c > -@@ -0,0 +1,297 @@ > -+/* > -+ * Copyright (C) 2016 ARM Limited > -+ * Author: Liviu Dudau > -+ * > -+ * Dummy encoder and connector that use the OF to "discover" the attached > -+ * display timings. Can be used in situations where the encoder and connector's > -+ * functionality are emulated and no setup steps are needed, or to describe > -+ * attached panels for which no driver exists but can be used without > -+ * additional hardware setup. > -+ * > -+ * The encoder also uses the component framework so that it can be a quick > -+ * replacement for existing drivers when testing in an emulated environment. > -+ * > -+ * This file is subject to the terms and conditions of the GNU General Public > -+ * License. See the file COPYING in the main directory of this archive > -+ * for more details. > -+ * > -+ */ > -+ > -+#include > -+#include > -+#include > -+#include > -+#include > -+#include > -+#include