From patchwork Mon Dec 2 09:10:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saif Abrar X-Patchwork-Id: 13890162 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC44BD10DDC for ; Mon, 2 Dec 2024 09:11:58 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI2T3-0006CY-RH; Mon, 02 Dec 2024 04:11:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI2Sb-00069T-3C; Mon, 02 Dec 2024 04:11:17 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI2SY-0006or-Ev; Mon, 02 Dec 2024 04:11:15 -0500 Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4B1LREFc006467; Mon, 2 Dec 2024 09:11:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=pp1; bh=0ddLYaDJpRDROwLcAmnVVmC+E/6Jyq9NcocWEtGQe lw=; b=X1dTyKrIrm32PVPoJHMxB2/CXFIXS+E4fzupKWyoTcSJZ60ZNVxWqsven IjZYi6CD2ZnGA+tmIwoIgmSJDOlcctfOOK5TwRLAmgFZDSXtzUKOJGxujQk+lWdL UN2mF6xe5jxHep7GnEeEsnxqh84jP/6DHb5kgQLoPiY1iqopWKcDO1gQk+hV3mzM dQQMvkJ5fRwX4Jkrc0JSjfTYAPJ+OFLP14uoIWbJ5Lm/SN3teS9Zx+c5PJEMGtCL 1C1cZXkP6jUwLs7Kw1w8YCHU+Himu2ZpEm3C0ees/bdqhOirUxtd4XnnE4m1OBPx W7SCNrNmMSZwV1ILVxsgz03r7AKYA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 437s4hqs97-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Dec 2024 09:11:05 +0000 (GMT) Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 4B28rqQQ015130; Mon, 2 Dec 2024 09:11:04 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 437s4hqs94-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Dec 2024 09:11:04 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4B25TKYT020366; Mon, 2 Dec 2024 09:11:04 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 438d1s24rp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Dec 2024 09:11:04 +0000 Received: from smtpav03.wdc07v.mail.ibm.com (smtpav03.wdc07v.mail.ibm.com [10.39.53.230]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4B29B3X347907296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 2 Dec 2024 09:11:03 GMT Received: from smtpav03.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 26A5B5805A; Mon, 2 Dec 2024 09:11:03 +0000 (GMT) Received: from smtpav03.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 88A995806A; Mon, 2 Dec 2024 09:11:02 +0000 (GMT) Received: from gfwr515.rchland.ibm.com (unknown [9.10.239.103]) by smtpav03.wdc07v.mail.ibm.com (Postfix) with ESMTP; Mon, 2 Dec 2024 09:11:02 +0000 (GMT) From: Saif Abrar To: kbusch@kernel.org, its@irrelevant.dk, foss@defmacro.it Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, npiggin@gmail.com, saif.abrar@linux.vnet.ibm.com Subject: [PATCH v3 0/2] hw/nvme: Add properties for PCI vendor/device IDs and IEEE-OUI Date: Mon, 2 Dec 2024 03:10:47 -0600 Message-Id: <20241202091049.2250-1-saif.abrar@linux.vnet.ibm.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: yj2yO8s5L2-dv51egH-muTU4_A-xXrb1 X-Proofpoint-ORIG-GUID: XbSCZoiIsyPvx7vPty2Te1qw0qPOW_km X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-15_01,2024-10-11_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 suspectscore=0 adultscore=0 mlxscore=0 mlxlogscore=757 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 spamscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412020079 Received-SPF: none client-ip=148.163.158.5; envelope-from=saif.abrar@linux.vnet.ibm.com; helo=mx0b-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Add properties for user-specified PCI vendor/device IDs and IEEE-OUI. PCI properties are now set independently of each other and used only when use_intel_id is not set. Also, setting of IEEE-OUI is moved to a new commit. Saif Abrar (2): hw/nvme: Add properties for PCI vendor/device IDs hw/nvme: Add property for user-specified IEEE-OUI ID hw/nvme/ctrl.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++--- hw/nvme/nvme.h | 7 +++++++ 2 files changed, 56 insertions(+), 3 deletions(-)