Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3363568ybt; Mon, 22 Jun 2020 23:54:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/nbEDv3UKfXheWN+MCnP/fpHLwBc8jNtfRab4t2MPlZPCs/g0YBmj6M+DPhFLGrLWhEBa X-Received: by 2002:aa7:da8c:: with SMTP id q12mr20837570eds.385.1592895244644; Mon, 22 Jun 2020 23:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592895244; cv=none; d=google.com; s=arc-20160816; b=HElgsAinSFmy/XYw+S9os6HrPGh3rkhhuKT8UeSSd1j8Hm2v9zzmHuKzmMUob/BgaT lelMJATGd/WnrdoTsDcwT8XqjRqgBgwWv3ylv9M0gKET5qRHQjzsElAF49/avaYSVxqZ j23AnVa3ZP8M9c1WZzmWiv6iAGmcVIJdTEaO/GkRYaA1cE/ZL2HQReIsKWtGPz6NOJ16 sEbWx9BV6CK4mZtHyyqfTaXW3PUptqod6gwRlIIC2eIxiSxQINM429Koxt2Hi8P6s8ZK r8AEVqgnohYLUIJJv4RgiejssGvuV5DzJc7C6q6Yud5QkVkE20V2IVuLzZcW9ISiqBxV 8akw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=dch8DSJUKjstoJDGxvg2f8JsX+5thmNCYdbKzI9c+Cw=; b=FVkRqy1F1eBvOLC7dMmSLK/7b5WFIJYcwLTLpS5KPAZbIAC26L4Rz8CbWJ3AuAyJ9j lO/ZOXawtz50AXYPBM5knpm1ObREYpHQ2hd6tW1KUkUNDETYJVOnvLyVHZuSwSR+o6i8 uzoLj+xKyWeu0V99FHgkH89bvNqy8/pV23EeP+GLH3tUIVaEjjOpiWKSjVnVVDrPM0Mt zYbJ3G/VR6NZMDTBccEDGe0Mv4fi2IeqE+UQAPE0BsLpy81lEsUjolx8xh6RhO6mwizw hgOhcFMp3Ae3RLXKNMMUb4k1Qq09Pz8meckN0eZsI37CZVR/54vM5QL10SpBkeh5f94d HIlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qdP3v74t; 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 cy13si5947060edb.388.2020.06.22.23.53.42; Mon, 22 Jun 2020 23:54:04 -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=qdP3v74t; 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 S1730830AbgFWGvy (ORCPT + 99 others); Tue, 23 Jun 2020 02:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730583AbgFWGvx (ORCPT ); Tue, 23 Jun 2020 02:51:53 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B24DC061573; Mon, 22 Jun 2020 23:51:53 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id w6so9135368ejq.6; Mon, 22 Jun 2020 23:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dch8DSJUKjstoJDGxvg2f8JsX+5thmNCYdbKzI9c+Cw=; b=qdP3v74t8iJSWMwPKyL1xEELnGSVJcelKd6kRPXPLuN86/IYPVmVORIOpI5AuUt362 xPrP7kTwe8PkYffuH5q0LYIsZQcp6czXYa1xI6Ke3k4ZrkaW0kNqcvdpD35DQo/QPyr4 +ZZNBmBb+2OPZW4QETsuiCUEYw71XAoQOmGE9jnIPuYA5lYSJpnRfd9ADf/HqakcyHKj 3E5dbgAgVL4VrhxrdikFNvQhD3F65BVKUiBk4UH08KQjHg1yKfciQnF4PmAEJpn3oIPv ICQSbDTUcO4eTWIW21cBt3jhIQA94o8e+K9nnGmg50UOzUkLoQQyS83nSuLprS8rloFu D4og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dch8DSJUKjstoJDGxvg2f8JsX+5thmNCYdbKzI9c+Cw=; b=ByIdB/6KgYJiDAQUeNLl4XSgh+QZpsZHPC7w/KHpeRmexpy1084IDxHjs0nJwaMBql e6uHU3GSVFo3bQc1Xe3xYO179VH+fu3Bt+F5FdotBO1m9Luu2rKmndrNbBy35aEC+Oxz +U7a21Sat/UWPnTsx+ABpnZ1JQ07ydZsqXPc2gO4wHo+JN7lndBuubPstfZ7SUyWpFIE T49yGsBmztE2CBr1WQzAv33cKTq6Suzm6mVb5/RXSENcD+cH23wK7L4HJ10x6GaXBQtb XhWi7c3Z29f/oinAXlb8iKC3O2acVN3ilyX7n+PcSMVTj1Pa1bfg8W9OU6AF6p31PcEu a+fw== X-Gm-Message-State: AOAM5330qyXaVbsZNFiB9dd/UIneKKaI//LPVAvjbUZIl/GMinuStg9k Hpvle3icQPeE/os3mzFHCjZaGIZZLc+ggaQRzw== X-Received: by 2002:a17:906:4c81:: with SMTP id q1mr19233653eju.273.1592895112017; Mon, 22 Jun 2020 23:51:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aa7:ca0e:0:0:0:0:0 with HTTP; Mon, 22 Jun 2020 23:51:51 -0700 (PDT) In-Reply-To: References: <3c186284280c37c76cf77bf482dde725359b8a8a.1586382357.git.asutoshd@codeaurora.org> <20200621075539.GK128451@builder.lan> From: Kyuho Choi Date: Tue, 23 Jun 2020 15:51:51 +0900 Message-ID: Subject: Re: [PATCH v1 1/3] scsi: ufs: add write booster feature support To: Avri Altman Cc: Rob Clark , Bjorn Andersson , Asutosh Das , "cang@codeaurora.org" , "martin.petersen@oracle.com" , "linux-scsi@vger.kernel.org" , linux-arm-msm , Subhash Jadavani , Alim Akhtar , "James E.J. Bottomley" , Bean Huo , Stanley Chu , Tomas Winkler , Colin Ian King , Bart Van Assche , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Avri, On 6/23/20, Avri Altman wrote: >> >> AFAIK, this device are ufs 2.1. It's not support writebooster. >> >> I'd check latest linux scsi branch and ufshcd_wb_config function's >> called without device capability check. > Please grep ufshcd_wb_probe. > I got your point, but as I mentioned, this device not support wb, this is old products. I'm not sure ufshcd_wb_probe are called or not in Rob and Steev's platform. If it's called, hba->caps are setted with wb diable and this error not occured. But (it looks) not called, same query error will be occured in ufshcd_wb_config/ctrl. BR, Kyuho Choi