Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp511205pxb; Thu, 12 Aug 2021 23:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/3zMo3eFE3LdUyyMnjiokZ3/FUn2e5vMwFvmZBqSbVnsntQ7ZdkruxFVXp9sfjlU4OUF4 X-Received: by 2002:a92:a30d:: with SMTP id a13mr756350ili.181.1628836049060; Thu, 12 Aug 2021 23:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628836049; cv=none; d=google.com; s=arc-20160816; b=ixp+yuhw6uYVL3+dDue/rEl2VJWef5Lm1SIjwZPaOQpBVaDvXogAUuLnrUUeD2a5gr KDt8YVwdDkBAXy+wm/sXSY8LNWffHM59TtkL1Iae3GZrZAehj3ZKLlk9si4TudHrNIMo +qXUkLV4BzJ0ikNK6R8t3KdhQW+rAfER8YoVeOEtPE2bPQdozLl0sRUzV40YWyNdxN8X K8P8v9j3NMXmmRkmiFfZfk63EKNtajEE3LW/1PC3UqxUhdnDaQcaCTG/6LRxA0CKNe6e nCGAoV8s8/xPGBUtEEfFixnhFtcKOhtuCEeN+tdiWiPIheDo9lmJ5mH8r6Y1wWsfcAfc 58bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:to:from:dkim-signature:dkim-filter; bh=iGDief16Fzc3SLhWwVJACEbw8Ik43QoS3vYZa+gMyns=; b=ZEH7QFiJ3/dZX2FWCn9pYDYVEMdZ+uIlHd2mTn7DG1h24OGgg/PROx+8TH/z3Hjbjg GUaf1HYWS81d9QtsrsGJ7VWpJLi2rSSLDYY3I7WS4H4tbjikgexaNQQ2Vs134mur5x39 RLKm80RPiCk5di2q9gPBmN0yfdz9RFcGseHhI1/wyWUpXRz7AbBsAzWT7Ktn8BpIXt4M cJVvdjcSgYHRFd7F0PB4hi73Fg7GAKDv0EhySon2oQRyFzdJacjObZNJ9JZRKTKab6hh QTIQQux2Zly2xCoi2nsyZn2B4K5ZvsqHpsTaXnXluuM7s+2WkFpcP9veOOQdWrpHD/47 qsOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NjGqrG3O; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si575274iow.13.2021.08.12.23.27.16; Thu, 12 Aug 2021 23:27:29 -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=@samsung.com header.s=mail20170921 header.b=NjGqrG3O; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238710AbhHMFcD (ORCPT + 99 others); Fri, 13 Aug 2021 01:32:03 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:25593 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbhHMFcC (ORCPT ); Fri, 13 Aug 2021 01:32:02 -0400 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20210813053134epoutp0416290f240ce9b4ff5a9bdf6a105fa05f~axrSi4DwN0539405394epoutp04E for ; Fri, 13 Aug 2021 05:31:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20210813053134epoutp0416290f240ce9b4ff5a9bdf6a105fa05f~axrSi4DwN0539405394epoutp04E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1628832694; bh=iGDief16Fzc3SLhWwVJACEbw8Ik43QoS3vYZa+gMyns=; h=From:To:In-Reply-To:Subject:Date:References:From; b=NjGqrG3O/yN5PbjQtNFne/yx2/BF9ljrO84EYjOfCN856+w9yeqmpikLvr1ApB1Xh 0qvyiKMx2RMYaOsV8eEhfkdUuBRB4dMq+BUKvo8mzWJ7z522TiOvhiAxsFmJvpncNk VxVLbjxTl46sHx0/ZJCU111woaEx4SEP7WqTbF4Q= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20210813053133epcas2p1abc2b2e3499c3fe3152d289210e8715e~axrRutZsQ0274302743epcas2p1Q; Fri, 13 Aug 2021 05:31:33 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.40.187]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4GmBxZ4zYbz4x9Qg; Fri, 13 Aug 2021 05:31:30 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id F7.66.09921.2B306116; Fri, 13 Aug 2021 14:31:30 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20210813053130epcas2p1a1d6da04716e4c279c15350fb55937c9~axrOg7Cnw0274002740epcas2p1C; Fri, 13 Aug 2021 05:31:29 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210813053129epsmtrp11c6bd4bad2b087fe23af18a43177b54b~axrOb8CN42126821268epsmtrp11; Fri, 13 Aug 2021 05:31:29 +0000 (GMT) X-AuditID: b6c32a45-f9dff700000026c1-01-611603b22f00 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 1B.77.32548.1B306116; Fri, 13 Aug 2021 14:31:29 +0900 (KST) Received: from KORCO011456 (unknown [12.36.185.54]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210813053129epsmtip25c47b25ddf5818831ac26f717759ba8d~axrOItGrO3034130341epsmtip2t; Fri, 13 Aug 2021 05:31:29 +0000 (GMT) From: "Kiwoong Kim" To: "'Bart Van Assche'" , , , , , , , , , , , , , In-Reply-To: <32cc37cd-2f66-0f74-5242-cfcf86f58844@acm.org> Subject: RE: [RFC PATCH v1 0/2] scsi: ufs: introduce vendor isr Date: Fri, 13 Aug 2021 14:31:29 +0900 Message-ID: <064a01d79004$77f087c0$67d19740$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQLpLcRe5nxssMVHyiI1GTvVMnlTYwK++sB5AU8a/RsBw7fVSgIyhbLYqQ2JOBA= Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLJsWRmVeSWpSXmKPExsWy7bCmue4mZrFEg8alqhYnn6xhs3gwbxub xcufV9ksDj7sZLH4uvQZq8W0Dz+ZLT6tX8ZqsXrxAxaLRTe2MVlc3jWHzaL7+g42i+XH/zFZ dN29wWix9N9bFgc+j8tXvD0u9/UyeSze85LJY8KiA4we39d3sHl8fHqLxaNvyypGj8+b5Dza D3QzBXBG5dhkpCampBYppOYl56dk5qXbKnkHxzvHm5oZGOoaWlqYKynkJeam2iq5+AToumXm AB2vpFCWmFMKFApILC5W0rezKcovLUlVyMgvLrFVSi1IySkwNCzQK07MLS7NS9dLzs+1MjQw MDIFqkzIyVi/3qzgI0fF+ZvVDYy/2LoYOTkkBEwkjt3vY+li5OIQEtjBKPH2SjcbhPOJUWLu 5OnsEM5nRonlN/YzwrTMOj2PCSKxi1HizNcGRgjnBaNE17YNYFVsAtoS0x7uZgVJiAi0MEtc 2fuJCSTB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4rJJSc3JLEst0rdL4MpYv96s4CNHxfmb1Q2Mv9i6GDk5JARMJGadnscEYgsJ7GCU OLXSDSIuKXFi53NGCFtY4n7LEdYuRi6gmmeMEkc/bwNLsAloS0x7uBssISIwhVnizrWjbBBV 05gkbj3YxApSxSlgLfH0yC72LkYODmEBe4mX/8RAwiwCqhJHntxgBrF5BSwl7k+7yg5hC0qc nPmEBcRmBlrQ+7CVEcKWl9j+dg4zxEUKEj+fLgMbLyLgJ/F96W2oGhGJ2Z1tzBMYhWYhGTUL yahZSEbNQtKygJFlFaNkakFxbnpusWGBUV5quV5xYm5xaV66XnJ+7iZGcHxqae1g3LPqg94h RiYOxkOMEhzMSiK8O+WEEoV4UxIrq1KL8uOLSnNSiw8xSnOwKInzXug6GS8kkJ5YkpqdmlqQ WgSTZeLglGpg2n1m4075F/bpiSemq3av28Bbp6Eskynk9bPtmVbSbZemCqmFrNXOP67zzLho pspmdf5kQaJpvEak0TKJtEfCbV81bnzffsm8IfyG3+KlDS/+VJ2s8KledFRArzj00fwkn/2M Ww+9XNNdpOAZWXUrc/fnnH1FGsLbsuUvvVK94ZbVLPogSP2b8MHbU0//muOzsvE935GJW0Qu bXovvvDib0FupeXnkrd3fcsteccd8dHtldpNgaKgALvwq6UN3z2aJz74uuDdgV53e8ktC5tv vj11UsRYptPjuPcN7npO6z+FOSfrYljUMnKC/6pt0XKY8ef3pheJpx9V100zkV1oOTVjv351 9Z0zFXeU8tZLK7EUZyQaajEXFScCAHOZ2sQ+AwAA X-CMS-MailID: 20210813053130epcas2p1a1d6da04716e4c279c15350fb55937c9 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210806064923epcas2p13dd6b442eed02404d87684afd9c1b229 References: <000601d78cf2$a160f820$e422e860$@samsung.com> <32cc37cd-2f66-0f74-5242-cfcf86f58844@acm.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 8/9/21 12:46 AM, Kiwoong Kim wrote: > >> How about extending the UFS spec instead of adding a non-standard > >> mechanism in a driver that is otherwise based on a standard? > > > > It seems to be a great approach but I wonder if extending for the > > events that all the SoC vendors require in the spec is recommendable. > > Because I think there is quite possible that many of those things are > > originated for architectural reasons. > > Has the interrupt mechanism supported by this patch series already been > implemented or is it still possible to change the ASIC design? In the The former case. It has been included since mass production of the first SoC supporting UFS for the first time. > latter case, I propose the following: > * Drop the new interrupt. > * Instead of raising an interrupt if the UFS controller detects an > inconsistency, report this via a check condition code, e.g. LOGICAL UNIT > NOT READY, HARD RESET REQUIRED (there may be a better choice). > > The above approach has the advantage that it does not slow down the UFS > interrupt handler. > > Thanks, > > Bart. >