Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9186423rwp; Thu, 20 Jul 2023 00:26:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGB3hg6Wk4TbmfY0tJuKOoAEq6/cVr2PVy5unHbYlywADDc7f7KcqTfJuSZi5kWm2f3kTY2 X-Received: by 2002:a05:6830:1197:b0:6b9:35e6:9ae7 with SMTP id u23-20020a056830119700b006b935e69ae7mr1990739otq.5.1689838006720; Thu, 20 Jul 2023 00:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689838006; cv=none; d=google.com; s=arc-20160816; b=zqMUIreD8LjZwDuZfSrXHU8JGsw+ublg+UhLC6Ae6pvHjAIH9fgakMC5cWqD0pu2IO FZt/iN30u667IDO1lBaEjijdPiA/NTCtEMN0CqpdMXZp0vuD9R/Pb8FOJpJwDNHpEbou ovgqd4mOEgUQ0wzdlMlBzvZnKyfkDAjttgt0wWRVLtxQJHvrkZHeDKGFm3Hzo639QkG8 /9JQnn1A3Xg2L8XvNeg52rqI9Lx3wc9BiG46qd0yz1DEBsq4fgA4TjVoWpuMxHxQZSsF PgaAGkKoFmvTBCJ6YVBoG4c6pRur4CjdyW1tjalsvHFjRNwfPRMGebeDWh0FYTzChv65 F9Yw== 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=Kbhmn8oR5OOV5tSBbW4U51FnK1m7BQc/34zgRLjEx8c=; fh=znJ/+xsNiUMsrKcIV4AU88AmxTDq6inGAqNdrhmyYF4=; b=0eUqzhbEeG5Q6k0SFJuvzZg4jubLbRFVqzO+ehRn3GtMfARybvHz61QOB6aAYuMHNr bcgM6sza1V2N4wTV9LZTnR9Yduw8Jolho6djXzS27XaF3zNNanUjeHSjn2LTlySCbDNk GMg1XWOVqRSum+6uB/cxhvrYCq+OT7ra/tGHD8bttOEXfD6aYMFEWH9TvOi6D/PPODlA PdAXqWMVROmFmiD/TU1S1nP12YOeySALregS7GOX3yL+gWoQmntbthDdxnOrTdjk821A WAvxMEFezhAZ033ujmLj1RDmSW/7YxsMq+4LCvrLjtboOIuNBZFfBQrEtLntYxWgVzTu LvCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1BatbgoY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f6-20020a633806000000b0054fd06a3585si274978pga.158.2023.07.20.00.26.33; Thu, 20 Jul 2023 00:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1BatbgoY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231587AbjGTHKy (ORCPT + 99 others); Thu, 20 Jul 2023 03:10:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231175AbjGTHKe (ORCPT ); Thu, 20 Jul 2023 03:10:34 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2842D272B; Thu, 20 Jul 2023 00:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Kbhmn8oR5OOV5tSBbW4U51FnK1m7BQc/34zgRLjEx8c=; b=1BatbgoYaxGUMsm/ICuM2NaTuA usabJD6Bep/k/pJH0UL5dnBbCejqVqbafRBrW4zKeYuCzyDz5pPULpcSP2JthxKZsKY1CO6RT84dd 2dvgvI8CSwdKGJZwDfI2VnuL6bASksfAW5b2w5+mPVMqfz5mV9QPkVi3/MvSEEf7lh8wvgzGlROyi 37Lw/86YaiM69PNteAGENc1AINpN7I0Eg/3jyrBzzqFUdhI2adH8DYmo9E2Hr1RbTZa73oxQLXW9p lLnQ0xcXM3aFjd3CTntqkAog0teBYsTq8dzt3ht6pTjjKim6/BZAsZfDAiNfjrWyHDLpX2FOTYufG REDe2+aQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qMNmf-00A3ta-0l; Thu, 20 Jul 2023 07:09:09 +0000 Date: Thu, 20 Jul 2023 00:09:09 -0700 From: Christoph Hellwig To: Daniel Golle Cc: Jens Axboe , Ulf Hansson , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Dave Chinner , Matthew Wilcox , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Jan Kara , Damien Le Moal , Ming Lei , Min Li , Christian Loehle , Adrian Hunter , Hannes Reinecke , Jack Wang , Florian Fainelli , Yeqi Fu , Avri Altman , Hans de Goede , Ye Bin , Greg Kroah-Hartman , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [RFC PATCH 0/6] nvmem: add block device NVMEM provider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 19, 2023 at 11:01:14PM +0100, Daniel Golle wrote: > This series is meant to open the discussion on how exactly the device tree > schema for block devices and partitions may look like, and even if using > the block layer to back the NVMEM device is at all the way to go -- to me > it seemed to be a good solution because it will be reuable e.g. for NVMe. If only NVMe did something sane there. NVMe copied the completely idiotic idea of boot partitions from eMMC/SD, and made it even worse by first requiring bit banged register access for them, and now adding a weird admin command to read them, which is not bound to a block device. If we want to support that in NVMe we'll need code in the nvme core, but I hope we can avoid it and no one sane (that is everyone but the completely clueless BIOS people at Intel) will never use this completely fucked up boot partition concept.