Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp941872ybg; Wed, 10 Jun 2020 18:41:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3Pqee2b2iew86+X5ggpbDWaD2Lpg4ljAb10j0WZAPgl0C66CkWrcJ7tDQ/yFzaUcRzHpY X-Received: by 2002:aa7:d0cb:: with SMTP id u11mr4673808edo.381.1591839701423; Wed, 10 Jun 2020 18:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591839701; cv=none; d=google.com; s=arc-20160816; b=sl0Vfv4K6EJdtNEgJy9iwGbQhxV+y/4fdTaYfaii72zkxeMBzA9/lB6PJ06xWEO5sa 1ok+XwAIpyETwiRvD+mYfsVdHD3+4uvwWdCqtkAoVnb2fajhCuxd9UttW6pSeaq1HDTt 3f8TNbdt0O7tnmexijUCwS87LMXJvaKn/nth/ZJtO3VkvWgQbBxpGPyeucziCDox/O3V HUqSMZj2frFu+/W5JLJIxmh2e7I9GSnRUjQquBtk0GQHsGZr6iIZaAwaKWxH20aSxjkw K/uCD9S023zQHXxYFbuHu3Q0BrHfVHonNPWrQ5K2ABivBOB7RZ6JIaOQYi+cDKPBjr99 /MXw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=Uzp/cy2ZRT8lQiEe/z+Ee+CLQLGIzNqau5X1CgWABUs=; b=T2zdkqH5K8J+2uBKQWugk2KTvcUZr3E2APpS05RCfU+fQR4wPnKcTpII/5uwiEgbav tfa5fXIspLZvGzIa/6X/XmN1Akk/Emh24GDvQQ63AvulEubcjGnIcl6ypayn958baU86 Q06lxTD5gkkTXi1hBMf4Qxx/YtHlkYLyTokUt4JX5oFvGj+AVhBCboQ3BGbZHpACKUe2 AH8xEbUTBCkh5MEmx3XHNmJUMdWTnYrdCHU9cPdYqNq6UHmhPf9JgulBLmfNNKFgYwAJ 89SYI4nP/7qru3Ds+m9eSDttuxftMZXehnrVMR2lxufoDdODhYy+0n7gQH/G+xcMrXId GKcA== 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 k23si1099550eji.601.2020.06.10.18.41.18; Wed, 10 Jun 2020 18:41:41 -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; 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 S1726462AbgFKBj1 (ORCPT + 99 others); Wed, 10 Jun 2020 21:39:27 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:34880 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbgFKBj0 (ORCPT ); Wed, 10 Jun 2020 21:39:26 -0400 Received: by mail-pl1-f193.google.com with SMTP id k1so1585663pls.2; Wed, 10 Jun 2020 18:39:26 -0700 (PDT) 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:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Uzp/cy2ZRT8lQiEe/z+Ee+CLQLGIzNqau5X1CgWABUs=; b=c4DJppH2ToJ9tGF2D88Vr0Pwc1BkyB8OHNQb7SqGQ71ek36Il24CeHUFORYm3EP896 zCGpszYOq62UQwluT5a3mtIQ35/TMMEYKuv1Z/ojghAyoKW7rUh561BPawVL9/uNcxux 2lBdM7aqQJC7yDsF4mJZjOBBlLvlbb+R3sckz/DiNvD643txXceX34c0azKceX1Jnc7F Wrr41kLYcotYakgrmoW1lyTfh+hGG135dfmC4z+01cZ4H4218VpNmynPbmpcW+cLJWrW EDNHZ1PUWyQ917AdBh+FNSW/25jWcKC9VqzxkIXyR8PAtea8/bUkRAXNnNot5ftuLJd+ 1ATQ== X-Gm-Message-State: AOAM530xRMyBhrMY4CJlvtEUYB2PKPz0gA3Dmr+62G8SUU6mdyGKk9uG wQX2/IRB1NpMyo+APq+NYag= X-Received: by 2002:a17:90a:6407:: with SMTP id g7mr5742494pjj.9.1591839565528; Wed, 10 Jun 2020 18:39:25 -0700 (PDT) Received: from [192.168.50.147] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id bv16sm883289pjb.46.2020.06.10.18.39.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jun 2020 18:39:24 -0700 (PDT) Subject: Re: [RFC PATCH 2/5] scsi: ufs: Add UFS-feature layer To: daejun7.park@samsung.com, ALIM AKHTAR , "avri.altman@wdc.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "beanhuo@micron.com" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "tomas.winkler@intel.com" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sang-yoon Oh , Sung-Jun Park , yongmyung lee , Jinyoung CHOI , Adel Choi , BoRam Shin References: <963815509.21591320301642.JavaMail.epsvc@epcpadp1> <231786897.01591320001492.JavaMail.epsvc@epcpadp1> <336371513.41591320902369.JavaMail.epsvc@epcpadp1> From: Bart Van Assche Autocrypt: addr=bvanassche@acm.org; prefer-encrypt=mutual; keydata= mQENBFSOu4oBCADcRWxVUvkkvRmmwTwIjIJvZOu6wNm+dz5AF4z0FHW2KNZL3oheO3P8UZWr LQOrCfRcK8e/sIs2Y2D3Lg/SL7qqbMehGE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WuHcB3DWlcppECLkAEQEAAYkBHwQYAQIACQUCVI67igIbDAAK CRBxXD01xc4QCZ4dB/0QrnEasxjM0PGeXK5hcZMT9Eo998alUfn5XU0RQDYdwp6/kMEXMdmT oH0F0xB3SQ8WVSXA9rrc4EBvZruWQ+5/zjVrhhfUAx12CzL4oQ9Ro2k45daYaonKTANYG22y //x8dLe2Fv1By4SKGhmzwH87uXxbTJAUxiWIi1np0z3/RDnoVyfmfbbL1DY7zf2hYXLLzsJR mSsED/1nlJ9Oq5fALdNEPgDyPUerqHxcmIub+pF0AzJoYHK5punqpqfGmqPbjxrJLPJfHVKy goMj5DlBMoYqEgpbwdUYkH6QdizJJCur4icy8GUNbisFYABeoJ91pnD4IGei3MTdvINSZI5e Message-ID: Date: Wed, 10 Jun 2020 18:39:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <336371513.41591320902369.JavaMail.epsvc@epcpadp1> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-06-04 18:30, Daejun Park wrote: > This patch is adding UFS feature layer to UFS core driver. > > UFS Driver data structure (struct ufs_hba) > │ > ┌--------------┐ > │ UFS feature │ <-- HPB module > │ layer │ <-- other extended feature module > └--------------┘ > Each extended UFS-Feature module has a bus of ufs-ext feature type. > The UFS feature layer manages common APIs used by each extended feature > module. The APIs are set of UFS Query requests and UFS Vendor commands > related to each extended feature module. Personally I'm less than enthusiast that this new feature layer has been implemented using the driver/bus model. But it seems like nobody else objects against this model ... Bart.