Linux v5.3-rc2
This commit is contained in:
parent
c0122ac850
commit
28be16d99e
1
configs/fedora/generic/arm/aarch64/CONFIG_ISCSI_IBFT
Normal file
1
configs/fedora/generic/arm/aarch64/CONFIG_ISCSI_IBFT
Normal file
@ -0,0 +1 @@
|
|||||||
|
# CONFIG_ISCSI_IBFT is not set
|
@ -2762,6 +2762,7 @@ CONFIG_IR_WINBOND_CIR=m
|
|||||||
CONFIG_IR_XMP_DECODER=m
|
CONFIG_IR_XMP_DECODER=m
|
||||||
# CONFIG_ISA is not set
|
# CONFIG_ISA is not set
|
||||||
CONFIG_ISCSI_BOOT_SYSFS=m
|
CONFIG_ISCSI_BOOT_SYSFS=m
|
||||||
|
# CONFIG_ISCSI_IBFT is not set
|
||||||
CONFIG_ISCSI_TARGET_CXGB4=m
|
CONFIG_ISCSI_TARGET_CXGB4=m
|
||||||
CONFIG_ISCSI_TARGET=m
|
CONFIG_ISCSI_TARGET=m
|
||||||
CONFIG_ISCSI_TCP=m
|
CONFIG_ISCSI_TCP=m
|
||||||
|
@ -2746,6 +2746,7 @@ CONFIG_IR_WINBOND_CIR=m
|
|||||||
CONFIG_IR_XMP_DECODER=m
|
CONFIG_IR_XMP_DECODER=m
|
||||||
# CONFIG_ISA is not set
|
# CONFIG_ISA is not set
|
||||||
CONFIG_ISCSI_BOOT_SYSFS=m
|
CONFIG_ISCSI_BOOT_SYSFS=m
|
||||||
|
# CONFIG_ISCSI_IBFT is not set
|
||||||
CONFIG_ISCSI_TARGET_CXGB4=m
|
CONFIG_ISCSI_TARGET_CXGB4=m
|
||||||
CONFIG_ISCSI_TARGET=m
|
CONFIG_ISCSI_TARGET=m
|
||||||
CONFIG_ISCSI_TCP=m
|
CONFIG_ISCSI_TCP=m
|
||||||
|
@ -69,9 +69,9 @@ Summary: The Linux kernel
|
|||||||
# The next upstream release sublevel (base_sublevel+1)
|
# The next upstream release sublevel (base_sublevel+1)
|
||||||
%define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
|
%define upstream_sublevel %(echo $((%{base_sublevel} + 1)))
|
||||||
# The rc snapshot level
|
# The rc snapshot level
|
||||||
%global rcrev 1
|
%global rcrev 2
|
||||||
# The git snapshot level
|
# The git snapshot level
|
||||||
%define gitrev 4
|
%define gitrev 0
|
||||||
# Set rpm version accordingly
|
# Set rpm version accordingly
|
||||||
%define rpmversion 5.%{upstream_sublevel}.0
|
%define rpmversion 5.%{upstream_sublevel}.0
|
||||||
%endif
|
%endif
|
||||||
@ -582,8 +582,6 @@ Patch508: KEYS-Make-use-of-platform-keyring-for-module-signature.patch
|
|||||||
# https://patchwork.kernel.org/patch/11029027/
|
# https://patchwork.kernel.org/patch/11029027/
|
||||||
Patch509: iwlwifi-mvm-disable-TX-AMSDU-on-older-NICs.patch
|
Patch509: iwlwifi-mvm-disable-TX-AMSDU-on-older-NICs.patch
|
||||||
|
|
||||||
Patch510: scsi-fix-the-dma_max_mapping_size-call.patch
|
|
||||||
|
|
||||||
# END OF PATCH DEFINITIONS
|
# END OF PATCH DEFINITIONS
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
@ -1822,6 +1820,9 @@ fi
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 29 2019 Laura Abbott <labbott@redhat.com> - 5.3.0-0.rc2.git0.1
|
||||||
|
- Linux v5.3-rc2
|
||||||
|
|
||||||
* Mon Jul 29 2019 Laura Abbott <labbott@redhat.com>
|
* Mon Jul 29 2019 Laura Abbott <labbott@redhat.com>
|
||||||
- Disable debugging options.
|
- Disable debugging options.
|
||||||
|
|
||||||
|
@ -1,102 +0,0 @@
|
|||||||
From patchwork Mon Jul 22 09:20:38 2019
|
|
||||||
Content-Type: text/plain; charset="utf-8"
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Transfer-Encoding: 7bit
|
|
||||||
X-Patchwork-Submitter: Christoph Hellwig <hch@lst.de>
|
|
||||||
X-Patchwork-Id: 11051855
|
|
||||||
Return-Path: <linux-scsi-owner@kernel.org>
|
|
||||||
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 E72EF138D
|
|
||||||
for <patchwork-linux-scsi@patchwork.kernel.org>;
|
|
||||||
Mon, 22 Jul 2019 09:20:54 +0000 (UTC)
|
|
||||||
Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
|
|
||||||
by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7C362624B
|
|
||||||
for <patchwork-linux-scsi@patchwork.kernel.org>;
|
|
||||||
Mon, 22 Jul 2019 09:20:54 +0000 (UTC)
|
|
||||||
Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
|
|
||||||
id B4FD327861; Mon, 22 Jul 2019 09:20:54 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID,
|
|
||||||
DKIM_SIGNED,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 37ED82624B
|
|
||||||
for <patchwork-linux-scsi@patchwork.kernel.org>;
|
|
||||||
Mon, 22 Jul 2019 09:20:54 +0000 (UTC)
|
|
||||||
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
|
|
||||||
id S1728717AbfGVJUx (ORCPT
|
|
||||||
<rfc822;patchwork-linux-scsi@patchwork.kernel.org>);
|
|
||||||
Mon, 22 Jul 2019 05:20:53 -0400
|
|
||||||
Received: from bombadil.infradead.org ([198.137.202.133]:50656 "EHLO
|
|
||||||
bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
|
|
||||||
with ESMTP id S1727744AbfGVJUx (ORCPT
|
|
||||||
<rfc822;linux-scsi@vger.kernel.org>); Mon, 22 Jul 2019 05:20:53 -0400
|
|
||||||
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
|
|
||||||
d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding:
|
|
||||||
MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:
|
|
||||||
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
|
|
||||||
Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:
|
|
||||||
List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
|
|
||||||
bh=rozEWPkakpWOVwCBsdppdcawJNVVlIw+Eg8lASKNsgg=;
|
|
||||||
b=tpkF1ayflIjh50YVCiIn61zsk
|
|
||||||
585NNt4GTav6znbiEh1nk7blBJDc4sIiGh980AUQln3qSyxICFWhCLRT0GbPYuDr6OYKmlMA+MYn4
|
|
||||||
YKX1UgcCicQwtRrLctNcdiEyYNDJWADTfK90HK3wQidBEL3ehgl2tjmh7J1mLtWu33buFKJDQLLG2
|
|
||||||
ctnqQimtuNqiaNzB7V5E0GCta+pc88Y6jjomsupaMd2evzlP002O4FNs9nH2xkE1q06lb00ItDuKT
|
|
||||||
p7y4RNQw3rVvV+bJqbDefPnWuXcS5g8+A7gWxtwwYSCf75AexTWccRKIeIBdDmmnPn3KAvb+jyrGW
|
|
||||||
XM4Jvxkpw==;
|
|
||||||
Received: from 089144207240.atnat0016.highway.bob.at ([89.144.207.240]
|
|
||||||
helo=localhost)
|
|
||||||
by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux))
|
|
||||||
id 1hpUUs-0002Si-9l; Mon, 22 Jul 2019 09:20:42 +0000
|
|
||||||
From: Christoph Hellwig <hch@lst.de>
|
|
||||||
To: martin.petersen@oracle.com
|
|
||||||
Cc: bvanassche@acm.org, tom.leiming@gmail.com, dexuan.linux@gmail.com,
|
|
||||||
Damien.LeMoal@wdc.com, linux-scsi@vger.kernel.org
|
|
||||||
Subject: [PATCH] scsi: fix the dma_max_mapping_size call
|
|
||||||
Date: Mon, 22 Jul 2019 11:20:38 +0200
|
|
||||||
Message-Id: <20190722092038.17659-1-hch@lst.de>
|
|
||||||
X-Mailer: git-send-email 2.20.1
|
|
||||||
MIME-Version: 1.0
|
|
||||||
X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by
|
|
||||||
bombadil.infradead.org. See http://www.infradead.org/rpr.html
|
|
||||||
Sender: linux-scsi-owner@vger.kernel.org
|
|
||||||
Precedence: bulk
|
|
||||||
List-ID: <linux-scsi.vger.kernel.org>
|
|
||||||
X-Mailing-List: linux-scsi@vger.kernel.org
|
|
||||||
X-Virus-Scanned: ClamAV using ClamSMTP
|
|
||||||
|
|
||||||
We should only call dma_max_mapping_size for devices that have a DMA
|
|
||||||
mask set, otherwise we can run into a NULL pointer dereference that
|
|
||||||
will crash the system.
|
|
||||||
|
|
||||||
Also we need to do right shift to get the sectors from the size in
|
|
||||||
bytes, not a left shift.
|
|
||||||
|
|
||||||
Fixes: bdd17bdef7d8 ("scsi: core: take the DMA max mapping size into account")
|
|
||||||
Reported-by: Bart Van Assche <bvanassche@acm.org>
|
|
||||||
Reported-by: Ming Lei <tom.leiming@gmail.com>
|
|
||||||
Signed-off-by: Christoph Hellwig <hch@lst.de>
|
|
||||||
Tested-by: Guilherme G. Piccoli <gpiccoli@canonical.com>
|
|
||||||
---
|
|
||||||
drivers/scsi/scsi_lib.c | 6 ++++--
|
|
||||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
|
|
||||||
index 9381171c2fc0..11e64b50497f 100644
|
|
||||||
--- a/drivers/scsi/scsi_lib.c
|
|
||||||
+++ b/drivers/scsi/scsi_lib.c
|
|
||||||
@@ -1784,8 +1784,10 @@ void __scsi_init_queue(struct Scsi_Host *shost, struct request_queue *q)
|
|
||||||
blk_queue_max_integrity_segments(q, shost->sg_prot_tablesize);
|
|
||||||
}
|
|
||||||
|
|
||||||
- shost->max_sectors = min_t(unsigned int, shost->max_sectors,
|
|
||||||
- dma_max_mapping_size(dev) << SECTOR_SHIFT);
|
|
||||||
+ if (dev->dma_mask) {
|
|
||||||
+ shost->max_sectors = min_t(unsigned int, shost->max_sectors,
|
|
||||||
+ dma_max_mapping_size(dev) >> SECTOR_SHIFT);
|
|
||||||
+ }
|
|
||||||
blk_queue_max_hw_sectors(q, shost->max_sectors);
|
|
||||||
if (shost->unchecked_isa_dma)
|
|
||||||
blk_queue_bounce_limit(q, BLK_BOUNCE_ISA);
|
|
3
sources
3
sources
@ -1,3 +1,2 @@
|
|||||||
SHA512 (linux-5.2.tar.xz) = 5a28f8a34c4e0470617f5638b7112e6252109b78f23b1eed484a228530970c7ef5c130d6e5a09cf25ea2f6a0329602dcc1ec66ce893182e15b27d99bd228789c
|
SHA512 (linux-5.2.tar.xz) = 5a28f8a34c4e0470617f5638b7112e6252109b78f23b1eed484a228530970c7ef5c130d6e5a09cf25ea2f6a0329602dcc1ec66ce893182e15b27d99bd228789c
|
||||||
SHA512 (patch-5.3-rc1.xz) = 2516824ccc1da39a5b86a8c5fc5db6327e3d0ff71ba0d913b7b05ad145103bd92a0936f46adf49884ed78eed76c306b578f34596ceca2f2f0120fc4b119c1c96
|
SHA512 (patch-5.3-rc2.xz) = 24691c1f8ccbea442d8d4e828be73c726328e50c24b4a8a07879397b939339cad00f85560781ad1d36158e022db1e5900308c091e9f453ebbe28fa23cf8b2cbe
|
||||||
SHA512 (patch-5.3-rc1-git4.xz) = 8cdf57434a5f5fdb824053097bf3e1b5e59a3e0e8a737d66dc938fc205636d47f3bcb7695bd747e3d735f90e623d97eb60b7fa8668694c98a1c6a0f8028146f5
|
|
||||||
|
Loading…
Reference in New Issue
Block a user