Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1233333rdh; Fri, 24 Nov 2023 07:54:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEOZb7ga8YOIl195QZXW7TI39OLs7GL4jxU+NxDDUW+Lpkb6LG3buuscKaHiSOc1tXuEhA X-Received: by 2002:a05:6e02:2164:b0:35b:b6b:8ae7 with SMTP id s4-20020a056e02216400b0035b0b6b8ae7mr4589234ilv.5.1700841292909; Fri, 24 Nov 2023 07:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700841292; cv=none; d=google.com; s=arc-20160816; b=VBf4C9oVP99WVeMXbwss0reqNZHsNSgfpTCjsf3Ag9xISNL7umbpLAwZ6HtCouYpKr ambtrxWhzPK0/45uC+qxNhOAiygdwj5W6zUp9Dn+DfCAl8P5WDs1ss9hVauX3D0zBzi1 Ol655O4qRqgdUcT7hRzCS5LAkl31GFmK+o46a57r4nASS0UGvo18KxwavS/HWI/nTnqR wAD1hfYveP0D6lVt46U8pX0OHRfAMdex+aaSzg17om4DNAR29xBFBVRydWDnfXDVvx+f 6W8aNfYL+/5KiZYNuDp4mxNW83q/B8ivLEl1KsV5llNtUwvcnNmUZAhl7/zEzeVs0avM Ki0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HSUtuUG3dDjCbWMPNmFm21ZEHdtclUUifKkpgTT5yE8=; fh=Fy+YMVkWvan60914fbwS3AlrwzXmL/I/t+dQnwc2o64=; b=g+km/qCGWikzJRIP+sv4lbSq8UXvoCJ6W07bNeEIUntnIDPtHPtpdegh3/QOGrnUCc cIHbF3RIKwp7q/eTJ4GZhjx6b0/MlYYx+SRRIKlwt+dfpQWBI80vKz0h6uU7hGB2ah4o ghGoPfd1hlAackvnTsSjRQDLXGfz8az9WxJ+PVx1NxHhcUZVCcaJiERHWg6EvqLeVNgQ m9xzamEjBmzoyxH7hOVUcTDTOsu4t2dxLEcsNY+0CMM8xe5/tWDOPRIXJkKA3CPy3Ysf sYLN7HERbukNqQhHSXVDFMWZ+ZRpCrx6+321vMtmK9a00VGUvmgg3n4XL3TdzyQPnCkM QGMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rrFw/dw5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id by6-20020a056a02058600b005ab776a4d4csi4058354pgb.610.2023.11.24.07.54.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 07:54:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rrFw/dw5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 02F96808ABAE; Fri, 24 Nov 2023 07:54:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345911AbjKXPye (ORCPT + 99 others); Fri, 24 Nov 2023 10:54:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345881AbjKXPyc (ORCPT ); Fri, 24 Nov 2023 10:54:32 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C98CD53 for ; Fri, 24 Nov 2023 07:54:39 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00E57C433CA; Fri, 24 Nov 2023 15:54:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700841279; bh=HSUtuUG3dDjCbWMPNmFm21ZEHdtclUUifKkpgTT5yE8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rrFw/dw5ip/zqV5GjzcL/t5aMj+AndZ3mxtQzkqLdM3KbqPumL4xKLGkmU2lx99+g q+sqA6/jZl8Tr+l8CbtlI4tAPRlGdBqQPqXAOOYXN3O5N4gbZWAKZK/rtuk9PBy2RY 6ZrCWyWAjzu/RrltCXdm8+6Bs2psimfBuicrmLltoGYJ2y8uXEeN0uwjj9z0kkI8Sv RPtt9ycr+xDR7D1XNlw3ibPlK90lIBQMF4G8l+dxytINZRx8dXoVaWMCw69bWb6grW 61Pz37I7x5pqW98qMTstF4XMHx/fIW1AyWjNfD/MhTDWOP9x495BsAdOdV8QNKmN8x 3I2FvDFuB0cAQ== Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2c878e228b4so26153291fa.1; Fri, 24 Nov 2023 07:54:38 -0800 (PST) X-Gm-Message-State: AOJu0YzOMb9S/jmedPNY5PzGR42ka7p4xgTOXjRuWj5vbZZdGa/qWwJ7 6tRWL2Iv5jtnNChU6vORwB4OfBm6y+Rb4vAMXt4= X-Received: by 2002:a2e:b523:0:b0:2c9:8f6b:3d9a with SMTP id z3-20020a2eb523000000b002c98f6b3d9amr1609781ljm.16.1700841277253; Fri, 24 Nov 2023 07:54:37 -0800 (PST) MIME-Version: 1.0 References: <12299447.O9o76ZdvQC@kreacher> <5724231.DvuYhMxLoT@kreacher> In-Reply-To: From: Ard Biesheuvel Date: Fri, 24 Nov 2023 16:54:25 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1] ACPI: processor: Provide empty stub of acpi_proc_quirk_mwait_check() To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Linux ACPI , LKML , Michal Wilczynski , Guenter Roeck , Frank Scheiner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 24 Nov 2023 07:54:50 -0800 (PST) On Wed, 22 Nov 2023 at 20:39, Rafael J. Wysocki wrote: > > On Thu, Sep 21, 2023 at 4:00=E2=80=AFPM Rafael J. Wysocki wrote: > > > > On Thursday, September 21, 2023 3:09:04 PM CEST Ard Biesheuvel wrote: > > > On Thu, 21 Sept 2023 at 13:04, Rafael J. Wysocki = wrote: > > > > > > > > From: Rafael J. Wysocki > > > > > > > > Commit 0a0e2ea642f6 ("ACPI: processor: Move MWAIT quirk out of > > > > acpi_processor.c") added acpi_proc_quirk_mwait_check() that is > > > > only defined for x86 and is unlikely to be defined for any other > > > > architectures, so put it under #ifdef CONFIG_X86 and provide > > > > an empty stub implementation of it for the other cases. > > > > > > > > Link: https://lore.kernel.org/lkml/c7a05a44-c0be-46c2-a21d-b242524d= 482b@roeck-us.net > > > > Link: https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.gi= t/commit/?h=3Dremove-ia64&id=3Da0334bf78b95532cec54f56b53e8ae1bfe7e1ca1 > > > > Fixes: 0a0e2ea642f6 ("ACPI: processor: Move MWAIT quirk out of acpi= _processor.c") > > > > Reported-by: Guenter Roeck > > > > Reported-by: Frank Scheiner > > > > Signed-off-by: Rafael J. Wysocki > > > > --- > > > > > > > > This is kind of orthogonal to > > > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/comm= it/?h=3Dremove-ia64&id=3Da0334bf78b95532cec54f56b53e8ae1bfe7e1ca1 > > > > > > > > because if any architectures other than x86 and ia64 decide to use = the > > > > processor _OSC, they will see the reported build error. > > > > > > > > > > You mean when other arches #define CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC to= o, right? > > > > > > In any case, this is going to conflict with my change, which is > > > already in linux-next (you were cc'ed on the PR to asm-generic). What > > > do you propose here? > > > > IIUC, the conflict is that the empty stub will be defined twice if this= is > > applied before removing ia64. > > > > But if it is applied on top of the ia64 removal, all should be fine, so= that's > > what I would do (and tell the -stable people to ignore it). > > And ia64 is gone now, so applied. Excellent.