Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5919559rwb; Wed, 7 Sep 2022 09:49:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR44pwUxd8FhxiH7J5+HMujDVNKyy5AyEcs4GD/nFyASE+cxo1ZZBv1Wm6yZwAyRSJW65W/H X-Received: by 2002:a05:6402:42d3:b0:435:2c49:313d with SMTP id i19-20020a05640242d300b004352c49313dmr3800278edc.86.1662569395062; Wed, 07 Sep 2022 09:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662569395; cv=none; d=google.com; s=arc-20160816; b=amojgnP+wRwK7GfneqZpJvGL1hDWqIp8qOIOatq6zOebFDYeoaJn2Bvxbt5zaWSnG+ z3VlUadTUQMQq3u2JclZQ/Y2cR2vTCNKK0Eb4g5jze/cslmVkgJllK6wHotYGNKH2D+n Rfh3QLntWcIb5RQ2dgPk1U5/ymM67eOx3F0vquBmNzImQbqnJV1lL0mlToqLWeRzNaw1 4gqv+k9TV40sa1IZCaaMyyVcKS93IBCML+1QgZvNkXnPnlIyqXo5HVTlL6VsfKNmE/tz HkWorQx4m5kXnmiH91FIdWdm/Cf6d1KNfaxid2VaSJQjQ3T0236gyKu9G2xLpy0rSPka QxxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4c8BpjJuAugZd801BpP7xAagyGtsPijNAWMPSEj8Cy8=; b=Uv2CEccDMygQR7qTRLKv+yz9uWMnx5Gf4bSlQDN/SH2vGBi6i2Qx6RQH+gYJG90QUV DZfcGDMzCuhl+4xTmBcubDJMRQTnbor4O8/8knEDEESXFZUiJbtbBMIF+pCqedYA8t/B zUDlxhHBk15uGHp4NXw5diRAx2jrSlwVALaLOnn+YiqQGjXkTbx7HMATgZ8o46C+ObQZ W12781c1/5OFd0rOx0jQzHOVKTK6RNFyy/GBute5H4kmpkWPBs7mlP1XiOPp/sfwQuaM x1om1LhzoUirn25eIFx1rp3jhyFSNBLnFaGlHdUqHayhlsm7HQ3N7NTzW+auO15Dls22 Qw+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dARaclhQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020a50ccc6000000b0043cec8a1304si14072466edj.528.2022.09.07.09.49.30; Wed, 07 Sep 2022 09:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dARaclhQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230175AbiIGQrD (ORCPT + 99 others); Wed, 7 Sep 2022 12:47:03 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.35.1