Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp54533lqm; Tue, 30 Apr 2024 12:31:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6Dhi2ddeD1w3UxAbek9rRV8PyvJDcfPLSr2rVKeIIf7LhKRAjf+dtpZQJNF2KkN9ciii5w1s5ACVZFAVpOVKtCuWoDBBm6l9k+hazmg== X-Google-Smtp-Source: AGHT+IGQ93g8UQ/LLC3eALkiCyPbaxXRfcSZ0f9YCjD00V5etD6flJAgrDa1JcR9idTgdfOCUiaq X-Received: by 2002:a05:6a00:399a:b0:6f3:ecdc:2248 with SMTP id fi26-20020a056a00399a00b006f3ecdc2248mr694422pfb.27.1714505498267; Tue, 30 Apr 2024 12:31:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714505498; cv=pass; d=google.com; s=arc-20160816; b=uA6Q6nCkazB/SKIKVjVh03/GbP/Ol3VIt4Z9GN4cc3YHaoLnq485i/Cf5lb7nRRL5O hNf4xVE1oDmVfxlmZZo0IqvwoVKsMfpFdR6WQsnyj/iYBAUiZl5FB0A5QY6+Z/w3bhH8 g8sOiJWaFcSrhMIX1zvXZZwDiU3eGRtDModllMJZBFZQh+bUdZi1gQwyEdtoC7zhJIm6 cs8HxnlNMWJcJFyBYgq6mCFsd1iQRsvpi3TloVeyMNWwJGdovq2vMAogm5mwSyy1ApCA llFixhWsj2FlpSnnZ6VNSuuEqfNbcR33iMzhauDAtX8GREHUAFcUWMuJhknhTVReEBwR rzYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=qtbeF2Z9Po8JsEzLeQd2ean8Hq/D/t+NLbAMtPVoWMY=; fh=HSVFlicjGJ2nNEvOHgyTaAnF+Bi/U9ykIqBBmR9tPfk=; b=mS0ON0CgJEBKHG1ozM2eq3rjzgeqBVwty1Tflzle4PjUxQxx3WzOpyvksFchdDFw+6 jZtUvd5kuImCG7q4UQ5s93LsI020XlO/QqDszABOkHpvpLgzm4bTMkB1Pn54jWFmyz+t RYsuNzu3KD+cBKNwE6eD3evUNsvzSnGo/+P++9cUjp8XC748HBc85QL0ReN+C8HI96sW uKm8q+4t4LjTEuP0DuqyShEvN2B4paFQra5If0xu6Dums50pswNiWhr1X1y+UbSExF2/ bWYC1xPOAhdrWIF3dm0fNAS1xrGCEJ3TexKgtvNvhhrCSpkAkIr3bQ11lHXhOKNBZqTZ EiSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N13BeDhi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-164641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164641-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u2-20020a63f642000000b005f7518f27b5si21910769pgj.470.2024.04.30.12.31.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 12:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N13BeDhi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-164641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164641-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6486E284ADD for ; Tue, 30 Apr 2024 19:31:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A8FD199E8A; Tue, 30 Apr 2024 19:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N13BeDhi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30D3F7710B; Tue, 30 Apr 2024 19:31:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714505490; cv=none; b=NWOA83gaJE38w+RcRoIg5MEXCxlUWioEQZsFdX8aCTnQMuP8POuQiAIo6MplfAGMLFm/Oc8P50WbuZ/4VqamVQHbxkvIiBTlZdD78UHOO+1OH0YdC1lCvSNe/a5UglRt6NAb8s2ugH+7Bd8AtDdLTzeHo0g67xgk9xRkRPpP28I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714505490; c=relaxed/simple; bh=mhy41vjENoR6b+CqGTnI/eloIr2Vx8ytZKvulKHNzTU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Pn4/rPnMDQyNNHPKS2oJLnA2yTMR7/3bnCDOk03UMv1hJLP3XBL/9EqNKFJ2JdJ0qSv13xt5g39tVsnNU2uB850HE1Q97zegL9UkkG31R9Su9zXlhwuCjCOYcEFrSW8sNhvHQM4+IAbcr7S3Z5cf1Yy9bm7Yz4cLvVY5EY2usPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N13BeDhi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A98CFC4AF18; Tue, 30 Apr 2024 19:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714505489; bh=mhy41vjENoR6b+CqGTnI/eloIr2Vx8ytZKvulKHNzTU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=N13BeDhiB660miJEaL1LlMznqD3+vJ1u5mRWx16nl2LfmeJtaBZ5XtGHWz/bgrnVz P1N31nGm2pn62kdlLHyx/PxufegT2+CC1RFQP0Apn0GmsbBzQnBIQQe2W2fQW3c7/W EGL+I/p8LOXZDnbm2eh873NiUwLow42+BCq+9HuiQliltrg7mR0SY6Nw197GS7K9hx j+BQ5eXfKFhycFjmXYOlNhJ7lwG/b8RrhizZvgS0KYiapsjKaBiXIru7E3M0AvoZhd PS2Q4gSbvzhhkOfvi3PKH/omhj1AOUSEy95RbXqzinTzbrYs2yTJ6egc4mdraZ+JGA Q9t08O2g2NzMw== Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-5a9ef9ba998so1433555eaf.1; Tue, 30 Apr 2024 12:31:29 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWA/I9NfQVHn95Ze6YYUQnk58Zh89Bpfl+njz87j3zmzyX7kCa56Qwa7ptqfsrktPN8konQoBppR7bKq0how8EI+HWTGF+kaSPolEhEVBmA3coOeflgb2SjVda+NiHTJmuQJfHaF6EaPw== X-Gm-Message-State: AOJu0YwpQ8g9mnJvg61opPtKjWhtKK1GlbU7g2x12aX/x/wc0MCm1eda qGk/iKaiqzKGpxkRx81nJzye6FXuAZA4Gs+zQyqfywRltkqPtkBH++Lhty8+xJsrQJkQIQ9Vf16 z2OnKl54tBXm2yOAVh4qs0YOSaZk= X-Received: by 2002:a05:6820:2b06:b0:5ac:6fc1:c2cb with SMTP id dt6-20020a0568202b0600b005ac6fc1c2cbmr454366oob.0.1714505488902; Tue, 30 Apr 2024 12:31:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240429040441.748479-1-sathyanarayanan.kuppuswamy@linux.intel.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 30 Apr 2024 21:31:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ACPI: Move acpi_blacklisted() declaration to asm/acpi.h To: Andy Shevchenko , Kuppuswamy Sathyanarayanan Cc: "Rafael J . Wysocki" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 29, 2024 at 10:58=E2=80=AFAM Andy Shevchenko wrote: > > On Sun, Apr 28, 2024 at 09:04:41PM -0700, Kuppuswamy Sathyanarayanan wrot= e: > > The function acpi_blacklisted() is defined only when CONFIG_X86 is > > enabled and is only used by X86 arch code. To align with its usage and > > definition conditions, move its declaration to asm/acpi.h > > FWIW, > Reviewed-by: Andy Shevchenko I have replaced the v1 that was applied some time ago with this one. > ... > > > extern char acpi_video_backlight_string[]; > > extern long acpi_is_video_device(acpi_handle handle); > > -extern int acpi_blacklisted(void); > > I would replace it with a blank line (to me it seems the above and below = are > different groups from semantic point of view, but Rafael may correct me). And I have added the blank line as suggested. > > extern void acpi_osi_setup(char *str); > > extern bool acpi_osi_is_win8(void); > > -- Thanks!