Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp588003pxb; Wed, 27 Jan 2021 16:00:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJy913n1EZc0b29VmzBmcg7HxKTfWSF7CF//zbnLMQ8EHyolXSmRcFWzNB2ZF8RSAnD/kfbK X-Received: by 2002:a50:b586:: with SMTP id a6mr11220190ede.206.1611792003889; Wed, 27 Jan 2021 16:00:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792003; cv=none; d=google.com; s=arc-20160816; b=kaCAHTmFnGCSQUyYpi7kODuFNiejlkWsvzw8dOUYm8qCH6VXKPcRAArlkIw9ddh3i+ jr9e9K8pJeoCc0yRfsRX1MMEFoKAL1d0SuyZe419b8+PvjAZrIy+WKG4qfAMoTWRn961 Xn9a53lhuA0VI6NtNrIz/BLUcQAr9YdPxdZt07KtbDQD5biZYI+0J8gMIHLe7LCmatO9 W9cmBs5j6m6n3mNjPuuojNPvD3qS8S68RiNvFIz0Krcusl2in1gELG+bVM93sW+HLehK J9g5FAXGIhYtz4IGbjjcGT1EME5oR1Ovqama1qi+TLSrB/leLG3+flv6oepTF7MzrtYD TS0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=xgrneNriPGg5dEDkiPR8ZwISgtJKtfMcVRnE4vAzyu4=; b=bi6P/oyrBAxC7Idzerd4FXFNkQXCSbaoItbuMtgK7NeO+5XOKrLlmVbLyhkBXvnyp0 49eMr5+/0sunnjMXOPWVN/+vAn4X57skRBpex9SnAiUH7zA0gVlIwEAYqBeEWqO9dweO kLN8ubAGGKZ8SbTJ/MhxbMvxIe/y5YR3AeFKDrmwzPvo0DMrBW2HaMC78w0W5xb+X06y iFgSOgViyRPluS2DXQTBQQJ8gzPwpqAejOFIY84olwhKYSK2LkumNLnaf+OKGfkPj9jV KzJt9vcanuxgvBKduzDzTAqQc3HexgjRGKI2+BUtGOOukdr12BY4TT3chsTjevntScph XXjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wsQpJbJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si1559611ejb.312.2021.01.27.15.59.40; Wed, 27 Jan 2021 16:00:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wsQpJbJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232754AbhA0OUj (ORCPT + 99 others); Wed, 27 Jan 2021 09:20:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232858AbhA0OSU (ORCPT ); Wed, 27 Jan 2021 09:18:20 -0500 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E119DC061786 for ; Wed, 27 Jan 2021 06:17:39 -0800 (PST) Received: by mail-qk1-x731.google.com with SMTP id n7so1794389qkc.4 for ; Wed, 27 Jan 2021 06:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=xgrneNriPGg5dEDkiPR8ZwISgtJKtfMcVRnE4vAzyu4=; b=wsQpJbJwrnFBoofLk8KXpG+FD0EsmUkaxc4Nylsr12F3MOSm6NxWF2XzSem3idA4uG HhT6VmYppovxpA87VSfZIlfh8PGpg2jxktYW5TYS7NAgWKYDXHHHvpl4qNB42RJZRarA XqPi1MtMU0c/mu1uPLcgZwLYNWXzNUmglZJF1wRjfVdZhAMVFXPDUjo+bLg94Q6/TA0o G+LDsA5iLu9u6TW5JhQok08pf+hMC93j6MhLG/7CxdCOgqy+hPX7AJLayW3630I7NtAj t5wfyEuneHNfWMcQw4Tm6BdKnv+pTNDdvI6ev3NZtE+m5372q1sWKiDvGLIYDjHo8bUX 9ZPw== 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:in-reply-to:message-id :references:mime-version; bh=xgrneNriPGg5dEDkiPR8ZwISgtJKtfMcVRnE4vAzyu4=; b=n0xTdfgqKe/Zm7UCQLfoMWqMv2LeEb9MMpkBhmNlNPn+CSDgfhkWIU2jeYjmrsOXvm kX9F786fZWifVmtaofeHD7AyzOjucbmHooU7zfJqaY44oQ+DKyAaZTvfkrsVwAVqRANP RWB2kXuqzcrYffN00EmoVg0G/W5lM97KxkYd8tUUtKK3+RVaZBq4ycurioe9bNtTlZui fJZw4EQv+5QXCcTnOii+0ByfUCXehf91t93f1UhQOmDwdz6LgMgGiw3UaS8MZ99PJThF Cacb9oEvr3mkQ6d8eK6yH9JSvQ/mdX8sOqlw/IOxoAgt+S0jqhcZDpkXwXNAQApjsTw8 WZSQ== X-Gm-Message-State: AOAM531aTBCP/cSqy2oiw/HSMqeyhvPQziU4r1G/kBiQw4aXlkHet5me QKO6ukuVj2Jpqljb+sYCpikUnA== X-Received: by 2002:a37:59c5:: with SMTP id n188mr10787922qkb.170.1611757059133; Wed, 27 Jan 2021 06:17:39 -0800 (PST) Received: from xanadu.home (modemcable076.50-203-24.mc.videotron.ca. [24.203.50.76]) by smtp.gmail.com with ESMTPSA id q25sm1262249qkq.32.2021.01.27.06.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 06:17:37 -0800 (PST) Date: Wed, 27 Jan 2021 09:17:36 -0500 (EST) From: Nicolas Pitre To: David Gow cc: Alexandre Belloni , Boris Brezillon , linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i3c/master/mipi-i3c-hci: Specify HAS_IOMEM dependency In-Reply-To: <20210127040636.1535722-1-davidgow@google.com> Message-ID: References: <20210127040636.1535722-1-davidgow@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Jan 2021, David Gow wrote: > The MIPI i3c HCI driver makes use of IOMEM functions like > devm_platform_ioremap_resource(), which are only available if > CONFIG_HAS_IOMEM is defined. > > This causes the driver to be enabled under make ARCH=um allyesconfig, > even though it won't build. > > By adding a dependency on HAS_IOMEM, the driver will not be enabled on > architectures which don't support it. > > Fixes: 9ad9a52cce28 ("i3c/master: introduce the mipi-i3c-hci driver") > Signed-off-by: David Gow Acked-by: Nicolas Pitre > --- > drivers/i3c/master/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/i3c/master/Kconfig b/drivers/i3c/master/Kconfig > index e68f15f4b4d0..afff0e2320f7 100644 > --- a/drivers/i3c/master/Kconfig > +++ b/drivers/i3c/master/Kconfig > @@ -25,6 +25,7 @@ config DW_I3C_MASTER > config MIPI_I3C_HCI > tristate "MIPI I3C Host Controller Interface driver (EXPERIMENTAL)" > depends on I3C > + depends on HAS_IOMEM > help > Support for hardware following the MIPI Aliance's I3C Host Controller > Interface specification. > -- > 2.30.0.280.ga3ce27912f-goog > >