Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp522107rwb; Tue, 25 Jul 2023 20:57:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlGi88GMNJ14myGcGJutgda1pFDeaX3cJWLOXDdSYVhF92XC9tHd+ZwnQgtuPuFHSJ4mmBRa X-Received: by 2002:a19:5e56:0:b0:4fb:242:6dfa with SMTP id z22-20020a195e56000000b004fb02426dfamr400362lfi.57.1690343873677; Tue, 25 Jul 2023 20:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690343873; cv=none; d=google.com; s=arc-20160816; b=I//0E9XTTQ5MeN270S0edrW5gRqviKBuDfz8B+OgPsorAEAgPEywaLjMkmCWK5rbvu gfaAmybdCRLi6lLQUoAN1ryN3WCw2jbg4BMY3B0hcGXe2PaNL+M8xsyftiqJ9voWRa0Y myAwZZKhlOotvMP2NyoebyJmlCkBdWsG5AyFzCN8LTRZwseB1dg8mL3q2rog5a9x8eWm dGgU2Crj4we0huOPeXKxKC7FuR91fpneBIwotXJpraN6O3IfGGAEp2RsTbAwlsiK9KWR aJHJ27QLo+/syKuDRUn63c9eyt3LtCfrCQoB8M47/395zuvCgEj8fivREZOhkOYG+Y+l 8LRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GczAHi1nw468rSxodTKpEIcFvWhoCEa0bsGuATtQoO8=; fh=PdQWbCFPOEk4qSkBFk+qsCz37zjZmdA6NXPxuOhm66k=; b=FLaM0nDNUq/QKSMyrl4e5sYqjAdRAxdtB20lrjKp5PNM1t5s1YpZXJZzNjjW5Sl9Qe yxdGidQox+5BbTQxkKZuxm2R2p8Ur/X0j1ViOMEwQXEynV1tRdcDbtd0hkdmL/CL9/Us QRcgw2nLCDrpsrUMbUgJNJEZWVBnIw54EjX81+8GcX6YYWCsvAQned9uAzFwmHet6i6G fJpRIp2hnXb7AjwqG73I7P4WLggSUVHYHrAmKa4s9Jl7MEUyR94la8nG5kXf1fhsrXaC VmxOyPx5dD8dLtnC3GMcW6IiVeEYMu2xCieIk7RN1Kjhhrkqdk5BlWshMSnPPakRvJK0 75dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=fAohI529; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a056402120200b00521d18821aasi2123029edw.109.2023.07.25.20.57.27; Tue, 25 Jul 2023 20:57:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=fAohI529; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbjGZCGD (ORCPT + 99 others); Tue, 25 Jul 2023 22:06:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbjGZCGC (ORCPT ); Tue, 25 Jul 2023 22:06:02 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BFE2121; Tue, 25 Jul 2023 19:06:01 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36PJISc9025724; Wed, 26 Jul 2023 02:05:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2023-03-30; bh=GczAHi1nw468rSxodTKpEIcFvWhoCEa0bsGuATtQoO8=; b=fAohI5291MSEt6rNTbvAdhjb4xxuFZa+xlraVDK/MeF7mCsK47fNjrt2xyTqNLv/XExG CZjS8n9/GgQrIwWMf4IgMoyMlqzsACjT8oSTZIMgEQ2K6y5iQq3+6oIxtogP04jwiJ1i y7Jq3EG3l0HjM2QcEC7OE37uWy16+Aj7PZO/RaDPQ2mF6xj8MliIdBeSyOnESaZMUYQd oHMR8NK2HbqsubgirauQDJWV2la+NzHkuq1/lH76BEEwQa4D/iA4FZTqelmY3mHgPWR4 Jd0jn4qYhPYzIIXffZesWP1rx5g0CiibeQhx9HMVe2+fHTgePOhf9L9xyAepbfEyMQhy tg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3s075d6fvw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Jul 2023 02:05:18 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36Q0G7po023017; Wed, 26 Jul 2023 02:05:17 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3s05j5jd4s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Jul 2023 02:05:17 +0000 Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 36Q253Nh038905; Wed, 26 Jul 2023 02:05:16 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3s05j5jcwf-9; Wed, 26 Jul 2023 02:05:16 +0000 From: "Martin K. Petersen" To: quic_asutoshd@quicinc.com, quic_cang@quicinc.com, bvanassche@acm.org, mani@kernel.org, stanley.chu@mediatek.com, adrian.hunter@intel.com, beanhuo@micron.com, avri.altman@wdc.com, junwoo80.lee@samsung.com, quic_nitirawa@quicinc.com, Ziqi Chen Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , "James E.J. Bottomley" , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] scsi: ufs: qcom: Get queue ID from MSI index in ESI handler Date: Tue, 25 Jul 2023 22:04:54 -0400 Message-Id: <169033702306.2256288.1829460658983198898.b4-ty@oracle.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <1689062349-77385-1-git-send-email-quic_ziqichen@quicinc.com> References: <1689062349-77385-1-git-send-email-quic_ziqichen@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-25_14,2023-07-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307260016 X-Proofpoint-ORIG-GUID: 9X7kyfQvS3VUWg5GfJE9Z7HOjoUNTQpM X-Proofpoint-GUID: 9X7kyfQvS3VUWg5GfJE9Z7HOjoUNTQpM X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Jul 2023 15:59:08 +0800, Ziqi Chen wrote: > platform_msi_domain_alloc_irqs() does not always get consecutive > IRQ numbers, hence queue IDs calculated out from IRQ numbers may > be incorrect if we assume IRQ numbers are consecutive. Fix it by > passing msi_desc to ESI handler to use msi_desc->msi_index as > queue ID. > > > [...] Applied to 6.6/scsi-queue, thanks! [1/1] scsi: ufs: qcom: Get queue ID from MSI index in ESI handler https://git.kernel.org/mkp/scsi/c/8f2b78652d05 -- Martin K. Petersen Oracle Linux Engineering