Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5416123rwb; Tue, 1 Aug 2023 02:04:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlGe4TcWiSSetX4/wyM+e5u/IxnDCFFM0KVcKrcGp92+A8XACxw+Jc/XrXMUOD24TXZljsBY X-Received: by 2002:a05:6a00:2e06:b0:66d:263f:d923 with SMTP id fc6-20020a056a002e0600b0066d263fd923mr14631286pfb.20.1690880647464; Tue, 01 Aug 2023 02:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690880647; cv=none; d=google.com; s=arc-20160816; b=LAyOlHJ63HUqT+Rzd/QPH0eDKF91iaF8kl4tRhQOI9i1PXiTVpI67DutYkP9ku6FuX 5uxpt+4h1+sz9nmxD5krqVNshwE07xpwCwYiKASLFaiwi75uonY2DbvZYLuX8o7jjizs Lrvb0/lRN6aKm+1CyHJiExSKufOF0UfitbXIE3IM2dszwQY0i5zIuE/MmquWUwyeyLLD VvVMNVFYDSBv8l/ZFEUro3BdMu/Q7xU6DfCMxa1A5PlOAofoae+xcZloN2yPcUZ+P3zE 9+WQxZ7mIhHcffBQjHCFt575OA6pllbZCYs5+5Lvh+htU6xMvYBU7SH/03+IeU6B9KAx fXcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=imUSvAZ3gOsuJOAwj4KIPSpuAuWWMw8CEy7uoAXWyx0=; fh=/Zj5En5tZV8ks/KABvEBnpbup9zPlNCf/cQpNu4BjNc=; b=VNyW0+vw5ffv79Bsi02qHxy2rQEcOHfwRlXoZpv6iyQxEexGrK91NBKqT2u9duqI/N 1R/+v0WFbpltdZJ04r0E9feQVwiK+17c39wHsgdUG1nVO7UPGslL8WQJWHoLk3cW+bQb E07By8VeZIh4WevZuAPhM2saSjWVKbc7UCFcgsTL2Ykec2jq0lZyUAw6gjndN3xjjz89 m3t4MOVWl1VOvc47wwEqKxq9Zj8XKX4Bf4zlDnP32zyG1WSZiP8TETb39MGfdXh9/WEw WmbPKXPxQKnT9OASyq6WLVy4nw+wR0wgNO0wODxiU0MjdZ/+K6VHcgmsFW4eZMvhwj4T UXvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XCT5j0j9; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca12-20020a056a00418c00b0068261ac6957si8678589pfb.112.2023.08.01.02.03.54; Tue, 01 Aug 2023 02:04:07 -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=@intel.com header.s=Intel header.b=XCT5j0j9; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232215AbjHAIZf (ORCPT + 99 others); Tue, 1 Aug 2023 04:25:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232231AbjHAIZd (ORCPT ); Tue, 1 Aug 2023 04:25:33 -0400 Received: from mgamail.intel.com (unknown [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8664212B; Tue, 1 Aug 2023 01:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690878316; x=1722414316; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=y2+ZeiOBJGw1xzpxMubXvwDfFcZrn5IRphqvWbOunvw=; b=XCT5j0j9OX294N0D8ubLCrhKyD2xRLKQBbvnNXOECt0PoECUe19rL8GF 9pgrLBVWK4Rr4zmC4u/mzduHNF0tFDMKI9CRS2DrohpC26S0B49CovBwI QhIsvUAvuHjSnZygPKhECRcMF03cb0FFSuWJ11gU2eu0lP1YHykmuwVsU anoPS1meSA2xHO3/bsKx8v1XbT9u8ysip/aG9dda1FNbUMrAo8JFjyno3 UuVSg355MFE9lY6voeaZPIeEhoc9mF5Mw5piMlmHeZiE/8eNlsQ7j2jSd c2OCdGqxDWwT5Laaz3ih2yP0wANiDvW3pmsWHZz7vyLeCFXM9aFx4NVaH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="435557799" X-IronPort-AV: E=Sophos;i="6.01,246,1684825200"; d="scan'208";a="435557799" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 01:25:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="678612519" X-IronPort-AV: E=Sophos;i="6.01,246,1684825200"; d="scan'208";a="678612519" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.249.38.126]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 01:25:12 -0700 Message-ID: <48f05875-5255-70d2-0737-36fa95470037@intel.com> Date: Tue, 1 Aug 2023 11:25:09 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.13.1 Subject: Re: [PATCH] scsi: ufs: ufs-pci: Add support for QEMU Content-Language: en-US To: jeuk20.kim@samsung.com, "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "bvanassche@acm.org" , "avri.altman@wdc.com" , "dlunev@chromium.org" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20230801073750epcms2p121c08e452aaafdda301c5562f4ccff5b@epcms2p1> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: <20230801073750epcms2p121c08e452aaafdda301c5562f4ccff5b@epcms2p1> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 1/08/23 10:37, Jeuk Kim wrote: > 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 Please say something about why a UFS device is being virtualized and what features it is expected to support. > > 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 },