Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4634943rdh; Wed, 29 Nov 2023 06:52:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBO6GmoWBewdOe0PzPq6QMRr9kgs5PiLznzi6NwDopK/fCe9YYIx6M/I6f1f65BO4uVL9B X-Received: by 2002:a17:902:d50f:b0:1cf:eacb:a12c with SMTP id b15-20020a170902d50f00b001cfeacba12cmr7409343plg.65.1701269541587; Wed, 29 Nov 2023 06:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701269541; cv=none; d=google.com; s=arc-20160816; b=iNuS+KbeY0LWvbLDXw6heD3XF0n1+ZcE2iGYiyCh8Kq2NHUjFEKDQ9cEtXlmU2/kg2 vvHasqpN5kh/7gpWBuGce7POsd9joluHT2W9BTlFBvl9BUUul49h54zYLhC1PRF+Sgbn Z5Lc481tfWHZFMhUR6Ld5e21TqK1SSEmEijOK8P6jo2FevMszz/nqw5Pe4ThS35brc1d iX5/fRCar0E/kXLYir2inWccQVmh0Fmtylp7kur0aTrEnFwqfUyQLDdAU00f8gO0vtiu d/XT8NTKR2cbZi9okZWHazZsiFtSRPr1oq3Gw3ej5QGV80+SfrxGYjNuvv/1U8eaj9UG twOg== 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=+y9VQ8ZHFkueBSQ2byhgFuPFEgjBb/wNacSlX6A2Lhc=; fh=QWm058wx6WUBS9IO2eZRUdFl7VjNABqXV0pGnR7dtDI=; b=SSGlUF6cYio8e/EKBwe5yR8jL1ITY5BC28b1wAzefyrKGOYEJBZqNHYPzix9G6+UsQ l7HJeKKVESQTVFQ9tV02qijwhb0OtOQEhRcO9jr7cYaBZMahXawJgxyIcW1U6G4P2Q/g o2ziwrhhpFOxWjmfPVmmylr5cpRR8ObetVtSvvJwD0BE325BzM13Qfp1MT1tobriNqeu YmV99ZDm/kAXkAKwuXJSVn7Ca8/6u9yVw4P1wg4cYn1T3bNOnAA5Bmbi6kEWEME5Rej+ Nj5ER6glladKRMCVMDKS4dpvHjDxK5fTmqhzlfmcekwE3x6w2W4ojylcn3GU21VgBuFC Uchg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DllLsTbC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q3-20020a17090311c300b001c88fc3c593si15064152plh.560.2023.11.29.06.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:52:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DllLsTbC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 35B0E80320E0; Wed, 29 Nov 2023 06:52:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234665AbjK2OwD (ORCPT + 99 others); Wed, 29 Nov 2023 09:52:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234678AbjK2OwC (ORCPT ); Wed, 29 Nov 2023 09:52:02 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D74BD6E; Wed, 29 Nov 2023 06:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701269529; x=1732805529; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iBvOUeV8GInwE1URST0+LDM0euJ0nkLB2pW7xGvI54M=; b=DllLsTbCDGzsiRjyGLwYTZ/fsdnOC6DIkSEgvSDLNDjvDoyi2JmkZMir vJd/ltvdRjonJ07scRO1YChX/VdC8jHpT/sUzHJ/JeMazw1J0+U7eG3c3 VQB6y58UXlTIDjmh8YYHF0/mMdcqOehgIihDIYkQZp7GigZabjI2kawHW 5rfVXI2N2Sk2fGLTVvz94HZ9a1rNJBENX+9OjUm5Wzof1Fae4uD8ETuy9 VS2jHlT6eoOSi7pNhMeMQLpNABI1jmh02R7ysrxujhztUiCxOKz2xKeg4 Dszk9f8HjHfUp1Fdd3JtQ+T0MKhQikf1Tj/gPnCm1sg9ShYZ1ivcv2imJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="6386724" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="6386724" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 06:52:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="942347393" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="942347393" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 06:48:56 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1r8Lrx-00000000Svm-1uUE; Wed, 29 Nov 2023 16:48:53 +0200 Date: Wed, 29 Nov 2023 16:48:53 +0200 From: Andy Shevchenko To: "Rafael J. Wysocki" Cc: Linux ACPI , LKML , Zhang Rui , Srinivas Pandruvada , Michal Wilczynski , Hans de Goede , Mika Westerberg , Heikki Krogerus , Mario Limonciello Subject: Re: [PATCH v1 2/4] ACPI: OSL: Rearrange workqueue selection in acpi_os_execute() Message-ID: References: <3281896.aeNJFYEL58@kreacher> <2267180.iZASKD2KPV@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2267180.iZASKD2KPV@kreacher> 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,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 29 Nov 2023 06:52:19 -0800 (PST) On Wed, Nov 29, 2023 at 02:48:22PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Replace the 3-branch if () statement used for selecting the target > workqueue in acpi_os_execute() with a switch () one that is more > suitable for this purpose and carry out the work item initialization > before it to avoid code duplication. > > No intentional functional impact. LGTM, Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko