Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp439159rdb; Thu, 19 Oct 2023 08:36:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHb87fhv8xNLjuW5S1FlMyRkRRGv7E7U8e9Jh5KHo0OGKLDtgYITl0hDeVZtlmeK0AZuvY+ X-Received: by 2002:a05:6359:604c:b0:14f:3874:2746 with SMTP id rx12-20020a056359604c00b0014f38742746mr1629618rwb.23.1697729819062; Thu, 19 Oct 2023 08:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697729819; cv=none; d=google.com; s=arc-20160816; b=VmUQA0oKnhdsk9QDTlpJM4GNeLYz1GJwiSqBZu0oRiW996OJ0ywUYbzdRYd49Swh50 y7O66mz+yUJItJqg4qyfweUqkITwjlxzs6X7QdnnGWEymJv1dWw1FiUU4HRdKuXm0L2o Tk1ANvKSeHmZNL1cGmEtv8STHbbeEvSsuXWnaXyqGmdBXUV5meO/j8nM/93pXn14XinX JzQpeervXWtaGZSnYpUO7Y3EQ5J5BTXavKCnQWj4hTj5+8k9z8UXD9utEbGgW+lRDWsK y2vPZPBW5kgsCLKlTqwWQ5ACMr8Iao2gjV4kaeEkKuiPo6BYeABvgKDdATjp1SyAp3Vr ENfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dCu9vHViw/g7onErZsNrzAMtUoktFdGmF0Zhngzn6lw=; fh=SBRc+PLZ+cbtQwJ6A4vzNHDHq/yTn8J9i0ckjZQmiU4=; b=i/I4A9ja9exWnbg7WLIcSRFoSrRNF12XBqekM0akEH2HaQ3VsXdLbF+JN2s9sOmC+w mclQ7AW5ZGO7Ijf4hxweFyMKho6/SNwvJVj4QrH3w26bKkqYhKBFYZvPRP/EPfmqUv9p u+b68nZYzmTqj0Uo9ZOxmfmhnx3RL78VMjSnM8U73WHxm4Sywav8lpRBa6lcD+N5OOVG IsEIL9qSGEb98POConX4HePgjsaf6V7oy2a9btSZc7uZ51OCPNPh2tqgLDg+zDRJFpT/ 0HLiU6lvqo/JTBYCkW9pkr1m7MZv1S7lBItNuAh9YZKrwG61ekl2KPlZqWWHius/ipat SaNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OiGSlY9j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bw25-20020a056a02049900b005aa6b242005si5000423pgb.24.2023.10.19.08.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OiGSlY9j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 19D668325EBA; Thu, 19 Oct 2023 08:36:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346115AbjJSPgv (ORCPT + 99 others); Thu, 19 Oct 2023 11:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346302AbjJSPgo (ORCPT ); Thu, 19 Oct 2023 11:36:44 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED99A196; Thu, 19 Oct 2023 08:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697729800; x=1729265800; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Vuyr/wjcaq45z5sHIWsOKl3qqIBusIoS8TyidC9xcRM=; b=OiGSlY9jIovhRSgUOsANKFX73lWiBk4Fm5QUULT4aRyefIDyo0ZcWeRd 5HWGsXwwnYvcC2daK6v6AbQqYZIe29Z1p5ABdJwX7bnEyuKF8HNdj6eUR ZWCeFS8t+XfW75jevyzd+IGExODJttrl0wDrPalSacx7aLl8XQyUALW4v 2ClZTa03cBBDh8HN5fS3XvdEQ3U7kGnw48LoEhOqBCHY7K60rFpB7nqeG Lzxlzea0KrO8wRY4zNoVEmD3btuv8psahotc6O4CbGkTTRIV5n22kOSH0 fIxVFf9waovb1CEyI/hAjtxmfxqivsiHQaxjjIBYrtiDsRZiwLAZxl2O8 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="386109291" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="386109291" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 08:36:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="1004277332" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="1004277332" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 08:36:38 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC2) (envelope-from ) id 1qtV4d-00000006ur5-1sLB; Thu, 19 Oct 2023 18:36:35 +0300 Date: Thu, 19 Oct 2023 18:36:35 +0300 From: Andy Shevchenko To: Michal Wilczynski , nvdimm@lists.linux.dev, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , "Rafael J. Wysocki" , Len Brown Subject: Re: [PATCH v1 1/1] ACPI: NFIT: Switch to use acpi_evaluate_dsm_typed() Message-ID: References: <20231002135458.2603293-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231002135458.2603293-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:36:57 -0700 (PDT) On Mon, Oct 02, 2023 at 04:54:58PM +0300, Andy Shevchenko wrote: > The acpi_evaluate_dsm_typed() provides a way to check the type of the > object evaluated by _DSM call. Use it instead of open coded variant. Dan, do you have any comments? -- With Best Regards, Andy Shevchenko