From patchwork Wed Dec 27 11:06:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 759806 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 2B63744378 for ; Wed, 27 Dec 2023 11:08:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="FAMoe44C" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1d3fc184b6dso18714615ad.2 for ; Wed, 27 Dec 2023 03:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1703675284; x=1704280084; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Ntb7SuXmdaBVZ8ACjye7LFYbBnV4uU1+p/PvsAZdELE=; b=FAMoe44C4eTfL+ndGOdsEsFwaDTrq+XXcrFTkOqFslm0BhxriqnUGxxqfd0ev6k8V0 sT+lMaC7i6AHPItoq/xk+cFYJ0LDgiGMZEC1FkIBU08Yb17QApTrQ3/WIeYtw/zo6/Mx IQHVJI4Yj20l4PTwkPHAo6u6h2XMj5K/WBjH0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703675284; x=1704280084; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ntb7SuXmdaBVZ8ACjye7LFYbBnV4uU1+p/PvsAZdELE=; b=TePzcslv9WTUGLLlm2lbVFNkar5mB/sx/mVWtvjL0B8Dj4IoF6mOsujhLJ2cgkTOKO bXCBwtduSv/kRkQw+Kb8xEtkxEMIoWlEHIGqwwHub3/NImdgjRQ+yEc+voOSLwE9w4eC bAqoGiYr0rmXLL13uo6yK2Ctu3oM51KKaKkrjVsvcHBy3AowZMvtn+RFzI8iFsj7uHxj xWLgya7vwgpXKxHGbrdqR0S/2UUAYf2bp5zf+wQIfYkTQkT0NWNIe49QQSLj/2xAI0s7 IefNvuq2Z+xhg5XKg19NeHDHTWNb8QFZwC7Zg9kfB9+vMlwCKoKXbEs1YJFq1Qgolwcq KlcA== X-Gm-Message-State: AOJu0YzKgCPAajID2iSe2DUllp5po6NFIbgHlQlLaAuL8o5ZpWbqfd7p XvC9dWBICSkygnJIoeCoWQw6+mRDNycbh6jPIxFUbwDKrWRuGDjWplzTeRsqvmaX/5jQYtNM8xp tut+GKkEbeOcol9E/FIZ2Vb+DJcxRGqZ782kzAB6u5J53IV+60y5ijR7X5ix0MSdeLMZmhdeM2c 7Uw1/UF3fvAK0GEZOB X-Google-Smtp-Source: AGHT+IG89lnrnW3kcQFZoYkl3KFnZPzn+kvCfMCxqb3MiWfrdeKsrqfIKNTUt4sl3aTLfIKuyQPDzw== X-Received: by 2002:a17:902:d503:b0:1d4:46ff:f421 with SMTP id b3-20020a170902d50300b001d446fff421mr1943632plg.122.1703675283726; Wed, 27 Dec 2023 03:08:03 -0800 (PST) Received: from localhost.localdomain ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id n10-20020a1709026a8a00b001ab39cd875csm11699179plk.133.2023.12.27.03.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 03:08:02 -0800 (PST) From: Ranjan Kumar To: linux-scsi@vger.kernel.org, martin.petersen@oracle.com Cc: sathya.prakash@broadcom.com, sreekanth.reddy@broadcom.com, Ranjan Kumar Subject: [PATCH v2 0/2] mpt3sas: Update/reload SBR without rebooting HBA Date: Wed, 27 Dec 2023 16:36:08 +0530 Message-Id: <20231227110610.18276-1-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Support for additional IOCTL to set SBR Reload bit in the Host Diagnostic register. v1->v2: - Fixed Smatch Warning - Improvised indentation - Updated driver version Ranjan Kumar (2): mpt3sas: Reload SBR without rebooting HBA mpt3sas: Update driver version to 48.100.00.00 drivers/scsi/mpt3sas/mpt3sas_base.c | 97 +++++++++++++++++++--------- drivers/scsi/mpt3sas/mpt3sas_base.h | 8 ++- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 54 ++++++++++++++++ drivers/scsi/mpt3sas/mpt3sas_ctl.h | 10 +++ drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1 + 5 files changed, 137 insertions(+), 33 deletions(-)