Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp449474lqc; Fri, 8 Mar 2024 02:11:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUSCLrlr1YIOoX9yvEDnP0/uI9FxymO8ygyLArZgaHGXwUym8i/k0i2/aqouL+JSm82NRdwbCi3oQH7nscKo/+PSHWDKSnUDDAHglZLVw== X-Google-Smtp-Source: AGHT+IGdrjvfe4+sSsiflVZBfg0B/rJZG1kDJkRdrLRbytrEXJ79cE6JO1cC3IfliMg60UfkkoXf X-Received: by 2002:a0c:e088:0:b0:690:50c3:9f2f with SMTP id l8-20020a0ce088000000b0069050c39f2fmr10126321qvk.16.1709892677780; Fri, 08 Mar 2024 02:11:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709892677; cv=pass; d=google.com; s=arc-20160816; b=XZ0jdGq6lDmLa+TInkALGB/9vOSb2MwNyCDiO5nCs5zmlfRLi4WaPcaTgQP1d+Bor9 SnsDQlGW+FAHIlK9DBKJtN1LU4TRSzB3AkgFNvocvkataM6nT2M5/CCw/4BsdBp8YjbP hSAbINIfQzbVha/xDfRGUOGgu6l+Xy4A1LGG7JRC8YixU1WcfRgg1ggpIE0+NjIiPLdk 9O07iNSTscRDqWo7ha/Xi/gu4NpCr9UcRmaaeXR3FYKEa9qp5S/bebyf4rZaVptkSwh6 6VLzJAw6QKENYviO5cxi4KpO0kluxdmrsMxoVNpp62Al0SjII6yoMOoyYvHGGFwf0vEm ccjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E6WjnLLx6zYRpTwQTbmug8c95AoZuaTzD1J7HHk5gME=; fh=qi4kBeskBymI5w6NsMzc1dDuT1ws3vjEt5D3JlipxIk=; b=hpBbvSI563mmgwv6qTvEAAV7wkYZnhejvjgKRR3NLte/PstR5f0IBiJrXTGVktcOOY ETy8zxsNYTlIcoCMtFHKUp+bXqqBYhoPLbmjIlPt/2ejqMZInzFfMX8mcT+BFL3LshwU Grc15e19Pm2bwk/1cx9JomGoCNf0inE3fR79NdPJ/Rsawvr66IqUSZlKXKJKb2dvZNDP R8525V4DvOG27Y11jgwp1CAqDbEy3GkunSMy3cyZml6oCX7o2eDMkPLfKMi+OnfQ60zU RD/3K5SVCQA898sYbcrDouMiqcDYOfaRM8G8YrsmhzAMWBITOguYoJMxJsDrhNo7bB3z I5iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="i9zibUd/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o5-20020ad45c85000000b006909f7b126csi3373500qvh.375.2024.03.08.02.11.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 02:11:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="i9zibUd/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 709C41C21F3B for ; Fri, 8 Mar 2024 10:11:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E57B5577F; Fri, 8 Mar 2024 10:10:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i9zibUd/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AF1653800; Fri, 8 Mar 2024 10:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709892619; cv=none; b=AfHFE1GRikcshO1C4YVJCx4f05bK3hMYnd93FPyctbXGTWdVHG6S13OAoqS1yZzNCrdke/7fB6hKG0XgoI2Gm7/qsbeWA1z1qGJ87bnH86t8o6m7KAW0RiKj1WXum6eACbRnLKSIX85w8AejEWbUbyiVZt7rDuhfZyvd0ZnEIBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709892619; c=relaxed/simple; bh=yFIHiCNxp8CTvLs2jBeRYcIY14xPQMn4i3TCqU6alQQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=t0XgSCKlY8p3Cl7/81o3AP9NvJqsa4r6LSlJJQlkwprR0aMSPRYKmvfknJCFZYQnhEiOL4ULIhjwHL/xJ45+R9cXaESp7fnGab571KB0+cUYgTFwa/QbEQs05JCdZSSWbu6I7TqiIztpdQ5P5+CHxadIiB1AwN+Y18uOcxSdsKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i9zibUd/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41BF2C433F1; Fri, 8 Mar 2024 10:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709892619; bh=yFIHiCNxp8CTvLs2jBeRYcIY14xPQMn4i3TCqU6alQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i9zibUd/qJT8SFy1GTnqSv1/p2uq8Jw9B1GvdSAqQy8MqbUreNS6lFwTB5oMEstkK 7xLNBEV57y1+ZyMvhHkmwGKBTt02f6Dp7DDs4bs77DmT9JGTjHvr5XqUnND850LaKF TlyN1/2Cv9JQ1kEuROHuDO8x2JK1e3Yt4qYZDNBt2rzAYDo7VWq4/reYet7L8c/0pM uwj74VDcSFvZ5EZF4tgn6MnfteTEt5CmeeJ8XqacCKnO/tkRQNkEUlVKU/59jCGQjA Oinyo+56tu8nF2bxcASk3Bi2x44V3uC1ms01ktuY+KYrKFdDZjKQd8Ho9YYZ6B+r6l X0+Xwo+FvD+rA== Date: Fri, 8 Mar 2024 11:10:13 +0100 From: Niklas Cassel To: Igor Pylypiv Cc: Damien Le Moal , John Garry , Jason Yan , "James E.J. Bottomley" , "Martin K. Petersen" , Jack Wang , Hannes Reinecke , Xiang Chen , Artur Paszkiewicz , Bart Van Assche , TJ Adams , linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 2/7] scsi: libsas: Define NCQ Priority sysfs attributes for SATA devices Message-ID: References: <20240307214418.3812290-1-ipylypiv@google.com> <20240307214418.3812290-3-ipylypiv@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240307214418.3812290-3-ipylypiv@google.com> On Thu, Mar 07, 2024 at 01:44:13PM -0800, Igor Pylypiv wrote: > Libata sysfs attributes cannot be used for libsas managed SATA devices > because the ata_port location is different for libsas. > > Defined sysfs attributes (visible for SATA devices only): > - /sys/block/sda/device/ncq_prio_enable > - /sys/block/sda/device/ncq_prio_supported > > The newly defined attributes will pass the correct ata_port to libata > helper functions. > > Reviewed-by: John Garry > Reviewed-by: Damien Le Moal > Reviewed-by: Jason Yan > Signed-off-by: Igor Pylypiv > --- Reviewed-by: Niklas Cassel