Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp2036326pxb; Mon, 13 Sep 2021 10:31:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjq3LGq19Iqlb/DRALnLUAWR+nwZU6YHN+seEmDOlbRUuhdMlNkpHcWtjz6PklU4DU6zpc X-Received: by 2002:aa7:cd13:: with SMTP id b19mr14518275edw.210.1631554286312; Mon, 13 Sep 2021 10:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631554286; cv=none; d=google.com; s=arc-20160816; b=GbVm9OR2tFkBqdq3us6Dyc16UE8fDGywthZR8LQysGfiXCaS3XTqPM0ghWYXNiCGjN Ruvxd7Fslnza6b+XBp+lVu44Q4bvKwOlNOYJ4cJfwgYEKv/bSv0fQ4ysbA+Rj06RPdRc gbUZ94Tsaew7VxxWcn6fzygC0OrgQwy6TWgEwD7VwzpMVKzbhohptKLEe5uOrmBWhiQa HS3KdvHiEBk88LnGM2BtZyP3CO6afTH5ZL5ZOj2O81Cqj9T+12LMmKEiuspoNzP1RLQm o6WD9+6p1oeoY4n5s0fA25mDKLPBziCntSB3vIE3YR+g/gfecm7BIIGHMQwjCNrEILQ9 g57A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xSARZJQ5YAoGeRg4cb1w9teZ8eBbMh7jYvTDIyUb0K8=; b=GyN0Wno/ITCgM7NgGF28Hr1MaK5Th+7l2vwp4VucoXSIXpVXk59A/hQGUrfpNFsX8C 2D4lPsSR6C6oWIW8+FjjybDV+ammu0mnVYHm2lHB1etrw4gy+WVTJgnCokWQOD9bZ7vy 8HMBJx75fUUBF/YfsDPXloq9qQNhR8mtd3RSXyb1EZ8izEh/gwm0xIIaIQGg4BOs7mjP B1GDspCiA3CV1+qiP+0sBuhqOpuyUqscOWrTw6bvW32+kSHSJPFP3Lx6KHnGphO3rQin w1jqNvTERBTbZMhZZNjAITvHe7ew06t0cBDWUDuvjZZyZeczKTAhlkzpvbO8K4TCdyTM VF2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WuuOMMfo; 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 t26si7602118eds.588.2021.09.13.10.31.01; Mon, 13 Sep 2021 10:31:26 -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=20210112 header.b=WuuOMMfo; 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 S240718AbhIMR2n (ORCPT + 99 others); Mon, 13 Sep 2021 13:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233121AbhIMR2n (ORCPT ); Mon, 13 Sep 2021 13:28:43 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C569C061574; Mon, 13 Sep 2021 10:27:27 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id l10so10894090ilh.8; Mon, 13 Sep 2021 10:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xSARZJQ5YAoGeRg4cb1w9teZ8eBbMh7jYvTDIyUb0K8=; b=WuuOMMfotN2bgRawb+bw9VOL/sMzldC/ko1wvu1pD0dlms6lKUll54OnTwrgNQkdgY XMhcvugn5Sbz5cD0t2w8RfOb5j3teeU4A8GBpHJ9NeZm6co3baMNsEUeRjDCQgwhIfdW Ezm7MqMBCxdGtLS+5Zp1ct1HRQVj8GTl4CjXzwTVLQg1nQhaE+igxr/Doe/fx/TXVHTK AXtWPy6s53pQ7kQ+tVeNJYgch3BDPAl/AJOb5ZtosFWViMReP/cBa8bs/H9Qy/jZ2D8R i+aMdKAsSu4yCL4vi6Ge+uEUXgL9l5tmRwUj8zuk8IVuL/gzkcgWfQf0H7SnIhtycfrP Xt9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xSARZJQ5YAoGeRg4cb1w9teZ8eBbMh7jYvTDIyUb0K8=; b=nxuBlz9diFaIuHHHs8R3lIiBalw83L5F0YT2/dmJfWIyaDLFVEymg7dpzLqdFwrhvv PiElDOlvpeNgVOc/7Dtsu3yGPKVGCBAwLQEpfTb7jqSBpf51qCO6NNZLXUr9DM17++a8 7dNbHbHoVMRIHafrHxERf/3VH7nLX4Y0UhA8lx6TdmvIHjyO11OT/+uMzRf1CGWWY4Xj WtIDCrYHuYM6r3NNzfuS9UxSMbOGGelfIIs0Z2bZQTgCX0P9QUdycN/RayPKa/IAVBtU qXGu8ZOv0+RPtTSgo72+NLPWg+MReiTJYDn3UbK3KLaFAqurpz0XwH8Z4JkwSdeZbDLX SnpQ== X-Gm-Message-State: AOAM5328ZQ6bXRoJKsuSzgf0hOLxVEIpKcC0NNZiIdC1c8HRThiO7ujN BygMjseUFwCQwvNws1wDZ9n48sX4hpzno4CZE1U= X-Received: by 2002:a92:3012:: with SMTP id x18mr9192859ile.249.1631554045994; Mon, 13 Sep 2021 10:27:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alim Akhtar Date: Mon, 13 Sep 2021 22:56:48 +0530 Message-ID: Subject: Re: [PATCH v2 0/3] scsi: ufs: introduce vendor isr To: Bart Van Assche Cc: Kiwoong Kim , linux-scsi@vger.kernel.org, open list , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , "Bean Huo (beanhuo)" , Can Guo , Adrian Hunter , sc.suh@samsung.com, hy50.seo@samsung.com, sh425.lee@samsung.com, bhoon95.kim@samsung.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bart, On Mon, Sep 13, 2021 at 9:42 PM Bart Van Assche wrote: > > On 9/13/21 12:55 AM, Kiwoong Kim wrote: > > This patch is to activate some interrupt sources > > that aren't defined in UFSHCI specifications. Those > > purpose could be error handling, workaround or whatever. > > > > Kiwoong Kim (3): > > scsi: ufs: introduce vendor isr > > scsi: ufs: introduce force requeue > > scsi: ufs: ufs-exynos: implement exynos isr > > > > drivers/scsi/ufs/ufs-exynos.c | 84 ++++++++++++++++++++++++++++++++++++------- > > drivers/scsi/ufs/ufshcd.c | 22 ++++++++++-- > > drivers/scsi/ufs/ufshcd.h | 2 ++ > > 3 files changed, 93 insertions(+), 15 deletions(-) > > The UFS protocol is standardized. Your employer has a representative in the > UFS standardization committee. Please work with that representative to > standardize this feature instead of adding non-standard extensions to the UFS > driver. > Thanks for your input. Completely agree with you, in fact your suggestions make sense to me. As a driver developer, surely we can take these concerns to the IP designers and see how far we can get in terms of standardization. That, however, is not something that can be accomplished overnight. My main concern is, what about millions of devices which are already in the market? UFS subsystem does support _vops_ to handle vendor specific hooks/modifications. I am not saying we should always follow this path, but surely until these deviations are either fixed or become part of UFS standard itself, IMO. Thanks! > Thanks, > > Bart. > > -- Regards, Alim