Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1991964pxa; Mon, 24 Aug 2020 01:43:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgI+xY0rTnrNhmlwXUKwTgTqWlXlRYKLgJpf5uMwsYbpfiMHYJOupfYW+uUoNOYR5WoN2D X-Received: by 2002:a17:906:c10c:: with SMTP id do12mr1229425ejc.92.1598258607731; Mon, 24 Aug 2020 01:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598258607; cv=none; d=google.com; s=arc-20160816; b=LDcU9oy7WVDQLdbA0urfsZIOPUY82f44rj4IZGUPusf59M5Gprm2/oMjGjwT0fwQnb HgQzS6vfrrgqRqCThxESbJRc2xq4P0SPCE+PbaFvCIVR3j8hSXkP24URtibDYdIjiHeg pcR4lp6spKqiEbjyOpNI2pnWHrGGvNm87RbRm/eOER5zCkWW0Nbags4WePBS46PnQVx9 I+FQP7+Cw/5mD6DyOL76rqcsTg9vcPAOEcH8JYsayUhRqR4/eH38qQf9yJg4e/6HCIHZ Ol2rsSd9Zxnaj+L8dUgDrTXzYWJPqUckqs68Pb5mr5HztiWQo/L1zXqV66bqgPE10d8g xubA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=voyHwITvq0wBrEVy8zw4YRZx8e/OMXcyqakQHvKeh/0=; b=mzWgGS0MArhbHY9a34KxX3qbMoRNkPuGHXfuqjIXZl8tiryyFavseNfeBTj6Runs7L J/CEKmUti1S7tnS725fFpK82vbuiSxIp72mUzoDT2aXSMow88Xm+WPl7jBcR58v3gilF DvKWEeeEzS2TE3eeHS1wpAoMeHHMo2EjFDSwcn4N1pYun9EERNir3ILQ3ckeqiE7YyaW msL/cCHTxlPpvMrMu+6rO/wGXMfEkxHS0fzxR2HsokpBXrr0tbCyE7kYO8X15feujDzv /HSeOoXz3BQfcF42Ls/OKTek/1Lp7HHM1LRRTNrFSJjwTkS1RzhoPDQXFDohPN05++y2 X2rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ermSDjEO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yc15si7817573ejb.413.2020.08.24.01.43.04; Mon, 24 Aug 2020 01:43:27 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ermSDjEO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728572AbgHXImH (ORCPT + 99 others); Mon, 24 Aug 2020 04:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728902AbgHXImA (ORCPT ); Mon, 24 Aug 2020 04:42:00 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F35FC061573; Mon, 24 Aug 2020 01:42:00 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id b2so7308333edw.5; Mon, 24 Aug 2020 01:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=voyHwITvq0wBrEVy8zw4YRZx8e/OMXcyqakQHvKeh/0=; b=ermSDjEORxns3jhdPPECRpUY4VjiYyjh8zO6N8AMfuuBeGJg3j99euRppSQLVxs/dw 8kgXi0mzu/qkUDmYgW9YF5E/I5si611wq/vMMv7MDUhaNGtZCqxPrnHYoQsE5dbFSGO3 tBMakxKoQtoqEswQq7IHzRHirRI8Vsux04uu7dUYVh8i+tGRgYsx1Kz7wuDg5r/jrjWz PPLYoRErbe+xmTj0TEcA/sKd3gnX1IE93yzDFDU9qcMfKSdWK0lJulc0wBot6oHiI9P+ 7EJdHiGbxauhLFUqUhyk5uA40IWnpWS8EW7NpnDBiIkudWCG6aslw1I2wHtw5sbo1wPR e7iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=voyHwITvq0wBrEVy8zw4YRZx8e/OMXcyqakQHvKeh/0=; b=qM82Q+ZAZNuKStmEkeAaRoh8OpyYh0oq+52MvlXjvb9qAVkW8fpiYOOs7TNc6zrVmj YvnM7U5ek1T9G4drLeM9F2cWg2ziMTCrja9K7gFflTV3Qc+77SCyBNfUhCFitXnJo6tw gpQeFGP+vWChwU/AcKJpbuYhwoIT4sA69HeQEkCk8GrK18sJHaXhJB5eGTLyeg/k/2Cw 5T05prt4Rft9czrSKqc03iV2aYebNd6s1HfXoirzYeudG0P+qD2SOz7nB3tW7Y9r4YB5 IWbAEeMQWCPdOuMgA77sMqpLvAGu3TtsaaMGYqF08MfrGSsqr+h+nCxIlWNEyy7PDgd9 gnww== X-Gm-Message-State: AOAM532e1O3ahti0e2w2Lz7ueMmFsSHPJj1xIU0mZ1upzC5e/i99keOc N7ouKYYUuNbLjBfEZK4tQpwUvHwkwPk= X-Received: by 2002:a05:6402:6da:: with SMTP id n26mr4452755edy.262.1598258519203; Mon, 24 Aug 2020 01:41:59 -0700 (PDT) Received: from ubuntu-laptop ([2a01:598:898a:234e:1d41:83f0:a723:a7e3]) by smtp.googlemail.com with ESMTPSA id f10sm6987edr.18.2020.08.24.01.41.56 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Aug 2020 01:41:58 -0700 (PDT) Message-ID: <6a4c297fba9a393c3f472ab443f8cb59b800e2b0.camel@gmail.com> Subject: Re: [PATCH v2] scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler() From: Bean Huo To: Can Guo , asutoshd@codeaurora.org, nguyenb@codeaurora.org, hongwus@codeaurora.org, rnayak@codeaurora.org, linux-scsi@vger.kernel.org, kernel-team@android.com, saravanak@google.com, salyzyn@google.com Cc: Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Stanley Chu , Bean Huo , Bart Van Assche , open list Date: Mon, 24 Aug 2020 10:41:50 +0200 In-Reply-To: <1597798958-24322-1-git-send-email-cang@codeaurora.org> References: <1597798958-24322-1-git-send-email-cang@codeaurora.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-08-18 at 18:02 -0700, Can Guo wrote: > Commit 5586dd8ea250 ("scsi: ufs: Fix a race condition between error > handler > and runtime PM ops") moves the ufshcd_scsi_block_requests() inside > err_handler(), but forgets to remove the > ufshcd_scsi_unblock_requests() in > the early return path. Correct the coding mistake. > > Fixes: 5586dd8ea250 ("scsi: ufs: Fix a race condition between error > handler and runtime PM ops") > Signed-off-by: Can Guo > Reviewed-by: Asutosh Das > Reviewed-by: Hongwu Su Reviewed-by: Bean Huo