Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp74779pxb; Tue, 2 Mar 2021 19:43:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzj0+DdaxH4hNFmlpCVl/zjJN4JZ1F+hnbxYNW2prBnFpNK4cH7+wYXC7C0O06Jy7OEuv45 X-Received: by 2002:a17:906:6088:: with SMTP id t8mr24411649ejj.323.1614743000320; Tue, 02 Mar 2021 19:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614743000; cv=none; d=google.com; s=arc-20160816; b=ZCwhBPZTLF7xgHjbisffpyQOrDx8bG/LwtaR/Lbah0r3mOeJ22XE3V7UK8Si52q61B vCziT7VVuAEWfy55Y2nAQNPkh+wAHFp2pFG/62TLk9EzfjICMFhbYWJ1UZ4+oQeqegi1 gH/S/pVHUgyYx5zFXvnON0AYAqcH90TWatxH/f6kP6sEjaNu/CSv55nj2i8Dj0xTI6mW FKNfYH/Om3YJyiOWZtfQw/yNulSmbJ9jTPq/GT+RSHy7aj3009rsBtGOxlLMXy2/Q4+T MTB2kwcYx9I1b7n5L9fUgvMW789rxXSvxmDAR249sBWmBZHYXZbxKwxAq6YkY7sbT1yp OmBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=lod01F2gi753lgz6hSX8V0Vv54kwq8xzww6I7WJ5rRk=; b=t8TG7oEhYh6+DRMQVDR4RtkZ3MbP77Y8/POVNYrYsBbxUCOHwxP2+JJ9eXb1rYWooa sl0Wuj9II5wmB93mSnXp9Egmo5gTbe73OadnY5soToYfcP0HX3+Ae/XvnmqLsSV5dzIE HoRlbMaNOuAzlKk7nfBp+1gD+XVluw/nH0CZI5Kf7ifn0V5TEW7eRi20Oek1Pa6oJqkn tEuQm0seYrRR+sCnYgli4XBw5+fySzvLvAaBB+uRd/DO7Ag/QUR6kHKO+3avB7/KGjwr kUuNWsl7z0SnppS21sPR4ZMs3eArKemA0BAfY0BkJ2eUROZl5MH30d5n2RXWtmCL6xyp m1eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si11859419ejs.516.2021.03.02.19.42.58; Tue, 02 Mar 2021 19:43:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236062AbhCAOOO (ORCPT + 99 others); Mon, 1 Mar 2021 09:14:14 -0500 Received: from mail-oi1-f173.google.com ([209.85.167.173]:46003 "EHLO mail-oi1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236109AbhCAOMU (ORCPT ); Mon, 1 Mar 2021 09:12:20 -0500 Received: by mail-oi1-f173.google.com with SMTP id m25so5118738oie.12; Mon, 01 Mar 2021 06:12:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lod01F2gi753lgz6hSX8V0Vv54kwq8xzww6I7WJ5rRk=; b=Crx+BjlP7h+OqWHlOzoQhHiogf6bRv72mq8RTpf62LeGUuWCRL0AwaYrnAxOK3Thgs KmXl9/L+bFOCytpabuW9wHZmhiozNFBMtuye3mo6aISN2EwsvzgP0zWo0ySbI/r+038a 32hv0aym2HxXtCwnVKWjbsrtaS71maEz3Vi3Cry5feBrPn59eyaaQAPcXmY/4w0uOw9E Sb+NVj5V4l9Eiwd0G6A7bP97gGmEC+6bZwF4v/e/KuTE/gPMo4N/PSpuXioh/FRxpN0n dxDz9qzAfu/50w+pwWAoltH6+KEbYY1gwoJl/y3qJAtSc5+YXsxoGTCbuexqLgyYzil6 ZljA== X-Gm-Message-State: AOAM5306fY6BtoUNoVisxuzmc0T60Wnkkk16r02GavEiXmp9vWAa7MWc ixkNk9agz8M+1DRqBOGODUGOMIzdSecl/i2B/knF3TBN X-Received: by 2002:aca:5dc4:: with SMTP id r187mr11284327oib.69.1614607898492; Mon, 01 Mar 2021 06:11:38 -0800 (PST) MIME-Version: 1.0 References: <1709720.Zl72FGBfpD@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 1 Mar 2021 15:11:21 +0100 Message-ID: Subject: Re: [PATCH v1] xen: ACPI: Get rid of ACPICA message printing To: Boris Ostrovsky Cc: "Rafael J. Wysocki" , Linux ACPI , LKML , Stefano Stabellini , Juergen Gross , xen-devel@lists.xenproject.org, Konrad Wilk Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 28, 2021 at 2:49 AM Boris Ostrovsky wrote: > > > On 2/24/21 1:47 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The ACPI_DEBUG_PRINT() macro is used in a few places in > > xen-acpi-cpuhotplug.c and xen-acpi-memhotplug.c for printing debug > > messages, but that is questionable, because that macro belongs to > > ACPICA and it should not be used elsewhere. In addition, > > ACPI_DEBUG_PRINT() requires special enabling to allow it to actually > > print the message and the _COMPONENT symbol generally needed for > > that is not defined in any of the files in question. > > > > For this reason, replace all of the ACPI_DEBUG_PRINT() instances in > > the Xen code with acpi_handle_debug() (with the additional benefit > > that the source object can be identified more easily after this > > change) and drop the ACPI_MODULE_NAME() definitions that are only > > used by the ACPICA message printing macros from that code. > > > > Signed-off-by: Rafael J. Wysocki > > --- > > drivers/xen/xen-acpi-cpuhotplug.c | 12 +++++------- > > drivers/xen/xen-acpi-memhotplug.c | 16 +++++++--------- > > > As I was building with this patch I (re-)discovered that since 2013 it depends on BROKEN (commit 76fc253723add). Despite commit message there saying that it's a temporary patch it seems to me by now that it's more than that. > > > And clearly noone tried to build these files since at least 2015 because memhotplug file doesn't compile due to commit cfafae940381207. > > > While this is easily fixable the question is whether we want to keep these files. Obviously noone cares about this functionality. Well, I would be for dropping them. Do you want me to send a patch to do that?