Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3440486imu; Sun, 11 Nov 2018 15:09:06 -0800 (PST) X-Google-Smtp-Source: AJdET5e/lv9xldQ8ttx85xvTT2j0YvuQiqex16cSu271nSo393P13zfFbC4fON2GDyHaOK2d93+W X-Received: by 2002:a17:902:c7:: with SMTP id a65-v6mr18051606pla.296.1541977746453; Sun, 11 Nov 2018 15:09:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977746; cv=none; d=google.com; s=arc-20160816; b=opEOO5JcF4MEVA5lg20uYYE9SegeZwMhx9+bdFYUD89zmOEua0Nh3CwJtfdguGOGJI ghWjLCfYWXZ06/SefoWrOPQH0Hxb79DToUKplIwP8Ws/+SkW4Q3NiNfhVoepuVB2p3YJ iYm/uE4PigsKCC/oUTOh3ZhnVJDmLBNXtiytY2Fg1hdGziA/XSDS0TYQc5xLgAO891wb 0znwjtXYInDqgpxL1RVWuduXoovHsQoVrgbGtqflV30NcNbNTKTFw2t2DQd9H/4Edc1E LAFRhM/YnSKHMqOE9zrPgkrr27cht32KMbL4lcRtid99hNsTrnk798tihX0AhKTN0UM+ JnVA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=e5edpDtJxaKPTpaF3acQVezPBwWTmHKhAtCXZtSXOIs=; b=AAF2qwQu4NKb/Csj24Qlhdm19+mqzPnWFU6FGHFeZZRs5wlWpIHwNNoawqXuAJ5MMh mq+twY1aYGjl6IEQ8zfd+3qnYF8PeXDGGPITQcUPdvwGDalCwLZxxujYdKdZwkO76eVe 5KNvV03Q8EXLZNmrh3AlsYV2gukwcX6lMJk5qFKXiqs1hPbkRz0FC/IQFmlLC4SuV/u3 QLl3yFW7+rCeVt0/0oa2g+ZtoXOih+q9hNlWDTvGfeaLrzqdgYtUQmHt+1MFY6EuHBI9 bqgHlFm7a33hFsu25rgj8PdycP7kD+U+lUUkoL96khmPK0xvS6cL++Floa/mCIxfyl0j 0ZuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d3j+KItx; 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 p189-v6si15887879pfg.235.2018.11.11.15.08.51; Sun, 11 Nov 2018 15:09:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b=d3j+KItx; 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 S2390773AbeKLI60 (ORCPT + 99 others); Mon, 12 Nov 2018 03:58:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:51248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390254AbeKLIWF (ORCPT ); Mon, 12 Nov 2018 03:22:05 -0500 Received: from localhost (unknown [206.108.79.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 41428223C8; Sun, 11 Nov 2018 22:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975528; bh=NYp1DzYpV5d8Vrb7WM0yui5oYqRlKwdjGfS+5+ORag8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d3j+KItxxVuk1yXjrigCOlgJAeiRh60q2QmZC/ykBMErLE50V8Q5pjTXVbAXJACIx qh1JLWROwhUmKTYYgSXBop175StDaNQznzojBzrK8Lur3/1OwvjxOfCQH38UVYgbXN 1N2kKmgqIWUfqllET0zeXogy5yXQj36A9MJhvznc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jean-Marc Lenoir , Erik Schmauss , "Rafael J. Wysocki" Subject: [PATCH 4.14 009/222] ACPICA: AML interpreter: add region addresses in global list during initialization Date: Sun, 11 Nov 2018 14:21:46 -0800 Message-Id: <20181111221648.772697504@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ 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 @@ -451,6 +451,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;