Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4059275imm; Mon, 30 Jul 2018 08:01:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc03XlRtNPxnWZRZhf5rt6YcSDwBjLGEwyFuozpNK8c9yvqVXsWAVXKTapl+qJlnzer4hJZ X-Received: by 2002:a65:4344:: with SMTP id k4-v6mr16560112pgq.409.1532962915683; Mon, 30 Jul 2018 08:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532962915; cv=none; d=google.com; s=arc-20160816; b=QO9hE0FGyi60W9+PNeRfGlOxmshneRDbwrwtWko5JlOlMpRUr8YMypAAKv9RTjpfoQ B4HBMQExlpxLlpCjLXuaxZJK7SUCg96NYeZTIh77l8419PQzf8PJ3ldH59iAVTfP7yjS AqGlIYJEAMUJQ5+tOFnMr7tOSgmOBZok91pcpuf6xKC9D0CqOQfmaT8ekkLFe9joDeAz TCOEABSY+8UCftWAeaRZVilp0xFF5Uv19O7FktHeP2QH92dR+Hwh55/rCiv5VYOBHL1g lEey0PEwP7Mg28PIR0JkPN3glsAPZ5JIqMCiJJs/RwnvA2w5zBJh99pA2gVJOZvBHyQu uZ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=3KOBK7vjGx+aenKpvbHul+pa6t+ywlKm0ICWCodwhPw=; b=nTsBsVHBXZRDS22BEiN1sAeRKFnYEdx64IFmd+Ce+lmKyPuDSugS/q/j/KjyObTRb5 oO7IYNaQZk3Eg+Tson6uXUg+VwDDzE6ueO9cfdRax88mip/xl80RvncCjBy612cXnDyi Bi12p+eo8XaKMq6X6w79lRzVzDedVRpqJ3swWaQXfkmvg6fKMEUMywLhyFq64oodjvA9 ewd0gocj1dGVnon2JaiuajB3EKHhJaWI+xdAZpjI3NM+q/Wx5jLzeghzo68BZgrSaAVp mmsxZdOsNZDA7bg+tZpt4bFU+ALDpwq40mKkhXsLoOVfDk2PCqaj1svhy3wK53UglPrm BPyA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si10130217plz.423.2018.07.30.08.01.40; Mon, 30 Jul 2018 08:01:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731992AbeG3Qfl (ORCPT + 99 others); Mon, 30 Jul 2018 12:35:41 -0400 Received: from ackle.nomi.cz ([81.31.33.35]:54700 "EHLO ackle.nomi.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727113AbeG3Qfl (ORCPT ); Mon, 30 Jul 2018 12:35:41 -0400 Received: from localhost (notes.lisk.in [IPv6:2a01:430:1::115:4]) by ackle.nomi.cz (Postfix) with ESMTPSA id F194B9F10A; Mon, 30 Jul 2018 17:00:15 +0200 (CEST) Date: Mon, 30 Jul 2018 17:00:15 +0200 From: Tomas Janousek To: Ming Lei Cc: Patrick Steinhardt , Ming Lei , Jens Axboe , linux-block , Linux Kernel Mailing List Subject: Re: [PATCH] block: fix NPE when resuming SCSI devices using blk-mq Message-ID: <20180730150015.bpgckk73e3jyz4zc@nomi.cz> References: <20180729094131.4kwuukzgfgtisgya@notes.lisk.in> <20180730075949.GA1755@xps.pks.im> <20180730115002.GA6972@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180730115002.GA6972@ming.t460p> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ming, On Mon, Jul 30, 2018 at 07:50:03PM +0800, Ming Lei wrote: > Now runtime PM is still enabled for sd/sr, and I believe the following > patch is needed until we figure out one perfect way for supporting it > well: > [...] > + pm_runtime_disable(dev); Awesome, thanks for the quick reaction! :-) (I don't happen to have a .config for the hardware I'm experincing the problem on, so don't expect a Tested-By from me, but I don't see why it wouldn't fix the issue, and it did for Patrick.) -- Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/