From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FC6B3C29 for ; Wed, 17 Aug 2022 19:28:51 +0000 (UTC) Received: by mail-pg1-f182.google.com with SMTP id r69so12789783pgr.2 for ; Wed, 17 Aug 2022 12:28:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=eIIJ90bC7P6FQljG0Svb0/jyjx1J3a6+sZdp1aw3LWc=; b=YJlAzlm+VLuGAm03qKEdmRKAq4g2id2BJhEd7eXGupMycv0uG91eJrYcR5QAti9Vv+ ApauYDzdaJHXJbIovUmSgoXL4fsiuPYUqeqyo/A0Byzcv7gZqLOvMn18WpRwf3/4bheu ST7LiNkViK82N4wA8NRJKxa0wPCcqyg52mTaN/MQ9fA5Ml82mrylxxjgAxI9ocGe/fCS iCNlJjLAZbWed64q5CFc+3DiDLIR0I9DesxQ9g+BW2u9VlG25dUZUIZsIVASzt5pb7Bn nfCTPdgzcbg9YzhACc4vgbOmCKIFCk9Ls3FLerY8jckqpKW8j6FjUWb48WkuYKpv8AAA lojw== X-Gm-Message-State: ACgBeo1GPlrdPMGoqOyKMM67xnskaMHvdege0PfD3N4kj/UvbNHnn3tm cgOngx6QTKXpWBjkNP7N418= X-Google-Smtp-Source: AA6agR5N1VLxg1D0o/efqSo+AfelEHXkXuS7UXlv7yTPvJeIol1q15tQVj7kMfdJLeiP19U+aJHknA== X-Received: by 2002:aa7:88d3:0:b0:52e:ade6:6192 with SMTP id k19-20020aa788d3000000b0052eade66192mr26944323pff.41.1660764530467; Wed, 17 Aug 2022 12:28:50 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:55b:6314:9f8d:7bcd? ([2620:15c:211:201:55b:6314:9f8d:7bcd]) by smtp.gmail.com with ESMTPSA id n2-20020a170902e54200b0016ed8af2ec0sm312931plf.29.2022.08.17.12.28.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Aug 2022 12:28:49 -0700 (PDT) Message-ID: <41b3cf11-6129-60d8-436a-b957b442a4bc@acm.org> Date: Wed, 17 Aug 2022 12:28:46 -0700 Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 2/2] scsi: sd: Rework asynchronous resume support Content-Language: en-US To: Vlastimil Babka , Geert Uytterhoeven Cc: "Martin K . Petersen" , Jaegeuk Kim , scsi , Ming Lei , Hannes Reinecke , John Garry , ericspero@icloud.com, jason600.groome@gmail.com, Linux-Renesas , Linux Kernel Mailing List , linux-ide@vger.kernel.org, James Bottomley , regressions@lists.linux.dev 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> <98592410-dd31-9081-86be-fda67d3b06d2@suse.cz> From: Bart Van Assche In-Reply-To: <98592410-dd31-9081-86be-fda67d3b06d2@suse.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/17/22 12:07, Vlastimil Babka wrote: > In my case it's > /sys/devices/pci0000:00/0000:00:17.0/ata1/host0/scsi_host/host0/proc_name:ahci > /sys/devices/pci0000:00/0000:00:17.0/ata2/host1/scsi_host/host1/proc_name:ahci > > Some more details from dmesg > > [ 0.849373] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) > [ 0.852849] ata2.00: ACPI cmd f5/00:00:00:00:00:a0(SECURITY FREEZE LOCK) filtered out > [ 0.854671] ata2.00: supports DRM functions and may not be fully accessible > [ 0.856181] ata2.00: ATA-9: SAMSUNG MZ7LN512HMJP-000L7, MAV01L6Q, max UDMA/133 > [ 0.858115] ata2.00: 1000215216 sectors, multi 1: LBA48 NCQ (depth 32), AA > [ 0.861584] ata2.00: Features: Trust Dev-Sleep NCQ-sndrcv > [ 0.863749] ata2.00: ACPI cmd f5/00:00:00:00:00:a0(SECURITY FREEZE LOCK) filtered out > [ 0.865481] ata2.00: supports DRM functions and may not be fully accessible > [ 0.870043] ata2.00: configured for UDMA/133 > [ 0.871871] scsi 1:0:0:0: Direct-Access ATA SAMSUNG MZ7LN512 1L6Q PQ: 0 ANSI: 5 > > Please Cc me on further questions/steps to try/patches to test. Hi Vlastimil, Thank you for having provided the above information. The root cause of the hang is not yet clear to me. I was wondering whether the hang perhaps would be triggered by controllers that only support queue depth 1. However, in the above output I see "depth 32". As already reported in this email thread a revert for commit 88f1669019bd62b3 has been posted on the linux-scsi mailing list. Additionally, Greg KH has been asked to drop that patch from the stable trees. Thanks, Bart.