From patchwork Tue Jun 25 18:53:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: admiyo@os.amperecomputing.com X-Patchwork-Id: 13711828 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2111.outbound.protection.outlook.com [40.107.93.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F88817C23D; Tue, 25 Jun 2024 18:53:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.111 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719341630; cv=fail; b=RBg7HFMWIlpdkaYdIxOqxfSArO1Ro4vHi5oXbHNldS/yquQRrgSLc7J2+DiHDNiKAI+XnZ2cQn8Tn3KmsMwgaxAcvFZFls3QtInDaiQpuFHLO5FUGdC/bBHgjnC3Cq8cZVjhOEjZ+QFWpy4AXEHYNaFfZbvynU+/0m5dwJEb0Uo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719341630; c=relaxed/simple; bh=+6n7XMOZw6uKbqbz/+NGjek1tKGEGd7c1pOvVl8S+GE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=jw4gUFBuspD1DeqX0X9OvbmU/gmuX+j/1ahyLnq1CRtNPkT/4yUW3OA+i9DMxoxAXfc3KsfwXUINcM1VU6t/tBd9vzGUceXN462yYgIxi1c4AAtLLknzVkw4eBc+8lhXVFsiGSdGs2ZG9ibz4vv3hCK5arJuz3g7O55EI7FI+Ek= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; spf=pass smtp.mailfrom=os.amperecomputing.com; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b=RQCHxK/t; arc=fail smtp.client-ip=40.107.93.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="RQCHxK/t" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cFlJK1A0URSs14lRQ6vbdHRDBLmP8WisQD7P349xpxGZ9CuvnV56mlEz1WLi3SpSXg9zrMSnHjsIRoSIsnDqt+iVo8kvZXNdngXjeArN2X8idVjQBNY/Mf2PryQEprZLh2G0LJ0vFr6P9/RqUkH9h640KPpBGcX56YeU1hCuvn59IOESOd5XkyEibL+XlmwEprSo3Ww0qWmyC1SUCYVGz1lVOGvG/wTV/OpSQplHHddCL25HUCJBuoHhotx0dA3EEhX+otxzND5A1bx79MSqnCnfzUShTvGq89oah45EXD1mc7q+7hI157OIjCB+sPZYcfDQUfkhJ021WnRQLCjSuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q29wiy5+HBvTfdWDl7GntSBgtThBvZwXKEfvGZCKocI=; b=f+BD1gHS8cYVROPvfGdJySotCfaAgtYX2xTBELVPnhK9oQZUu+flrAmhjNU+6BH0TchGHcD09YSLPbdGM5cVnc/CyLwk5m0+cLe7GoZZZh0asrAopZP4Y/qocGBz1j3/ESeWqjtmhp7YYXa48hphIfrG5Tsc0TK/qLyYEH6jjYgm3kPCLc66Wurapa6zLOHKL9UuCoL+VASq9SNeBvecwuEiAexiSX7ThGheHq7UlcJe5ukyo9sqxkP8V+fcJ3wutiZgeMLpP7oQ764hGywXntqbTq5HGgQ/PxilvWlPJqnNju99HKxlVzpgHz4RoSYX6I+axRLMli/vf9AvRNul6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q29wiy5+HBvTfdWDl7GntSBgtThBvZwXKEfvGZCKocI=; b=RQCHxK/tDLvwzJRksEJXQhZ3izJzIkI2lKyX0QFyNgDAIiRgq9zM1ZQmkUWHSwakRszn1YoY9EMQuJCZrZPijT9nO/dlnpIVgkeWotDu08H6FRVfMynBP106NBDzVhU+x/q7nEyFbiahmXO6w5E0IPWoI1Jm7HTCvuV2ZefN1rw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SA0PR01MB6171.prod.exchangelabs.com (2603:10b6:806:e5::16) by PH0PR01MB8070.prod.exchangelabs.com (2603:10b6:510:295::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.29; Tue, 25 Jun 2024 18:53:46 +0000 Received: from SA0PR01MB6171.prod.exchangelabs.com ([fe80::b0e5:c494:81a3:5e1d]) by SA0PR01MB6171.prod.exchangelabs.com ([fe80::b0e5:c494:81a3:5e1d%7]) with mapi id 15.20.7698.025; Tue, 25 Jun 2024 18:53:46 +0000 From: admiyo@os.amperecomputing.com To: Robert Moore , "Rafael J. Wysocki" , Len Brown Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jeremy Kerr , Matt Johnston , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: [PATCH v3 2/3] mctp pcc: Allow PCC Data Type in MCTP resource. Date: Tue, 25 Jun 2024 14:53:32 -0400 Message-Id: <20240625185333.23211-3-admiyo@os.amperecomputing.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625185333.23211-1-admiyo@os.amperecomputing.com> References: <20240625185333.23211-1-admiyo@os.amperecomputing.com> X-ClientProxiedBy: BY5PR17CA0022.namprd17.prod.outlook.com (2603:10b6:a03:1b8::35) To SA0PR01MB6171.prod.exchangelabs.com (2603:10b6:806:e5::16) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA0PR01MB6171:EE_|PH0PR01MB8070:EE_ X-MS-Office365-Filtering-Correlation-Id: 4e44a433-9962-48b1-ce83-08dc95482479 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|366014|52116012|376012|7416012|1800799022; X-Microsoft-Antispam-Message-Info: Q2SmlgdSpfu2MT85jVEYqajfi7gd31gnMmlpdeJWjtIt5aothuk+G1ZwliFlCU5tgrQd8P2nWvdXQwWQ4BZUUALsL0BI8s254sMwIlLSDTqeKxtUoCkmMVdRCpcFMLXaG5bm8p2OPZYVX83HeGmmdZwNChR0yvqdWAdt7ieB9iNN6ngHDNXfwKECWJQaQHXg3kQ2vvyVjB4EsRtYiC1nCkzWFRRv8EoTHn960m6sS9DiUv6xBvhxSeb+CA4ImQ/kEiaYnopjl2QQ4Lc32TNElsqg6oJyC3JoJjtGWH7GPSzcGES0U2lqmORf5dCW2IXVTW2jTgdcv3iPE2uWj1qaSo0fyiZ1u/MkwH2GqguWAaqoXWEUXLQzJ2PPIGChfYOssBaxCTQuZPfUHxjm2kyU//wqNSeyB+FsrvWFL3TVlieEpe3frlKaK6/OGF3360TSjijqrAXz7pkxxoJKaKFCG0UOCF6/PEvZBy3nYX8sLTupPXlmdd8sxxhDakhqpET/An23SiAszFHc4beVbZHOMlDyNhDsGJbrTzY48uI/8E0anrf41qk7HAIvDRfZYgKfEo47uWp2tidiqvY4H9ATX9zBggfKjeXuSqBUIGM7zMfPrLNohOXba/M+l1hv18KmW0/XjF9+kg7jr9kkJFSkgbi0/qUw1jC8DE9ZIgZ88VCtIdSFFJFnPOGgJSaUeAeZeaIIYIwy5swNiO7/6j3InG/4nNe2Ks2FGkMwGJpZN9LSFFqlrYtRpP3mbUZhI5BxRPvzK5pftMrkS56hgjtdjkbKO7Navru+zX7AsVO+vSFRTQHrEf4TroYk4cGH/A8UjAZS4qqRIMG+E3F2y+nMUfW8wwMQrwUYtltb16eCi3NhxceMWBJQO2RYiyAr1Td/idtGyon/y9xsl0mNF3xjguefjyNEuTDGt0Fw8cxN6jQiPhfnvwkmnu/wcF2LSLX6J+zDZDpWxjJPGILcexncjqTCP/G4wiZ/e7VCcqUYMOc8AljsH8zU66SBrEmyflOWsUOZtXD/I/UUdCmZdgF+opT61iItNbuekhSgnhg9l2wrf56mBugjn2Ndumj69lKC20Pc6nftaFnA8dnZkfGyvgtfOhHbdgFUTOkDdGAsmN43SYzhvWFkDMEK0ls4Mtq0SvWKS2oCk5HtM3YSjJJ8C1yrzpnBjmRC0bmJ5KszHecGd1wKosoFugLTGin9Turx3kN+Lt/7H9f4myUJo4QvsvxsfR1ECI0Zx7iaUHSkacWlFDM2Qm47Z7hAHKC30s8Mf4Pfm6CCb+s8XSnLgm7G/s/yksEi6xbxRibxgEQ9VBo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA0PR01MB6171.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230038)(366014)(52116012)(376012)(7416012)(1800799022);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TIfdUVqksYsjPrcx75ZCI4PtT4YaQjQyL5cXjWa8h2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NX7FhQeJjlE8poHNnxbh5kBm6y3WPT9dpMlVbONsLgVhvn0NBL/8Od4RYf+ZtEuUHpu13WBQe2mUg9OuDn4o7KL2+1huWb18dIMniaPrm+sK1aoTyWD9sF82Iwi2Ed4bFyZCGvajT8iRmDZbBZUiXr5tbTdzKDCbFJtr4PUNHEMi/pqyplJ7QAn4F1FZGqasOBLsQmiHW5KryzgCnNp+EjYUG/v8KVcWw8ewD/FB7wLkmMeXyUVBDOfh1rOogaoHpSEOxZnbsa49q19xqYvgx6aiJb0Q41d21I60jsd2UGJNMziwWqiihC2IHUwIPepsrmxRvlda63dlEmkeWZWCkjyL71ZoTcTI49BlfnFtateKv8qbI+1fJR+AETPNrqRzuVGryhVLtJT7X6Ss3ayjDSS3yaTZkPagqX3E2LfVe3lR2IrkLn4Re5gyYbpjJPwS4ZSQ1Bd39o/FvubomtSyZTzRow2GHbipi5byT6p+Ay8sjKus2Ov7nvv3x84R+Zs3o23mZewPPBm0Z9kf4jYOVkjE7sKG+bUfaLokU7090807NQz8DmpjeuuYMJMB6Mnra0TrhUEz32T7wNM= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e44a433-9962-48b1-ce83-08dc95482479 X-MS-Exchange-CrossTenant-AuthSource: SA0PR01MB6171.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2024 18:53:46.2442 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: c2BCh/5cyQUKwK7mKD+95ttkm8tBboZu00qfKAChIaX6uf4QYIpQimDgEGS/FLnTw2TMv//8EXkL/Xqv+mg6ovK16L4+TK5EXy1N9fyqm5Uh3U+qLRJjB+P2DVGm/QdM X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB8070 From: Adam Young Note that this patch is for code that will be merged in via ACPICA changes. The corresponding patch in ACPCA has already merged. Thus, no changes can be made to this patch. Signed-off-by: Adam Young --- drivers/acpi/acpica/rsaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/rsaddr.c b/drivers/acpi/acpica/rsaddr.c index fff48001d7ef..7932c2a6ddde 100644 --- a/drivers/acpi/acpica/rsaddr.c +++ b/drivers/acpi/acpica/rsaddr.c @@ -282,7 +282,7 @@ acpi_rs_get_address_common(struct acpi_resource *resource, /* Validate the Resource Type */ - if ((address.resource_type > 2) && (address.resource_type < 0xC0)) { + if ((address.resource_type > 2) && (address.resource_type < 0xC0) && (address.resource_type != 0x0A)) { return (FALSE); }