Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1523491lqp; Mon, 15 Apr 2024 08:49:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUP0UNlDTtFU8RqiMt156a8tetnUjSicdV1p2vQWW5Dk1nq3nwq073HMuL8a9WjUCHXG7NjsHr9Nnc77x/Bbg+0ZiwWeemEhhQBozUpoQ== X-Google-Smtp-Source: AGHT+IF8HOlGaloZabFrM4GfLUofUoQZiKl8VgxszBDIksASosr8URpyVgZ1mvvs2bPXZtsKNadE X-Received: by 2002:a05:622a:164e:b0:434:767f:2999 with SMTP id y14-20020a05622a164e00b00434767f2999mr13907034qtj.33.1713196162365; Mon, 15 Apr 2024 08:49:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713196162; cv=pass; d=google.com; s=arc-20160816; b=nT6vFSwN+26hcv7N0/UUZoSuQy0TcI9KREFUTt/0PFuyFccFnZIk0DGJDQR9Wryn8r tvkqJEpByP6DsVlDQAvGMixgMuReY9XSnFTV08757Tsrp25fIX2nYQKlLV4T/MVYChbq iFV2qSBSQeOxa2bdGYDvKRkxRT13eFaeCusIw2eRApxaBo5NXqmw/vsi7DqTZIjfRx4C ALy1IrX2XhgMtJj7T6VO7evtxU58uch+eGbuLGppIWJDrxx23o7Q4MzVK+sJjd5e4rBK wC3ZQ9dLibQHSnOqcZ/JjOz72MXFv/ofBan6jdmHNh8KeOlKyUnPs1a61Nm+m8ymFSGP 1GlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=Fk96FSSKbG9qMvC9lGqdJeGaUURuo/7LTy2x9WFka94=; fh=sUIUDSRLPnoDTcyC+NG/apWxqpmg9gT5rxu7A6nGf6U=; b=qz33GSWjyI/xW72OyY+ifcUlm+fORBw8EEJlSdEM8Wuu2NMW5R1hvcN84Mliy5dLv2 REd8ohZvA137IX6GAYOaCB0OmIxPsfRAHG3Araw06OHUv6ZG0IiHyZUemMCLEs+AW6p9 +GiYPlKsK3i1Ols3ZjZ+Q+sF91WssnBJ4NIQOmJ+3cYS0NLPeIci4vdQtiU46Y3bcDNH TPuzvWKf6wMUyhl9ji2Lo0xK7ygF46C8GW4DasQWbMlRFiKwdkevS53hZG79F2nk1mAU S+lPqeLqnBIjSNTI9vGDVTZP0nLrAjXLHx/9/83Uxm6FXxTLttD8V7Mg95xHSWBa9cdp Srxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="joCh/hq9"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p3-20020a05622a00c300b004317c3ac9d5si10624987qtw.264.2024.04.15.08.49.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:49:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="joCh/hq9"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145486-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1BE931C21199 for ; Mon, 15 Apr 2024 15:49:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B18797E58C; Mon, 15 Apr 2024 15:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="joCh/hq9" 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 DF15B29414 for ; Mon, 15 Apr 2024 15:49:07 +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=1713196148; cv=none; b=FYl4q8L/que1U7pcP0VPDUVbn9Tgg6teaykaqM3ka9MLXVZbnNqR+5PtnrHNQJ85WxqXsIU5cf9BD43GELMLCLOHY22UhsTOcSGkt8TEKBdn2tzxx+sNUIKlv26oT3rjNvsIrrSaoKzfll/nyqskpX0ZEHzeAeCARr5KDPlC8+c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713196148; c=relaxed/simple; bh=BJXjB4r8u0vb4Jwuxwghtyi9WRN5rvURICx0OP1Z1io=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=f7p2CJIr9rkrhQvuEfavkTDUv0VYbW9gLynKiEPgNf3mfWPGANRt6IhrypUi0U80UbAjB52szs4I1Z3/o+xNIGASgxahFk+z6wl0TdA2dAWz/vUtRQjVpSNQ7dFGZTQUlsG2NajqWurgxM1tzndwH9doanvfFu7HIb4n7Hw/gGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=joCh/hq9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F75CC113CC; Mon, 15 Apr 2024 15:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713196147; bh=BJXjB4r8u0vb4Jwuxwghtyi9WRN5rvURICx0OP1Z1io=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=joCh/hq9tOzj6rQAF98jynVX4S0K+b70h1HXUwyOAd9QJgy1Y+AQInX4fkHj+qVHA QnletxDqJLaMlTKAI9gq0/9GwL70u4G1LyHSKCRflUhmI1b3uLOtOkeiicJ9alf2Pl am7MlrbTF/aB4fOa72+vRYSXuOayo+NSGvqMTOZulHBD5hi9a6VuS9qRK3iMRV/WoB QadCiTi6dOMmLq1iTlNb7ySDygToYF+YWn9rq5lV4mjjPx56kuM4fRfj8uguk/F5HW 1T/kn2bXe9lWxAX4ro8rjgAH4BoX7ggwa/ukXdlIkn1zyQLC1HcfftexYuQxer1wc1 SdNjx4mImwP2A== From: Pratyush Yadav To: Michael Walle Cc: Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH v1 2/6] mtd: spi-nor: get rid of non-power-of-2 page size handling In-Reply-To: <20240412134405.381832-3-mwalle@kernel.org> (Michael Walle's message of "Fri, 12 Apr 2024 15:44:01 +0200") References: <20240412134405.381832-1-mwalle@kernel.org> <20240412134405.381832-3-mwalle@kernel.org> Date: Mon, 15 Apr 2024 17:49:04 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hi, On Fri, Apr 12 2024, Michael Walle wrote: > The Xilinx flashes were the only user of the page sized that were no > power of 2. Support for them were dropped, thus we can also get rid of > the special page size handling for it. Looks like the Xilinx flashes are the only users of flash_info->page_size, and params->convert_addr (along with spi_nor_convert_addr()) so those should also be dropped. The patch looks good to me otherwise. [...] -- Regards, Pratyush Yadav