Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp769255ybl; Wed, 28 Aug 2019 05:10:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqww1kJfXs6I6iRlBVOZmqhUJuzqinGQyC2i97Sn+Uvg39Xt9q1IZmeu/27ZvHizlKK+g7vH X-Received: by 2002:aa7:96dc:: with SMTP id h28mr4320938pfq.86.1566994242985; Wed, 28 Aug 2019 05:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566994242; cv=none; d=google.com; s=arc-20160816; b=qUxZX+OcpunVHwImDTXfN8y0NN2ekNgA24aIQwnNSEgjkoPcPqcCFWbJwl39xMK1TF DB7bu/WTKPz0Ezs/iMIP0VQd8XDgLXh6qSOKG/Xbhb7FgSRx7hlCkgFoeR/NtS+Xkcfo MyyjqsaGlUs1hbIdUOZy4kRDT7VvR0GF5XUhnJilCZUt6tagg0MNwP3IDDwIGHeX1ZNR XN65mPQ+8VHAHyTf37CqIDetPJ1KJ16c9E4Of2YfxZowunugl+f66ZlkAeJAv8k3hdLF kFHl4joHPIZt8E3Np2RfPHTu8WlA0ySgnAeV7ql5XuQIim0k/zRED6RcvK0vYSEhdFml qUHw== 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=uY/0QthbDm0KRk0gieS7xBLQazGhEOHEGV7wuOo/gng=; b=re020WmIhjw3Ena0rQ5j2LhzdJrwE5tvP+3bzThq5UGb0YFD3hp9sVBqAL7mLkjTL4 Zxt78/YieT2269Nts3oKlUpvfdoH5BnX+DZJJaVGv4yUQb6/UpRFIqbC/FfkY3kxbqMj x6lykxd8q1jTZ6rk1HqsSQ+MiXvIIjFFq8BLS24hmh0VMOTlDDXhHhBFFKQJQUkgnZQK 60emvJYh072QksK7x/Fnl61YaoNlMJrjTdcLBuCrrLcjURcauiE3Gm8K+11jnqZkXAmy 61vE7Spqvf/vxPsspHUUU/cJVGAjGXM7w3r5uyP7wy5z9U458ogyH06/jgzWXeqJW8LL H7jw== 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 37si2086212pgz.39.2019.08.28.05.10.27; Wed, 28 Aug 2019 05:10:42 -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 S1726462AbfH1MJ2 (ORCPT + 99 others); Wed, 28 Aug 2019 08:09:28 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:41368 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbfH1MJ1 (ORCPT ); Wed, 28 Aug 2019 08:09:27 -0400 Received: by mail-qt1-f196.google.com with SMTP id i4so2662881qtj.8; Wed, 28 Aug 2019 05:09:27 -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=uY/0QthbDm0KRk0gieS7xBLQazGhEOHEGV7wuOo/gng=; b=BGYAmdWj4B0XNk0rvMFA8tozmwzlR/M2xf3gkPNBZ4Q75U4KsbWj7RWdimXtUWgmaF 2AwdsadbK+097tHgmE8MeraL+TJquf7NML3n6UnH6caAWoMhXoWiQ7X8QCqOWOxmY+km Ks8aHnGFPHX8hYOHJx/jL7wykxOrVaksZ5minRY1ssfEqfduZd5F2AgrutHiSytCg9Jz XuujESQpo1AovCoC1gz9ZTswRCpm+f+FHkZ3tlnNgwlXdakP7TRvPR/xIaUViQKJ3Oq7 v1VoXrxUGM4jHtuQ1x4Fx7R3QWUUk9OwW4HSz5STfHavQRcLkLBfPLJPkYG0nx+YGQu0 W2jg== X-Gm-Message-State: APjAAAXFfGVzyYZeZLZ8inEwAeyrhU8MsJtchiL1dbBtcevg7RiADsA4 8i1NWcyG7LBgCu7EmnpV7hOh+mndbdyB84HZENg= X-Received: by 2002:ad4:45c7:: with SMTP id v7mr2362538qvt.63.1566994166270; Wed, 28 Aug 2019 05:09:26 -0700 (PDT) MIME-Version: 1.0 References: <20190827154851.10486-1-enric.balletbo@collabora.com> <20190827161045.GC26807@tuxbook-pro> <2db6cde1-9e7f-8b1c-f2e4-80bdd2478d28@collabora.com> In-Reply-To: <2db6cde1-9e7f-8b1c-f2e4-80bdd2478d28@collabora.com> From: Arnd Bergmann Date: Wed, 28 Aug 2019 14:09:10 +0200 Message-ID: Subject: Re: [PATCH] arm/arm64: defconfig: Update configs to use the new CROS_EC options To: Enric Balletbo i Serra Cc: Bjorn Andersson , SoC Team , Gwendal Grignou , Benson Leung , Linux Kernel Mailing List , Guenter Roeck , Collabora kernel ML , Lee Jones , Krzysztof Kozlowski , Linus Walleij , "open list:TEGRA ARCHITECTURE SUPPORT" , Marcin Juszkiewicz , Will Deacon , Catalin Marinas , Geert Uytterhoeven , Leonard Crestez , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , Olof Johansson , Chanwoo Choi , Dinh Nguyen , Miquel Raynal , Linux ARM , Daniel Lezcano , Kukjin Kim , Thierry Reding , Jonathan Hunter , Sudeep Holla , Jagan Teki , Fabrice Gasnier , Daniel Mack , Russell King , Shawn Guo , Simon Horman , Marek Szyprowski , "Yannick Fertr?" , Robert Jarzmik , Alexandre Torgue , Tony Lindgren , Anson Huang , Maxime Ripard 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 Wed, Aug 28, 2019 at 12:10 PM Enric Balletbo i Serra wrote: > On 27/8/19 18:12, Arnd Bergmann wrote: > > On Tue, Aug 27, 2019 at 6:08 PM Bjorn Andersson > > wrote: > >> > >> On Tue 27 Aug 08:48 PDT 2019, Enric Balletbo i Serra wrote: > >> > >>> Recently we refactored the CrOS EC drivers moving part of the code from > >>> the MFD subsystem to the platform chrome subsystem. During this change > >>> we needed to rename some config options, so, update the defconfigs > >>> accordingly. > >>> > >>> Signed-off-by: Enric Balletbo i Serra > >>> Acked-by: Krzysztof Kozlowski > >>> Reviewed-by: Gwendal Grignou > >>> Tested-by: Gwendal Grignou > >> > >> Can we make the entries in the generic arm64 defconfig modules? > > > > Good idea. > > > > Actually I would prefer to have all of them as modules for consistency, > > if at all possible. > > > > It is very common boot Chromebooks from an USB device, the EC needs to be > built-in in order to boot from these devices, otherwise you should use an > initramfs. I'd like to avoid forcing people to build an initramfs just to boot > from these devices if possible, in fact, my usual workflow is without initramfs, > and knowing that with the default defconfig just should boot helps a lot sometimes. > > Note that, it's not the case for EC subdevices, these are already build as modules. Ok, fair enough, let's leave it built-in then. > BTW, Lee asked if this patch should be squashed with the patches that really > renames the config options to help bisect ability, I don't have a hard opinion > as I don't usually run the config option between bisection steps, so please let > me know what do you prefer and I'll respin the patches ASAP if that's the case. I'm not usually worried about bisection in defconfig changes, since like you say most commonly one would not run 'make defconfig' betweens the bisection steps. If we really care about it, we could keep a symbol like this in drivers/platform/chrome/Kconfig for one release: config CONFIG_MFD_CROS_EC tristate "Enable ChromeOS Embedded Controller" select CROS_EC select CHROME_PLATFORMS select CONFIG_MFD_CROS_EC_DEV help This is a transitional Kconfig option and will be removed after everyone enables the parts individually. Arnd