Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2445627ybi; Thu, 18 Jul 2019 08:30:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO+iebZfLLW4gD2C0fC/rEEqJDSTdVCvt3KGUb+zZSDjmLvcmpY8ZCm+bkcoahP2KEf5Tu X-Received: by 2002:a63:e54f:: with SMTP id z15mr48275340pgj.4.1563463815520; Thu, 18 Jul 2019 08:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563463815; cv=none; d=google.com; s=arc-20160816; b=kLGqiNTKf/WffQBZZnwxv3beuzjqbstc4HkACKDfTwzLBRUFO8QTZwBBzjSCEg+60U 5eini8uGRy8ut4F7oUdoBGenOcZ6L0CUN8e+AUOJ3lAKUyk+PjahFpN+Z9paaiy/68G5 spaVAkc0dGzNXFaGIBBNkpd+eFxu80W3SurMzB9+JSE2vlWiSxvSklvJTdEzcsMklu+O bUbFbL0RQ2wUbfp+sD7SwmSBOBijhop1nAMVgsD+kjffS2EBRAuo8g43PguryRfxElda DdWw/u+/XLvmedubo6YG0ctC8f0s8q21LhTXcDefqh0bzNv+Fv+R+lgzVYf3WZqlv1mH B8qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=97JpaqZJUw6kOHercdAb+lo0dDWCEEL1RlsGMmUyUJQ=; b=tbiB1kbkqsReBCfPemaOWKCI82p6lyXSH7Ime7MOVkjcK8crpxsmTux/+oGHSKCN9Q 4wK/TbdWsOUM7hgHxy63+49NQPdyyKafvsuZV39oVCUqGHBa/x9BomKifp04sm3ic61q 5Y3F0Fdu/6OJkbSRAjWRm+4zINTDwF2SCfBHppwgsbbHJpt6rQqbUVUvaTfn5ZB/5sOP usxAz6fPGKEwyxjku6Kfeamkiq4eUe3Atts1HWl7+nfCPgbkTSVkfv+2gLJCW47Z5sr3 aL6RtUj9lucfCwEXbI846VgNweeBALS+xWTI7QYQ2uL2G/f/M7Eo37TXZxuRrwykW/g/ qN6A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q19si1368618pgg.521.2019.07.18.08.29.58; Thu, 18 Jul 2019 08:30:15 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390703AbfGRP1f (ORCPT + 99 others); Thu, 18 Jul 2019 11:27:35 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:43879 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726040AbfGRP1f (ORCPT ); Thu, 18 Jul 2019 11:27:35 -0400 Received: by mail-qk1-f196.google.com with SMTP id m14so20717044qka.10 for ; Thu, 18 Jul 2019 08:27:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=97JpaqZJUw6kOHercdAb+lo0dDWCEEL1RlsGMmUyUJQ=; b=tWJgr62KjtHPGUkyoVPZXKxBecZxa2nYe+IAyitW4DcGEA+SBcnVFSUx2M/nKeheUh vQoRxzO0KKZgwSveJzrsHiei6CPa4kpcVzgju5BdPphz4i1ySIDRWIZI5ssoWPYhl7Q9 P1L9/EPn9EpV4OaYKEARqmnj+H9HY3AmEez/hSkcrrolscW26wJzlpLB+3IdFAEf5/FK tOQSJKfDm89WGoIUt3pnKLBJhsCy0TVKSfOk67KIvsLkJzKr+KUa4z2Cywvezi30JVYd AP+oT78Ii0UXB7a/n/ZikcuS5wq84E9nNQRcRzV1qQnrElDb5ndpNO3Dm63Irv5CK4Oz aCMg== X-Gm-Message-State: APjAAAXjGNdR6cENuuX6hWOsHnlv6fnXW/Md0qAbxxEQls2KBYPbhHjY yBKWkmOxLR2gIy/ei3YQyibRjpW/9SE1SP6z1lw= X-Received: by 2002:a37:4ac3:: with SMTP id x186mr30135208qka.138.1563463654235; Thu, 18 Jul 2019 08:27:34 -0700 (PDT) MIME-Version: 1.0 References: <20190718134240.2265724-1-arnd@arndb.de> <7da08013-5ee0-1c39-e16b-8b6843a28381@samsung.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 18 Jul 2019 17:27:18 +0200 Message-ID: Subject: Re: [PATCH] drm/bridge: fix RC_CORE dependency To: Dmitry Torokhov Cc: Andrzej Hajda , David Airlie , Daniel Vetter , =?UTF-8?Q?Ronald_Tschal=C3=A4r?= , Laurent Pinchart , Sean Paul , dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 5:17 PM Dmitry Torokhov wrote: > On Thu, Jul 18, 2019 at 6:13 PM Arnd Bergmann wrote: > > On Thu, Jul 18, 2019 at 4:56 PM Andrzej Hajda wrote: > > > On 18.07.2019 16:21, Arnd Bergmann wrote: > > > > On Thu, Jul 18, 2019 at 4:16 PM Andrzej Hajda wrote: > > > >> Proper solution has been already merged via input tree[1]. > > > >> > > > >> > > > >> [1]: > > > >> https://lore.kernel.org/lkml/CAKdAkRTGXNbUsuKASNGLfwUwC7Asod9K5baYLPWPU7EX-42-yA@mail.gmail.com/ > > > > At that link, I only see the patch that caused the regression, not > > > > the solution. Are you sure it's fixed? > > > > > > > > > Ups, you are right, I though you are fixing what this patch attempted to > > > fix :) > > > > > > Anyway, we want to avoid dependency on RC_CORE - this driver does not > > > require it, but with RC_CORE it has additional features. > > > > Right, that's what my patch does: if RC_CORE is disabled, you can > > still set DRM_SIL_SII8620=y, but if RC_CORE=m, DRM_SIL_SII8620 > > can only be =m or =n. > > > > > Maybe "imply INPUT" would help? > > > > No, that would make it worse. Device drivers really have no business > > turning on other subsystems. > > > > OK, in the meantime I will redo the branch by dropping the > sil-sii8620.c Kconfig changes and also drop all "imply" business from > applespi driver as they give us more trouble than they are worth. We > do not have "imply" for i801_smbus for Symaptics SMBUS mode and it > works fine. It it distro's task to configure the kernel properly. Thanks! I think the "drm/bridge: make remote control optional" patch is fine with my fixup, the IS_ENABLED() checks take care of the case where RC_CORE is unavailable, and the 'depends on RC_CORE || !RC_CORE' line takes care of the RC_CORE=m case. I suppose Ronald could send a replacement patch with my fixup after the merge window. Arnd