Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5495706rwl; Mon, 3 Apr 2023 22:19:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZDvgy16IZAAd5wGZkwbc7YYqdKE32CneEZ5FzJ4Vw4f8ElNfsLe7infVFFdPDGShMKm2dh X-Received: by 2002:a62:1847:0:b0:628:f0:51d4 with SMTP id 68-20020a621847000000b0062800f051d4mr1049874pfy.11.1680585557728; Mon, 03 Apr 2023 22:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680585557; cv=none; d=google.com; s=arc-20160816; b=QpsxvSrGxZsZmViEbuwIzxn3gEjx7XnBZD7VdBAdZDZUv/aXK/KbwPR1cYfrSWsnB4 22L2L9oLQOTJrQnA45hQjMCQD/Mo6GFbQtp+cy2016t7jLhkeDkpBxRnf3lZfV9oAHuI 1+WdNDD5kWTZBL0FbnEg9q5pEdpWDoomd1N68oz1fbCpXOv1SnWopTyqP3ZnijBVi/ZF FzFIh0LGjkc+tQ31pLcdbl5FuNuLuWrR50gAK1yhGwF4t7LpEq+WBsr0507gCwR/iRI/ 2eVE8Jd3uah/f9E2ar/TfiCdoa+ofsFTuy/9SeIpwxYQqCGHSIBxfq6itPuz+vJtd228 MO7g== 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=ut/HHiiQrH+6W0fyNTzlPLqVjwvFGjhl8TQKbK7Axd8=; b=QTVhnHlkNqkR9HdI12XmSA3FXIBAeO2VFr72WrY4RDxUnS355L0mMRnkEv989YC4qN /K7AZ+QzXNEJdlWALHD7wYd1GYrqo5zQgnOXKH+KyGUamIUn+O0s1fj9Ef6vlQRGclZK 7QswQUHZ8orK9EN9YjQo7MeB2IbM73a/GJjQ/YRY3jpNxVIny+cD+C4/iFrYaZ0hKVE2 IAWNMsTwtDboThZHxjFEuOce1zpMNqg019isQl+SkzDJipvPjWthOmmdXIuJvmFaCdev HFQO15bUK7qSHoysSnYuvSoNF0Uzj4N5b61td4pF1oMkD/G28B1p4x0nCe89aQiG5qXU JRKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=cvt1TTlN; 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 i64-20020a626d43000000b00627ec836ef8si9487200pfc.235.2023.04.03.22.19.06; Mon, 03 Apr 2023 22:19:17 -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=cvt1TTlN; 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 S233150AbjDDFNh (ORCPT + 99 others); Tue, 4 Apr 2023 01:13:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjDDFNg (ORCPT ); Tue, 4 Apr 2023 01:13:36 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AE651739; Mon, 3 Apr 2023 22:13:35 -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=ut/HHiiQrH+6W0fyNTzlPLqVjwvFGjhl8TQKbK7Axd8=; b=cvt1TTlN26TF0cgb4rh3Co3+FV vgGt+d9nsNFdZA0OBl2JW2+f+rlG+bw3OzuT/xkbwMSNULqu2B+8kd4yd5LMOZpFrAU+FnDkfH50V Yi+7olMD/3cEKdoLb8h3Op0QIyT+VBhCVxx2yPsYSqhcNUPlKTY4NFa7HtTLBH0PtLjqYyD5CbD4B zGQVl7zby2llmO7PkNfUmL1BbJhHTToGJLPAvrMf9WXSjvIb8o7Ycb32CGIRr7hIJeYdm9SEnOZWH GNKOvNGAg7VM6ob196o6YtNtYB4kXJlsm4dlL+uIPFZxzebEU86GVqfKKnPUwn69aShqrqKHYL/Or bti9d84g==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pjYz4-0004jo-1I; Tue, 04 Apr 2023 05:13:30 +0000 Date: Mon, 3 Apr 2023 22:13:30 -0700 From: Christoph Hellwig To: Sarthak Garg Cc: adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_rampraka@quicinc.com, quic_bhaskarv@quicinc.com, quic_sachgupt@quicinc.com, quic_pragalla@quicinc.com, quic_sayalil@quicinc.com, Brian Norris , Wolfram Sang , Linus Walleij Subject: Re: [PATCH V1 1/2] mmc: core: Define new vendor ops to enable internal features Message-ID: References: <20230401165723.19762-1-quic_sartgarg@quicinc.com> <20230401165723.19762-2-quic_sartgarg@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230401165723.19762-2-quic_sartgarg@quicinc.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Sat, Apr 01, 2023 at 10:27:22PM +0530, Sarthak Garg wrote: > Define new ops to let vendor enable internal features in > mmc_suspend/resume paths like partial init feature. 1) vendors have absolutely no business doing anything, you might be doing either something entirely wrong or use the wrong terminology here. 2) any kind of core hook not only needs a very good description, but also an actual user that goes along in the same series.