From patchwork Wed Sep 7 16:45:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 603620 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A567BC38145 for ; Wed, 7 Sep 2022 16:46:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbiIGQqw (ORCPT ); Wed, 7 Sep 2022 12:46:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiIGQqp (ORCPT ); Wed, 7 Sep 2022 12:46:45 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B7F3BBA4E; Wed, 7 Sep 2022 09:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662569201; x=1694105201; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=y3/sBmBbm24o7Nrci6vLh859k+watYKfpLLsWrkIDIU=; b=dARaclhQfqIBDY+1WQTgrf+aZqSg+kjASEGh4y746lx0jZ2/9LlLJTmt auuGuWsdQV9B9XGdTQVCYgjG/6MeXJ7/D2GppNSgQVv9kOSyOG7Ssqh+7 SvGsZG3YminloUG7zZFsuVIE2x47X/W487rKxxUATp8BOnGAXE8uVCDnx pX+fItIc1cbtnLqrDDejnC4pewbRCBS8pwmXpprMETOM+8IhYYDVwSIdL VOmy4dnA3BIsqcZ3Qbp5WcFmEdCOsFo640MfrMisUOUB36JbFEm8sRv8d XmYlhW1DrS/MsyBkk4HipfPJLMiRqFvv1tV3gDGEICYC429lYVsHeDeEI g==; X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="276670919" X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="276670919" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 09:46:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="859707324" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 07 Sep 2022 09:45:55 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id C268FF7; Wed, 7 Sep 2022 19:46:11 +0300 (EEST) From: Andy Shevchenko To: "Rafael J. Wysocki" , Andy Shevchenko , Wolfram Sang , Hans de Goede , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devel@acpica.org Cc: "Rafael J. Wysocki" , Len Brown , Ard Biesheuvel , Elie Morisse , Nehal Shah , Shyam Sundar S K , Khalil Blaiech , Andy Gross , Bjorn Andersson , Konrad Dybcio , Will Deacon , Mark Rutland , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Mark Brown , Robert Moore , Wolfram Sang Subject: [PATCH v1 0/8] ACPI: unify _UID handling as integer Date: Wed, 7 Sep 2022 19:45:58 +0300 Message-Id: <20220907164606.65742-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org This series is about unification on how we handle ACPI _UID when it's known to be an integer-in-the-string. The idea of merging either all via ACPI tree, or (which I prefer) taking ACPI stuff for v6.1 while the rest may be picked up later on by respective maintainers separately. Partially compile-tested (x86-64). Andy Shevchenko (8): ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as integer ACPI: LPSS: Refactor _UID handling to use acpi_dev_uid_to_integer() ACPI: x86: Refactor _UID handling to use acpi_dev_uid_to_integer() i2c: amd-mp2-plat: Refactor _UID handling to use acpi_dev_uid_to_integer() i2c: mlxbf: Refactor _UID handling to use acpi_dev_uid_to_integer() perf: qcom_l2_pmu: Refactor _UID handling to use acpi_dev_uid_to_integer() spi: pxa2xx: Refactor _UID handling to use acpi_dev_uid_to_integer() efi/dev-path-parser: Refactor _UID handling to use acpi_dev_uid_to_integer() drivers/acpi/acpi_lpss.c | 15 ++++++------ drivers/acpi/utils.c | 24 ++++++++++++++++++ drivers/acpi/x86/utils.c | 14 ++++++++--- drivers/firmware/efi/dev-path-parser.c | 10 +++++--- drivers/i2c/busses/i2c-amd-mp2-plat.c | 27 +++++++------------- drivers/i2c/busses/i2c-mlxbf.c | 19 +++++--------- drivers/perf/qcom_l2_pmu.c | 7 +++--- drivers/spi/spi-pxa2xx.c | 34 +++++++------------------- include/acpi/acpi_bus.h | 1 + include/linux/acpi.h | 5 ++++ 10 files changed, 81 insertions(+), 75 deletions(-) Reviewed-by: Hans de Goede