Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp238870lqp; Wed, 22 May 2024 03:10:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQh6gLBKvT7C9+QgXHBLjG0xBzneZm/65LBoR6FK/PJG0mL9g72aWYrzQPKTIqxsfJHzOWbyUEBkChlggrYSBTF/fF314r60y2zrj9vw== X-Google-Smtp-Source: AGHT+IGR4iYR/AnGlf3Fo39de/ZvkG1VKdiIvL7VAxSbF+mXKkrTvYd0LrbdebaU3MtzuhLKp4a9 X-Received: by 2002:a17:906:815:b0:a52:3583:b9d0 with SMTP id a640c23a62f3a-a6228069d4dmr92560866b.3.1716372629529; Wed, 22 May 2024 03:10:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716372629; cv=pass; d=google.com; s=arc-20160816; b=eDS0wvGYJMG7TgwGNNpTxnBxtt0xAcT9mtveForNFZ3ep0eKcaQg36ue99J3ZLea5M uY3nDQXM/HF95yfJ07uTQDcnUDAfd1VoqdkeJP7zlT94WWkjF+snIErp6e0hK/RryZOR CgsLknwa0wx5cLFnL10GH1Om/62QyKwWGlg4AcQGHvYaafRq0SSHEFkfRbf3yKgJzycI hKc9HheeEOsPI+y/wki3n9LtbdCbzSPkns0036HiEo9iwTGu1/rc0I9/wUJh45+HNfXy uEPNIoTzGWc0hiwDEX/W0dOuSasJQrF7KO+bIg8ybBujrEp7BOR8uDhNTeWyLZMkyTgq 5lsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=CA7yZC5CqOmxXh13Q722JG7r4F15qfjUJS05AeWVdU8=; fh=P8zeK//pEBntLm9+7JRGOdSU663EGqx8EGur4oqDEpg=; b=u0ASXRm0aLBNAF3xFnAFDQ79Uj8KQCVVCyy/S1iTniA+3SnkqJM+Ax5eOyDSsZcylu ciqOZVZaL7MkxPSgSQKV8D8dYJhh3J2/bCCLkJC2GQdIUdz60erUOGbFA/85JELEbMTN b6W7fCTbhORzzeXw936SDUQLxDbOQEbotDAWn5F0Vxg1wbvGncAjkF7NFIZrzAGNY12Y AsZkz7Bve9yxmDhYkJFLBK4rZmcSnISLcdeAyQpsSklQnYnv3SwRl+ckRkVjSDAnakM7 w5fpUPdtr82TVdIsXO/xDgCYQyd2qvIBS3JOVwC9BMDXqj8mwGQhhghAF235l+IjRBx3 xhaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="lPNFX/11"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186034-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186034-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5cdc248f30si785935666b.838.2024.05.22.03.10.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:10:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186034-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="lPNFX/11"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186034-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186034-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 32BA81F22F25 for ; Wed, 22 May 2024 10:10:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27FA081AD1; Wed, 22 May 2024 10:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lPNFX/11" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AD471CD13; Wed, 22 May 2024 10:10:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372621; cv=none; b=sAXir3Xfxr64mmNSmwtlGOnPPw1/heFdJjJMk7QACBnMkWQcnArtLrrw50qIod3qclcoPjOhQ8tc3b4LLJZxKe8tgzQhRyJitnNWEHMmTEL4/OK8+biboao82jOxMDQIvuR0zOk/gpoPnERXL8AqDiYNtGj+u6mAY72Pq4J2bNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372621; c=relaxed/simple; bh=FI4zo+moBW9miEacUIAXuSGw8WkogkLoVnq2rXZ7GMI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PHEa3ZOwKop8BF1igI77XzQNmOY1VwdGqIAQwf+3h2WQupSdkoVTHcjQm3HrlL89Kb99zEARcOYldr90OTgOB38vqGCDMUlCGZilwofgvPmHwaUwbuwu4Pm3KOOh2X75A4PLniacymKrZdgjYeP9ULijxTsKBQyTRk06u0WrFPU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lPNFX/11; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2C48C2BD11; Wed, 22 May 2024 10:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716372620; bh=FI4zo+moBW9miEacUIAXuSGw8WkogkLoVnq2rXZ7GMI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=lPNFX/11+47X3X4nyohE95UryamoopXx6FCkavLZaxztSI7RJjmAnROKkzLWmUI3Y I/6wess+wZmlzLQiz/t5Yi1D8kWHku10JDl2NAo1tn7mSt2jaemIFCQA7ybsWEsPqX CII039h1LGk6C2ncNQt2r9uqDBdkduZ5+eqMAwczsjKSHTMUBB8XAQYjlyd2GZEiw4 d3hAq4WXzTtR5viXsGIiz93r23spQfzxJObfwlTojDKBdXePzapHp0hCKfYsc5a4aS 0fZ+dz8KgwT630anyAMBfg6mkhf0KsXGxMC9qAilYYK3qwWltr0SsJzasYYly3jS3H Z0yN5yNA39EEA== Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-5b3356fd4f3so500807eaf.1; Wed, 22 May 2024 03:10:20 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVtzQVoBs4x26Y5f5Fgmk0qHLPSDtJGDJ01drojCYTTZOXGWzPt5d5u5PXJ67sAEJaKNcxGwbCBBtby3X5z7PAsq/a2FSmbkvQbHwWJkyUkkhAQdqiCgdM67OuW20/lJnwRZmTZQ5XwMg== X-Gm-Message-State: AOJu0YxX00xU5sXIVTqhYRmXz3MiElwL+gkwRAZurNX7irFokt0qFJU8 Xp9uLfjkXSOFiVIdDeCUZ776ofwNa3movMmG7wj9AIu5/JGpqEXF3knwH3SEcRqrSTw+modonEC fnXgEJh2MsrtTrWyPzgkX9jk6Bqo= X-Received: by 2002:a4a:bd14:0:b0:5b2:7aa7:7b29 with SMTP id 006d021491bc7-5b6a32e9241mr1461779eaf.1.1716372620255; Wed, 22 May 2024 03:10:20 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240521211036.227674-1-zaidal@os.amperecomputing.com> <20240521211036.227674-2-zaidal@os.amperecomputing.com> In-Reply-To: <20240521211036.227674-2-zaidal@os.amperecomputing.com> From: "Rafael J. Wysocki" Date: Wed, 22 May 2024 12:10:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v2 1/8] ACPICA: Update values to hex to follow ACPI specs To: Zaid Alali Cc: rafael@kernel.org, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, robert.moore@intel.com, Jonathan.Cameron@huawei.com, Benjamin.Cheatham@amd.com, dan.j.williams@intel.com, arnd@arndb.de, Avadhut.Naik@amd.com, u.kleine-koenig@pengutronix.de, john.allen@amd.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 21, 2024 at 11:11=E2=80=AFPM Zaid Alali wrote: > > ACPI specs(1) define Error Injection Actions in hex values. > This commit intends to update values from decimal to hex to be > consistent with ACPI specs. This commit and the following one are > not to be merged and will come form ACPICA project(2). > > (1) https://uefi.org/specs/ACPI/6.5/18_Platform_Error_Interfaces.html > (2) https://lore.kernel.org/acpica-devel/20240514184150.6285-1-zaidal@os.= amperecomputing.com/ > > Signed-off-by: Zaid Alali In order to modify the ACPICA code in the Linux kernel, you need to submit a corresponding pull request to the upstream ACPICA project on GitHub. Once that pull request has been merged, please send the Linux patch with a Link: tag pointing to the upstream ACPICA pull request corresponding to it. Thanks! > --- > include/acpi/actbl1.h | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h > index 841ef9f22795..b321d481b09a 100644 > --- a/include/acpi/actbl1.h > +++ b/include/acpi/actbl1.h > @@ -1017,18 +1017,18 @@ struct acpi_einj_entry { > /* Values for Action field above */ > > enum acpi_einj_actions { > - ACPI_EINJ_BEGIN_OPERATION =3D 0, > - ACPI_EINJ_GET_TRIGGER_TABLE =3D 1, > - ACPI_EINJ_SET_ERROR_TYPE =3D 2, > - ACPI_EINJ_GET_ERROR_TYPE =3D 3, > - ACPI_EINJ_END_OPERATION =3D 4, > - ACPI_EINJ_EXECUTE_OPERATION =3D 5, > - ACPI_EINJ_CHECK_BUSY_STATUS =3D 6, > - ACPI_EINJ_GET_COMMAND_STATUS =3D 7, > - ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS =3D 8, > - ACPI_EINJ_GET_EXECUTE_TIMINGS =3D 9, > - ACPI_EINJ_ACTION_RESERVED =3D 10, /* 10 and greater are reserved = */ > - ACPI_EINJ_TRIGGER_ERROR =3D 0xFF /* Except for this value */ > + ACPI_EINJ_BEGIN_OPERATION =3D 0x0, > + ACPI_EINJ_GET_TRIGGER_TABLE =3D 0x1, > + ACPI_EINJ_SET_ERROR_TYPE =3D 0x2, > + ACPI_EINJ_GET_ERROR_TYPE =3D 0x3, > + ACPI_EINJ_END_OPERATION =3D 0x4, > + ACPI_EINJ_EXECUTE_OPERATION =3D 0x5, > + ACPI_EINJ_CHECK_BUSY_STATUS =3D 0x6, > + ACPI_EINJ_GET_COMMAND_STATUS =3D 0x7, > + ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS =3D 0x8, > + ACPI_EINJ_GET_EXECUTE_TIMINGS =3D 0x9, > + ACPI_EINJ_ACTION_RESERVED =3D 0xA, /* 0xA and grea= ter are reserved */ > + ACPI_EINJ_TRIGGER_ERROR =3D 0xFF /* Except for t= his value */ > }; > > /* Values for Instruction field above */ > -- > 2.34.1 >