Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36734824rwd; Tue, 11 Jul 2023 05:11:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlELtDvGbV5U2UqcuibxzXNcX/hoddQJDqwp2y+sEl73CVrLW/Zgym+XS+sKSaQStO7XxENA X-Received: by 2002:a17:906:d9:b0:98e:2413:952f with SMTP id 25-20020a17090600d900b0098e2413952fmr20801187eji.18.1689077507222; Tue, 11 Jul 2023 05:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689077507; cv=none; d=google.com; s=arc-20160816; b=uP0VKUvqOOGYb3Cf9V7DzLTJ7EIWLJRBsadZlDA+oQpjoypfB/gvgH7p5/x9NBrVdW qblk7adzHDTlv3lNwVYfr3HaVybl0++qSImzn6ytdprlTPJ1v0AUNpPwzobRZuA4FTnE vMrCgfqwy6UAT/TEQhe1rh6vqXa0c0gZ83JyBk7aCgmVag9xplvIzOI6Hkr/0WfmTZYQ evHSDbzjfaJ3CcZLqRgzJQRH3asj2EBYtJeYHjSTFgbbmEdz2xDxBv/EzrGfJPzkiv8t FLP8h0rGXIwI0o4ZEsN3j0C23q8mjYoCOIbw/TcVzmQdmqb1G/LlFXAW/nbDje+MFD9F CamQ== 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=yL09riI3y2n7lRul4VrDuI7HTYzktNv07GtSRsYL7t0=; fh=MXeltGVPxBwjRorN4+ehguWRbB9y9sMXCIJnZ26ZQbk=; b=pK87gKn328gCs9z6gvZiEL3id3A2hlvKOvIgo1a1B4tVpd1DcVLnzhlzoNJcZZcMVa EcKZHc8ybN8pHDY5rHy+VlGskJZr9VxUT+YNY5DRpWsOjalegYhI1pXbaZZgq5Pr61Vv A5s0T1KhlrKDz1tXvFKSUl2EtQ42qGr/OP/Om9RepbaQN0cSPYhDJPUtQuIUIpidlHlG XJWkYlHIE72jliKBvqJxIhsaYeZJSY/+5uAhoy4exfjeBZv2h+9I7LtqNqEUdGAgMHIc eX7sHZRFA45FIi3XpAhD8TS2rNjdZVL4K95fjXCASgE31VDpLWUQJWBja+4y/XIu/2QW 74Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Omnd3pZ1; 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 r3-20020a170906350300b00992bbbb019dsi1859521eja.119.2023.07.11.05.11.03; Tue, 11 Jul 2023 05:11:47 -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=Omnd3pZ1; 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 S230402AbjGKMBY (ORCPT + 99 others); Tue, 11 Jul 2023 08:01:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjGKMBV (ORCPT ); Tue, 11 Jul 2023 08:01:21 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 789B6E67; Tue, 11 Jul 2023 05:01:19 -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=yL09riI3y2n7lRul4VrDuI7HTYzktNv07GtSRsYL7t0=; b=Omnd3pZ13VQdAteE+/Wl+iFWbD 4excywY3qxL8o1WqTyXY4FDWTEtJTLxouePME3G33IwRJvYNzGCznkmODhlCqy2NlQzfACxdeDjPm 07Uo/JYMEoa+udinX5d+QvhXwp5ebyRLZrqicaS6oLQXD7tET3mXxm+zvYFEIuip4bh2nJYiINHgG URa3jcgXMEQ+axzow1RWPz0KkfgG8/4Eiz4OxCUHhGLmLXHq7lY9V0DegC/FTt1OxWzXKhBBMcFgb wolUm0m8RtdJcv1I8sScDud3bM9sUWEoB2A203kC0akCTyMQPJ54c4Rg/AbdSwtteQhqxG+pzRocn FUt+NvjA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qJC3P-00Eoef-0m; Tue, 11 Jul 2023 12:01:15 +0000 Date: Tue, 11 Jul 2023 05:01:15 -0700 From: Christoph Hellwig To: "Andreas Hindborg (Samsung)" Cc: Christoph Hellwig , Ming Lei , Damien Le Moal , open list , "open list:BLOCK LAYER" , Minwoo Im , Matias Bjorling , gost.dev@samsung.com, Jens Axboe , Aravind Ramesh , Johannes Thumshirn , Hans Holmberg Subject: Re: [PATCH v6 1/3] ublk: add opcode offsets for DRV_IN/DRV_OUT Message-ID: References: <51b660f3-8145-d35e-87b4-d9ac0623606d@kernel.org> <87a5w3ymff.fsf@metaspace.dk> <875y6qzufc.fsf@metaspace.dk> <871qhezr4d.fsf@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871qhezr4d.fsf@metaspace.dk> 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jul 11, 2023 at 12:15:18PM +0200, Andreas Hindborg (Samsung) wrote: > And yet they are somewhat similar, in the sense that they allow the user > of a protocol to express semantics that is not captured in the > established protocol. Uring command passthrough -> request passthrough > -> vendor specific commands. They sort of map well in terms of what they > allow the user to achieve. Or did I misunderstand something completely? Well, there is a relationship, but it's one way. Vendor specific command are basically always going to be used through a passthrough interface, because they aren't standardized. But most commands used through a passthrough interface are normal standardized commands, just either used in a way not supported by the normal Linux interface or just in creative ways.