Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3992770ybi; Fri, 19 Jul 2019 12:45:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSjo91gYoMa4mMVnYHHrJpEWXvjsNYJl7JNLukCJQ+2yYi0eUqgC4JpoUWU34R5dg3ZfCO X-Received: by 2002:a17:90a:9b08:: with SMTP id f8mr60077547pjp.103.1563565537910; Fri, 19 Jul 2019 12:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563565537; cv=none; d=google.com; s=arc-20160816; b=TC7exjT2bH7zvYhz9wq2O7oCQRbBcEqU1cmoQflp7N5Cn1AU1Dg5++fRsORm+GIsgf 28aSpj6+6pYMLUc+96ejOj/0Yli+m7RZYWM3DYg12CAfV5hDdNvfX/uHL+OnUlegZsU7 J5x5UTgCuofRx0KY6PfadLZ+JxxtiKQtbtncD11+CG6nwPUyHnK4JHC83P+hk4YlioJA 2Wyryip54X8ZEHcOGcYHOd99jiBOyIUh7kRjbM4rA+sRX6IL5ZIOoU4arFVUtM595uus V3f3fQ3ulG3lLUa+2ABglz2OWmCunpcMTJTMrQH8+xGmbb2z/1lbus32cskqHJGt7Op9 j1Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9ox+hcUaXeVD4tc0YldET6IMK+Omc2FU2Q1gv/EWehQ=; b=G9zf/RkPlpPkhsjcehnKtqoZlpMgpGRYzX3gtCXGI3JE0Cls7P/ZHKQZ5NXBnFilxg 6Hdz++OgUvo3seq09DseCBgAS7njouvouEz0LR0qWILxd4NCmv0cpxJfUUVGC3h6YL6V My7ka6iNmwa/qPomyWW/uikH271xXI6jZqCrKAF2O1ey9qgLEreRl1uV+XH1kDyDbLlx HvDOYWJaSYktATNQBHhSQW2A2AQd5LVZ3RQibx5bYLs2El6HZrKc1rnnzftk4NmiCrmj ytWvq1f83CvvaN4bjqdbwoR+vlGrmrbUKdTE2xFzFq6nNv3fS39grP6Or4yOd8EF/TCg Dc6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X44x0V9a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f131si619111pgc.265.2019.07.19.12.45.22; Fri, 19 Jul 2019 12:45:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X44x0V9a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732072AbfGSQp5 (ORCPT + 99 others); Fri, 19 Jul 2019 12:45:57 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:44766 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732025AbfGSQpu (ORCPT ); Fri, 19 Jul 2019 12:45:50 -0400 Received: by mail-pf1-f196.google.com with SMTP id t16so14404469pfe.11 for ; Fri, 19 Jul 2019 09:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9ox+hcUaXeVD4tc0YldET6IMK+Omc2FU2Q1gv/EWehQ=; b=X44x0V9a+sokJTAGdlKVeu6VcXVl/zAIOWaTLIT4dXyg1q+zOA40uFDPd27HZzgJnE K27Z1heRoupSPaK7W8N/1YYgItwR+A4YVHCpMjjo81DTd3a+VClJkSEkMmQgiykgW6SZ KzSGo4wnPK8ZEQYJS/FdqgPkStyyOfypjyU6c= 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=9ox+hcUaXeVD4tc0YldET6IMK+Omc2FU2Q1gv/EWehQ=; b=kKtS3jstMhMgm0ZUbNmM04Q+W+BzPHZBkz+9vaEoaJDNxGCZL5+qMInaKBVUwqd8x3 MJlq36u87vje0XNUf6x2zrxSN9YwLJ489Lz3vXng2vXFcCXGPp3Dya6bApUoZ3NZ5IXI NdHio13/tfP5VHERUa8u04V+qCNSpJHA3IQNkMjX9XCnoGGALQLQ9yA5FpwjLOpB9WW2 tglTg4s8tEwCjigE376Gop2K0TUd5u7poIKHWfk5knoEptOyi6oyKiAJAHRiterUrJcv v/QXkwERPfQvsz8C0JLFaKGRV29t5HT3X5p+yv2DEHxClYwCbz3zKrSRIVczJAMGcI1O IbkA== X-Gm-Message-State: APjAAAVeTEtEqcFyu52nVxl9d0i2544RONYshEkBD9d3Bsk/w0OlWOr/ rIlYHDiCxXrVs51FyL7JwLJ4ZA== X-Received: by 2002:a17:90a:2562:: with SMTP id j89mr59051915pje.123.1563554749429; Fri, 19 Jul 2019 09:45:49 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id 81sm52126164pfx.111.2019.07.19.09.45.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jul 2019 09:45:49 -0700 (PDT) Date: Fri, 19 Jul 2019 09:45:45 -0700 From: Matthias Kaehlcke To: Adam Jackson Cc: Andrzej Hajda , Laurent Pinchart , David Airlie , Daniel Vetter , Jose Abreu , Neil Armstrong , Douglas Anderson , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/bridge: dw-hdmi: Refuse DDC/CI transfers on the internal I2C controller Message-ID: <20190719164545.GU250418@google.com> References: <20190718214135.79445-1-mka@chromium.org> <617ef7670a35f0be6beba79ecdaba8be26154868.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <617ef7670a35f0be6beba79ecdaba8be26154868.camel@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 19, 2019 at 12:23:26PM -0400, Adam Jackson wrote: > On Thu, 2019-07-18 at 14:41 -0700, Matthias Kaehlcke wrote: > > > diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > > index 045b1b13fd0e..e49402ebd56f 100644 > > --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > > +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > > @@ -35,6 +35,7 @@ > > > > #include > > > > +#define DDC_I2C_ADDR 0x37 > > This confused the heck out of me to read, DDC by definition happens > over I2C and this one address is just for a specific subset of DDC. > Perhaps this would be clearer if it was named DDC_CI_ADDR. I was also a bit confused about the terminology, some places call 0x37 the DDC address and 0x50 the EDID address. DDC_CI_ADDR sounds good to me, thanks for the suggestion! I'll wait a day or two before respinning, for if there are more comments.