Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5286327rwd; Mon, 12 Jun 2023 02:51:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TmPy5Sv74JcDU7n25DSerRh3fJvd6QbeNbpX+Ca8fuzStPCJHqnwDln5WtAP8pdH5l07D X-Received: by 2002:a17:902:ce92:b0:1b2:2a96:4283 with SMTP id f18-20020a170902ce9200b001b22a964283mr6091377plg.47.1686563466917; Mon, 12 Jun 2023 02:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686563466; cv=none; d=google.com; s=arc-20160816; b=DisliE1wZOAB2THOdPbs3SueA/7l+11u3pWCf3s5yEdkk7Br7btzZckIExIVE8uNdO qyyHTk8bwFpZsq74SXbYOiNO7j4A4DX9wo2Jya4XxubqcFE+SiUYyDRa5R8bh1MOFNG1 LJXmTbeXpYHbxKyLGn8ntgdmCsO+Gw7psL1WvDeNActjBwG4zM/aPWsROa7rCWbFmW/q mxHULqiwtPSGakL2zgmixzYq44kdjldcPzVJQZBOKxBghQH9shLb0Ey/TWdDjAku4f5g wkVVcFdDusFijf2MXElM3LEz4Iky4xInqG6uWQk7U81e/3BLfOAoTFyT2UPWj8E0gVfv FTbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=fSXGGjV7TfLUPXcpZ3gu+0BbhppOJSGdmLD1p/7hYzk=; b=Ss8mON5k/SgtU9Tl2IVfwjt/CNipK8fXBhkGPJhz7Vkt+f/h1phSagZGlVpuA75ecU LO+Gveedl9uV5pv9U8MRn5oIHmollZL4RKW1s3C4hBkU0eWDKiA0QfSN91I9aBGInNBE k8YLGKhL8RQxH+PEwZMBEWpOeF6Mdbj8hiQKTFpRFD39mtsBQtvhb+EB/Jk9XVLqMD6C U6sKIHq14V5PY6Qy3mCEp3S05FcICvzxbAMf44FgPsgis331DPWbEmtlREpNZg+TL7FA Ys0/e2K/40s+Eq0KQ14GHuLDWR8+0y6ytzfbIfUKONudjsCOpoFkQKSjrZY2MO/UpfJp 0pmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=fA3toNeT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a170902ba8100b001ae5eb838easi2970335pls.292.2023.06.12.02.50.55; Mon, 12 Jun 2023 02:51:06 -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=@mediatek.com header.s=dk header.b=fA3toNeT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233055AbjFLJC2 (ORCPT + 99 others); Mon, 12 Jun 2023 05:02:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232296AbjFLJBk (ORCPT ); Mon, 12 Jun 2023 05:01:40 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37A3E64; Mon, 12 Jun 2023 01:58:26 -0700 (PDT) X-UUID: 480d016608ff11ee9cb5633481061a41-20230612 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=fSXGGjV7TfLUPXcpZ3gu+0BbhppOJSGdmLD1p/7hYzk=; b=fA3toNeTsYzKrcFo/z7T3ImgHCdWf6x2D/8E1GzY9bo+QglhOA73rQoTDtecn23MD9GQNIzxHQlaRcZpwrziPwcp4r4gJMhJQQ00r7+PK4/D70hmHRRLj5exct2xJvtAL2np03dUqbWmVlNAC+wp9V4M4pyfW8M+wAKt1/+T3Jo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.26,REQID:c79cd210-eb39-4052-b4d6-b5ffe87bee1c,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:cb9a4e1,CLOUDID:b7c9563e-7aa7-41f3-a6bd-0433bee822f3,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULS X-UUID: 480d016608ff11ee9cb5633481061a41-20230612 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1462173400; Mon, 12 Jun 2023 16:58:21 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 12 Jun 2023 16:58:20 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 12 Jun 2023 16:58:20 +0800 From: Po-Wen Kao To: , , , , Matthias Brugger , AngeloGioacchino Del Regno CC: , , , , , , , , Subject: [PATCH v1 0/4] ufs: Introduce MCQ Quirks for MediaTek host Date: Mon, 12 Jun 2023 16:58:08 +0800 Message-ID: <20230612085817.12275-1-powen.kao@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 v1 Introduce quirks for non-standard part of UFSHCI and address Bart's comment from last patch https://lore.kernel.org/all/20230328103801.11198-1-powen.kao@mediatek.com/ Po-Wen Kao (4): scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_INTR scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_RTC scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_INTR quirk scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk drivers/ufs/core/ufs-mcq.c | 12 ++++++++++++ drivers/ufs/core/ufshcd.c | 6 +++++- drivers/ufs/host/ufs-mediatek.c | 2 ++ include/ufs/ufshcd.h | 13 +++++++++++++ 4 files changed, 32 insertions(+), 1 deletion(-) -- 2.18.0