From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DC93CDB465 for ; Mon, 16 Oct 2023 13:20:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233414AbjJPNUT (ORCPT ); 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.