Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp47118lql; Sun, 10 Mar 2024 13:06:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhKoQqz/IAsIg0Pm0UPw7c9TF8fQSQSdcxEwBWyAkUBLNdCbhih69csaNWAFtVp4h4+O63W6ncIn4pJb9+LOfzi8OVSifMm0HHxR/1xw== X-Google-Smtp-Source: AGHT+IHJpHZ1UE16E/dYDYM6M0U5zlMmzuBaXXj+VUfO9Wmr4Hynr+ZPrqiGiGGSO9I+9qQNsmLB X-Received: by 2002:a17:90a:de8b:b0:29b:f0ef:7efa with SMTP id n11-20020a17090ade8b00b0029bf0ef7efamr969844pjv.26.1710101162539; Sun, 10 Mar 2024 13:06:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710101162; cv=pass; d=google.com; s=arc-20160816; b=IUvLBeswXe3qQ2FgYXJdW4tHkyszxg1/Z9mmvD14ml2Z9mqWDMPHaVnwDbw43cKRhJ CBI54EBoN9efau72VqpZcB+g3RnybZC1zYxFFzwuTtggFLKNvjlm1kVcMSljSnpxsaaT TtN01j1wExnnVUfFs7xCjLsiLJbJCR4Xtv3QYlboxIYIBFGKePlTZWcjsXUpEHKT3sTc 7+YEPTcDSuNG9OlZgw6tNJjqd0ADXth4lhMO9Od7MhLwpguqS8VzhOzmBubU/nHws4v4 QTGmpmy8f3rViy+oBVt1kQ1D+gz3GLi7ExZkmJsdNCU34vqtGvELQEiOJRlZgPE7f3ML uW8A== 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=JNuLk/SmJZe+3FEWgsu7CWQfjCzjRMTWkCyyZXjE1jU=; fh=nDk+qO8n8uE7YNXhHy3GaXxrZ3cDjiuex7U3y0TjKfw=; b=baditaeGoml7XUJyiYVDsL3ww8ZboAQEulvVH05XZk2IrAfBK0BkXhyHjd+EyNL2TU YvSmIRbY7Aw/S1V0d/vv22Eywh9GijHtuY3Rc93j5AumE07jGEyYSyj3N82J2olbjeH+ HpYfdL/+8wI2nbnM16IXDseKrtcDlBmL7xgpxz+0g7uV3cezFP+BngfDwrfhbXzZXFiZ I+yX3hkMR8zSt2at7D+UhEhWyCoZ1hsfTy8WC4u+8kx5MQh0Baio3APA660B9oy08BzJ hA3CKvlR3ZZyX5KyCwk4vLezDzZOeizjSOBlzsGKYMOanrL/BGwL3+Iygwvo80OIifTb 518Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4ct9vcta; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-98320-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98320-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e22-20020a17090ac21600b0029acb9d5bffsi3589311pjt.189.2024.03.10.13.06.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 13:06:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98320-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; dkim=pass header.i=@google.com header.s=20230601 header.b=4ct9vcta; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-98320-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98320-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 1655528115B for ; Sun, 10 Mar 2024 20:06:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D4893A1CD; Sun, 10 Mar 2024 20:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="4ct9vcta" Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) (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 1C8823207 for ; Sun, 10 Mar 2024 20:05:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710101153; cv=none; b=qWSWeX0cr7eLBTE9/cijTSTuQBVhKALwxBQcg15C7cNphhdeD1MmtvzzYpIZaIWoZgOmAJqEXzgHRGHrdQjmzJYdWQubHNIENVp0CMkZ+ff4qxzZLi1/byb/m1/iuKtBrJpiJtrxe70umhJ4JXfzp+XO5Ek5Dl03LF+ElswrX4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710101153; c=relaxed/simple; bh=axkdLd7QmlW/nS3h7kOIMAbn+TRaZ9Z5Zq5yBjNkkI4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rrfpDvsiK7EiKPPwyIatZm8Ogz2V2gxcvZvGt93d/VPAkvSswApOuLaOMuLedszERZNSpJpjwBcP0qRvxFKb5xQwSo41weP+pYifceR7gBjtCVDySDhDgs8f/FGVVn+B8+J4G+N1ROq5nbKjSqz/VCUtBvuvSfI+136Tczl+o20= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=4ct9vcta; arc=none smtp.client-ip=209.85.215.173 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=google.com Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-5cfd95130c6so2650867a12.1 for ; Sun, 10 Mar 2024 13:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710101151; x=1710705951; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JNuLk/SmJZe+3FEWgsu7CWQfjCzjRMTWkCyyZXjE1jU=; b=4ct9vctaGlegl7QokrpgmpwiUM1fCgzCdzr904BzpwNUOkgmXQFLqwm0rlas1sIu3T 6Uf+8dhdu5XUd+bsxy7SF8UA/P376CAar+FI8AJMEM15fGs6uuQmVw9sEI+Fn6flgZGT zCJ7QvrpU+yoAMmiSGWliAqlLZ4DqJDlbHU//TpmjKtowOPseG4j5njmfzoKTlfW0l/O kT13qjGrfHNqeB1DYFNAECCoqTL07YJ/urkRcF98SQG94qbRPmCdsGCDOqwJjN2SJA66 MTpmp1PKVNJww6ICZ9AhnlO79mz4SqANjQT1hsfxMRzpkzQyz4f55AoWY3jbLtI01tVC PZ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710101151; x=1710705951; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JNuLk/SmJZe+3FEWgsu7CWQfjCzjRMTWkCyyZXjE1jU=; b=a4uF2CROrRgV4vPwORUTaaeHajREJjHm3efNq4lp79WVMI5zW8x1PzoC4fctKJTaAG L80eZUxlkKCy9SO4Ed9I9y0cpMyNhFyFk74V0o11dnK2AYqQkj3tvAmaJ6IHbgJhCAu6 ngc3+Rvar8vTYzU9x2fkIcQeqtlJaLJXPlwdBFc++Xk9ko6y2YFhDkCzCwp3pr5Z1NiU wW9xyo9ivzboZNPSGHsmMDONCyDVZhiV/NRTx3ijAueiAd7nISnV2F2k89CuXxoYnmey FT9hNz398OyuYHLwPCXch6YPwIbpeZq26WAMHTvsWLg/vremCjWEarN5kyUeAfWeCdLX ZKCQ== X-Forwarded-Encrypted: i=1; AJvYcCUbn7ZWwAcljwXOvOUdyx+xhsfzyaaqWoJyYW77ck0OHsiMTkGv38eDXf/C1oX8AyV+bwNgn8JeEkS9epi23DuuikNTZwojvToV0+fq X-Gm-Message-State: AOJu0YwwH64f+pfpSU5Ges7H9LndqVUxOmdxvFxt59H5gpCnVO5S0D29 CjN7rCg06KmyQE+3riXFmNWU6m4cEg5g4C5TpOHtZUQEoVUfO38NMy+jNar32w== X-Received: by 2002:a17:902:7b95:b0:1dd:611d:3be0 with SMTP id w21-20020a1709027b9500b001dd611d3be0mr4491939pll.27.1710101151153; Sun, 10 Mar 2024 13:05:51 -0700 (PDT) Received: from google.com ([2620:15c:2c5:13:d1de:e5bb:fcf:1314]) by smtp.gmail.com with ESMTPSA id z17-20020a170903019100b001dd7d66ac95sm2716210plg.78.2024.03.10.13.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 13:05:50 -0700 (PDT) Date: Sun, 10 Mar 2024 13:05:45 -0700 From: Igor Pylypiv To: John Garry Cc: jejb@linux.ibm.com, martin.petersen@oracle.com, chenxiang66@hisilicon.com, jinpu.wang@cloud.ionos.com, artur.paszkiewicz@intel.com, yanaijie@huawei.com, dlemoal@kernel.org, cassel@kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/6] scsi: libsas: Add LIBSAS_SHT_BASE Message-ID: References: <20240308114339.1340549-1-john.g.garry@oracle.com> <20240308114339.1340549-2-john.g.garry@oracle.com> <3c343fde-01cb-4cda-bf20-9df0ece94359@oracle.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: <3c343fde-01cb-4cda-bf20-9df0ece94359@oracle.com> On Sun, Mar 10, 2024 at 10:02:42AM +0000, John Garry wrote: > On 08/03/2024 19:41, Igor Pylypiv wrote: > > > Even though some drivers don't set proc_name, it won't make much difference > > > to set as DRV_NAME. > > > > > > Also add LIBSAS_SHT_BASE_NO_SLAVE_INIT for the hisi_sas drivers which have > > > custom .slave_alloc and .slave_configure methods. > > Looks like libata drivers have no problem overriding default values that were > > set by __ATA_BASE_SHT. For example __ATA_BASE_SHT sets .can_queue .sdev_attrs > > and then AHCI_SHT overrides those with AHCI specific values: > > > > #define AHCI_SHT(drv_name) \ > > ATA_NCQ_SHT(drv_name), \ > > which tag are you looking at here? > > That looks like an old definition of AHCI_SHT(). > > There was a significant change for this in the following: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/ata/ahci.h?h=v5.14&id=071e86fe2872e7442e42ad26f71cd6bde55344f8 Oh, my bad. I had some old kernel version checked out. Please disregard. Reviewed-by: Igor Pylypiv Thanks, Igor > > Thanks, > John