Message ID | 20231121103829.10027-1-raag.jadav@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp528657vqb; Tue, 21 Nov 2023 02:38:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEU/oKb8J+GXgZiGyM0LuaQIkwaU/ZoasDxNN148teo4XovWaDlE34DT8D03JdmOSCZJNXv X-Received: by 2002:a05:6808:2a02:b0:3ac:a522:5461 with SMTP id ez2-20020a0568082a0200b003aca5225461mr11446967oib.36.1700563129031; Tue, 21 Nov 2023 02:38:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700563128; cv=none; d=google.com; s=arc-20160816; b=uwQXvO3ZwF3wPadtxdrb9nlhLYR7oqFjQLU7Q/nRtUYHhgbZ8Px5ZxisG9IEIU4psa YEBY0NHSAg53IY/1WHrpZF3u23Fmp6H+mmscTEsxmQDL2Ynmu5wwobRpL6ube4c98s7+ plktImCcflXwJYj0ZtM4jYW71i+D/156D8TMZn8auUaxYV+Oo1bJTXKrZ22fOumPOlwJ JdTs3yuSJL5W6CZhXfQKVl63DoKsAHUckQX5Ueho0/5FDw2lQvOomG/45uygLvF6wITk uUEdZeI3rMRDVqcXRsh1JwZg/A54CORnTJS+q4kfzr/ZWCDkjQz4Jp1R+9rKc3kZRkvD YKLg== 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=/Cq6fTq+y1b0R6mkkINcRXtJdrIz6T6WuosXFE+3Tkk=; fh=LrjGCQr9k+7CYyd6XEdJgJkCFIUW/cPwqK3zW8PbdHI=; b=ZYb3mutJKr6kwhtSvCnHAPoTGUIYcuA//PtwoyJKdBAvYgrF+N2aeEwaOs2H9kze8M ybW5FTxx52jMGijLHYy+X74LNHjuHeBTefi8WeaRCkRKXH4ROK4M44tbFf6FLOUb+Q5d JXOGko5eT/N3INTcGCdmB4cRYOrp2rouTOHI4VFWbFfvZKmCZm7LnRXDYI3IFsCTU/O8 G2t0/cr3XhDJVd7K+AL0nfq0nubcsRrI2Rmxn6Hq7/9n/sc3er0AOYFKZU/is00Txx3Z 3lBb2S3CboiTOXYAVYY7kBX1M0kNEVP2Jv3vdyqqUMrxvCTBC2AlAeHnIw/7liqG0U+j l38w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=keJk8CZH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 196-20020a6301cd000000b00589fcc39ef1si10121772pgb.365.2023.11.21.02.38.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 02:38:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=keJk8CZH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 50BED80C7755; Tue, 21 Nov 2023 02:38:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232841AbjKUKim (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Tue, 21 Nov 2023 05:38:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbjKUKil (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Nov 2023 05:38:41 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 123D5C1; Tue, 21 Nov 2023 02:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700563118; x=1732099118; h=from:to:cc:subject:date:message-id; bh=bxtTVb3CSDkXZiM00Vj7mR/GNeU9U6TTLbrsPm7CyvU=; b=keJk8CZH/UyyV9yZOw8fMTttimCpo3jOTpoWfeHcfkge6K8cI3sXNh4g ykmuGpvYJH1cqoxGYuCp/A9mWcfN90Zpj3lMg3OOesQqIs1UkMLg8K6J+ spYZX1p8J8dZRLoaeZFE3jY9HC/dDsMmP2Igvh5ujYPZeJ1EkCfZtdZ13 9aI41aDMqlM7wt/4Amq1fKOxdfbuRA7GMXCLs/StITQWQlymhlbZOLRTp DLO6q95VzdXikYErobos0Go25Zl8kAZWFfRU2/u+m6un86Cr0aDdVDUAo rjKLYcPn/0ztdHBn2Y67oxMxQPwKqXvl4oh4Ae1xJbFjwy1dJkUmGUHsA g==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="371986846" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="371986846" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 02:38:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="14871909" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by fmviesa001.fm.intel.com with ESMTP; 21 Nov 2023 02:38:33 -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 v2 0/6] Support _UID matching for integer types Date: Tue, 21 Nov 2023 16:08:23 +0530 Message-Id: <20231121103829.10027-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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 02:38:42 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783169683906126480 X-GMAIL-MSGID: 1783169683906126480 |
Series |
Support _UID matching for integer types
|
|
Message
Raag Jadav
Nov. 21, 2023, 10:38 a.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. Changes since v1: - Fix build errors 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 | 16 ++----- 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 | 59 +++++++++++++++++++++++++- include/linux/acpi.h | 15 ++----- include/linux/compiler.h | 5 +++ 7 files changed, 73 insertions(+), 81 deletions(-) base-commit: f437a8d1debff5412e36a1c9454adee193b31950