Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2646428lqb; Tue, 28 May 2024 06:32:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUubpYi784p+OrTKf3UiE3VF2DggPJxQyD1ZadmgsvRbeVAHQ8X02ikheCFh48SBkCgvM+a7myTkgZuLaGom5J7DXrnu/X+6WQ12WQhPA== X-Google-Smtp-Source: AGHT+IFJwsd01UYAjfeNYREVif0vjOqJZty1fnvDjUFmoq/1w3/PLLwmbVxBBRaKM1RxlopD7voD X-Received: by 2002:a17:906:46d2:b0:a62:7fff:7218 with SMTP id a640c23a62f3a-a627fff7e7cmr752716966b.41.1716903147581; Tue, 28 May 2024 06:32:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716903147; cv=pass; d=google.com; s=arc-20160816; b=uqu8YGQhwVPa1WLLZG3xt4t7+Y4W4pjfGhY7tlBcdFEy1gxNHFdYH/T2AMj/D+jtKU AROX7OOuUcjJcB9fBzSGh/KLB67PcdibIhbw83wS8Vmx1OmlSF94M3hXKwAQ71R1fiLA f7AP3r73Za4L/arfokkr42qawofbvY2U7RsgHOApVvCfhzjZyoys3UIXbYHsHMNzprR1 6bMtjyUZQvjMl1b2AipK/3IZgVwp9NPb7syissZsToMIpDxblDjkon/e22SSiaXutTQu 2vTmIbD09/acWyNO25k8FYsIZ88MOM0k57cy+0FCJ9FgiEXNKwb9SZXllWNJWfPxAhz3 7Chw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=pQhRdR3hAaA9Rh1e1jUy3kUuvaiWGFbGUzWN+iQvR58=; fh=JE1F4qlNZ9nwwzfh9/YleLSXc+pmAPaFSaevpMOPIcc=; b=vRPc8DVJuUKmQbcgHyEyGzng2kJCtKq7EpNdZbmE3Z6x4XcMnZOZdDABK6RxoNzsU1 9r/U0+pXo/x6WhJjR6sb9vUcO3WOZ3rrhH51bZBvGweVIg56KviFMkrjenwDDx0GP+im 9CLnmOoI0eDgftXsjbzV72QuL/GmSnkPu1kj04Y7ouS62SruJzyEh8XxXs+J+TLJ3Wu2 ts5yUOvclZD1FVwfBr1PwaQF1OW9Ux8zXGTWwIGIxPrZYFmq8EarV8pZWIAbnuxWiLA0 uu00wzy5wP/R48LJsvaQmrydCcrmapHZ3TQJlKXsj9MA5bgkcw6T7gptuE2SJrMKCKN5 wg4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GGVio4F8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc68ecdsi498229366b.652.2024.05.28.06.32.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 06:32:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GGVio4F8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E452B1F25F9F for ; Tue, 28 May 2024 13:32:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 668D916F0F2; Tue, 28 May 2024 13:32:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GGVio4F8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8225617C7F for ; Tue, 28 May 2024 13:32:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716903140; cv=none; b=DABuF8iImX/WeBHUd6ncokV+BdE0f4nP6aRQKVikKMXysBP8ul0gG/Qzima0tJp8TNh1bAYzeWKvi5t9S5iJ9Qsn7+e5ENeMo2TiQaqdC7DKL8qK83vFnWXE3w9/5y/7nexjNhihwy6EmTzIyB6uXajiZnvQvdrfOr6t7ovxjxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716903140; c=relaxed/simple; bh=dhSBmo/CC8MHZ1NdaR65BMzydNIYHlnG51CFEasQqa4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Xr2D/Qbe5sZWVjhxqJkWE6f5MDS00pYeghZnEnukUh9z4MSRdr734yiYtt2jdxhLmBj5uXGxB6jeuUky/QQuUD7PDTE+D/YUZExVQTTh5QuNV8l+6TdkG+1+UCSbKOV/OQ0lAfgt7v8SEkca5xOq9zoMWslZJRIdvQrP/hdGJzM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GGVio4F8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92C84C3277B; Tue, 28 May 2024 13:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716903140; bh=dhSBmo/CC8MHZ1NdaR65BMzydNIYHlnG51CFEasQqa4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=GGVio4F8HQcSQI6ogGTFqUV09ymhEAV3eJ8dZtUX0yF1uA+tlRby5UG1FgyP+T+gO ilXgioCHnRwpdC7xVWyWcrZE0jvzbK+/T3H/2S1VoFv6LRJUQVKlg8ZHG5NzZmbbkP 4Pf7iGGM1d+25rcP7xYZlNNlH7+jlJf4yw+6hmTLeJfgjbAelU365GQS5KqniZM+0+ pxcRLATpBOyhV/3VATXPRjqrOKditoOh/+TS9SVgb0oxMfiG2UGp6fVkMfcbKpGsMN oGcUn8F1EsjT0mNNCa/s3cNkcO+0djD/5w/etRNX8oDuCTVYm0l/sCPB0OXBOyug8S ZKQe4BwQH7dZQ== Message-ID: <56f19120-7ddb-4006-99f6-e1b043ed88e1@kernel.org> Date: Tue, 28 May 2024 15:32:12 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] memory: fsl_ifc: Make FSL_IFC config visible and selectable To: Christophe Leroy , Esben Haabendal , Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Michael Ellerman , Nicholas Piggin , "Aneesh Kumar K.V" , "Naveen N. Rao" Cc: "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linuxppc-dev@lists.ozlabs.org" References: <20240528-fsl-ifc-config-v2-0-5fd7be76650d@geanix.com> <20240528-fsl-ifc-config-v2-1-5fd7be76650d@geanix.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWK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TRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 28/05/2024 15:15, Christophe Leroy wrote: > > > Le 28/05/2024 à 14:28, Esben Haabendal a écrit : >> [Vous ne recevez pas souvent de courriers de esben@geanix.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] >> >> While use of fsl_ifc driver with NAND flash is fine, as the fsl_ifc_nand >> driver selects FSL_IFC automatically, we need the CONFIG_FSL_IFC option to >> be selectable for platforms using fsl_ifc with NOR flash. > > I don't understand. > > Shall I understand : > > While use of fsl_ifc driver with NAND flash is fine as the fsl_ifc_nand > driver selects FSL_IFC automatically, .... > > or > > ..., as the fsl_ifc_nand driver selects FSL_IFC automatically we need > the CONFIG_FSL_IFC option to be selectable for platforms using fsl_ifc > with NOR flash > > > > I'm fine with the fact that you want to be able to select it when you > use NOR flashes, But users are not fine... their memory won't work if they cannot choose it (if you meant select=choose). > allthough I can't see why, but why do you need to > change the "select" to a "depend" ? You should be able to leave it as a As explained in v1: user-visible symbols should not be selected. Nothing odd here. > "select" in which case patch 2 wouldn't be necessary. Best regards, Krzysztof