Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp451738lqi; Thu, 7 Mar 2024 02:05:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPbM0Nvaxwp9O/NCnrH3TuQmWNunTIFbQdnpKOjptkiF//cjhiZEc3rO3vBs+fSM/RI3TkaVom9jlDebsVGQw4UQr2ghBp9O+K+wJjKA== X-Google-Smtp-Source: AGHT+IFC9fhbiq2J6l9ytdBnO96t4G919SqdSbDP5jODauTCMRAsI7TmtCbQYzYYzlY3vB1PDHCS X-Received: by 2002:a17:906:f149:b0:a45:ab98:aec with SMTP id gw9-20020a170906f14900b00a45ab980aecmr848435ejb.10.1709805903397; Thu, 07 Mar 2024 02:05:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709805903; cv=pass; d=google.com; s=arc-20160816; b=TKP5uKpbsw3BxGn3x/RTef+1ELBrAp0gAXerGYzsE16q+RPVn0zd5Wv0KEy4j7FRmu bwfiBjVEUNOM0R71L6wNYj5O9973cJG58GZp1rESdP+IL2Cc4Lz43QTITDNVv23y5yRM VaT/cgkb79tNSymvucWkUgYJbJ48gtOzAiut6iMgNvdLyGcFbn26Lo0NvOAwVoSziHSW ft/a/0iIlRh4b729OYmlbSJQ3T2k7f6o9csgHWGwfBKqpNlShMETCGEs9X6atcfDCUX+ BvvKCwhkf1j8wxuGc57CERlhDTUoBtgaNAXEoLhN2Y8i9LfO+pqLaHV9m64Bb12riO5/ JHsw== 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=3+mEowZyz1udpzjzpKvRT0lzmktP0+4VYHJ5B3xfof8=; fh=UWSEQ8D5R8DLoDcSQQPY9mGykZnRlQOT+BO3sUSPTu4=; b=IdK/7RjnLme4CazNqMciqE3o9qFs5UdStrGIWTqJknEQ13VXStpeZ4W4KMlre9Xl34 gi0uQyXTyQ9pfS8p2PIHKROe867/vtBf0+ghXLCymcZueBUl3WjZLsk1MExC54MnIKFw 82tTejdFYl/LrnIHRSt8vU9cQGJUj9nFW4S1ZNxcNGoLCiI9pJtyjbPEta7Yi6yJdz9t xoDC5Tls9FF1if2g8doI748BKO8tPQQZ9odk/8sWdJxK0bAURtv9DtIxHhtMp3N1cq5Y mCk5YlCCvcVK22+qEwM0ivMuH1jvuiWY6FdEU2sM7oMo8OKpAH6B/goNgkDigFgkmP4D W9cQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U1hyPxsV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95287-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 rs27-20020a170907037b00b00a3dec96d61fsi6567764ejb.440.2024.03.07.02.05.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 02:05:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95287-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=U1hyPxsV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95287-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95287-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 D24931F21CE7 for ; Thu, 7 Mar 2024 10:04:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D38A12BEBD; Thu, 7 Mar 2024 09:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U1hyPxsV" 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 83ABC85274; Thu, 7 Mar 2024 09:59:39 +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=1709805579; cv=none; b=sms+M3aZMdHF0MCyqE0zdlQBja+tPdtWRinbMthwynWdzkZ8t0H5MtO6lmw+1MwaoUObkMyuZj5IwloqTvtklEyk6M7cX6qly7o55Fbfri760dDMbimO97hsG9NAzOX6VG+ZcPWgElpjq3R9FUoqTRCKeLhL9y+HQekSNr1ohL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709805579; c=relaxed/simple; bh=QESLITRRZmWL1xYI6WaTXqc22mhlRf1RjJuqoqwfe90=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jkAOOXE7F+GyN2be/k0CKTZfvgVnExEN501nrtxWLSJ6DxA3YJnrxKZvyVfXBS6bErp+YZxWgz3CiTK4Ia1pNxaIHqcMLVN9GCq0PzHn1AXvIbqXkwR45btyniYz1PwgcOHGqQtThNn15uWl2hiLjucYvHIj4uj4yBDwjzxwyX4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U1hyPxsV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED31AC433C7; Thu, 7 Mar 2024 09:59:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709805579; bh=QESLITRRZmWL1xYI6WaTXqc22mhlRf1RjJuqoqwfe90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U1hyPxsVr2Sn0zfyl9cDSdqpUzmUlXLVvZztStJaP/sMfvpYLv/60kT+JMuHZ8DkL ICtrXpBwhqzzr2NMq1xmTK804mYqaqGZda2j9Ia7UK5R6gFsKrlv/br+eu8BTaMy8Z CJjko3P9pFT7SpQcWhsx1eegdmG07k4ZAywUCHnFjJQsoCFfkOgRoAOW/HrtZ7KHlE kcZBRFSbwZGhJnyQvd7gymdvqNOV8c2z85OEDb9FJFE8X9nJoakMev7parYUUWPh/B w8LtFuSkVbzbhKpJcqvUFu8FJcFWxK2Bb+3GOtLMgUxMbtbcCduXCrvlbI11/i5zO5 zaTBbBH9t/aYg== Date: Thu, 7 Mar 2024 10:59:32 +0100 From: Niklas Cassel To: John Garry Cc: Igor Pylypiv , Damien Le Moal , 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 5/7] scsi: hisi_sas: Add libsas SATA sysfs attributes group Message-ID: References: <20240306012226.3398927-1-ipylypiv@google.com> <20240306012226.3398927-6-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: On Thu, Mar 07, 2024 at 08:55:51AM +0000, John Garry wrote: > On 06/03/2024 20:56, Igor Pylypiv wrote: > > > > --- > > > > drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 6 ++++++ > > > > drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 6 ++++++ > > > Is there a reason why you didn't patch: > > > drivers/scsi/hisi_sas/hisi_sas_v1_hw.c ? > > > > > I originally patched hisi_sas_v1_hw.c as well. John Garry pointed out > > that v1 HW doesn't support SATA so I dropped the change. > > If you are going to do another spin, then maybe update the commit message > with this. +1 John, now I'm curious, do you know why hisi_sas_v1_hw.c is implemented as a libsas driver (instead of a regular SCSI driver), if it doesn't support SATA? Was perhaps v2_hw and v3_hw implemented as a libsas driver first (since they support SATA), and v1_hw support was added later, so that it could reuse much of the parts of the existing driver? Kind regards, Niklas