From patchwork Fri Jan 18 17:11:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shivasharan Srikanteshwara X-Patchwork-Id: 10771257 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F3BBF17FB for ; Fri, 18 Jan 2019 17:11:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E35BF30127 for ; Fri, 18 Jan 2019 17:11:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E11EF30102; Fri, 18 Jan 2019 17:11:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8731D300CE for ; Fri, 18 Jan 2019 17:11:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728452AbfARRL6 (ORCPT ); Fri, 18 Jan 2019 12:11:58 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:34660 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbfARRL5 (ORCPT ); Fri, 18 Jan 2019 12:11:57 -0500 Received: by mail-ed1-f65.google.com with SMTP id b3so11771043ede.1 for ; Fri, 18 Jan 2019 09:11:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=jSQdVUSFfx6wnePwiP1pKiZ49LQdYbJ5CIkywVKuy58=; b=P3yy7i0C7ld/CSUduQdg7coktUNdBQ0zm1tEeIl19qAlrlqLp0ClE28CG7kxpvDO/s OY4HPDTUkmbxnJkmy/OYqXlFfK+fnOgl1S0gxSWCO35LjfBlQWQ2KhNCcRVrm5fwqj0e I6/pVc/+8bxusIHHjRvXJotkp1gqR7PFsXcwk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jSQdVUSFfx6wnePwiP1pKiZ49LQdYbJ5CIkywVKuy58=; b=Wl3ER9wzRGkaVApmCckeqsLCVE4n0D/fmyRg5TnyoeAdafZ8z6NrPDxJLD2aOWY7nI lKjga9jToaDjSlErEw8ATzyWix/ylPHC14kiYhV/i0jCx51cYUgelH9jZXpNaFNmWHT4 7wgECI7S34EYLGFzkyLQoRMwvhd19Y7NvGfExglZU+d9FqZul2fvutph922N1RBJ1SB/ j/yMOKv1fhu7OBv5SMD52xxV06pYxPDrTZ9ZRHa16GyVS5cAjPbuzWjcJ4yHB61fg9hj lm7prE5BS93yM2K6NgWsZrI8HaN97FUbdUWTZuVmsurQDt71DneMNtPRt9mV2BPxQXEK Srow== X-Gm-Message-State: AJcUukdBE/Yssgk1JAr3zLPqDCGk25/4JD1/7jkRlMg9VizxLRJmMlNJ 2AEuenlVqMZN7Cs4u0PZI8+p4DfnXd+1g5FrjMwbxB0DRfOVvjY0sfNZ++Cqg+6SQTgOeYSB7Eh xyMhs1hEFHeoUqS2sy4diBpGZWOQojxyPqPRjh3u7ByS9fTBmqKBMOz+lBSYIk5nOiWS/lw48zE Npf/w2YN2gbRdtcHiGpK/6 X-Google-Smtp-Source: ALg8bN5Hwsi8C0IH8aOwLbjpXMCQaQkMz7VGr0G/2ZTESpDSiyf8WOPY6Cb+frHdUdxgM68T6/Oqqw== X-Received: by 2002:aa7:d684:: with SMTP id d4mr15935225edr.59.1547831515290; Fri, 18 Jan 2019 09:11:55 -0800 (PST) Received: from dhcp-135-24-192-142.dhcp.broadcom.net ([192.19.252.250]) by smtp.gmail.com with ESMTPSA id f31sm7581511eda.16.2019.01.18.09.11.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 09:11:54 -0800 (PST) From: Shivasharan S To: linux-scsi@vger.kernel.org Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, kiran-kumar.kasturi@broadcom.com, sankar.patra@broadcom.com, sasikumar.pc@broadcom.com, Shivasharan S Subject: [PATCH 0/3] megaraid_sas: Add support for FW device list DCMD Date: Fri, 18 Jan 2019 09:11:37 -0800 Message-Id: <1547831500-26751-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> X-Mailer: git-send-email 2.4.3 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset adds support for new HOST_DEVICE_LIST DCMD in driver. This DCMD provides a combined list of target IDs of devices which are exposed to host. Driver will check for FW support for this new DCMD and based on the support will either send the new DCMD or will fall back to earlier GET_PD_LIST/GET_LD_LIST_QUERY DCMDs. Shivasharan S (3): megaraid_sas: Rework code to get PD and LD list megaraid_sas: Rework device add code in AEN path megaraid_sas: Add support for DEVICE_LIST DCMD in driver drivers/scsi/megaraid/megaraid_sas.h | 49 +++- drivers/scsi/megaraid/megaraid_sas_base.c | 406 ++++++++++++++++++++++------ drivers/scsi/megaraid/megaraid_sas_fusion.c | 1 + drivers/scsi/megaraid/megaraid_sas_fusion.h | 1 + 4 files changed, 373 insertions(+), 84 deletions(-)