Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8107347ybi; Tue, 23 Jul 2019 03:01:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/Tyb2prWXlZRpyvMGymuoF4C+djYgPhUQ+Xs2FwLOuzkXUXd95muao0JqE0VezpcUJKNC X-Received: by 2002:a17:902:6b86:: with SMTP id p6mr81742768plk.14.1563876060624; Tue, 23 Jul 2019 03:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563876060; cv=none; d=google.com; s=arc-20160816; b=dlnGyCTNcDctzJeoZkx609jAFI00s5kJgdIRkblRMA0Zelmn11AzUGphlG9M/8PknL aofFdnN/2kExlQdgSHbhuTBWIr42y3mKayWxUFLgywmoqQsvMJuHrhO6jw97JEr/zXZ8 nXln8IpE96IayFqyE88kS0BPXHHNUrszZNCrWsFsQGtrsbu9trVUyiQtOQOaqg/JbRao Tbkha8RI9KHqsNGcKS3JGRLXR9sWsR31qZROm1AsYJIQhvFNyxifChqwy1q9HiS2ZOoi QpqDyX55Eg1OueHT2qGEaoVp5VUjrTXWIDH7CwX+ZPhPgRNSRG9o3K8pVGaIcGtITXlq oVlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:dkim-signature; bh=itI8ycCWnArVw4ixVUJqXefqi7j905ebf68Ls1yovfg=; b=sL7FR5qAkphSpxt+Rykjhb6FsdfXeZ7AWDW8aYmM4dGRqIAUSUs5jyuN2tFnXYHQ1a wF522OqmtsTu/IZrEJYRjc4ZMECECq/mH8XUe3VAK07gSGvvqEajggg9Tc5boWSsA3x9 85+wHa9CRdUWRrGIM5WK3rNtQIXiqQKA365JjOeS6LXb92/NtRAe95//UJpH819t/HZ0 nV2NxmkcSoUjf7asB/V/PnAQjWRAWRwSWqf02OdOdcj+zkobEkv00RHI5yj93ib+LIoL PCbfl9nIvX0L/0FKCkX694KZUnNmby4hQ/KfhhG9Vl9Ik41hxCElaferEuK2jE3BAlLx JsCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=W+ic2EfD; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=ItcXtNU0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z142si12269316pfc.128.2019.07.23.03.00.44; Tue, 23 Jul 2019 03:01:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=W+ic2EfD; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=ItcXtNU0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729598AbfGWF2M (ORCPT + 99 others); Tue, 23 Jul 2019 01:28:12 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:57826 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726981AbfGWF2L (ORCPT ); Tue, 23 Jul 2019 01:28:11 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 244C28EE1D2; Mon, 22 Jul 2019 22:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1563859690; bh=/vOJJzZlcC5dRm3BQMhUjwbP+5Tn24gYtGyDOSc0OIk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=W+ic2EfDesHxrMvY9/adjaba3CgzVm29HOTi1m5UROJWKteDqcHmRMoY+c2lIe4D4 TAfR6/x0B3pSIFi8f2K0zpwxqw5MM2oUH50QXZR/g5NHl+k7a+alKUr2t72Gwn5lqK Swsb8iq6CGPn49JJZoB6VZbOrgmWeCrzKSSEv/uU= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Crro_j4b7Ubs; Mon, 22 Jul 2019 22:28:09 -0700 (PDT) Received: from jarvis.lan (unknown [50.35.68.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 7AC208EE0CE; Mon, 22 Jul 2019 22:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1563859688; bh=/vOJJzZlcC5dRm3BQMhUjwbP+5Tn24gYtGyDOSc0OIk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ItcXtNU0VdOv5zsjRmvZj9S45FnEq84Xu3vZOneCBQI7Fh2JbfyGWfyZTndmF6Ekv DDiP1ff1RJd3+ePsuejZ2HbewB7OOwgzJk8tLie78punj4xElcQHIzdjG2syl4ilo2 muxorBZw+T2sRxP5pPrX1vxhQ8bbCvq5MOPkjw/o= Message-ID: <1563859682.2504.17.camel@HansenPartnership.com> Subject: Re: Linux 5.3-rc1 From: James Bottomley To: Guenter Roeck , Linus Torvalds Cc: Linux List Kernel Mailing , Christoph Hellwig , linux-scsi Date: Mon, 22 Jul 2019 22:28:02 -0700 In-Reply-To: <4dc6ef77-afce-1c6d-add3-8df76332e672@roeck-us.net> References: <20190722222126.GA27291@roeck-us.net> <1563839144.2504.5.camel@HansenPartnership.com> <4dc6ef77-afce-1c6d-add3-8df76332e672@roeck-us.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-07-22 at 19:42 -0700, Guenter Roeck wrote: > On 7/22/19 4:45 PM, James Bottomley wrote: > > [linux-scsi added to cc] > > On Mon, 2019-07-22 at 15:21 -0700, Guenter Roeck wrote: > > > On Sun, Jul 21, 2019 at 02:33:38PM -0700, Linus Torvalds wrote: > > > > > > [ ... ] > > > > > > > > Go test, > > > > > > > > > > Things looked pretty good until a few days ago. Unfortunately, > > > the last few days brought in a couple of issues. > > > > > > riscv:virt:defconfig:scsi[virtio] > > > riscv:virt:defconfig:scsi[virtio-pci] > > > > > > Boot tests crash with no useful backtrace. Bisect points to > > > merge ac60602a6d8f ("Merge tag 'dma-mapping-5.3-1'"). Log is at > > > https://kerneltests.org/builders/qemu-riscv64-master/builds/238/s > > > teps > > > /qemubuildcommand_1/logs/stdio > > > > > > ppc:mpc8544ds:mpc85xx_defconfig:sata-sii3112 > > > ppc64:pseries:pseries_defconfig:sata-sii3112 > > > ppc64:pseries:pseries_defconfig:little:sata-sii3112 > > > ppc64:ppce500:corenet64_smp_defconfig:e5500:sata-sii3112 > > > > > > ata1: lost interrupt (Status 0x50) > > > ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen > > > ata1.00: failed command: READ DMA > > > > > > and many similar errors. Boot ultimately times out. Bisect points > > > to > > > merge > > > f65420df914a ("Merge tag 'scsi-fixes'"). > > > > > > Logs: > > > https://kerneltests.org/builders/qemu-ppc64-master/builds/1212/st > > > eps/ > > > qemubuildcommand/logs/stdio > > > https://kerneltests.org/builders/qemu-ppc-master/builds/1255/step > > > s/qe > > > mubuildcommand/logs/stdio > > > > > > Guenter > > > > > > --- > > > riscv bisect log > > > > > > # bad: [5f9e832c137075045d15cd6899ab0505cfb2ca4b] Linus 5.3-rc1 > > > # good: [bdd17bdef7d8da4d8eee254abb4c92d8a566bdc1] scsi: core: > > > take > > > the DMA max mapping size into account > > > git bisect start 'HEAD' 'bdd17bdef7d8' > > > # good: [237f83dfbe668443b5e31c3c7576125871cca674] Merge > > > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next > > > git bisect good 237f83dfbe668443b5e31c3c7576125871cca674 > > > # good: [be8454afc50f43016ca8b6130d9673bdd0bd56ec] Merge tag > > > 'drm- > > > next-2019-07-16' of git://anongit.freedesktop.org/drm/drm > > > git bisect good be8454afc50f43016ca8b6130d9673bdd0bd56ec > > > # good: [d4df33b0e9925c158b313a586fb1557cf29cfdf4] Merge branch > > > 'for- > > > linus-5.2' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb > > > git bisect good d4df33b0e9925c158b313a586fb1557cf29cfdf4 > > > # good: [f90b8fda3a9d72a9422ea80ae95843697f94ea4a] ARM: dts: > > > gemini: > > > Set DIR-685 SPI CS as active low > > > git bisect good f90b8fda3a9d72a9422ea80ae95843697f94ea4a > > > # good: [31cc088a4f5d83481c6f5041bd6eb06115b974af] Merge tag > > > 'drm- > > > next-2019-07-19' of git://anongit.freedesktop.org/drm/drm > > > git bisect good 31cc088a4f5d83481c6f5041bd6eb06115b974af > > > # good: [ad21a4ce040cc41b4a085417169b558e86af56b7] dt-bindings: > > > pinctrl: aspeed: Fix 'compatible' schema errors > > > git bisect good ad21a4ce040cc41b4a085417169b558e86af56b7 > > > # good: [e6023adc5c6af79ac8ac5b17939f58091fa0d870] Merge branch > > > 'core-urgent-for-linus' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > > > git bisect good e6023adc5c6af79ac8ac5b17939f58091fa0d870 > > > # bad: [ac60602a6d8f6830dee89f4b87ee005f62eb7171] Merge tag 'dma- > > > mapping-5.3-1' of git://git.infradead.org/users/hch/dma-mapping > > > git bisect bad ac60602a6d8f6830dee89f4b87ee005f62eb7171 > > > # good: [6e67d77d673d785631b0c52314b60d3c68ebe809] perf vendor > > > events > > > s390: Add JSON files for machine type 8561 > > > git bisect good 6e67d77d673d785631b0c52314b60d3c68ebe809 > > > # good: [a0d14b8909de55139b8702fe0c7e80b69763dcfb] x86/mm, > > > tracing: > > > Fix CR2 corruption > > > git bisect good a0d14b8909de55139b8702fe0c7e80b69763dcfb > > > # good: [6879298bd0673840cadd1fb36d7225485504ceb4] x86/entry/64: > > > Prevent clobbering of saved CR2 value > > > git bisect good 6879298bd0673840cadd1fb36d7225485504ceb4 > > > # good: [449fa54d6815be8c2c1f68fa9dbbae9384a7c03e] dma-direct: > > > correct the physical addr in dma_direct_sync_sg_for_cpu/device > > > git bisect good 449fa54d6815be8c2c1f68fa9dbbae9384a7c03e > > > # good: [e0c5c5e308ee9b3548844f0d88da937782b895ef] Merge tag > > > 'perf- > > > core-for-mingo-5.3-20190715' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into > > > perf/urgent > > > git bisect good e0c5c5e308ee9b3548844f0d88da937782b895ef > > > # good: [c6dd78fcb8eefa15dd861889e0f59d301cb5230c] Merge branch > > > 'x86- > > > urgent-for-linus' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > > > git bisect good c6dd78fcb8eefa15dd861889e0f59d301cb5230c > > > # first bad commit: [ac60602a6d8f6830dee89f4b87ee005f62eb7171] > > > Merge > > > tag 'dma-mapping-5.3-1' of git://git.infradead.org/users/hch/dma- > > > mapping > > > > > > --------- > > > ppc/ppc64 bisect log > > > > > > # bad: [5f9e832c137075045d15cd6899ab0505cfb2ca4b] Linus 5.3-rc1 > > > # good: [abdfd52a295fb5731ab07b5c9013e2e39f4d1cbe] Merge tag > > > 'armsoc- > > > defconfig' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc > > > git bisect start 'HEAD' 'abdfd52a295f' > > > # bad: [e6023adc5c6af79ac8ac5b17939f58091fa0d870] Merge branch > > > 'core- > > > urgent-for-linus' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > > > git bisect bad e6023adc5c6af79ac8ac5b17939f58091fa0d870 > > > # bad: [f65420df914a85e33b2c8b1cab310858b2abb7c0] Merge tag > > > 'scsi- > > > fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi > > > git bisect bad f65420df914a85e33b2c8b1cab310858b2abb7c0 > > > # good: [168c79971b4a7be7011e73bf488b740a8e1135c8] Merge tag > > > 'kbuild- > > > v5.3-2' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux- > > > kbuild > > > git bisect good 168c79971b4a7be7011e73bf488b740a8e1135c8 > > > # good: [106d45f350c7cac876844dc685845cba4ffdb70b] scsi: zfcp: > > > fix > > > request object use-after-free in send path causing wrong traces > > > git bisect good 106d45f350c7cac876844dc685845cba4ffdb70b > > > # good: [bdd17bdef7d8da4d8eee254abb4c92d8a566bdc1] scsi: core: > > > take > > > the DMA max mapping size into account > > > git bisect good bdd17bdef7d8da4d8eee254abb4c92d8a566bdc1 > > > # good: [09a4460ba4434ef0327cd26bf25f2d7afb973251] scsi: IB/iser: > > > set > > > virt_boundary_mask in the scsi host > > > git bisect good 09a4460ba4434ef0327cd26bf25f2d7afb973251 > > > # good: [ce0ad853109733d772d26224297fda0de313bf13] scsi: mpt3sas: > > > set > > > an unlimited max_segment_size for SAS 3.0 HBAs > > > git bisect good ce0ad853109733d772d26224297fda0de313bf13 > > > # good: [07d9aa14346489d6facae5777ceb267a1dcadbc5] scsi: > > > megaraid_sas: set an unlimited max_segment_size > > > git bisect good 07d9aa14346489d6facae5777ceb267a1dcadbc5 > > > # first bad commit: [f65420df914a85e33b2c8b1cab310858b2abb7c0] > > > Merge > > > tag 'scsi-fixes' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi > > > > When a bisect lands on a merge commit it usually indicates bad > > interaction between two trees. The way to find it is to do a > > bisect, > > but merge up to the other side of the scsi-fixes pull before > > running > > tests so the interaction is exposed in the bisect. > > > > Can you provide instructions for dummies ? do a man git-bisect and then follow the 'Automatically bisect with temporary modifications' example. You substitute 168c79971b4a7be7011e73bf488b740a8e1135c8 for hot-fix > > However my money is on: > > > > > > commit bdd17bdef7d8da4d8eee254abb4c92d8a566bdc1 > > Author: Christoph Hellwig > > Date: Mon Jun 17 14:19:54 2019 +0200 > > > > scsi: core: take the DMA max mapping size into account > > > > Now that I look at the code again: > > > > > > + shost->max_sectors = min_t(unsigned int, shost- > > >max_sectors, > > + dma_max_mapping_size(dev) << SECTOR_SHIFT); > > > > That shift looks to be the wrong way around (should be >>). I bet > > something is giving a very large number which becomes zero on left > > shift, meaning max_sectors gets set to zero. > > > > That does indeed look bad, but changing it doesn't make a difference. Odd, all the other changes are driver specific (and not in ATA) apart from this one: commit 7ad388d8e4c703980b7018b938cdeec58832d78d Author: Christoph Hellwig Date: Mon Jun 17 14:19:53 2019 +0200 scsi: core: add a host / host template field for the virt boundary I suppose it could be because the virt_boundary_mask isn't set, but that should just set zero, which is what block usually does. James