Message ID | 20231120120837.3002-1-raag.jadav@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp2150336vqn; Mon, 20 Nov 2023 04:09:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHISfRVrJMPGXAyo6l6jia5j3ALEzt1RGFaLoAaKHAOancH/lT4GptcwSMei24VWb9ZCrrk X-Received: by 2002:a17:90a:5d90:b0:283:a71:63ae with SMTP id t16-20020a17090a5d9000b002830a7163aemr4251081pji.24.1700482180073; Mon, 20 Nov 2023 04:09:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700482180; cv=none; d=google.com; s=arc-20160816; b=P79ZfTUjDsLyN2xBrdcaZk2UsYL/avgfnM3zPv5j2vZ6lYEhkYMJpTdkQ50w+bShWU qg+pB43Px4pn8h6/BiQx0l9xEtJ/62q1r+bachSoxhbO/PymXuwi1GHM3yEGrJr06B7z DWQvH5bYUxWYqqgEsb5bmqBc0Fvgb9/uHBTqSYPoOaFVwhbFW2mRFQz1PJWTtW+Rl9IE SbHcwhxgtBSYNuufds0kDE+m570U5Mox2wsvbgYbrhbRVqIF8SXW1Z6HTh/O+jLbiEw8 unVHPhPnF0AlICE2MVJ4EkViYIHc8IhJT+yYKtSMKH9PHWruROjFU9YMPoQH423Ut8gL 47xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=Muhhdl5yBbH52bei2lA7l3YIKI3qYQQQe4RxoJp938U=; fh=LrjGCQr9k+7CYyd6XEdJgJkCFIUW/cPwqK3zW8PbdHI=; b=tCcFM9xXj7+XJc8QsiqEvKnDhoOQMzhbYIRoDB3s4A18YozPnLNJ7IhaQs9jDx60nd sfO0IN21NIIENnnnXc3Nrr5B6s2KL/LNKSJbqOFxKHvZGbTwxk+BxaHt+gU6LdbJk+m3 2+lWRiwwqNs+jA2d70I32UxNN2VWw2EZo+iE9BkhiPtsLXH0iLgSUeS5Mt9RzfIUFHl5 3DP+o5/+7UaGx2zGktqlnGoaSS7XUaXgJa/3S/amWWrBr09Ff7fyUs6XJG7Nd9Q+dfdm r/gcE9RTgO9QDjB5lzkTStsh+BkS6hGHnzsxXDCKEY3/7+YzG+aExnO8xJuCYtcgBSnV 1L/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dNgj9I6t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ls11-20020a17090b350b00b0028065b30a0dsi10418476pjb.124.2023.11.20.04.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 04:09:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dNgj9I6t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 33B3F80A2816; Mon, 20 Nov 2023 04:09:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233412AbjKTMJH (ORCPT <rfc822;heyuhang3455@gmail.com> + 27 others); Mon, 20 Nov 2023 07:09:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233227AbjKTMJG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Nov 2023 07:09:06 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4254BA7; Mon, 20 Nov 2023 04:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700482143; x=1732018143; h=from:to:cc:subject:date:message-id; bh=TRYNfwwPipXMDJ9kTAnqqTy+1cQytF2OInesEWup8i4=; b=dNgj9I6t7kP3YZS+r9bgyLvTqH9dRH7BwPDPdhIhMf4THCDcziEBdQQE nnXpesuZ7AuwQMA8XrIUT/AdyTobeF06W09MNvJikmUubs+snYUusHLw6 mT5RXz0NBplRe/QKP5ZwdLOgBcr+YW/t+2nX/M+kcNbx4Ekz09rCAejX1 vhDZBf0u8FHSoMv45lAqnEoNn+U7k4BqW8CBPtsDDfM2ArC7gJUnCGzk/ 00G5agSPMQzCKWS9Wj1JawLBCPYE1SnIq3ibCMuYSWCAc9fsF/GP/T5kL 7FJo9YuWwfIAmZ7MFN0uI3ALzjlb7KpFJsTcYTaENS0EbasLK1kFaQbyT w==; X-IronPort-AV: E=McAfee;i="6600,9927,10899"; a="394455638" X-IronPort-AV: E=Sophos;i="6.04,213,1695711600"; d="scan'208";a="394455638" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 04:08:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10899"; a="769878561" X-IronPort-AV: E=Sophos;i="6.04,213,1695711600"; d="scan'208";a="769878561" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by fmsmga007.fm.intel.com with ESMTP; 20 Nov 2023 04:08:46 -0800 From: Raag Jadav <raag.jadav@intel.com> To: mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, rafael@kernel.org, lenb@kernel.org, robert.moore@intel.com, ardb@kernel.org, will@kernel.org, mark.rutland@arm.com Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linuxfoundation.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav <raag.jadav@intel.com> Subject: [PATCH v1 0/6] Support integer types for _UID matching Date: Mon, 20 Nov 2023 17:38:31 +0530 Message-Id: <20231120120837.3002-1-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 04:09:30 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783084802435173646 X-GMAIL-MSGID: 1783084802435173646 |
Series |
Support integer types for _UID matching
|
|
Message
Raag Jadav
Nov. 20, 2023, 12:08 p.m. UTC
This series updates the standard ACPI helpers to support _UID matching for both integer and string types, and uses them in a couple of places. Raag Jadav (6): compiler.h: Introduce helpers for identifying array and pointer types ACPI: bus: update acpi_dev_uid_match() to support multiple types ACPI: bus: update acpi_dev_hid_uid_match() to support multiple types ACPI: LPSS: use acpi_dev_uid_match() for matching _UID efi: dev-path-parser: use acpi_dev_uid_match() for matching _UID perf: arm_cspmu: drop redundant acpi_dev_uid_to_integer() drivers/acpi/acpi_lpss.c | 8 +--- drivers/acpi/utils.c | 48 --------------------- drivers/firmware/efi/dev-path-parser.c | 7 +--- drivers/perf/arm_cspmu/arm_cspmu.c | 4 +- include/acpi/acpi_bus.h | 58 +++++++++++++++++++++++++- include/linux/acpi.h | 15 ++----- include/linux/compiler.h | 5 +++ 7 files changed, 70 insertions(+), 75 deletions(-) base-commit: 5bd262f4820f2d5645d8ff1f251ef8e96715ef84