Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1301698pxb; Wed, 20 Oct 2021 02:16:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBSMdBcoiR20AQgd7jHOzY9OxMb63JAEjhXyCZcr3xT8NZgB5RCUIS1OsyPEivf81erwsD X-Received: by 2002:a05:6402:2550:: with SMTP id l16mr61361133edb.229.1634721399258; Wed, 20 Oct 2021 02:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634721399; cv=none; d=google.com; s=arc-20160816; b=w0Tyni4j7TGVigkwBaztGFtuE87QE86UmD9foIRSnSfC/1TfY5qexBEWi4jXsngP5p yQyzjNBWoN3mV0i9HDiF+sPBi+j+OMTah8n/pWY08ElFWrfaljS7dT+0mP+bSgLTO1du ICCEycIAknD8NHCeOZBMfstQTwtdUq9Aa4WdWD1R/B0U/h9tXQJgP9IHfgQ+/IUV6wTn gq0wGSAff2UbRGn3vCNQnuEoHEzVEQrVIeBiKtvSeh8jKn9sQq/lAhpSoAX/EGR07miy msygXQlJ4cqdnKdidL4Ilw9YyeTbYfa+N0sVf7rh+4OcvzDnvxYyJwZRRwn/xUg06ZOK R+Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8K3ygVqOxSTtAbY6TmLW48FCyZ8rLCPTQMoVEECODx8=; b=UAckCTAUfuijL5Dyafp9te0oW1qBrOwQO0Y7HUbAEN1ZqHmG9WloqOsArTjfpSAYmh 2RlEThQqxvypbIv5t3e5Zs+lSbdCyFKIFhiVR7FxdfyoLKL8JqCZ4bAO+ZHJhyhnjAvV WjSd5+LPnFK18eLV92XWDHzAEma9YI00xyiL3ScvkBIloOAMAH/i6hlZ9Y6YLWDqEWTI v9TBf1RlcnT9esSivJBMfmrMHCbOXNjoGFmshijscqbnuJsrkmvYLQzIUjaxTwujPBde HT0RHa3F7XwoUxpAATe7jyLd5Zm599tDtxAPLtxL7lVx6mmN2B/U1YfjStbEWkmI9QSt vDiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=first header.b=i4srVLdE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si3383143edd.70.2021.10.20.02.16.14; Wed, 20 Oct 2021 02:16:39 -0700 (PDT) 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=@geanix.com header.s=first header.b=i4srVLdE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbhJTJQh (ORCPT + 99 others); Wed, 20 Oct 2021 05:16:37 -0400 Received: from first.geanix.com ([116.203.34.67]:37396 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbhJTJQg (ORCPT ); Wed, 20 Oct 2021 05:16:36 -0400 Received: from skn-laptop (unknown [185.233.254.173]) by first.geanix.com (Postfix) with ESMTPSA id BA31EC7EE1; Wed, 20 Oct 2021 09:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1634721260; bh=ZabwtyWaVUk5ppsPWi4gApmZlTAIjycNIe5rm6VQtHs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=i4srVLdEtbJ23PO4E2matoE2PZy7M6NVHaT5kwgviXCeKwl/odiN0UwbhmxcL6Sex 9LzP9zgOKJNXRvJJArLCLHeul4oW8EfhjYPuaZKfFXrBrPtQHbQwYq03iQR7xnb5D7 lF/uXBTpFnV03kmsWsvZwhJjH4UKI+FbSIKBE1W/3yan9OKWyvI8SVmgwgqs3pVPwj ar0FbtlIY/2ry4+by82gEmhYgtLt/0YUCSY1DpNp4vL3+9Tf2J+sDWQ78M9FssoDJe /ymJ0WY9gIv9G0nM+CKkM2xkCE//osuIFZDM3LpAOaaoLmX2v3bRj3jDW331NIzvwy EvOQUysYwZgKg== Date: Wed, 20 Oct 2021 11:14:19 +0200 From: Sean Nyekjaer To: Boris Brezillon Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Boris Brezillon , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] mtd: rawnand: remove suspended check Message-ID: <20211020091419.2ufd4modeopmpxsp@skn-laptop> References: <20211020084534.2472305-1-sean@geanix.com> <20211020084534.2472305-4-sean@geanix.com> <20211020105743.225d97f4@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211020105743.225d97f4@collabora.com> X-Spam-Status: No, score=-3.1 required=4.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=disabled version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on 13e2a5895688 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 20, 2021 at 10:57:43AM +0200, Boris Brezillon wrote: > On Wed, 20 Oct 2021 10:45:33 +0200 > Sean Nyekjaer wrote: > > > Access is protected in upper MTD layer when MTD devices are suspended. > > I think it deserves more explanation. > Access is protected in upper MTD layer when MTD devices are suspended. Commit ("mtd: core: protect access to MTD devices while in suspend") introduces access protection, so it's safe to remove suspended checks.