From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-2-35.ptr.blmpb.com (va-2-35.ptr.blmpb.com [209.127.231.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A93B212566 for ; Mon, 15 Jun 2026 06:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.231.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781506146; cv=none; b=XJNo11Whe1skQtuCMbUq8Hy/oKUs8cHyVxsKpCk13jxEEx4b7GKmX+/ulLTotZ+IoDAExEgGUYkknQN4Goc9I/UU/rhs0Tp8payUC14+WpNF8XfKBGpqs4Ab9frWUwa4UQA7giV8Cb6Cu6qfLQSyxuwQRq5fxpZ1bPglNEGgBQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781506146; c=relaxed/simple; bh=7k8l/mRq24xarAL6iQkgwmSYxk9Nd0dyukiEdTcic2o=; h=Subject:Message-Id:References:In-Reply-To:From:Date:Content-Type: To:Cc:Mime-Version; b=Q5ZYAzfxPTYkPzfSK4Nk95QENatIxjID0FZwdTBRcaikPcViStI8tHBAQaDCLO4BpGrQuysBK485LorfvfNWQXj5l4lc5tizH2g4VBJGhvtBaCEg+0LZvhiiHMlccq4MZ90SXrpD3TGOHkaZgHRgaUanVX4dGQeeWqQPaxqRVns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=picoheart.com; spf=pass smtp.mailfrom=picoheart.com; dkim=pass (2048-bit key) header.d=picoheart.com header.i=@picoheart.com header.b=pRy+fflu; arc=none smtp.client-ip=209.127.231.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=picoheart.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=picoheart.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=picoheart.com header.i=@picoheart.com header.b="pRy+fflu" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=feishu2604151535; d=picoheart.com; t=1781505308; h=from:subject: mime-version:from:date:message-id:subject:to:cc:reply-to:content-type: mime-version:in-reply-to:message-id; bh=/K1m/uGi7ZNrrNpTYCqC4KZECxOScfPXkITXMrse1MQ=; b=pRy+ffluBUNP0c8MJssv6SGfX76niF3OW478wQN3+I/wHhJUOjDz1JoNpeSAjofCqbxazS ZepB4wYavfHWgyqrqnB9lZNHjYYmUrUGQ6fRiEZOKDNYICFgU6ygTk6xI9N7As6BIG+LCS dZdFZtd2Ja5LI52h9fVsnMPRA4omsD6UE2T9DMyy1OVc9qeH0K+IdzVUtcaDVwhS7FTssw zp0dFtqUBYUUShn5MtBf+BDxt31UiJk5EOuo+g4RD4IV4WQu0vnzJUxavdpPlCEXgqYMtq fFqEbJBZFESDna8v5zgicY3Fv8Bhu+KorMbb2Rxv2hX+dX+oHbmZaycbVVMvgA== Received: from G9WYR9K0VW.bytedance.net ([120.234.91.247]) by smtp.feishu.cn with ESMTPS; Mon, 15 Jun 2026 14:35:05 +0800 Subject: [PATCH v1 1/3] perf/dwc_pcie: Add support for Picoheart vendor devices Message-Id: <20260615063459.25361-2-yang.yicong@picoheart.com> References: <20260615063459.25361-1-yang.yicong@picoheart.com> Content-Transfer-Encoding: 7bit In-Reply-To: <20260615063459.25361-1-yang.yicong@picoheart.com> From: "Yicong Yang" Date: Mon, 15 Jun 2026 14:34:57 +0800 X-Lms-Return-Path: Content-Type: text/plain; charset=UTF-8 To: , , , , Cc: , , , , , , , Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Original-From: Yicong Yang X-Mailer: git-send-email 2.50.1 Add PCI_VENDOR_ID_PICOHEART in pci_ids.h. Update the DWC PCIe vendor table with Picoheart PCIe vendorid to enable the PCIe PMU support. Signed-off-by: Yicong Yang --- include/linux/pci_ids.h | 2 ++ include/linux/pcie-dwc.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 24cb42f66e4b..7758cf341aa9 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2640,6 +2640,8 @@ #define PCI_VENDOR_ID_SUNIX 0x1fd4 #define PCI_DEVICE_ID_SUNIX_1999 0x1999 +#define PCI_VENDOR_ID_PICOHEART 0x20fa + #define PCI_VENDOR_ID_HINT 0x3388 #define PCI_DEVICE_ID_HINT_VXPROII_IDE 0x8013 diff --git a/include/linux/pcie-dwc.h b/include/linux/pcie-dwc.h index 8ff778e7aec0..b0ccb2ad74db 100644 --- a/include/linux/pcie-dwc.h +++ b/include/linux/pcie-dwc.h @@ -32,6 +32,8 @@ static const struct dwc_pcie_vsec_id dwc_pcie_rasdes_vsec_ids[] = { .vsec_id = 0x02, .vsec_rev = 0x4 }, { .vendor_id = PCI_VENDOR_ID_SAMSUNG, .vsec_id = 0x02, .vsec_rev = 0x4 }, + { .vendor_id = PCI_VENDOR_ID_PICOHEART, + .vsec_id = 0x02, .vsec_rev = 0x4 }, {} }; -- 2.50.1 (Apple Git-155)