Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2171661ioo; Mon, 23 May 2022 11:48:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxewHOufFsiWZ2FehvXpYF8VsMenSFer1mFh5hwBJMNhArxHoACEzJ0IqCQxXsibNE6KUqD X-Received: by 2002:a17:90b:3b4c:b0:1e0:3354:5e5d with SMTP id ot12-20020a17090b3b4c00b001e033545e5dmr359899pjb.239.1653331731238; Mon, 23 May 2022 11:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653331731; cv=none; d=google.com; s=arc-20160816; b=TexZ8DzmRqhiI7KGSDUXawxk7GiVYOwSl5B88BVEBz7eQfV1HreZWFja1E6ff7P1+U vvSZPKh1mXk+gbwyvcYaZ/naLlWrIZu9KynxnLo3DdrKHpvTnPg2sywb17eU4lG+RD3L QJUxBgRfo54iq2BzVBz4Re+GaBUzjBsQ+EmklYUTLlI6NLrtKiVPZIDyTJyWd3b1hle/ LxuCHdM2YV6g+gJmWjikQlsNQ5fH0B+RxfIajvH1nDMo5rYKigai6jHWkhRw2/FrCQ/o 4JNKZjAEcVyshVCWkpuJWQmwYpndHKl8mwiKiDKCTjaemsErM1cbPhoVX0K7fOCHfEd7 jTOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+GHDu8bX018Pj56HhIIQXnjcT5ZvQ3bky+5co5y7CGo=; b=EhTCWtdEVNxOkz3gjyour+JW/3Uym0QdemIFWp6JHof4SP8QrdGHWGr0LDIn7n3ldU JLV/Lv/m3zLWmUqAEKm9JXm5ppvt38uS9wk4TQ3a9FnL9fONBaz5xomX2JKo821WUldm j2P9w9dIkYtpWE5faspcdNVm4cgCJzHloLCLL4MA9ARvKUbWxh3YoQaJTjjsBsjlbkZg sq2Mff693vJRaSSO1TEXD4yEQvQVuQKy6+NARX96pPEWitQyosB+c/yBSeIdeTM6AROt 0JfmlGfYVW+BLygwwBpyTfVK2lDHiZuQzTcLWEYsSl7z5bDjsP0w9+TasKWs1J1eA1On UDtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GxdkuVQw; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k8-20020a6568c8000000b003aa66b8915esi11587862pgt.540.2022.05.23.11.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 11:48:51 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GxdkuVQw; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E8A89C2D9; Mon, 23 May 2022 11:48:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242849AbiEWSrt (ORCPT + 99 others); Mon, 23 May 2022 14:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243149AbiEWSrj (ORCPT ); Mon, 23 May 2022 14:47:39 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7EBCA25C41 for ; Mon, 23 May 2022 11:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653330622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+GHDu8bX018Pj56HhIIQXnjcT5ZvQ3bky+5co5y7CGo=; b=GxdkuVQwAKotC5mXQEw2wmn84Dyt4pwmCpvHYswabV4SVjmATsenFyPekfR+Xt5kIn0FL2 TZozsXW79oAsSsvT+8oz7H1iaybe/3TPGw/i7w1tY3MxVp9Eqin24sGNYc7uNIWgmSsJUv ax/2AwFojxR+lbnmRkUgVFYdj2NmqqE= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-133-wif4f0_9N3KDsuLOdT-tTA-1; Mon, 23 May 2022 14:30:21 -0400 X-MC-Unique: wif4f0_9N3KDsuLOdT-tTA-1 Received: by mail-qk1-f200.google.com with SMTP id z13-20020a05620a100d00b006a3870a404bso2733250qkj.17 for ; Mon, 23 May 2022 11:30:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+GHDu8bX018Pj56HhIIQXnjcT5ZvQ3bky+5co5y7CGo=; b=bQqd1XuyqXSiNac6xg9lbHK6ygraQqYpVNqkp5r3MK2C4p+TLtXBslaLiMYozSVS/1 PlK6SmbTtIIzzjYqgAk8hXl4GynOcsS1XEoPhXQXK8U6eE2mAFRsVWouBkBHZ3vgZaFZ LkaHkdfIiIXCOAsc9UwtHvH8CPjvEPZrrfnaqo9QoDICkyy2woOFmNCem9cJkuCPZ+1A 3GFQA+s0arGiqY8eQnJz6SaYEbeZ5axMQJlXh/G91pjSaK8/3P18J5tDxPoawCLb3vmE O9wZcC8srN6Jy9oPzcFkGekHphf0FJBvg1wxXcUNml67fex1Ek95USXymIOt3dzid4nR A2lQ== X-Gm-Message-State: AOAM531A15GtM+wLnUTCdJYTtB3sNs2YRxLSZczPp3NiLLH5txSGO4bI Ww2YWv+SzGSmJ3Lp2jWcby9geG59mO2Glnvk9cvF05mKOIJdICuge3joT8BC9Ae7LthVjE7aMra j/t52qeVW3vyU9pL8kzXHez9X X-Received: by 2002:a05:620a:29ce:b0:6a0:e9a:f7a2 with SMTP id s14-20020a05620a29ce00b006a00e9af7a2mr14909663qkp.479.1653330620340; Mon, 23 May 2022 11:30:20 -0700 (PDT) X-Received: by 2002:a05:620a:29ce:b0:6a0:e9a:f7a2 with SMTP id s14-20020a05620a29ce00b006a00e9af7a2mr14909649qkp.479.1653330620095; Mon, 23 May 2022 11:30:20 -0700 (PDT) Received: from xps13 (c-98-239-145-235.hsd1.wv.comcast.net. [98.239.145.235]) by smtp.gmail.com with ESMTPSA id m201-20020a37a3d2000000b006a34f6a7840sm4630388qke.57.2022.05.23.11.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 11:30:19 -0700 (PDT) Date: Mon, 23 May 2022 14:30:18 -0400 From: Brian Masney To: Dmitry Baryshkov Cc: Luca Weiss , linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , Todor Tomov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, matti.lehtimaki@gmail.com Subject: Re: [RFC PATCH 00/14] CAMSS support for MSM8974 Message-ID: References: <20220522162802.208275-1-luca@z3ntu.xyz> <638d6986-616f-4a1c-f1d0-82835b000b2a@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <638d6986-616f-4a1c-f1d0-82835b000b2a@linaro.org> User-Agent: Mutt/2.2.1 (2022-02-19) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 23, 2022 at 03:39:53PM +0300, Dmitry Baryshkov wrote: > On 22/05/2022 19:27, Luca Weiss wrote: > > This RFC series adds support for CAMSS and CCI that are found on > > msm8974, including the OV8865 found on the FP2. > > > > The only reason it's marked RFC is that CAMSS doesn't behave properly on > > this SoC without the last commit which is obviously not upstreamable. > > Not sure if this should be a blocker for including most of the other > > patches because other than that it seems to work fine and I can get a > > picture from the camera sensor. When/if msm8974 gets IOMMU support I > > hope this should be resolved and it works without this hack. > > > > I think at least the CCI patches could get applied as they're not > > dependent on the CAMSS hack? > > I'd also vote for the camcc patches to be applied. > > As for the camss, I'd suggest to get them verified to work properly with a > hacked/non-upstreamable/etc. IOMMU driver if one exists. Otherwise we can > easily get into a situation where we merge up code that contains bugs > itself. Last I checked, there's no IOMMU driver for msm8974 that works with an upstream kernel at the moment. About 2 years ago, I took a stab at attempting to enable IOMMU for the display and ran into some issues that I documented at: https://lore.kernel.org/lkml/20200109002606.35653-1-masneyb@onstation.org/ I'm not familiar with this part of the hardware and haven't had time since then to look into this further. Brian