Skip to content
Permalink
SEO-HOYOUNG/sc…
Switch branches/tags

Commits on Jan 24, 2022

  1. scsi: ufs: disable auto hibern8 while entering suspend

    If using auto hibern8 mode, need to disable auto hibern8 while
    entering suspend.
    When using auto hibern8 mode, it does not seem right to send a uic command
    for entry into hibern8 in the next line(ufshcd_lik_state_transition(..))
    It seem right to send after disable auto hibern8.
    
    In addition, if the auto hibern8 mode supported, it is enabled in resume.
    So it seems that it will be paired only when auto hibern8 is disabled
    while entering suspend.
    
    Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
    SEO HOYOUNG authored and intel-lab-lkp committed Jan 24, 2022

Commits on Jan 19, 2022

  1. Merge branch 'misc' into for-next

    James Bottomley authored and James Bottomley committed Jan 19, 2022

Commits on Jan 13, 2022

  1. Merge branch 'misc' into for-next

    James Bottomley authored and James Bottomley committed Jan 13, 2022

Commits on Jan 10, 2022

  1. scsi: nsp_cs: Check of ioremap return value

    Since it is possible for ioremap() to fail, 'data->MmioAddress' could be
    NULL. Skip entry if ioremap() fails.
    
    Link: https://lore.kernel.org/r/20211230021137.1823352-1-jiasheng@iscas.ac.cn
    Fixes: 0e6f9d2 ("pcmcia: use pcmcia_loop_config in scsi pcmcia drivers")
    Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    JiangJias authored and martinkpetersen committed Jan 10, 2022
  2. scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_…

    …ctrl()
    
    The function regulator_get() returns an error pointer. Use IS_ERR() to
    validate the return value.
    
    Link: https://lore.kernel.org/r/20211222070930.9449-1-linmq006@gmail.com
    Fixes: cf137b3 ("scsi: ufs-mediatek: Support VA09 regulator operations")
    Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    Yuuoniy authored and martinkpetersen committed Jan 10, 2022
  3. scsi: ufs: Modify Tactive time setting conditions

    The Tactive time determines the waiting time before burst at hibern8 exit
    and is determined by hardware at linkup time. However, in the case of
    Samsung devices, increase host's Tactive time +100us for stability. If the
    HCI's Tactive time is equal or greater than the device, +100us should be
    set.
    
    Link: https://lore.kernel.org/r/20220106213924.186263-1-hy50.seo@samsung.com
    Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
    Acked-by: Avri Altman <Avri.Altman@wdc.com>
    Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    SEO HOYOUNG authored and martinkpetersen committed Jan 10, 2022
  4. scsi: efct: Remove useless DMA-32 fallback configuration

    As stated in [1], dma_set_mask() with a 64-bit mask never fails if
    dev->dma_mask is non-NULL.  So, if it fails, the 32 bits case will also
    fail for the same reason.
    
    Simplify code and remove some dead code accordingly.
    
    While at it, return the error code returned by dma_set_mask_and_coherent()
    instead of -1.
    
    [1]: https://lkml.org/lkml/2021/6/7/398
    
    Link: https://lore.kernel.org/r/958bcb2a6e86344c14f38369e8e7079615a2b0e3.1641754613.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022
  5. scsi: message: fusion: mptctl: Use dma_alloc_coherent()

    In [1], Christoph Hellwig has proposed to remove the wrappers in
    include/linux/pci-dma-compat.h.
    
    Some reasons why this API should be removed have been given by Julia
    Lawall in [2].
    
    When memory is allocated in kbuf_alloc_2_sgl() GFP_KERNEL can be used
    because this function already uses the GFP_USER flag for some memory
    allocation and not spin_lock is taken in the between.
    
    When memory is allocated in mptctl_do_mpt_command() GFP_KERNEL can be used
    because this function already uses copy_from_user() and this function can
    sleep.
    
    When memory is allocated in mptctl_hp_hostinfo() GFP_KERNEL can be used
    because this function already uses mpt_config() and this function has an
    explicit might_sleep().
    
    When memory is allocated in mptctl_hp_targetinfo() GFP_KERNEL can be used
    because this function already uses mpt_config() and this function has an
    explicit might_sleep().
    
    [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
    [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/
    
    Link: https://lore.kernel.org/r/516375d6d06114484533baf03aae351306100246.1641500561.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022
  6. scsi: message: fusion: mptsas: Use dma_alloc_coherent()

    In [1], Christoph Hellwig has proposed to remove the wrappers in
    include/linux/pci-dma-compat.h.
    
    Some reasons why this API should be removed have been given by Julia
    Lawall in [2].
    
    In all these places where some memory is allocated GFP_KERNEL can be used
    because they already call mpt_config() which has an explicit might_sleep().
    
    [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
    [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/
    
    Link: https://lore.kernel.org/r/443b81ecb08b2fe6f789bb2fdff13a53c809e401.1641500561.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022
  7. scsi: message: fusion: Use dma_alloc_coherent() in mptsas_exp_repmanu…

    …facture_info()
    
    In [1], Christoph Hellwig has proposed to remove the wrappers in
    include/linux/pci-dma-compat.h.
    
    Some reasons why this API should be removed have been given by Julia Lawall
    in [2].
    
    The only caller of mptsas_exp_repmanufacture_info() is
    mptsas_probe_one_phy(). This function already calls sas_end_device_alloc()
    or sas_expander_alloc(). They both already use GFP_KERNEL.
    
    As no spin_lock is held at this point, it is safe to also use GFP_KERNEL
    here.
    
    [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
    [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/
    
    Link: https://lore.kernel.org/r/d78d4a5b096897932808ed7e3a4540db1687c25d.1641500561.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022
  8. scsi: message: fusion: mptbase: Use dma_alloc_coherent()

    In [1], Christoph Hellwig has proposed to remove the wrappers in
    include/linux/pci-dma-compat.h.
    
    Some reasons why this API should be removed have been given by Julia
    Lawall in [2].
    
    In all these places where some memory is allocated GFP_KERNEL can be used
    because they already call mpt_config() which has an explicit might_sleep().
    
    [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
    [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/
    
    Link: https://lore.kernel.org/r/3bea2452deb8cc8be65982e87efa4c6861caa01c.1641500561.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022
  9. scsi: message: fusion: Use dma_alloc_coherent() in mpt_alloc_fw_memory()

    In [1], Christoph Hellwig has proposed to remove the wrappers in
    include/linux/pci-dma-compat.h.
    
    Some reasons why this API should be removed have been given by Julia Lawall
    in [2].
    
    mpt_alloc_fw_memory() should still use GFP_ATOMIC, because it can be called
    from mpt_do_upload() which might sleep.
    
    [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
    [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/
    
    Link: https://lore.kernel.org/r/db3db9db219005b75659561d08117d312d0cfb13.1641500561.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022
  10. scsi: message: fusion: Remove usage of the deprecated "pci-dma-compat…

    ….h" API
    
    In [1], Christoph Hellwig has proposed to remove the wrappers in
    include/linux/pci-dma-compat.h.
    
    Some reasons why this API should be removed have been given by Julia Lawall
    in [2].
    
    A coccinelle script has been used to perform the needed transformation.  It
    can be found in [3].
    
    In this patch, all functions but pci_alloc_consistent() are handled.
    pci_alloc_consistent() needs more attention and explanation.
    
    [1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
    [2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/
    [3]: https://lore.kernel.org/kernel-janitors/20200716192821.321233-1-christophe.jaillet@wanadoo.fr/
    
    Link: https://lore.kernel.org/r/e38e897fbd3314718315b0e357c824e3f01775d6.1641500561.git.christophe.jaillet@wanadoo.fr
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    tititiou36 authored and martinkpetersen committed Jan 10, 2022

Commits on Jan 7, 2022

  1. scsi: megaraid: Avoid mismatched storage type sizes

    Remove needless use of mbox_t, replacing with just struct
    mbox_out. Silences compiler warnings under a -Warray-bounds build:
    
    drivers/scsi/megaraid.c: In function 'megaraid_probe_one':
    drivers/scsi/megaraid.c:3615:30: error: array subscript 'mbox_t[0]' is partly outside array bounds of 'unsigned char[15]' [-Werror=array-bounds]
     3615 |         mbox->m_out.xferaddr = (u32)adapter->buf_dma_handle;
          |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    drivers/scsi/megaraid.c:3599:23: note: while referencing 'raw_mbox'
     3599 |         unsigned char raw_mbox[sizeof(struct mbox_out)];
          |                       ^~~~~~~~
    
    Link: https://lore.kernel.org/r/20220105173633.2421129-1-keescook@chromium.org
    Cc: Kashyap Desai <kashyap.desai@broadcom.com>
    Cc: Sumit Saxena <sumit.saxena@broadcom.com>
    Cc: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
    Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
    Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
    Cc: megaraidlinux.pdl@broadcom.com
    Cc: linux-scsi@vger.kernel.org
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    kees authored and martinkpetersen committed Jan 7, 2022
  2. scsi: hisi_sas: Remove unused variable and check in hisi_sas_send_ata…

    …_reset_each_phy()
    
    In commit 29e2bac ("scsi: hisi_sas: Fix some issues related to
    asd_sas_port->phy_list"), we use asd_sas_port->phy_mask instead of
    accessing asd_sas_port->phy_list, and it is enough to use
    asd_sas_port->phy_mask to check the state of phy, so remove the unused
    check and variable.
    
    Link: https://lore.kernel.org/r/1641300126-53574-1-git-send-email-chenxiang66@hisilicon.com
    Fixes: 29e2bac ("scsi: hisi_sas: Fix some issues related to asd_sas_port->phy_list")
    Reported-by: Nathan Chancellor <nathan@kernel.org>
    Reported-by: Colin King <colin.i.king@gmail.com>
    Acked-by: John Garry <john.garry@huawei.com>
    Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    Xiang Chen authored and martinkpetersen committed Jan 7, 2022
  3. Merge branch 'misc' into for-next

    James Bottomley authored and James Bottomley committed Jan 7, 2022

Commits on Jan 5, 2022

  1. scsi: aic79xx: Remove redundant error variable

    Return the value from ahd_linux_queue_abort_cmd() directly instead of using
    a redundant variable.
    
    Link: https://lore.kernel.org/r/20220104112452.601899-1-chi.minghao@zte.com.cn
    Reported-by: Zeal Robot <zealci@zte.com.cn>
    Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
    Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    Minghao Chi authored and martinkpetersen committed Jan 5, 2022
  2. scsi: pm80xx: Port reset timeout error handling correction

    Error handling steps were not in sequence as per the programmers
    manual. Expected sequence:
    
     - PHY_DOWN (PORT_IN_RESET)
    
     - PORT_RESET_TIMER_TMO
    
     - Host aborts pending I/Os
    
     - Host deregister the device
    
     - Host sends HW_EVENT_PHY_DOWN ACK
    
    Previously we were sending HW_EVENT_PHY_DOWN ACK first and then deregister
    the device. Fix this to use the expected sequence.
    
    Link: https://lore.kernel.org/r/20211228111753.10802-1-Ajish.Koshy@microchip.com
    Signed-off-by: Ajish Koshy <Ajish.Koshy@microchip.com>
    Signed-off-by: Viswas G <Viswas.G@microchip.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    Ajish Koshy authored and martinkpetersen committed Jan 5, 2022
  3. scsi: mpi3mr: Fix formatting problems in some kernel-doc comments

    Remove some warnings found by running scripts/kernel-doc, which is caused
    by using 'make W=1'.
    
    drivers/scsi/mpi3mr/mpi3mr_fw.c:2188: warning: Function parameter or
    member 'reason_code' not described in 'mpi3mr_check_rh_fault_ioc'
    
    drivers/scsi/mpi3mr/mpi3mr_fw.c:3650: warning: Excess function parameter
    'init_type' description in 'mpi3mr_init_ioc'
    
    drivers/scsi/mpi3mr/mpi3mr_fw.c:4177: warning: bad line
    
    Link: https://lore.kernel.org/r/20211231082350.19315-1-yang.lee@linux.alibaba.com
    Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    Yang Li authored and martinkpetersen committed Jan 5, 2022
  4. scsi: mpi3mr: Fix some spelling mistakes

    There are some spelling mistakes in some literal strings. Fix them.
    
    Link: https://lore.kernel.org/r/20211224175240.1348942-1-colin.i.king@gmail.com
    Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    ColinIanKing authored and martinkpetersen committed Jan 5, 2022
  5. scsi: mpt3sas: Update persistent trigger pages from sysfs interface

    Store sysfs-provided trigger values into the corresponding persistent
    trigger pages. Otherwise trigger entries are not persistent across system
    reboots.
    
    Link: https://lore.kernel.org/r/20211227053055.289537-1-suganath-prabu.subramani@broadcom.com
    Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    suganathprabu0512 authored and martinkpetersen committed Jan 5, 2022
  6. scsi: core: Fix scsi_mode_select() interface

    The modepage argument is unused. Remove it.
    
    Link: https://lore.kernel.org/r/20210929091744.706003-3-damien.lemoal@wdc.com
    Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
    Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    damien-lemoal authored and martinkpetersen committed Jan 5, 2022
  7. scsi: aacraid: Fix spelling of "its"

    Use the possessive "its" instead of the contraction "it's" in user
    messages.
    
    Link: https://lore.kernel.org/r/20211223061119.18304-1-rdunlap@infradead.org
    Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com>
    Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
    Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    rddunlap authored and martinkpetersen committed Jan 5, 2022
  8. scsi: qedf: Fix potential dereference of NULL pointer

    The return value of dma_alloc_coherent() needs to be checked to avoid use
    of NULL pointer in case of an allocation failure.
    
    Link: https://lore.kernel.org/r/20211216101449.375953-1-jiasheng@iscas.ac.cn
    Fixes: 61d8658 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.")
    Acked-by: Saurav Kashyap <skashyap@marvell.com>
    Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    JiangJias authored and martinkpetersen committed Jan 5, 2022

Commits on Dec 27, 2021

  1. Merge branch 'misc' into for-next

    James Bottomley authored and James Bottomley committed Dec 27, 2021
  2. Merge branch 'fixes' into for-next

    James Bottomley authored and James Bottomley committed Dec 27, 2021

Commits on Dec 23, 2021

  1. scsi: mpi3mr: Bump driver version to 8.0.0.61.0

    Update the driver version to newer version format i.e. 8.0.0.61.0.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-26-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  2. scsi: mpi3mr: Fixes around reply request queues

    Set reply queue depth of 1K for B0 and 4K for A0.
    
    While freeing the segmented request queues use the actual queue depth that
    is used while creating them.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-25-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  3. scsi: mpi3mr: Enhanced Task Management Support Reply handling

    Enhance driver to consider MPI3_IOCSTATUS_SCSI_IOC_TERMINATED as a success
    for TMs issued by it and check the pending I/Os to decide the success or
    failure of the task management requests instead of just considering the
    MPI3_IOCSTATUS_SCSI_IOC_TERMINATED as a failure of the task management
    request.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-24-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  4. scsi: mpi3mr: Use TM response codes from MPI3 headers

    Remove locally defined TM response codes and use codes from MPI3 headers.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-23-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  5. scsi: mpi3mr: Add io_uring interface support in I/O-polled mode

    Add support for the io_uring interface in I/O-polled mode.
    
    This feature is disabled in the driver by default. To enable the feature, a
    module parameter "poll_queues" has to be set with the desired number of
    polling queues.
    
    When the feature is enabled, the driver reserves a certain number of
    operational queue pairs for the poll_queues either from the available queue
    pairs or creates additional queue pairs based on the operational queue
    availability.
    
    The Polling queues will have corresponding IRQ and ISR functions as similar
    to default queues. However, the IRQ line is disabled by the driver for
    poll_queues.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-22-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  6. scsi: mpi3mr: Print cable mngnt and temp threshold events

    Print cable management & temperature threshold event data.
    
    Use vendor id & device id macro definitions from MPI3 headers.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-21-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  7. scsi: mpi3mr: Support Prepare for Reset event

    The IOC sends a Prepare for Reset Event to the host to prepare for a Soft
    Reset. This event data has two reason codes:
    
     1. Start - The host is expected to gracefully quiesce all I/O within
        approximately 1 second.
    
     2. Abort - The IOC is requesting to abort a previous Prepare for Reset
        Event request. Normal I/O may be resumed.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-20-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  8. scsi: mpi3mr: Add Event acknowledgment logic

    Add Event acknowledgment logic.
    
    Link: https://lore.kernel.org/r/20211220141159.16117-19-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
  9. scsi: mpi3mr: Gracefully handle online FW update operation

    Enhance driver to gracefully handle discrepancies in certain key data sizes
    between firmware update operations as mentioned below:
    
     - The driver displays an error message and marks the controller as
       unrecoverable if the firmware reports ReplyFrameSize that is greater
       than the current ReplyFrameSize.
    
     - If the firmware reports ReplyFrameSize greater than the current
       ReplyFrameSize then the driver uses the current ReplyFrameSize while
       copying the reply messages.
    
     - The driver displays an error message and marks the controller as
       unrecoverable if the firmware reports MaxOperationalReplyQueues less
       than the currently allocated operational reply queues count.
    
     - If the firmware reports MaxOperationalReplyQueues that is greater than
       the currently allocated operational reply queue count then the driver
       ignores the new increased value and uses the previously allocated number
       of operational queues only.
    
     - If the firmware reports MaxDevHandle greater than the previously used
       MaxDevHandle value after a reset then the driver re-allocates the
       'device remove pending bitmap' buffer with the newer size using
       krealloc().
    
    Link: https://lore.kernel.org/r/20211220141159.16117-18-sreekanth.reddy@broadcom.com
    Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
    sreekanthbrcm authored and martinkpetersen committed Dec 23, 2021
Older