Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4580686rwb; Wed, 17 Aug 2022 02:29:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ztzftpFsDG+Uy9d/sivjcxyjsfGqDBaEE6JlNPdUFEV6TxteFHmP8n9z7U3af9dDykWkn X-Received: by 2002:aa7:d88a:0:b0:440:916e:706d with SMTP id u10-20020aa7d88a000000b00440916e706dmr21691027edq.167.1660728572304; Wed, 17 Aug 2022 02:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660728572; cv=none; d=google.com; s=arc-20160816; b=dQngWhg2jYyOvIS2WCOoKZGr+/LbCkbT9YO8VaS8j7zd0JDo6YBZ3sonn0Z0ImHq37 44fV9+K8/0Noq6V17oh1WgamEcxoZ+ot6gNzUsMH9441es9ZK+MEt0ieYv2nabzBbPMB IkZ46Hdsr2FYR7P9yAm92FVp8tDmvCscerkDu2NlxhDTTVytZMcX5phNxey+V903Q8it eRdPMhQG3/GwblQn47MJkQwaWn/OladHcOcmqj2RvAjpLj7XXxK1/JqFdHeH309kIxEi vWk/ffLnKxHmAS1kFWVG2jX3GmSv8/VZx0UfJINpAMXgl1URvUpGtWJJK3/ykbF61MNq SmNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=8pFXrkpBe03PRk1PLulqC+yyyzv+/M0eYEI24PLE9nI=; b=Q41ZzQRb3S+1b3EzcS4bof0CoIrSjQwCvD4dpPsIkn3fNtNJutlMYyyFmcjsxR4NB4 zfqNovZ2a08EM66iFUOlkdAdLJFKj/31wWaOqBEK2/7yYpmbTyqT2V+3U/U0AdAu3BUi RmSSTU7bsnaJRyX6FHAVXRld0IdBWNvCJBo4cQPWIb5+15fxjNSPYp64yt++wW6UD56K bgaA0Jnkj8z5PSmbQ42ll3F8IaryqcIYizJnGcZd90s9BZIXfgcuKKKffrB7Km+9ZRzm OFedlBxs2V9gMY8PTtE14IszpdKkZH+zRriWRo3n9d1axy5HYvTehXRioWhtfYQPhyMi 0ksA== 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 cs9-20020a170906dc8900b00730c36d50b3si13484356ejc.355.2022.08.17.02.29.06; Wed, 17 Aug 2022 02:29:32 -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 S233658AbiHQIxo (ORCPT + 99 others); Wed, 17 Aug 2022 04:53:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiHQIxm (ORCPT ); Wed, 17 Aug 2022 04:53:42 -0400 Received: from mx01.omp.ru (mx01.omp.ru [90.154.21.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74C236745F; Wed, 17 Aug 2022 01:53:39 -0700 (PDT) Received: from [192.168.1.103] (178.176.73.252) by msexch01.omp.ru (10.188.4.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.986.14; Wed, 17 Aug 2022 11:53:30 +0300 Subject: Re: [PATCH v2 2/2] scsi: sd: Rework asynchronous resume support To: Bart Van Assche , Geert Uytterhoeven CC: "Martin K . Petersen" , Jaegeuk Kim , scsi , Ming Lei , Hannes Reinecke , John Garry , , , Linux-Renesas , Linux Kernel Mailing List , , James Bottomley References: <20220630195703.10155-1-bvanassche@acm.org> <506ca1a6-1122-5755-fc74-60f7c7bfbd0d@acm.org> <6f70e742-9d8a-f389-0482-0ba9696bf445@acm.org> <54e20a27-a10b-b77a-e950-1d3398e2e907@acm.org> <084e7c5a-f98d-d61e-de81-83525851ecf9@acm.org> <14ec47f3-f3b8-61c7-2c64-d96d00dd7076@acm.org> <40700595-8c83-1b61-ea93-ea9554bfb2db@acm.org> <3c7e338e-332e-fe80-e419-b360535533c5@acm.org> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: <56cf0251-159c-3f83-78d2-859048625633@omp.ru> Date: Wed, 17 Aug 2022 11:53:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <3c7e338e-332e-fe80-e419-b360535533c5@acm.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [178.176.73.252] X-ClientProxiedBy: msexch01.omp.ru (10.188.4.12) To msexch01.omp.ru (10.188.4.12) X-KSE-ServerInfo: msexch01.omp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 08/17/2022 08:36:57 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 59 X-KSE-AntiSpam-Info: Lua profiles 172266 [Aug 17 2022] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: s.shtylyov@omp.ru X-KSE-AntiSpam-Info: LuaCore: 495 495 bb4e71e2e9e23696ab912b286436360a94c9b107 X-KSE-AntiSpam-Info: {rep_avail} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: {relay has no DNS name} X-KSE-AntiSpam-Info: {SMTP from is not routable} X-KSE-AntiSpam-Info: {Found in DNSBL: 178.176.73.252 in (user) b.barracudacentral.org} X-KSE-AntiSpam-Info: 127.0.0.199:7.1.2;omp.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-KSE-AntiSpam-Info: ApMailHostAddress: 178.176.73.252 X-KSE-AntiSpam-Info: {DNS response errors} X-KSE-AntiSpam-Info: Rate: 59 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dmarc=temperror header.from=omp.ru;spf=temperror smtp.mailfrom=omp.ru;dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 08/17/2022 08:39:00 X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 8/17/2022 6:00:00 AM X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 Hello! On 8/16/22 11:21 PM, Bart Van Assche wrote: >> On Mon, Aug 15, 2022 at 3:49 PM Bart Van Assche wrote: >>> Would it be possible to share the output of the command below? That >>> should reveal which ATA driver is active on the test setup. >>> >>> find /sys -name proc_name | xargs grep -aH . >> >> /sys/devices/platform/soc/ee300000.sata/ata1/host0/scsi_host/host0/proc_name:sata_rcar > > Thanks Geert for the help. Although I already posted a revert, I'm still trying to > root-cause this issue. Do you perhaps know whether sata_rcar controllers support NCQ They don't. :-) > and if so, what queue depth these controllers support? I think that information is available in sysfs. Here is an example for a VM: > > # (cd /sys/class/scsi_device && for a in */device/*/*/ncq_prio_enable; do p=${a%/ncq_prio_enable}; grep -qi ata $p/inquiry || continue; grep -aH . $p/{queue_depth,ncq*}; done) > 2:0:0:0/device/driver/2:0:0:0/queue_depth:32 > 2:0:0:0/device/driver/2:0:0:0/ncq_prio_enable:0 > 2:0:0:0/device/driver/2:0:0:0/ncq_prio_supported:0 > 2:0:0:0/device/generic/device/queue_depth:32 > 2:0:0:0/device/generic/device/ncq_prio_enable:0 > 2:0:0:0/device/generic/device/ncq_prio_supported:0 > 6:0:0:1/device/driver/2:0:0:0/queue_depth:32 > 6:0:0:1/device/driver/2:0:0:0/ncq_prio_enable:0 > 6:0:0:1/device/driver/2:0:0:0/ncq_prio_supported:0 > > Thanks, > > Bart. MBR, Sergey