From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF1DBC28CBC for ; Sat, 9 May 2020 09:15:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1BB9214D8 for ; Sat, 9 May 2020 09:15:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727951AbgEIJPe (ORCPT ); Sat, 9 May 2020 05:15:34 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:56770 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727867AbgEIJPe (ORCPT ); Sat, 9 May 2020 05:15:34 -0400 Received: from 89-77-60-66.dynamic.chello.pl (89.77.60.66) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.415) id 5c78a43c372a5eca; Sat, 9 May 2020 11:15:31 +0200 From: "Rafael J. Wysocki" To: Andy Shevchenko Cc: Mattia Dongili , "Schmauss, Erik" , ACPI Devel Maling List , "Rafael J. Wysocki" , Darren Hart , Andy Shevchenko , Platform Driver , Dominik Mierzejewski , William Bader Subject: Re: [PATCH 1/2] [sony-laptop] SNC calls should handle BUFFER types Date: Sat, 09 May 2020 11:15:31 +0200 Message-ID: <2337210.yqbmfTWyIV@kreacher> In-Reply-To: References: <20200505111810.65586-1-malattia@linux.it> <20200505111810.65586-2-malattia@linux.it> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Tuesday, May 5, 2020 2:27:15 PM CEST Andy Shevchenko wrote: > +Cc ACPI(CA) people > > On Tue, May 5, 2020 at 1:16 PM wrote: > > After commit 6d232b29cfce ("ACPICA: Dispatcher: always generate buffer > > objects for ASL create_field() operator") ACPICA creates buffers even > > when new fields are small enough to fit into an integer. > > > Many SNC calls counted on the old behaviour. > > Rafael, Erik, is it correct behaviour from ACPICA p.o.v. nowadays or > should be fixed rather there? The new behavior is correct and it is needed to avoid other failures elsewhere. Unfortunately, all of the call sites assuming that the conversion will happen need to be fixed. Cheers!