Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3686992pxb; Tue, 19 Apr 2022 07:58:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrIV1mtoJrSR4e8+ueFY/Vyw9yNbDB2NnsDSCkq3pIlVHbJtYn3YwfU51N6aXAjn7tHvbc X-Received: by 2002:a17:907:728e:b0:6e8:9863:558a with SMTP id dt14-20020a170907728e00b006e89863558amr13898657ejc.205.1650380310464; Tue, 19 Apr 2022 07:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650380310; cv=none; d=google.com; s=arc-20160816; b=IUFWumcGIn/EdrEiwW9RyfJfOnIwpzgZnNv38jIJtWtgvVRd9a/awUmzgZccIik9Wa c5LZ4mydrooWgon4z9RmkuFBt5ON0CROVW2VImP33v1ykxGwPDZq5orupSCbvI33+suO wKbtUBo7gQgO4WtMlLwA0lcVbhUoHZdmsOBfpwPDtfrOy5eNCowDdztVuOQE4vdjgckh B0UDViZuK4rZdRckY/lxmzjvxCOH6rGzwqbL4tG9VquXrZzcXySyQkpH6II4wMJDTSyH UJ83hXmpspb8Ahmfp3XBuHMo0dW+ys8PWcvtRhO7qrQdZgrE8tOZWBWfjFzP7R5n3Lzl JMxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Akl+hhve94s+0BpfCgv1ddK79NTRCigdBpLWsRMdsls=; b=P87HF95BxgecdazZG/PqLTY2OdXH0UP6i0qVKPfK6IKPP6x1OVeFZN/XHaTGwvlmpW 0YrPHOJp9uLoHuyqpOjpPbjCD1xkDDvXBsDdPygJAZKfU+Fl0DipzWE3rf5deBtuVnlP R1G1pfJyisk1WTlUXrf8L6WuWVCTo44JWEfdZvZbgb5aNDMfJla9KzK2xB3Ql7YCGtZ2 zrf4EEr2CqQ+0H0bEpqfDg36mryJ91khWiXsXCXO3xpgOrAZYcuFtTCF0yJd2mZup1Ed GSkEXk52FXQH+ciZZaGaxVD7q79kkjRJpkTrhyoICZKvfnX5tIe651uW3/8fB5Cie1EK 9PNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n23-20020a170906725700b006e860362818si7919671ejk.41.2022.04.19.07.58.05; Tue, 19 Apr 2022 07:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348476AbiDSFPd (ORCPT + 99 others); Tue, 19 Apr 2022 01:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbiDSFPb (ORCPT ); Tue, 19 Apr 2022 01:15:31 -0400 X-Greylist: delayed 1138 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 18 Apr 2022 22:12:49 PDT Received: from gherkin.frus.com (cpe-67-11-228-40.satx.res.rr.com [67.11.228.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CF995220C1; Mon, 18 Apr 2022 22:12:49 -0700 (PDT) Received: by gherkin.frus.com (Postfix, from userid 500) id 485DF61DAA; Mon, 18 Apr 2022 23:53:50 -0500 (CDT) Date: Mon, 18 Apr 2022 23:53:50 -0500 From: Bob Tracy To: debian-alpha@lists.debian.org Cc: Michael Cree , linux-alpha@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: 5.17.0 boot issue on Miata Message-ID: References: <20220326222157.GA13650@tower> <20220405050125.GA25969@tower> <10d61d8f-edfc-fc39-0936-233692464dbd@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00,PDS_RDNS_DYNAMIC_FP, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (Adding linux-scsi and linux-kernel, now that bisection is complete.) On Wed, Apr 06, 2022 at 05:44:01PM -0500, Bob Tracy wrote: > v5.17-rc2 ok. v5.17-rc3 I get the disk sector errors and hang that I > reported in the first message in this thread. This is on an Alpha Miata platform (PWS 433au) with QLogic ISP1020 controller. Here's the implicated commit: edb854a3680bacc9ef9b91ec0c5ff6105886f6f3 is the first bad commit commit edb854a3680bacc9ef9b91ec0c5ff6105886f6f3 Author: Ming Lei Date: Thu Jan 27 23:37:33 2022 +0800 scsi: core: Reallocate device's budget map on queue depth change We currently use ->cmd_per_lun as initial queue depth for setting up the budget_map. Martin Wilck reported that it is common for the queue_depth to be subsequently updated in slave_configure() based on detected hardware characteristics. As a result, for some drivers, the static host template settings for cmd_per_lun and can_queue won't actually get used in practice. And if the default values are used to allocate the budget_map, memory may be consumed unnecessarily. Fix the issue by reallocating the budget_map after ->slave_configure() returns. At that time the device queue_depth should accurately reflect what the hardware needs. Link: https://lore.kernel.org/r/20220127153733.409132-1-ming.lei@redhat.com Cc: Bart Van Assche Reported-by: Martin Wilck Suggested-by: Martin Wilck Tested-by: Martin Wilck Reviewed-by: Martin Wilck Reviewed-by: Bart Van Assche Signed-off-by: Ming Lei Signed-off-by: Martin K. Petersen drivers/scsi/scsi_scan.c | 55 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 50 insertions(+), 5 deletions(-) Respectfully, --Bob