Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp832550pxb; Wed, 13 Jan 2021 17:46:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLxdHyK0t/fpJUmV+Xid6bSSFbs4X5mDfHFzahHGdJuSUnRGgGSyhrA6rujy0S3YGhK8h/ X-Received: by 2002:a17:906:8301:: with SMTP id j1mr3607506ejx.397.1610588795544; Wed, 13 Jan 2021 17:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610588795; cv=none; d=google.com; s=arc-20160816; b=h9KsaGEvonRFhDkiQbq9Mls7+2BM/IbLpKqfztOX+GlvMxC5FUoJhpTFeREQ+RcORp PnRHcSR+n6fgftQipw72/UsRvwj1v8QQTfeNDmBEb8oHVNkhipPOsho+fiELaDqZdaWv BRwPighQnwJApqOoAbBR8xT+y045UBk1zYX2kAIyeaA3cKPgrUqLK7zQOfz5lvRyywN4 DAUA+/T/XsUEeDF8vuQWNXV0knq1ArDvDf/yJFLmpof6fdLs7S4qyN19Wtinh7CL0bGI uRJ+vMDua9oUEKrTOn4YlCy+3sAiXK9kZAybjjFHYdZaVspP2ASh3ko+HPJ68RUpYw5+ 49iA== 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:from:references :cc:to:subject; bh=nhGGUKQp3iIGumGW0JSHdb3eHww+a9fUNcP2GsUbZME=; b=rQxiBx5eeL2f7V05oGW+Njlg/CBg1hMh0wehkdKBUnrX22tmEHFzKqYs/ul5aIvgzg 9Y7wz+SoBI4Lq5+FZqfXJnninNmpY0InfRO3IxhSd4hBOaw79wF/sBGe8DSPfwK4wxFD /YuQDLpsa3pS0Bs/CiTxuFwdscHvXA8i5KRaqziXa8puD1M/2EYxgbQyu87VF0uQ0Qlu 5PmWoJHnF1CG9jKQIVzXKY5JMCdTiMHTKO5kpdnCuyjUgcO1DMTrp1vzpdyKusYtXZoX ZMLmyOFy3ewSonlX85zfZRnwQGu6am/E0ct2zutsVdgALDmtur1cwvgt0NuQTrfy/wlh K8tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si416419ejj.576.2021.01.13.17.46.12; Wed, 13 Jan 2021 17:46:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727735AbhANBoD (ORCPT + 99 others); Wed, 13 Jan 2021 20:44:03 -0500 Received: from mail-pj1-f45.google.com ([209.85.216.45]:52363 "EHLO mail-pj1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727319AbhANBoC (ORCPT ); Wed, 13 Jan 2021 20:44:02 -0500 Received: by mail-pj1-f45.google.com with SMTP id v1so2225755pjr.2; Wed, 13 Jan 2021 17:43:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nhGGUKQp3iIGumGW0JSHdb3eHww+a9fUNcP2GsUbZME=; b=O0F4Vlc+hvpRo7rOsq6MQye74RWhJvpOXSPSGMDciqccQ52DzAsGu7uZq5DJturXuX yr8f+f1zZ685lhSp2LfsDg3MmtfrsXLqdBFUz6H/KDGvkmIJSg6iVxuFo3V0GjyJlOcJ qQMlCvgC6KwouJq/mHsPMsdUSLe1guqlArkT/2kCsGamlI4x7c1uErK1Y40Ft6zMVqa2 nnC4ubsdMdhSjqL8PTJrt+1R2vMZ1VjEZB0j5x0kcC0X5ofJvbkxc40hgx/DiLumskJz Hish82MjejkDLH3QmsgMqppdJa2pmb2zNRGRlfkiqLvZopRvvZ6YYtchUN14OL2EdE0w e2Pg== X-Gm-Message-State: AOAM531QdgzdEFhibpfiJSwFBGt5AcmfqG/bKHqEzaGdIm5ezkIxzMAD tFsAvF++OtEwY9RPG5QbGvM= X-Received: by 2002:a17:90a:c084:: with SMTP id o4mr2289007pjs.165.1610588601514; Wed, 13 Jan 2021 17:43:21 -0800 (PST) Received: from [192.168.3.217] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id m22sm3810610pgj.46.2021.01.13.17.43.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jan 2021 17:43:20 -0800 (PST) Subject: Re: [PATCH 4.19 06/77] scsi: scsi_transport_spi: Set RQF_PM for domain validation commands To: Pavel Machek , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Alan Stern , James Bottomley , Woody Suwalski , Can Guo , Stanley Chu , Ming Lei , "Rafael J. Wysocki" , Stan Johnson , Christoph Hellwig , Jens Axboe , Hannes Reinecke , "Martin K. Petersen" , Sasha Levin References: <20210111130036.414620026@linuxfoundation.org> <20210111130036.711898511@linuxfoundation.org> <20210113114745.GA2843@duo.ucw.cz> From: Bart Van Assche Message-ID: Date: Wed, 13 Jan 2021 17:43:18 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210113114745.GA2843@duo.ucw.cz> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/13/21 3:47 AM, Pavel Machek wrote: >> From: Bart Van Assche >> >> [ Upstream commit cfefd9f8240a7b9fdd96fcd54cb029870b6d8d88 ] >> >> Disable runtime power management during domain validation. Since a later >> patch removes RQF_PREEMPT, set RQF_PM for domain validation commands such >> that these are executed in the quiesced SCSI device state. > > This and "05/77] scsi: ide: Do not set the RQF_PREEMPT flag for" do > not fix anything AFAICT. They are in series with other patches in > 5.10, so they may make sense there, but I don't think we need them in > 4.19. Agreed. Please either backport the entire series of 8 patches or do not backport any patch from that series. Selecting a subset of the patches of that series is dangerous. As an example, applying patch 8/8 without applying the prior patches from that series would break SCSI domain validation. See also https://lore.kernel.org/linux-scsi/20201209052951.16136-1-bvanassche@acm.org/ Thanks, Bart.