From patchwork Tue Aug 1 07:37:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeuk Kim X-Patchwork-Id: 709501 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C660EB64DD for ; Tue, 1 Aug 2023 07:38:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230509AbjHAHh7 (ORCPT ); Tue, 1 Aug 2023 03:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231986AbjHAHh6 (ORCPT ); Tue, 1 Aug 2023 03:37:58 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27A1C10FD for ; Tue, 1 Aug 2023 00:37:56 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230801073751epoutp047e400a9e7e0926a14a8c46b940b50b7c~3MkhwPF7b2801028010epoutp04F for ; Tue, 1 Aug 2023 07:37:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230801073751epoutp047e400a9e7e0926a14a8c46b940b50b7c~3MkhwPF7b2801028010epoutp04F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1690875471; bh=ZPfXhvfp9J8paEfU6+R+EFm3zHy9LPevaVQbPRRNkjw=; h=Subject:Reply-To:From:To:CC:Date:References:From; b=aIOJq5QjnixGGLWZ7zdUlB9dRDzeUuUZxHYnAYqiJ5kTFGmbFZul/+TZ7FXaG6EP3 NjjaDJZ+A2B8TNT0uKMcpjwAQLUV7aQv/I0WrgPhf7d63XHabtwYUdDzukTTGykeFC 49xGzCegkGu6xcUDgVcWmbFQmYyD+pM7KadiUP9w= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20230801073751epcas2p1f1292831fe8ee94c373ea9f8c003d9f6~3MkhXGqar0651006510epcas2p1M; Tue, 1 Aug 2023 07:37:51 +0000 (GMT) Received: from epsmgec2p1.samsung.com (unknown [182.195.36.100]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4RFRly4JTpz4x9Q2; Tue, 1 Aug 2023 07:37:50 +0000 (GMT) X-AuditID: b6c32a43-557fb7000001d7ef-5b-64c8b64ecaf7 Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmgec2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 12.7D.55279.E46B8C46; Tue, 1 Aug 2023 16:37:50 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH] scsi: ufs: ufs-pci: Add support for QEMU Reply-To: jeuk20.kim@samsung.com Sender: Jeuk Kim From: Jeuk Kim To: "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "adrian.hunter@intel.com" , "bvanassche@acm.org" , "avri.altman@wdc.com" , "dlunev@chromium.org" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20230801073750epcms2p121c08e452aaafdda301c5562f4ccff5b@epcms2p1> Date: Tue, 01 Aug 2023 16:37:50 +0900 X-CMS-MailID: 20230801073750epcms2p121c08e452aaafdda301c5562f4ccff5b X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P X-CPGSPASS: Y X-CPGSPASS: Y X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNJsWRmVeSWpSXmKPExs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nfpRcs0ctO3fPwlzkfLffL+pbPCV798wHbdi0+qfDrz/oz9uv+CL49 stOh1nrx6nmvD8y4O79n3nK5x5b1bBm5jVb8vTNUyoTdktunX7q8cvJqiQO2/fy+sXkKe8Iv CR0WSWU68mur2B12j5/GGms3nFRiKc5INNRiLipOBAAr9nWVLgQAAA== DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230801073750epcms2p121c08e452aaafdda301c5562f4ccff5b References: Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Add PCI ID to support QEMU ufs. The new qemu ufs device can be found at https://lore.kernel.org/qemu-devel/20230727155239.GA979354@fedora Signed-off-by: Jeuk Kim --- drivers/ufs/host/ufshcd-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ufs/host/ufshcd-pci.c b/drivers/ufs/host/ufshcd-pci.c index cf3987773051..29d322931427 100644 --- a/drivers/ufs/host/ufshcd-pci.c +++ b/drivers/ufs/host/ufshcd-pci.c @@ -590,6 +590,7 @@ static const struct dev_pm_ops ufshcd_pci_pm_ops = { }; static const struct pci_device_id ufshcd_pci_tbl[] = { + { PCI_VENDOR_ID_REDHAT, 0x0013, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },