Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2493188rdg; Mon, 16 Oct 2023 06:20:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGATikytJtQ2BUKwVNAeappcyL+sgU0Xbet1EfqO88+mGQkHleObD/Qw0Z8QqMQZyVFSKL0 X-Received: by 2002:a05:6359:3081:b0:166:8ee7:ce39 with SMTP id rg1-20020a056359308100b001668ee7ce39mr9037817rwb.7.1697462422693; Mon, 16 Oct 2023 06:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697462422; cv=none; d=google.com; s=arc-20160816; b=o36ykDi3MtE8HZ1zwBke1g1ZLapMXkZtxJSC1Q0IhxGbKITsIKnh4W4iePB7MjoDEI bvLWMoqfvMeCpx84GLDJfyACn1PlFzG5ve1ndavMxy/q2bdBxGf1TH7jExW7auMlYgp1 QgPAxtJ/6gk7Oqom6fRtBiu0Ng4EXkyFGn/k6DRw7xhfKkeRP4/2SEDy4cBOCCTJszXj +ygfQmOyzftv2GsPJiVT8o8DRroAkJajQKcoX/Nk6+dp3jYDrJhprUmxz/hVa6Q1cvix uKlXXZX/zbTqIQqko8CMYYEg0dXg9MfvdRZ2iSTa0q8rgbfh9hnLANsxvPxkOWcYlVY2 pRkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=TsDebEKYkKeBUWqr02QKvRadEUo04ZPXTNUp84jGINg=; fh=8DJ5n78Y3KMqiPJjH5t9YSA2EEZ4qu94IhVTrzqvIpg=; b=npVWma6LEdz2U1obNhw76TVAkbnv30lZYbWKkd2rNtsfj4ajhS9pKJJKsLzkZCQVVp WVB4Un//WOR702+d7ILnHrymJ5Zcd/uFCDMFVhYvH2/uiY5nKNUWavDe4KTx1zS4BHfz 7iKXY0OeTRGEEeSL2jaBaCmsYrXryDRf5snCcyQzo7PWZN9f5Id9+f8qLXn5lBhQWOqj ZNUEb7LLQrD79Mbz2vbfgdHmGGlUHS2OAkjUQepNK8CMYejruAjUAclHyGB6M+u54ns8 ZyuDu0oHLIXobx8RE5XJy0BILlpj7IqURbUlcihyq53CjQJ3cYJVyp5R7W2IJR+CMfcV BKXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bv130-20020a632e88000000b0056b0b30d05csi10394956pgb.245.2023.10.16.06.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 06:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9BDCF809ABDF; Mon, 16 Oct 2023 06:20:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233100AbjJPNUT (ORCPT + 99 others); Mon, 16 Oct 2023 09:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231896AbjJPNUS (ORCPT ); Mon, 16 Oct 2023 09:20:18 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB5A89B; Mon, 16 Oct 2023 06:20:16 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 71BAD6732D; Mon, 16 Oct 2023 15:20:13 +0200 (CEST) Date: Mon, 16 Oct 2023 15:20:13 +0200 From: Christoph Hellwig To: Milan Broz Cc: Christoph Hellwig , linux-scsi@vger.kernel.org, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: use ATA-12 pass-thru for OPAL as fallback Message-ID: <20231016132013.GA26925@lst.de> References: <20231016070211.39502-1-gmazyland@gmail.com> <20231016070531.GA28537@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 06:20:21 -0700 (PDT) On Mon, Oct 16, 2023 at 09:24:16AM +0200, Milan Broz wrote: > I think it is blocked in USB layer as not running command enumeration, > SCSI SECURITY will be never sent to the adapter through USB. What is blocked? >> besides the fact that the statement is fundamentally wrong and you'll >> start sending ATA command to random devices. > > So what do you suggest? As I said, this exactly happen if you configure it from userspace. If the USB maintainers are fine with it add the translation to usb-storage as that's where we deal with these quirky devices usually.