Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp8831lqg; Thu, 29 Feb 2024 17:38:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWWeue5lGcvqIUNHbFAJOT7SYizowamPJK8tbi7DiSfrNE1oqqSVVB/SU3OnL/EdxOu8dqIGochcfLWGmo44zCKKoPtskiS+XknPaGG8A== X-Google-Smtp-Source: AGHT+IEhFsxE0CbL6fOwdBwsv3JSbIzZjtItHuooQ831QNJyUhD2+aol695zZrU6OBpdDWVk4l3/ X-Received: by 2002:a17:90a:4814:b0:29a:b4e8:cb52 with SMTP id a20-20020a17090a481400b0029ab4e8cb52mr343881pjh.11.1709257107020; Thu, 29 Feb 2024 17:38:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709257107; cv=pass; d=google.com; s=arc-20160816; b=LnlSc4q9koioJB0LfqiIKL9oRb+jF0eYBpZ0ddB7yfY3nfb1p8Lobrf74Oaef+YBjz /pmIZMVNCdD54WQzXLtZDpOI7TkBS2GFTG4SNn6hCD3BReHhhjeyh0q1lJjY2MG1RYzS 2+dkcmgjEW/yQbrvNB8s8ooboJy+l61Fq46lk3mzMsvC/MC0+F7raUadO02DirEJ519q eE+KG8Cn0/WjauFw34rV/M8Camf5cSkEJ26xHHu4ERONu0eMBx1sfPcsr31BDvlJUrGT VSrkJSGUq8meyu7ZH120/K7PN70ad2X3z2cfehCf5/iE8VywyoTjxkV5QXbXxwywIAZT bItA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=CWSEzr83qDpP+Sd5Vt8txQd9Oa0cdIaTZ7C0izQO4eA=; fh=1g9N0Hj3GVg5g5ccLMKny6mIHUX/6Tr3XkYJuKI96rY=; b=U+sBmDqUr9bXY/nAQLMF6/+RzmrZWS7/eCgNysmZQ6x/SJu27tQcvSESA/sNL5SH62 knwj8fUnZdUtB2jH/Pf/iQi2O9+3sxurxA6SzeWXSu6CEXRskFTghQ591kLN9tR0ELb/ /l9CScS/vP3Nnjcln6ZM6DamGkCDQCnz21l+SvN5fm/UC5K3qTAnP0zX8LAt4EZJLLsa pWXwnsSf8UnjnrWumChvRpqdqh1ytv18u3UNZraRp04KyDtwkdnhRoFwX7wRcw4uVfKR OZWNhVjn7f/mQ+sx54+EUY1482VBd45viRftx+BG0laO1C54KxYka/J+/hDNHulF+vJl kchA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=fIvwGQoO; arc=pass (i=1 spf=pass spfdomain=flex--ipylypiv.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-87782-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id st8-20020a17090b1fc800b0029acbb55e75si2647784pjb.70.2024.02.29.17.38.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 17:38:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87782-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=fIvwGQoO; arc=pass (i=1 spf=pass spfdomain=flex--ipylypiv.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-87782-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 B14D12848AB for ; Fri, 1 Mar 2024 01:38:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 496732E415; Fri, 1 Mar 2024 01:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="fIvwGQoO" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0192C2BAE7 for ; Fri, 1 Mar 2024 01:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709257099; cv=none; b=DDTomB6eao+MNRVFG3j+a4JokxaOX/qR6LzKvqICq7CaQSAEqydn7pPJQYiw7kSjdG/wQGboWocK+/6IRLjTFeYEa+jHI/V305ih9zH9a5iMr/zii98xVxid6w13DXZnhhlNHIOXlKFbrGi770V7/RlKlDTArLsVC2c/A1tetqQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709257099; c=relaxed/simple; bh=KMpxKpbpjeoQqcOIhlHPKvhUGkSROvNhsAYmAL2oE2k=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=ZPw5m8T3ZWG/nb5YX8tPWj4TNfJSCagu8InWhBIktkAlrmMwXn42Y/AivlDOrQyp5jlZdRRXK0QXvkhpLYEZKxIOE8qNKit+J/eUsELM9ccS4cW9HsFyk7MIqXF6+Q4bQ5vJ5msVfnstftaBLC6jNd7PDidaAMrtHmjBRKDBjCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--ipylypiv.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=fIvwGQoO; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--ipylypiv.bounces.google.com Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dc6ceade361so2738583276.0 for ; Thu, 29 Feb 2024 17:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709257097; x=1709861897; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=CWSEzr83qDpP+Sd5Vt8txQd9Oa0cdIaTZ7C0izQO4eA=; b=fIvwGQoOvFWge1dBEWoKXM+lpbDLzacvG2+mc+8DzCbwZlmiZF/obxOftllakc873O TO1JAaEdhcyW1oj3MlxBj5oj8+omC5oldVHdO1oqTckZ0rqlehWEX5A3jfGq5y1dZRZ8 oDXkYw0KEQoRMqahc2bykMoM1c9YRJvITd14Z5HfesnJQpOyxWnKwjM+Vl7OnUecC8Dl 1LmHspnJILDxt+6g5FjvP4KA0va/P6kLLEkivlm7KnOwKeEvU0mHvYqYlWGBXUN/DOMT lMjuTFrC5GnV0u5/bW6bpMKZPBFBX2IqVr9uBmLLK/x3CBkmCmqRmT2DlcqEFRSOelQe sDfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709257097; x=1709861897; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CWSEzr83qDpP+Sd5Vt8txQd9Oa0cdIaTZ7C0izQO4eA=; b=gYwDs3ppjbtgCTi3MUDCYCox4H+D4ZwCOTridiroMFcT2v2ZXsnKDtPCtIx1F48jUK nx6IBbHdo0CiYmpSg05XpXaszGzOTqkF8Uqb4H80GiYOh3EkHJ8g6nKD9peqhO8Yeh+I fXPsUcDYkrg3oIFeSpjhnmTLxA8xpwaNwrT3u1gfltG1spk4wAL1L23b3MCcFychdmif kiTlRrheVf1Jevzxkue68ZTB4Tu2a7yKWAkAUDiZw2zl97EzP2mpvpJwW8tfefsqhzxK l0Wgb9QOgjxKrDmtitp20HpGmE1Xlz/EdDuyewUoQz0kBGY68ovx7VOaYX12sTFkJmCM lfrw== X-Forwarded-Encrypted: i=1; AJvYcCVaoxxrZzP3JpudiUqWA1aYTDVJueTXNk079RboSvQtmB3pA1dXv4ngCcIdlTJeoVbhrlj+58roB54k8SIPQz8nnYeuCUm7ioxaUqZM X-Gm-Message-State: AOJu0Yyi0wuXlpNSZaApOqi4YPDY1Z4jYUpGBZlUF08MfAbHZi1mPEzw 8+Hc+YUZjedyzwPwe2ghoBUAGJzjsU3xr5S37zZAEbTtgXSYnhwll0NyDyCh8yMxmmOIGzSV5Uz v7l/UcyxR2Q== X-Received: from ipylypiv.svl.corp.google.com ([2620:15c:2c5:13:3564:51b2:6cdf:92fb]) (user=ipylypiv job=sendgmr) by 2002:a05:6902:728:b0:dc2:1f34:fac4 with SMTP id l8-20020a056902072800b00dc21f34fac4mr42691ybt.2.1709257097144; Thu, 29 Feb 2024 17:38:17 -0800 (PST) Date: Thu, 29 Feb 2024 17:37:56 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.278.ge034bb2e1d-goog Message-ID: <20240301013759.516817-1-ipylypiv@google.com> Subject: [PATCH 0/3] NCQ Priority sysfs sttributes for libsas From: Igor Pylypiv To: Damien Le Moal , Niklas Cassel , John Garry , Jason Yan , "James E.J. Bottomley" , "Martin K. Petersen" , Jack Wang , Hannes Reinecke Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Igor Pylypiv Content-Type: text/plain; charset="UTF-8" This patch series adds sas_ncq_prio_supported and sas_ncq_prio_enable sysfs sttributes for libsas managed SATA devices. Existing libata sysfs attributes cannot be used directly because the ata_port location is different for libsas. Igor Pylypiv (3): ata: libata-sata: Factor out NCQ Priority configuration helpers scsi: libsas: Define NCQ Priority sysfs attributes for SATA devices scsi: pm80xx: Add libsas SATA sysfs attributes group drivers/ata/libata-sata.c | 130 ++++++++++++++++++++---------- drivers/scsi/libsas/sas_ata.c | 87 ++++++++++++++++++++ drivers/scsi/pm8001/pm8001_ctl.c | 5 ++ drivers/scsi/pm8001/pm8001_init.c | 1 + drivers/scsi/pm8001/pm8001_sas.h | 1 + include/linux/libata.h | 4 + include/scsi/sas_ata.h | 6 ++ 7 files changed, 190 insertions(+), 44 deletions(-) -- 2.44.0.278.ge034bb2e1d-goog