Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp432120rdb; Tue, 31 Oct 2023 11:16:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEioJcHeysI22EGbBoVhlcLbJTgqPAbz4CsuW4ZUpU3orgXS7lt5sW6Cl2kPNZPDrFVvVkd X-Received: by 2002:a17:903:1104:b0:1ca:29f:4b06 with SMTP id n4-20020a170903110400b001ca029f4b06mr17378992plh.2.1698776192823; Tue, 31 Oct 2023 11:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698776192; cv=none; d=google.com; s=arc-20160816; b=OSzlZB4SDmFVnXbieI1GYsDup0EtQXBBm3MQf/Xjruj5weBryhP9htHV9VPOo61Mbq CnhZVTQQ5M/YXMZCLB7cJOEq39CrJOjtJM1Jp1L4sP72DnNiZyfvRe6wHtTDdXzvesVl /XuPA593hEHF+JuTOOrRk92cVOIvWn1JFaLQS1ufVFy4jO1OOKnzl8Ne4LuhmOJPP7YF T57GOZRMrJW0kMDd3fyQ+Ix67ML/Nm2ihfcHV2QVFDkIOqrlXqXARjwKeB6UdjmbcvC6 0UvdEEmTCSLGc+d07v955z4RpCpRdUPVro1yQNXdZEvlwWPOinnoFZpZujUX9A1ZY5d5 ACaw== 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:autocrypt :from:references:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Qcsw7c50zUlpFhCSXB7svaax2ATKzExtwjlLGHoJPVA=; fh=mTDPdqrb6uQk8gftP39pK/yL523brhHOvIUN+Gi0bxg=; b=v2uaFdzQ3cFEwUSplbRAb96yBuXDewAB+qEsLMPKKL8lLRU0ZPZYVd1angaQuMAZ9C VofLW9U/MW41m2Co009yq9IpkVJAiApVPFaoNLTeyduKTBDm8kVaUHKFtC6sUClk/DcB S3GE2tMPmvX8WisKmji2Hn8QsultT3JHN9kb4Ul+aC/HdKZDpESYzMwqMO8rXu43SvTW sP3lQQluMWEeJWF+Mwf7w+kYGonKG/UariILjzTPX9FT1gLQMbFgzwgYjCcrLqUEGOmX 3GMMDIzTV9nyGwrchUGXlTnUWn9bfACv9xVGD3Seem4YBpOm/OIcWgeZPBJZlU2JGv55 ILJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tbFH75zD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id l14-20020a170903244e00b001cc32df8ecesi1312226pls.513.2023.10.31.11.16.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 11:16:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tbFH75zD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 712328028B6A; Tue, 31 Oct 2023 11:16:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231142AbjJaSQB (ORCPT + 99 others); Tue, 31 Oct 2023 14:16:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376445AbjJaQ7a (ORCPT ); Tue, 31 Oct 2023 12:59:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F12223586; Tue, 31 Oct 2023 09:58:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FF60C433CB; Tue, 31 Oct 2023 16:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698771534; bh=eHaWx3XBjxR9WQzWxiMP+9mylnGCpepEBx6eV8SqLTg=; h=Date:Subject:To:References:From:In-Reply-To:From; b=tbFH75zD0wSBts/IWcd7KAkpwmPD/hEQnoc5NXDyB/MjbJOXo5zrD3rmL4Ahncdif eIcVReQjnW56tvzKCj85nLvxrNiT9ITtCdsvtCj1YudM8P44AfW+wvbLx8E31lmZHI K/ww8YDAqnM3vJiXT/vgsJzNFj79dFkzqAoYMfpE+ltqvSCZw1qaolePHpVpT95iG2 NbrJ2KNE6yns9TZ7LnwRpmxMej2DZpXykM7mPrVmrFqIGUz96j4Yz5YZWKftWTDlzN UERaMt14CsLUi6zGA3QCHip/+scFSK+oAlNODnBrIxuF35OLgDNT3n009Zh6v3iT5c UU8ageBtEuPjQ== Message-ID: Date: Tue, 31 Oct 2023 17:58:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU Content-Language: en-US To: Mario Marietto , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org References: From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6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NPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 31 Oct 2023 11:16:26 -0700 (PDT) On 31/10/2023 01:04, Mario Marietto wrote: > Hello, > > We are a team of linux enthusiasts who are trying to boot Xen on a > Samsung XE303C12 Chromebook aka "snow" > following the suggestions in the slide show presentation here: > > https://www.slideshare.net/xen_com_mgr/xpds16-porting-xen-on-arm-to-a-new-soc-julien-grall-arm > > This device uses an exynos5250 SOC dual core 1.7 GHz with 2 MB RAM, it is > a Samsung armv7 chip with virtualization extensions. > > In particular, we have it working fairly well both on the bare metal with > a recent 6.1.59 Linux LTS kernel and also with a recent 5.4.257 LTS Oh, these are old... Although there should be no noticeable changes against v6.1. v5.4 is not recent. It is four years old! > kernel with KVM, the older LTS kernel version is used to test KVM because > support for KVM on arm v7 was removed from Linux around kernel version > 5.7. So we know we have the hypervisor mode enabled because we were able > to use it with KVM. > > For Xen, we are using the latest Debian build of Xen 4.17 for the Debian > armhf architecture: ... > > In this case,the kernel is able to use the exynos-drm kernel to start > the fb0 device. But with Xen we get this error with exynos-drm: > > devuan-bunsen kernel: [drm] Exynos DRM: using 14400000.fimd device for > DMA mapping operations > devuan-bunsen kernel: exynos-drm exynos-drm: bound 14400000.fimd (ops > 0xc0d96354) > devuan-bunsen kernel: exynos-mixer 14450000.mixer: > [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks > support for IOMMU Hi Mario, I don't test DRM on my Exynos boards, so my knowledge is limited, but isn't this the answer? > devuan-bunsen kernel: exynos-drm exynos-drm: failed to bind > 14450000.mixer (ops 0xc0d97554): -22 > devuan-bunsen kernel: exynos-drm exynos-drm: adev bind failed: -22 > devuan-bunsen kernel: exynos-dp: probe of 145b0000.dp-controller > failed with error -22 And that's the final confirmation that display did not probe successfully. > > > Any ideas why booting the same Linux kernel that results in a working > X.org display on the bare metal instead as dom0 on Xen would cause the > display to remain dark, but most other basic functions would work, such > as network, disk, and USB ? thanks. BTW, it's usually good to Cc the maintainer as well, not only the mailing list :). scripts/get_maintainer.pl will tell you the maintainers of Exynos and Exynos DRM. Best regards, Krzysztof