From patchwork Thu Jul 1 06:51:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1499337 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GFpm84RhJz9sWX; Thu, 1 Jul 2021 16:51:52 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lyqY8-0001f4-Ca; Thu, 01 Jul 2021 06:51:48 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lyqY5-0001eW-LK for kernel-team@lists.ubuntu.com; Thu, 01 Jul 2021 06:51:45 +0000 Received: from mail-ed1-f69.google.com ([209.85.208.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lyqY5-0007GP-Cy for kernel-team@lists.ubuntu.com; Thu, 01 Jul 2021 06:51:45 +0000 Received: by mail-ed1-f69.google.com with SMTP id z5-20020a05640235c5b0290393974bcf7eso2518881edc.2 for ; Wed, 30 Jun 2021 23:51:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=VUAQlP+j4PP0rsA396P8B/hCWl0OysJxzYswWkAOX4k=; b=Y8gwaJS8ITK9BHVT0/8zs8f1WVB5UUtaIdLsCpABk1AvcLdVW5S0iKXAV1X7YhlIVu tO1kadnm0ZyBlrVKrLaVEWY04xIt1LOhrSj8C3REGI4g2zqfeuKN8nUOVAg+a6rOSP7n 6c6vGhwCiTYBCV/4NXjeV+uVxGeNrq5TN8b6SBfQQoVO/Ftcb934RQU+GyI2Rs3tn6tR zsQWGvhYla6POp0s+FStYLJhrC0ISc8ZnOCcxuJd6LG9u9UYusCm2sEDMGxLw40srvZR h6S9k7VTBSSDmdKzOYWzKxxhfTJOPW8SUxVjEDYMBpJa3Fvj8+Gyga58DlQ8XOQe2vQ4 9NDw== X-Gm-Message-State: AOAM530DOzHp9f4/P5IcW+SEbUopqYjM+hz7mGJpWZKpZju4NMTeP/Bn 0/ZI9aiYBF3JxLVc20Z5EIlfFSVEzRCjivracuZjNwCJPO7OomWbZZHpJ+hshHLVku+6T6fh/MZ a3nRR4bjG3FxzBc4JUrrJhTjTJHjk/7Wrmxm2+a+abA== X-Received: by 2002:a17:907:7da9:: with SMTP id oz41mr2466289ejc.39.1625122304713; Wed, 30 Jun 2021 23:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXAN2Au0a/G53SUkfHyu/YZf6cKwfWhotnLajUjVpvsV0+9yG8RPLAKWU7v9RicE+N2dQZxQ== X-Received: by 2002:a17:907:7da9:: with SMTP id oz41mr2466278ejc.39.1625122304536; Wed, 30 Jun 2021 23:51:44 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id t15sm10394144ejf.119.2021.06.30.23.51.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 23:51:44 -0700 (PDT) From: Krzysztof Kozlowski To: kernel-team@lists.ubuntu.com Subject: [PATCH][SRU][F-hwe-5.11 00/30] Update SmartPQI driver Date: Thu, 1 Jul 2021 08:51:11 +0200 Message-Id: <20210701065141.6018-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1933518 [Impact] * Microchip asks to update the SCSI SmartPQI driver to latest version from upstream Linux kernel. * This contains mostly fixes and refactorings. * Updated driver allows to support properly latest SmartPQI controllers. [Fix] * Cherry-pick all the patches related to smartpqi. * These are clean picks although the patchset is pretty big. [Test Plan] * Build-test each commit. * Asked Microhip to perform the testing. Received feedback: "I installed the provided kernel package and thus far performed: 1. reboot tests 2. insmod/rmmod tests 3. fio testing: no performance regressions" [Where problems could occur] * The patches touch only smartpqi driver so the scope of possible failures is limited to systems which probe it (so basically systems with SmartPQI controller). * On such SmartPQI-equipped systems the patchset can cause data corruption, data loss or unavailability of SCSI storage and boot failure. Best regards, Krzysztof Bart Van Assche (1): scsi: smartpqi: Remove unused functions Don Brace (9): scsi: smartpqi: Refactor aio submission code scsi: smartpqi: Refactor scatterlist code scsi: smartpqi: Add support for RAID5 and RAID6 writes scsi: smartpqi: Add support for RAID1 writes scsi: smartpqi: Add stream detection scsi: smartpqi: Add host level stream detection enable scsi: smartpqi: Update version to 2.1.8-045 scsi: smartpqi: Fix blocks_per_row static checker issue scsi: smartpqi: Fix device pointer variable reference static checker issue Kevin Barnett (17): scsi: smartpqi: Add support for BMIC sense feature cmd and feature bits scsi: smartpqi: Add support for long firmware version scsi: smartpqi: Align code with oob driver scsi: smartpqi: Disable WRITE SAME for HBA NVMe disks scsi: smartpqi: Remove timeouts from internal cmds scsi: smartpqi: Add support for wwid scsi: smartpqi: Update event handler scsi: smartpqi: Update soft reset management for OFA scsi: smartpqi: Synchronize device resets with mutex scsi: smartpqi: Update suspend/resume and shutdown scsi: smartpqi: Update RAID bypass handling scsi: smartpqi: Update OFA management scsi: smartpqi: Update device scan operations scsi: smartpqi: Fix driver synchronization issues scsi: smartpqi: Convert snprintf() to scnprintf() scsi: smartpqi: Add additional logging for LUN resets scsi: smartpqi: Correct system hangs when resuming from hibernation Murthy Bhat (3): scsi: smartpqi: Add phy ID support for the physical drives scsi: smartpqi: Update SAS initiator_port_protocols and target_port_protocols scsi: smartpqi: Update enclosure identifier in sysfs drivers/scsi/smartpqi/smartpqi.h | 299 +- drivers/scsi/smartpqi/smartpqi_init.c | 2989 ++++++++++------- .../scsi/smartpqi/smartpqi_sas_transport.c | 39 +- drivers/scsi/smartpqi/smartpqi_sis.c | 4 +- 4 files changed, 2023 insertions(+), 1308 deletions(-)