Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp986165lqs; Wed, 6 Mar 2024 02:57:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV/nh9+xRvg2j11xZKN1VZISAoefFq/2XArKaMebvPhN+f7oqvEvsXoCe+xaxFc3lb8fNb9a1leiBDgpCZhtSo8RLQAHIsDlh7WoyqHUg== X-Google-Smtp-Source: AGHT+IG5XMOFs3vI3DzbV62XGoTjq6AzqywmApf6j1C6QE6ntGxFwgBgna+yBlENNGmN4P86R+le X-Received: by 2002:a17:906:d156:b0:a41:392d:e11c with SMTP id br22-20020a170906d15600b00a41392de11cmr12231139ejb.26.1709722671632; Wed, 06 Mar 2024 02:57:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709722671; cv=pass; d=google.com; s=arc-20160816; b=QogqDeEbbw+8/VWdkePwZxkPsBY+8lV7o7DkxPgMPNnxURPsrkeS4lqv/gc6C7za2+ GxD/dZKDCbKFYIGh5hv6SZdrkLKh0PoKr9eR1bCBBXT9wKvCCVBk+qx3SZwJ3Lvvm+s4 pOtHUfwpBTv2I+CWW2ykiRyMiINuR/WRbcNf4ySfI9E9WOnoXJjlHqEt/rQLPzIJkSRE 5xwJ/vqPdC7tfdmVkkQiSuk1cfj7aHXU/Bn1DBV9vuSDgoqc3brQy9KAoLMcL/cXJhIl 8Bu6zBpv1f+8o9KbQQV1ZR11KDexXtKjAEa+xDSSh0HevkPbzRT/YdOnLeXC1Ko6j/m5 cH2Q== 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=2bNk5ea1bVoC2pD6fkRo6IYHL60NjVvppHSqZ+oKLyg=; fh=qi4kBeskBymI5w6NsMzc1dDuT1ws3vjEt5D3JlipxIk=; b=D3I6JWzfdi9jb7vqJaHtATm1Xlvk0JLi8hZy674XVVkvzZ3yAloUNyenDjBjVnDwLT BecLRPtsYEmviyXbEuQ5BgKETiDCssZ4gKckJtpfQUhOwjRP72K9G0x/44fOEfxrczUy 50OY23oW4sUifeMfnxA6AYlkDE/etWQrO/xkxIO2gv7ZASOMABSK/KSwps/4vXBwUWmW Eb5oIIqzkXvT0Q4M9ef0e/YuOcBXJCin0DmQFNh5I5yeXUDZEYY1c4Dr78XIAKFUqdym frzOU2BGJ9zgi035J2gOZ/B15ELQBQzAAdnI3/026ZNd9bFAbrwJFTJyOrYDHlHGTO6I 5BkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XECsnAPh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93816-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id go40-20020a1709070da800b00a44bb2ecb59si4610228ejc.143.2024.03.06.02.57.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 02:57:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93816-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XECsnAPh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93816-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93816-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 am.mirrors.kernel.org (Postfix) with ESMTPS id BC1311F269A6 for ; Wed, 6 Mar 2024 10:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F5E074BE7; Wed, 6 Mar 2024 10:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XECsnAPh" 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 72C9374E3F; Wed, 6 Mar 2024 10:56:05 +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=1709722565; cv=none; b=pATur0I+jbLgS9FGwPPSL9cefuYtGcriwsqiEfAjxP5AUH/6OiOyGhASuqUSClW/dM22+XGdrgD0pfhCMvZhokY7wdWBYGdd3dNfWEi75pEqkBFfxd6qt4Ntj/3KCpeJR4V74k2vmykkERgnXwGJq/anSwA82gWOUQbIZWKHfAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709722565; c=relaxed/simple; bh=qPLE9pnjp0gZWz1pq4YlCO7VFKBFUXWYe4LM/H0qIIE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZpIf+k12OxW0047Wt9NBIEYq5FN4BI3+X2QgWoLFOcJUmNDSdsJ0Q8ac6T83VSahDPiPnStqiNHV5n2wDUewqQOiDijFSfpgT71HaVUWKIBSGL0bVwI2QCvcEsRfTKt9zIBOgg8mW2DZurtinFEriL99XlwzH1Of1NH2kadDudk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XECsnAPh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEA8BC433F1; Wed, 6 Mar 2024 10:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709722565; bh=qPLE9pnjp0gZWz1pq4YlCO7VFKBFUXWYe4LM/H0qIIE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XECsnAPhw7UnxyfZSnhfKAn9S2k1A5MRjYeJxEWvL25mMHz1WOJ9NYaduLtn6n8Du ODpXO/pXdfUvpcNQ9R3g9JGqXcLJ4OVZYNo+E0doi1qaCg9//Bx5ZD8gRmRK9KtogL O/JRiNNG1X2IKP71RNpHnH5MRvIWalp1YYfwhT/BTzOdx3S00n9vuzIX5qiu2eOhKG Ap0QIKCFmu2BO4jUGcu7FEVtRJ0cv8HTNvuWE42UK/54htlPvbXEpHJc4mQFqCs6tO Kd22sRA/AcZ9uLuiOuasr3BJVrCat4j9ILZ2InS+ypVTcvgRA0AkEMSJ/MNkD3u9Vu uH5EGuc74ZYzw== Date: Wed, 6 Mar 2024 11:55:59 +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 v7 7/7] scsi: isci: Add libsas SATA sysfs attributes group Message-ID: References: <20240306012226.3398927-1-ipylypiv@google.com> <20240306012226.3398927-8-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: <20240306012226.3398927-8-ipylypiv@google.com> On Tue, Mar 05, 2024 at 05:22:26PM -0800, Igor Pylypiv wrote: > The added sysfs attributes group enables the configuration of NCQ Priority > feature for HBAs that rely on libsas to manage SATA devices. > > Reviewed-by: John Garry > Reviewed-by: Damien Le Moal > Reviewed-by: Jason Yan > Signed-off-by: Igor Pylypiv > --- > drivers/scsi/isci/init.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c > index 6277162a028b..8658dcd61b87 100644 > --- a/drivers/scsi/isci/init.c > +++ b/drivers/scsi/isci/init.c > @@ -149,6 +149,11 @@ static struct attribute *isci_host_attrs[] = { > > ATTRIBUTE_GROUPS(isci_host); > > +static const struct attribute_group *isci_sdev_groups[] = { > + &sas_ata_sdev_attr_group, > + NULL > +}; > + > static const struct scsi_host_template isci_sht = { > > .module = THIS_MODULE, > @@ -176,6 +181,7 @@ static const struct scsi_host_template isci_sht = { > .compat_ioctl = sas_ioctl, > #endif > .shost_groups = isci_host_groups, > + .sdev_groups = isci_sdev_groups, > .track_queue_depth = 1, > }; > > -- > 2.44.0.278.ge034bb2e1d-goog > Reviewed-by: Niklas Cassel