Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4412178imu; Mon, 12 Nov 2018 10:33:14 -0800 (PST) X-Google-Smtp-Source: AJdET5fRcIUK3320UYCZpImblRkfgLm+SVTRp/Y8GKEPA2ESaIi2UNnJ5zmsSJutTE9HrxZ9EHkR X-Received: by 2002:a17:902:b7cc:: with SMTP id v12-v6mr1846688plz.278.1542047594221; Mon, 12 Nov 2018 10:33:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542047594; cv=none; d=google.com; s=arc-20160816; b=EvPs3wqwadCNxlnzjlJd0mn4z7zYnTgVX8c7INAZgm3D10WXQ9gWf2L/p0vxWrDevy jLuMYWu7liX3pe0CrGSqRlozYvsps5r1OnJsEExf5TsdM2uBFx8pEw1B5jfHaAf3p+fg RyK6/pbtTGzh5ZzllogQDIj3tQ6mI2r5L7jp/ilPqFl8u5qBoRBun9k+yLj3Aig4bSEK rncnD0GMLGkNpT2PDk5ZlomLhnVdbGeVqDZigQajoj/Kj/2gmB8ViPukW7ua9E4htoTW 2nRxgLGFwwBqXhUtT7+72cNB/zFWS0HHfLE2ATaLGVILDFAbkVVMW9aaI/ZhAApNbrfD 5ioA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=wzk4HTCmoZD05BybScpAEn+p2G3rATeiV5SUNFXcTUw=; b=WF7fMTuej2PR/IamKlAKplwMBhiaiSx54bp7N3V55lO1pHOhonEumisi6y1AfQTfbP ceRHvjBo5qzseiOjVH7S3Oe5ZxGdgzVXXdhppyo7CuZZbdI6m82KbtJ5O2BGt421oLaF /o2McYv5ewc0BQfDCXOZabrmpEtfi8NoghjGgZbKNSdJSxPfzy3nv1sFXvyIY1QIAO1j B6ZExDdgY+r/b9ZEteg1zo/iGA61tp/uZjOlOvRNnv+0XvKcDhCmAtFtCOIU1Y6pHzo8 oPMxe0ib/5rEPEz+eNq/Wuyxf/AdiRn6VZ6dnzxuLkcWCXf9UqfSm5bsQ3QshzAGYxNf o2QA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e39-v6si19188013plb.369.2018.11.12.10.32.55; Mon, 12 Nov 2018 10:33:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730361AbeKMEZZ (ORCPT + 99 others); Mon, 12 Nov 2018 23:25:25 -0500 Received: from mail02.iobjects.de ([188.40.134.68]:53784 "EHLO mail02.iobjects.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbeKMEZZ (ORCPT ); Mon, 12 Nov 2018 23:25:25 -0500 Received: from tux.wizards.de (p3EE2F45F.dip0.t-ipconnect.de [62.226.244.95]) by mail02.iobjects.de (Postfix) with ESMTPSA id AFF1A4160F7C; Mon, 12 Nov 2018 19:30:57 +0100 (CET) Received: from [192.168.100.223] (ragnarok.applied-asynchrony.com [192.168.100.223]) by tux.wizards.de (Postfix) with ESMTP id 45AD2EEB928; Mon, 12 Nov 2018 19:30:57 +0100 (CET) Subject: Re: [PATCH 4.19 025/361] ACPICA: AML interpreter: add region addresses in global list during initialization To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Jean-Marc Lenoir , Erik Schmauss , "Rafael J. Wysocki" References: <20181111221619.915519183@linuxfoundation.org> <20181111221623.163909820@linuxfoundation.org> From: =?UTF-8?Q?Holger_Hoffst=c3=a4tte?= Organization: Applied Asynchrony, Inc. Message-ID: <9da1c8e8-d237-11b3-8918-859a4bbdbcc4@applied-asynchrony.com> Date: Mon, 12 Nov 2018 19:30:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181111221623.163909820@linuxfoundation.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/18 11:16 PM, Greg Kroah-Hartman wrote: > 4.19-stable review patch. If anyone has any objections, please let me know. As probably expected this patch causes problems. In my case one server can no longer load the nct6775 hwmon module, which means the fan cannot be monitored, and therefore my monitoring system promptly starts spamming me with alerts that my fan has failed - which is of course not true. --snip-- Nov 12 18:08:56 tux kernel: nct6775: Found NCT6776D/F or compatible chip at 0x2e:0x290 Nov 12 18:08:56 tux kernel: ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000290-0x Nov 12 18:08:56 tux kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver --snip-- This is certainly caused by my old BIOS and its broken ACPI implementation, however since it's working perfectly fine otherwise I see no reason to replace it. That being said, I must be able to monitor my fan, so for now reverting the patch immediately "fixed" the problem for me - the fan entries appeared in sysfs again after successfully loading the module. Idea, workarounds or patches welcome. > ------------------ > > From: Erik Schmauss > > commit 4abb951b73ff0a8a979113ef185651aa3c8da19b upstream. > > The table load process omitted adding the operation region address > range to the global list. This omission is problematic because the OS > queries the global list to check for address range conflicts before > deciding which drivers to load. This commit may result in warning > messages that look like the following: > > [ 7.871761] ACPI Warning: system_IO range 0x00000428-0x0000042F conflicts with op_region 0x00000400-0x0000047F (\PMIO) (20180531/utaddress-213) > [ 7.871769] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver > > However, these messages do not signify regressions. It is a result of > properly adding address ranges within the global address list. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=200011 > Tested-by: Jean-Marc Lenoir > Signed-off-by: Erik Schmauss > Cc: All applicable > Signed-off-by: Rafael J. Wysocki > Signed-off-by: Greg Kroah-Hartman > > --- > drivers/acpi/acpica/dsopcode.c | 4 ++++ > 1 file changed, 4 insertions(+) > > --- a/drivers/acpi/acpica/dsopcode.c > +++ b/drivers/acpi/acpica/dsopcode.c > @@ -417,6 +417,10 @@ acpi_ds_eval_region_operands(struct acpi > ACPI_FORMAT_UINT64(obj_desc->region.address), > obj_desc->region.length)); > > + status = acpi_ut_add_address_range(obj_desc->region.space_id, > + obj_desc->region.address, > + obj_desc->region.length, node); > + > /* Now the address and length are valid for this opregion */ > > obj_desc->region.flags |= AOPOBJ_DATA_VALID; > > >