Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp137952lqs; Mon, 4 Mar 2024 18:44:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWsJ5xELxaTcqnamJmkl/z22SoXINsBvHY7CSU31vLvtq+6YXwNLCNxN7ZRfsmCmU9uHfuPUCVhDkaJs4qMJm7kIZinx58wqdvy0/JpHg== X-Google-Smtp-Source: AGHT+IHPmrmWhdHYBmVLULvrBMh8fuLB+xfw0w8ryWjOLeKo0fmxIw7wtlOjy8tv2zv6MBPFsbuR X-Received: by 2002:a05:6a00:1a91:b0:6e6:2017:281a with SMTP id e17-20020a056a001a9100b006e62017281amr5666481pfv.8.1709606662863; Mon, 04 Mar 2024 18:44:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709606662; cv=pass; d=google.com; s=arc-20160816; b=pEDPYB5OuNZzQ418AGq6haOyDYXkRRDcT2a8w+5MTX3LEscRF6HJWrdMNsyFzOYljp +5j6u0T7WuDEgX4XZYJw6FAJfr3BVj8f9VpFsmFWnCiGCAFeK50kj5Kaxg2JncQaePn2 tRXjRF7qBFSW4oS60+7D3ZwzgFD4Bf+QO08I4TSCN8nLoGSvh5xqhHj1zrHpX/CSLMMZ mN5wtg/xbWsMV+Y7ryXCJJN0/NxmUxsN2LtSyMUkm0I944ocmbx+S57KAMmIrjA8pAnO C2SxDFI3umQoHlPlx6Y/uVeTtx/7DJ1ZzxBdkaFYTG20myLxDbFVwo256GZ4WeK8V8fp U1nQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent:date :message-id:from:references:cc:to:subject; bh=QDRuX5USp0sSnxZe7V9b8wSocNaYlJLpPEiLqAuuTmE=; fh=rLay67Y8/uaKj6SaEHEx9s2OxnrRtAiSG5Ws+aWrjVA=; b=g4M2FJbfQmo5wc3rrgjpm20sPA1w5VLcccBCzIT+k9dORoPXAzzKGxPK3sFBNAHpNc PgcPGglEsBbScrsikLO76jwnPQ1nN7jq/KottAH+endkk9fpm4zOLPEg0qHQIb/RZGov v8e06yDctKXeHRyg6JC/Weq74vqRovsRAdaaCfLlfW7snoZwn/QveZRXFzN33ehkU66g 4Tu1jv8dwXN0XCI3fGNlxvypfJiTvcE22DlVJ9vZbxmM6xgBfVRYUc2SLHTfoSM1sd1s PD4CbO/mcDi8B/vjXCPhvH0KCWAi5gJ39V+vHifsys78wcGWHumyAEPvQPEpRAYCbTQj lkLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-91569-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s5-20020a63e805000000b005cdf801a27dsi9044828pgh.198.2024.03.04.18.44.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 18:44:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91569-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-91569-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8A65C282555 for ; Tue, 5 Mar 2024 02:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F64D28E3E; Tue, 5 Mar 2024 02:44:14 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (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 C8C7929425; Tue, 5 Mar 2024 02:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709606654; cv=none; b=FZnCKZRhIt2IuZHO2ab+BjaybqFlv0Sc0mZaqKifWJI9ybxsXsAtuYM5Y6oM5M+JY9aFqtbcO2P4GhFqm9VDScDvdffblAmZNompjSPEc7++OU0Z+NoNMaXiPaNGyXrUJ3H6B7W551bLZvLBq7x+aVRqZTf+SDW7U8Ycs2TJnVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709606654; c=relaxed/simple; bh=xtQZj/TLnOzexfc3McXZwu76opW9oPMZb3LK8UeKohw=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=eV5MMZqYu8CvXqjoJhCjmY8E0tb5GdcY2NIuPhMcsAfyHIrWoKPcP4kE+9RIJaBBzgv+guNRosjzcDY0Itvp6f8X0Y6tOpfufIYBp62RyH3/ZOvhjvo8fD+1h66RYz4k6NS8GOOZGft5IWd136Nu6CM0kg+Tz7kKcN64NpGK5QY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4TpfwD1kxKz1h1L5; Tue, 5 Mar 2024 10:41:48 +0800 (CST) Received: from canpemm100001.china.huawei.com (unknown [7.192.105.122]) by mail.maildlp.com (Postfix) with ESMTPS id 079351A016E; Tue, 5 Mar 2024 10:44:08 +0800 (CST) Received: from canpemm500004.china.huawei.com (7.192.104.92) by canpemm100001.china.huawei.com (7.192.105.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 5 Mar 2024 10:44:07 +0800 Received: from [10.174.179.14] (10.174.179.14) by canpemm500004.china.huawei.com (7.192.104.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 5 Mar 2024 10:44:07 +0800 Subject: Re: [PATCH v5 1/7] ata: libata-sata: Factor out NCQ Priority configuration helpers To: Igor Pylypiv , Damien Le Moal , Niklas Cassel , John Garry , "James E.J. Bottomley" , "Martin K. Petersen" , Jack Wang , "Hannes Reinecke" , Xiang Chen , "Artur Paszkiewicz" , Bart Van Assche CC: TJ Adams , , , References: <20240305005103.1849325-1-ipylypiv@google.com> <20240305005103.1849325-2-ipylypiv@google.com> From: Jason Yan Message-ID: Date: Tue, 5 Mar 2024 10:44:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240305005103.1849325-2-ipylypiv@google.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500004.china.huawei.com (7.192.104.92) On 2024/3/5 8:50, Igor Pylypiv wrote: > Export libata NCQ Priority configuration helpers to be reused > for libsas managed SATA devices. > > Acked-by: Damien Le Moal > Signed-off-by: Igor Pylypiv > --- > drivers/ata/libata-sata.c | 140 +++++++++++++++++++++++++++----------- > include/linux/libata.h | 6 ++ > 2 files changed, 107 insertions(+), 39 deletions(-) Reviewed-by: Jason Yan