Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp407172lqb; Tue, 4 Jun 2024 15:25:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMnOMpbZPnfumpvC0UYfGlFq+C0RuHnEtXa5og8k01K8gu+QVlyzgGuF10JeyJrsjTDZIe3WFV15t4tjwjQDRqwobVtp5iK+l+UnJewg== X-Google-Smtp-Source: AGHT+IGg8ffu15DLo5JlR4yQSLH4v3niVXc9XVANW4cioyOeqHLZ+tGnNmF57RvC3m95sGQJM/6x X-Received: by 2002:a05:6e02:12c8:b0:374:97b4:dbd1 with SMTP id e9e14a558f8ab-374b1f0e844mr6314505ab.18.1717539923756; Tue, 04 Jun 2024 15:25:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717539923; cv=pass; d=google.com; s=arc-20160816; b=Xch/UDVlGByPWIvOtJ3EcO+C3kip4ovXyLd4qI/WlLhGmuwR1BUTzJQxHAlEt1kxlf el5Vq5x7YWIdWWN2uB0HAf1gOdAz21U3ozNfZ+E3ScuqDRxzpCURtTTtrHdqnaPU17K0 bhP7NFPz4tgi7BV/HKUySCUsnpjJMSL7veTT50FynqL09/Ey9CNxqMQE8VnTjKkP/TcJ lq1em2XumsO0T+5L3ijRO0a3CGDvE2QSQS/TjJQErcVHwX9sZJsx8AxEfROw3PamyFSx Z663Kl8rBDNiWC1r18N8lpywmahNwDsmkrsmCAT3b1DsZq26ZmgXRADBotTy6/EGzDHr Otzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Ob7mbusC7CX1S50UmdOQWRvKK03R2ITcdjC2G42Erk8=; fh=GLIEHMcjPm/whr23qE+lCIof4EqepX1fcFVwD6IKaDY=; b=c13YwnakZ+n7uRP9M6zgLbXcmJBSuBEdR2arVz8QjuOLO7CAkaLUTh+yoDkMTEZ+TA xAODEKWzwPJgpT3Vllt7pEt+tEOlKM1XGQrAueeDVVymgH42iGwhJTC1wJcViWFzeOJ3 77c9U4AoSfslaNYRP9soO5bDqOyCxYeszouzC2nV2PS4wNYQvtf7RqqGL7n7e6tTYFeK 9uoo7HAPoHGpZI9usYLiDCbQZAChqhxuhrSeMpjWWA19zPCsQgX8VAxSCAFcD1PLwydT JwQ9qnptJ+l4U6T9QwepeijeG/PxJ+8lN1Wy5o31nyKGuwXdOF/YoTPhGMYBgt1opGW1 e/wA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=LfvfQRrH; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-201453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c355153571si1336652a12.218.2024.06.04.15.25.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 15:25:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=LfvfQRrH; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-201453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B5CF4B27138 for ; Tue, 4 Jun 2024 22:18:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07D6D14D28B; Tue, 4 Jun 2024 22:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="LfvfQRrH" Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCCAB14C586; Tue, 4 Jun 2024 22:17:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717539472; cv=none; b=ct7PPH4jE5bBs1Z3TiWi4saCWt8oI8MU/srn16TZ+e6WN/mUVeOIXGDIlVl2IjhJSrla206QoJMOzJAzc89r3B2I3JCf3695t618IR8y8k3W2i5GT+n3eUTLFGQICm1WJtSnsOfvzI3/5ELGVaw/zD3Y6q4czlnWy+EbfonSvW8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717539472; c=relaxed/simple; bh=oaIgqISLd761bJIc5dUfKnvFG7TULh78jPDaUi7zHjs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RJYJYtE2p5ii6OiDyD99Hlhr57qp63ktYPnYWSD1R//99tCIQIHwAQOnwMm6dtz9G6u0hDnE2+E37sDprgGDAO9GPhFTLhsU3/i0jh+FSjY4qGvuPel9Q0Je3AISA62FiS8y2alz2rrq/gLNzjY7wthMFPjfHK3Hbqn2CoKMGxI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=LfvfQRrH; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4Vv4jB2HjbzlgMVX; Tue, 4 Jun 2024 22:17:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1717539467; x=1720131468; bh=Ob7mbusC7CX1S50UmdOQWRvK K03R2ITcdjC2G42Erk8=; b=LfvfQRrHO8Sjem4XEc9d7TC77jHvwN/bCOuUwI5w Kd6uSuW6T523kEn+oJ5THUQjd8lnAqrsNyH+R8KFLWeypmNjAPZf8E9hEhYVwyFY NZamt+2ygOFiqCPsrAd8hSVJkXovvnMKPGqC9T1S6sqbn4dgZWotq+Rnu0O51gmo 1b85dJF07olWjX4IWPJMbSRxXHU+PbfM65JnGW7P8rhtXzbpKB9k/0ueV9QwYwyk 2QhmHTzeVLGKonj21ZIro/6XnX0InKdekNM6hGL4yq6AyuRgxtaFm6KCFO2B+wLU XUU9VKuCCwmot6Q1Q7UKd6BG1j4Sx5ykV+Xgyr4QIy2w1w== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id IexBPLDxR7pc; Tue, 4 Jun 2024 22:17:47 +0000 (UTC) Received: from [192.168.132.235] (unknown [65.117.37.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4Vv4j64QZ8zlgMVV; Tue, 4 Jun 2024 22:17:46 +0000 (UTC) Message-ID: <6d0e22e7-05af-4f83-8573-bb033c951f72@acm.org> Date: Tue, 4 Jun 2024 16:17:45 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] ufs: pci: Add support UFSHCI 4.0 MCQ To: Minwoo Im , "James E . J . Bottomley" , "Martin K . Petersen" Cc: Alim Akhtar , Avri Altman , gost.dev@samsung.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Jeuk Kim References: <20240531212244.1593535-1-minwoo.im@samsung.com> Content-Language: en-US From: Bart Van Assche In-Reply-To: <20240531212244.1593535-1-minwoo.im@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/31/24 15:22, Minwoo Im wrote: > This patchset introduces add support for MCQ introduced in UFSHCI 4.0. The > first patch adds a simple helper to get the address of MCQ queue config > registers. The second one enables MCQ feature by adding mandatory vops > callback functions required at MCQ initialization phase. The last one is to > prevent a case where number of MCQ is given 1 since driver allocates poll_queues > first rather than I/O queues to handle device commands. Instead of causing > exception handlers due to no I/O queue, failfast during the initialization time. For both patches, feel free to add: Reviewed-by: Bart Van Assche